Method: projects.locations.memberships.bindings.create

Creates a MembershipBinding.

HTTP request

POST https://gkehub.googleapis.com/v1/{parent=projects/*/locations/*/memberships/*}/bindings

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The parent (project and location) where the MembershipBinding will be created. Specified in the format projects/*/locations/*/memberships/*.

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

  • gkehub.membershipbindings.create

Query parameters

Parameters
membershipBindingId

string

Required. The ID to use for the MembershipBinding.

Request body

The request body contains an instance of MembershipBinding.

Response body

If successful, the response body contains a newly created instance of Operation.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.