Method: contactGroups.batchGet

Get a list of contact groups owned by the authenticated user by specifying a list of contact group resource names.

HTTP request

GET https://people.googleapis.com/v1/contactGroups:batchGet

The URL uses gRPC Transcoding syntax.

Query parameters

Parameters
resourceNames

string

The resource names of the contact groups to get.

maxMembers

number

Specifies the maximum number of members to return for each group.

Request body

The request body must be empty.

Response body

If successful, the response body contains data with the following structure:

The response to a batch get contact groups request.

JSON representation
{
  "responses": [
    {
      object (ContactGroupResponse)
    }
  ]
}
Fields
responses[]

object (ContactGroupResponse)

The list of responses for each requested contact group resource.

Authorization Scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/contacts
  • https://www.googleapis.com/auth/contacts.readonly

For more information, see the Authorization guide.

ContactGroupResponse

The response for a specific contact group.

JSON representation
{
  "requestedResourceName": string,
  "status": {
    object (Status)
  },
  "contactGroup": {
    object (ContactGroup)
  }
}
Fields
requestedResourceName

string

The original requested resource name.

status

object (Status)

The status of the response.

contactGroup

object (ContactGroup)

The contact group.

Try it!