Cluster(mapping=None, *, ignore_unknown_fields=False, **kwargs)
A cluster instance.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Attributes | |
---|---|
Name | Description |
name |
str
Required. Unique name of the resource in this scope including project and location using the form: projects/{project_id}/locations/{location_id}/clusters/{cluster_id}
|
create_time |
google.protobuf.timestamp_pb2.Timestamp
Output only. The timestamp associated with the cluster creation request. |
state |
google.cloud.redis_cluster_v1.types.Cluster.State
Output only. The current state of this cluster. Can be CREATING, READY, UPDATING, DELETING and SUSPENDED |
uid |
str
Output only. System assigned, unique identifier for the cluster. |
replica_count |
int
Optional. The number of replica nodes per shard. This field is a member of oneof _ _replica_count .
|
authorization_mode |
google.cloud.redis_cluster_v1.types.AuthorizationMode
Optional. The authorization mode of the Redis cluster. If not provided, auth feature is disabled for the cluster. |
transit_encryption_mode |
google.cloud.redis_cluster_v1.types.TransitEncryptionMode
Optional. The in-transit encryption for the Redis cluster. If not provided, encryption is disabled for the cluster. |
size_gb |
int
Output only. Redis memory size in GB for the entire cluster. This field is a member of oneof _ _size_gb .
|
shard_count |
int
Required. Number of shards for the Redis cluster. This field is a member of oneof _ _shard_count .
|
psc_configs |
MutableSequence[google.cloud.redis_cluster_v1.types.PscConfig]
Required. 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. |
discovery_endpoints |
MutableSequence[google.cloud.redis_cluster_v1.types.DiscoveryEndpoint]
Output only. Endpoints created on each given network, for Redis clients to connect to the cluster. Currently only one discovery endpoint is supported. |
psc_connections |
MutableSequence[google.cloud.redis_cluster_v1.types.PscConnection]
Output only. PSC connections for discovery of the cluster topology and accessing the cluster. |
state_info |
google.cloud.redis_cluster_v1.types.Cluster.StateInfo
Output only. Additional information about the current state of the cluster. |
Classes
State
State(value)
Represents the different states of a Redis cluster.
Values: STATE_UNSPECIFIED (0): Not set. CREATING (1): Redis cluster is being created. ACTIVE (2): Redis cluster has been created and is fully usable. UPDATING (3): Redis cluster configuration is being updated. DELETING (4): Redis cluster is being deleted.
StateInfo
StateInfo(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Represents additional information about the state of the cluster.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields