GetClusterResult class
Result data returned by getCluster.
Constructors
-
GetClusterResult({required String authorizationMode, required String createTime, required List<
DiscoveryEndpointResponse> discoveryEndpoints, required String name, required List<PscConfigResponse> pscConfigs, required List<PscConnectionResponse> pscConnections, required int replicaCount, required int shardCount, required int sizeGb, required String state, required StateInfoResponse stateInfo, required String transitEncryptionMode, required String uid}) -
Creates a new GetClusterResult.
authorizationModeOptional. The authorization mode of the Redis cluster. If not provided, auth feature is disabled for the cluster.createTimeThe timestamp associated with the cluster creation request.discoveryEndpointsEndpoints created on each given network, for Redis clients to connect to the cluster. Currently only one discovery endpoint is supported.nameUnique name of the resource in this scope including project and location using the form:projects/{project_id}/locations/{location_id}/clusters/{cluster_id}pscConfigsEach 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.pscConnectionsPSC connections for discovery of the cluster topology and accessing the cluster.replicaCountOptional. The number of replica nodes per shard.shardCountNumber of shards for the Redis cluster.sizeGbRedis memory size in GB for the entire cluster.stateThe current state of this cluster. Can be CREATING, READY, UPDATING, DELETING and SUSPENDEDstateInfoAdditional information about the current state of the cluster.transitEncryptionModeOptional. The in-transit encryption for the Redis cluster. If not provided, encryption is disabled for the cluster.uidSystem assigned, unique identifier for the cluster.const -
GetClusterResult.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
Optional. The authorization mode of the Redis cluster. If not provided, auth feature is disabled for the cluster.
final
- createTime → String
-
The timestamp associated with the cluster creation request.
final
-
discoveryEndpoints
→ List<
DiscoveryEndpointResponse> -
Endpoints created on each given network, for Redis clients to connect to the cluster. Currently only one discovery endpoint is supported.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
Unique name of the resource in this scope including project and location using the form:
projects/{project_id}/locations/{location_id}/clusters/{cluster_id}final -
pscConfigs
→ List<
PscConfigResponse> -
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.
final
-
pscConnections
→ List<
PscConnectionResponse> -
PSC connections for discovery of the cluster topology and accessing the cluster.
final
- replicaCount → int
-
Optional. The number of replica nodes per shard.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
Number of shards for the Redis cluster.
final
- sizeGb → int
-
Redis memory size in GB for the entire cluster.
final
- state → String
-
The current state of this cluster. Can be CREATING, READY, UPDATING, DELETING and SUSPENDED
final
- stateInfo → StateInfoResponse
-
Additional information about the current state of the cluster.
final
- transitEncryptionMode → String
-
Optional. The in-transit encryption for the Redis cluster. If not provided, encryption is disabled for the cluster.
final
- uid → String
-
System assigned, unique identifier for the cluster.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited