Method: projects.locations.memberships.patch

Updates an existing Membership.

HTTP request

PATCH https://gkehub.googleapis.com/v1alpha2/{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.update

Query parameters

Parameters
updateMask

string (FieldMask format)

Required. Mask of fields to update.

This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".

Request body

The request body contains an instance of Membership.

Response body

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

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.