Method: groups.memberships.lookup

Looks up the resource name of a Membership by its EntityKey.

HTTP request

GET https://cloudidentity.googleapis.com/v1beta1/{parent=groups/*}/memberships:lookup

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The parent Group resource under which to lookup the Membership name.

Must be of the form groups/{group_id}.

Query parameters

Parameters
memberKey

object (EntityKey)

Required. The EntityKey of the member to lookup.

Request body

The request body must be empty.

Response body

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

The response message for MembershipsService.LookupMembershipName.

JSON representation
{
  "name": string
}
Fields
name

string

The resource name of the looked-up Membership.

Must be of the form groups/{group_id}/memberships/{membership_id}.

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.