Method: projects.locations.scopes.namespaces.patch
Stay organized with collections
Save and categorize content based on your preferences.
Updates a fleet namespace.
HTTP request
PATCH https://gkehub.googleapis.com/v1beta/{scopeNamespace.name=projects/*/locations/*/scopes/*/namespaces/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
scopeNamespace.name |
string
The resource name for the namespace projects/{project}/locations/{location}/namespaces/{namespace}
|
Query parameters
Parameters |
updateMask |
string (FieldMask format)
Required. The fields to be updated. 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 Namespace
.
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.scopes.namespaces.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 a fleet namespace.\n\n### HTTP request\n\n`PATCH https://gkehub.googleapis.com/v1beta/{scopeNamespace.name=projects/*/locations/*/scopes/*/namespaces/*}`\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 [Namespace](/kubernetes-engine/fleet-management/docs/reference/rest/v1beta/projects.locations.scopes.namespaces#Namespace).\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)."]]