Method: projects.locations.memberships.get

Gets the details of a Membership.

HTTP request

GET https://gkehub.googleapis.com/v1/{name=projects/*/locations/*/memberships/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The Membership resource name in the format projects/*/locations/*/memberships/*.

Authorization requires the following IAM permission on the specified resource name:

  • gkehub.memberships.get

Request body

The request body must be empty.

Response body

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

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.