# DCM/DFA Reporting And Trafficking API . accountPermissionGroups

## Instance Methods

Close httplib2 connections.

Gets one account permission group by ID.

Retrieves the list of account permission groups.

### Method Details

`close()`

    Close httplib2 connections.

`get(profileId, id, x__xgafv=None)`

    Gets one account permission group by ID.

    Args:
      profileId: string, User profile ID associated with this request. (required)
      id: string, Account permission group ID. (required)
      x__xgafv: string, V1 error format.
        Allowed values
          1 - v1 error format
          2 - v2 error format

    Returns:
      An object of the form:

        { # AccountPermissionGroups contains a mapping of permission group IDs to names. A permission group is a grouping of account permissions.
        "name": "A String", # Name of this account permission group.
        "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#accountPermissionGroup".
        "id": "A String", # ID of this account permission group.
      }

`list(profileId, x__xgafv=None)`

    Retrieves the list of account permission groups.

    Args:
      profileId: string, User profile ID associated with this request. (required)
      x__xgafv: string, V1 error format.
        Allowed values
          1 - v1 error format
          2 - v2 error format

    Returns:
      An object of the form:

        { # Account Permission Group List Response
        "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#accountPermissionGroupsListResponse".
        "accountPermissionGroups": [ # Account permission group collection.
          { # AccountPermissionGroups contains a mapping of permission group IDs to names. A permission group is a grouping of account permissions.
            "name": "A String", # Name of this account permission group.
            "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "dfareporting#accountPermissionGroup".
            "id": "A String", # ID of this account permission group.
          },
        ],
      }