Method: projects.locations.memberships.features.create

Creates membershipFeature under a given parent.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The name of parent where the MembershipFeature will be created. Specified in the format projects/*/locations/*/memberships/*.

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

  • gkehub.membershipfeatures.create

Query parameters

Parameters
requestId

string

Idempotent request UUID.

featureId

string

Required. The ID of the membershipFeature to create.

Request body

The request body contains an instance of MembershipFeature.

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.