Method: groups.lookup

Looks up resource name of a Group by its EntityKey.

HTTP request

GET https://cloudidentity.googleapis.com/v1/groups:lookup

The URL uses gRPC Transcoding syntax.

Query parameters

Parameters
groupKey

object (EntityKey)

Required. EntityKey of the Group being looked up.

Request body

The request body must be empty.

Response body

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

JSON representation
{
  "name": string
}
Fields
name

string

Resource name of the Group in the format: groups/{group_id}, where group_id is the unique ID assigned to the Group.

Authorization Scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/cloud-identity.groups.readonly
  • https://www.googleapis.com/auth/cloud-identity.groups
  • https://www.googleapis.com/auth/cloud-identity
  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.