Aggiorna i metadati e la configurazione di un cluster Redis specifico.
L'operazione longrunning.Operation completata conterrà il nuovo oggetto cluster nel campo di risposta. L'operazione restituita viene eliminata automaticamente dopo alcune ore, quindi non è necessario chiamare operations.delete.
Obbligatorio. Identificatore. Nome univoco della risorsa in questo ambito, inclusi progetto e località, nel formato: projects/{projectId}/locations/{locationId}/clusters/{clusterId}
Obbligatorio. Maschera dei campi da aggiornare. In questo campo deve essere fornito almeno un percorso. Gli elementi del campo Percorsi ripetuti possono includere solo questi campi di Cluster:
sizeGb
replicaCount
clusterEndpoints
Si tratta di un elenco separato da virgole di nomi completi dei campi. Esempio: "user.displayName,photo".
requestId
string
Facoltativo. UUID richiesta idempotente.
Corpo della richiesta
Il corpo della richiesta contiene un'istanza di Cluster.
Corpo della risposta
In caso di esito positivo, il corpo della risposta contiene un'istanza di Operation.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Difficile da capire","hardToUnderstand","thumb-down"],["Informazioni o codice di esempio errati","incorrectInformationOrSampleCode","thumb-down"],["Mancano le informazioni o gli esempi di cui ho bisogno","missingTheInformationSamplesINeed","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 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/v1beta1/{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/v1beta1/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)."]]