Method: projects.locations.memberships.features.patch
Stay organized with collections
Save and categorize content based on your preferences.
Updates an existing MembershipFeature.
HTTP request
PATCH https://gkehub.googleapis.com/v2alpha/{membershipFeature.name=projects/*/locations/*/memberships/*/features/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
membershipFeature.name |
string
Output only. The resource name of the membershipFeature, in the format: projects/{project}/locations/{location}/memberships/{membership}/features/{feature} . Note that membershipFeatures is shortened to features in the resource name. (see http://go/aip/122#collection-identifiers)
|
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" .
|
requestId |
string
Idempotent request UUID.
|
allowMissing |
boolean
Optional. If set to true, and the MembershipFeature is not found, a new MembershipFeature will be created. In this situation, updateMask is ignored.
|
Request body
The request body contains an instance of MembershipFeature
.
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.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-06-12 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-12 UTC."],[],[],null,["# Method: projects.locations.memberships.features.patch\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Examples](#examples)\n- [Try it!](#try-it)\n\nUpdates an existing MembershipFeature.\n\n### HTTP request\n\n`PATCH https://gkehub.googleapis.com/v2alpha/{membershipFeature.name=projects/*/locations/*/memberships/*/features/*}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Query parameters\n\n### Request body\n\nThe request body contains an instance of [MembershipFeature](/kubernetes-engine/fleet-management/docs/reference/rest/v2alpha/projects.locations.memberships.features#MembershipFeature).\n\n### Response body\n\nIf successful, the response body contains an instance of [Operation](/kubernetes-engine/fleet-management/docs/reference/rest/Shared.Types/ListOperationsResponse#Operation).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp)."]]