POST /v1/projects/{projectsId}/locations/{locationsId}/clusters
Changed onCreates a Redis cluster based on the specified properties. The creation is executed asynchronously and callers may check the returned operation to track its progress. Once the operation is completed the Redis cluster will be fully functional. The completed 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 DeleteOperation.
Request
- Base URLhttps://redis.googleapis.com
- Auth
- OAuth 2 and OAuth 2Implicithttps://accounts.google.com/o/oauth2/authScopeshttps://www.googleapis.com/auth/cloud-platformAuthorization codehttps://accounts.google.com/o/oauth2/authToken URLhttps://accounts.google.com/o/oauth2/tokenScopeshttps://www.googleapis.com/auth/cloud-platform
- or OAuth 2 and OAuth 2Implicithttps://accounts.google.com/o/oauth2/authScopeshttps://www.googleapis.com/auth/redis.read-writeAuthorization codehttps://accounts.google.com/o/oauth2/authToken URLhttps://accounts.google.com/o/oauth2/tokenScopeshttps://www.googleapis.com/auth/redis.read-write
Path parameters
Query parameters
V1 error format.
OAuth access token.
Data format for response.
JSONP
Selector specifying which fields to include in a partial response.
API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
OAuth 2.0 token for the current user.
Returns response with indentations and line breaks.
Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
Legacy upload protocol for media (e.g. "media", "multipart").
Upload protocol for media (e.g. "raw", "multipart").
Required. The logical name of the Redis cluster in the customer project with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-63 characters. * Must end with a number or a letter. * Must be unique within the customer project / location
Optional. Idempotent request UUID.
Request body
A cluster instance.
Optional. The ACL policy to be applied to the cluster.
Optional. Output only. Deprecated: Indicates whether the ACL rules applied to the cluster are in sync.
Details of the applied ACL policy.
Optional. Immutable. Deprecated, do not use.
Optional. If true, cluster endpoints that are created and registered by customers can be deleted asynchronously. That is, such a cluster endpoint can be de-registered before the forwarding rules in the cluster endpoint are deleted.
Optional. The authorization mode of the Redis cluster. If not provided, auth feature is disabled for the cluster.
The automated backup config for a cluster.
Output only. This field is used to determine the available maintenance versions for the self service update.
Optional. Output only. The backup collection full resource name. Example: projects/{project}/locations/{location}/backupCollections/{collection}
Optional. A list of cluster endpoints.
Output only. The timestamp associated with the cluster creation request.
Cross cluster replication config.
Optional. The delete operation will fail when the value is set to true.
Output only. Endpoints created on each given network, for Redis clients to connect to the cluster. Currently only one discovery endpoint is supported.
Output only. This field represents the actual maintenance version of the cluster.
EncryptionInfo describes the encryption information of a cluster or a backup.
Backups stored in Cloud Storage buckets. The Cloud Storage buckets need to be the same region as the clusters.
Optional. The KMS key used to encrypt the at-rest data of the cluster.
Optional. Labels to represent user-provided metadata.
Maintenance policy per cluster.
Upcoming maintenance schedule.
Optional. This field can be used to trigger self service update to indicate the desired maintenance version. The input to this field can be determined by the available_maintenance_versions field.
Backups that generated and managed by memorystore.
Required. Identifier. Unique name of the resource in this scope including project and location using the form: projects/{project_id}/locations/{location_id}/clusters/{cluster_id}
Optional. The type of a redis node in the cluster. NodeType determines the underlying machine-type of a redis node.
Optional. Input only. Ondemand maintenance for the cluster. This field can be used to trigger ondemand critical update on the cluster.
Configuration of the persistence functionality.
Output only. Precise value of redis memory size in GB for the entire cluster.
Optional. Each PscConfig configures the consumer network where IPs will be designated to the cluster for client access through Private Service Connect Automation. Currently, only one PscConfig is supported.
Output only. The list of PSC connections that are auto-created through service connectivity automation.
Output only. Service attachment details to configure Psc connections
Optional. Key/Value pairs of customer overrides for mutable Redis Configs
Optional. The number of replica nodes per shard.
Optional. Input only. Rotate the server certificates.
Optional. Output only. Reserved for future use.
Optional. Output only. Reserved for future use.
Optional. Server CA mode for the cluster.
Optional. Customer-managed CA pool for the cluster. Only applicable for BYOCA i.e. if server_ca_mode is SERVER_CA_MODE_CUSTOMER_MANAGED_CAS_CA. Format: "projects/{project}/locations/{region}/caPools/{ca_pool}".
Optional. Number of shards for the Redis cluster.
Optional. Input only. Simulate a maintenance event.
Output only. Redis memory size in GB for the entire cluster rounded up to the next integer.
Output only. The current state of this cluster. Can be CREATING, READY, UPDATING, DELETING and SUSPENDED
Represents additional information about the state of the cluster.
Optional. The in-transit encryption for the Redis cluster. If not provided, encryption is disabled for the cluster.
Output only. System assigned, unique identifier for the cluster.
Zone distribution config for allocation of cluster resources.
Response
Successful response
This resource represents a long-running operation that is the result of a network API call.
If the value is false, it means the operation is still in progress. If true, the operation is completed, and either error or response is available.
The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC. Each Status message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the API Design Guide.
{ createTime: The time the operation was created. endTime: The time the operation finished running. target: Server-defined resource path for the target of the operation. verb: Name of the verb executed by the operation. statusDetail: Human-readable status of the operation, if any. cancelRequested: Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED. apiVersion: API version used to start the operation. }
The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the name should be a resource name ending with operations/{unique_id}.
The normal, successful response of the operation. If the original method returns no data on success, such as Delete, the response is google.protobuf.Empty. If the original method is standard Get/Create/Update, the response should be the resource. For other methods, the response should have the type XxxResponse, where Xxx is the original method name. For example, if the original method name is TakeSnapshot(), the inferred response type is TakeSnapshotResponse.
Changes
- info
the security scope
https://www.googleapis.com/auth/cloud-platformwas added to the endpoint's security schemeOauth2 - info
the security scope
https://www.googleapis.com/auth/cloud-platformwas added to the endpoint's security schemeOauth2c - info
the security scope
https://www.googleapis.com/auth/redis.read-writewas removed from the endpoint's security schemeOauth2
1 more change in this revision
- info