Method: groups.memberships.get

Retrieves a Membership.

HTTP request

GET https://cloudidentity.googleapis.com/v1/{name=groups/*/memberships/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. Resource name of the Membership to be retrieved.

Format: groups/{group_id}/memberships/{member_id}, where group_id is the unique id assigned to the Group to which Membership belongs to, and member_id is the unique ID assigned to the member.

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of Membership.

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.