Aktualisiert die Metadaten und Konfiguration eines bestimmten Redis-Clusters.
Abgeschlossene Vorgänge mit langer Ausführungszeit enthalten das neue Clusterobjekt im Antwortfeld. Der zurückgegebene Vorgang wird nach einigen Stunden automatisch gelöscht, operations.delete muss also nicht aufgerufen werden.
Erforderlich. ID. Eindeutiger Name der Ressource in diesem Bereich, einschließlich Projekt und Standort, die folgendes Format haben: projects/{projectId}/locations/{locationId}/clusters/{clusterId}
Erforderlich. Maske der zu aktualisierenden Felder. In diesem Feld muss mindestens ein Pfad angegeben werden. Die Elemente des Felds „repeatedPaths“ dürfen nur diese Felder aus Cluster enthalten:
sizeGb
replicaCount
clusterEndpoints
Dies ist eine durch Kommas getrennte Liste vollständig qualifizierter Feldnamen. Beispiel: "user.displayName,photo".
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 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)."]]