# reCAPTCHA Enterprise API . projects . relatedaccountgroups

## Instance Methods

Returns the memberships Resource.

Close httplib2 connections.

List groups of related accounts.

Retrieves the next page of results.

### Method Details

`close()`

    Close httplib2 connections.

`list(parent, pageSize=None, pageToken=None, x__xgafv=None)`

    List groups of related accounts.

    Args:
      parent: string, Required. The name of the project to list related account groups from, in the format "projects/{project}". (required)
      pageSize: integer, Optional. The maximum number of groups to return. The service may return fewer than this value. If unspecified, at most 50 groups will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
      pageToken: string, Optional. A page token, received from a previous `ListRelatedAccountGroups` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListRelatedAccountGroups` must match the call that provided the page token.
      x__xgafv: string, V1 error format.
        Allowed values
          1 - v1 error format
          2 - v2 error format

    Returns:
      An object of the form:

        { # The response to a `ListRelatedAccountGroups` call.
      "nextPageToken": "A String", # A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
      "relatedAccountGroups": [ # The groups of related accounts listed by the query.
        { # A group of related accounts.
          "name": "A String", # Required. The resource name for the related account group in the format `projects/{project}/relatedaccountgroups/{related_account_group}`.
        },
      ],
    }

`list_next()`

    Retrieves the next page of results.

            Args:
              previous_request: The request for the previous page. (required)
              previous_response: The response from the request for the previous page. (required)

            Returns:
              A request object that you can call 'execute()' on to request the next
              page. Returns None if there are no more items in the collection.