Method: projects.locations.attachedClusters.patch
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
HTTP リクエスト
PATCH https://{endpoint}/v1/{attachedCluster.name=projects/*/locations/*/attachedClusters/*}
ここで、{endpoint}
はサポートされているサービス エンドポイントのいずれかです。
この URL では gRPC Transcoding 構文を使用しています。
パスパラメータ
パラメータ |
attachedCluster.name |
string
このリソースの名前。 クラスタ名の形式は projects/<project-number>/locations/<region>/attachedClusters/<cluster-id> です。 Google Cloud Platform リソース名について詳しくは、リソース名をご覧ください。
|
クエリ パラメータ
パラメータ |
validateOnly |
boolean
設定されている場合はリクエストのみが検証され、クラスタは更新されません。
|
updateMask |
string (FieldMask format)
必須。更新するフィールドのマスク。このフィールドには少なくとも 1 つのパスを指定する必要があります。繰り返しパスフィールドの要素に指定できるのは、次に示す AttachedCluster のフィールドに限られます。
annotations 。
authorization.admin_groups 。
authorization.admin_users 。
binaryAuthorization.evaluation_mode 。
description 。
loggingConfig.component_config.enable_components 。
monitoringConfig.managed_prometheus_config.enabled 。
platformVersion 。
proxyConfig.kubernetes_secret.name 。
proxyConfig.kubernetes_secret.namespace 。
securityPostureConfig.vulnerability_mode
monitoringConfig.cloud_monitoring_config.enabled
完全修飾フィールド名のカンマ区切りリスト。例: "user.displayName,photo" 。
|
リクエストの本文
リクエストの本文には AttachedCluster
のインスタンスが含まれます。
レスポンスの本文
成功した場合、レスポンスの本文には Operation
のインスタンスが含まれます。
認可スコープ
次の OAuth スコープが必要です。
https://www.googleapis.com/auth/cloud-platform
詳細については、Authentication Overview をご覧ください。
IAM 権限
name
リソースに対する次の IAM 権限が必要です。
gkemulticloud.attachedClusters.update
詳細については、IAM のドキュメントをご覧ください。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-16 UTC。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["わかりにくい","hardToUnderstand","thumb-down"],["情報またはサンプルコードが不正確","incorrectInformationOrSampleCode","thumb-down"],["必要な情報 / サンプルがない","missingTheInformationSamplesINeed","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-07-16 UTC。"],[],[]]