Memperbarui metadata dan konfigurasi cluster Redis tertentu.
longrunning.Operation yang telah selesai akan berisi objek cluster baru di kolom respons. Operasi yang ditampilkan akan otomatis dihapus setelah beberapa jam, jadi tidak perlu memanggil operations.delete.
Wajib. ID. Nama unik resource dalam cakupan ini, termasuk project dan lokasi, menggunakan formulir: projects/{projectId}/locations/{locationId}/clusters/{clusterId}
Wajib. Mask kolom yang akan diperbarui. Setidaknya satu jalur harus diberikan di kolom ini. Elemen kolom jalur berulang hanya dapat menyertakan kolom ini dari Cluster:
sizeGb
replicaCount
clusterEndpoints
Ini adalah comma-separated list berisi nama kolom yang sepenuhnya memenuhi syarat. Contoh: "user.displayName,photo".
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-09-04 UTC."],[],[],null,["# Method: projects.locations.clusters.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 the metadata and configuration of a specific Redis cluster.\n\nCompleted longrunning.Operation will contain the new cluster object in the response field. The returned operation is automatically deleted after a few hours, so there is no need to call operations.delete.\n\n### HTTP request\n\n`PATCH https://redis.googleapis.com/v1alpha1/{cluster.name=projects/*/locations/*/clusters/*}`\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 [Cluster](/memorystore/docs/cluster/reference/rest/v1alpha1/projects.locations.clusters#Cluster).\n\n### Response body\n\nIf successful, the response body contains an instance of [Operation](/memorystore/docs/cluster/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)."]]