GetClusterResult constructor

const GetClusterResult({
  1. required String authorizationMode,
  2. required String createTime,
  3. required List<DiscoveryEndpointResponse> discoveryEndpoints,
  4. required String name,
  5. required List<PscConfigResponse> pscConfigs,
  6. required List<PscConnectionResponse> pscConnections,
  7. required int replicaCount,
  8. required int shardCount,
  9. required int sizeGb,
  10. required String state,
  11. required StateInfoResponse stateInfo,
  12. required String transitEncryptionMode,
  13. required String uid,
})

Creates a new GetClusterResult. authorizationMode Optional. The authorization mode of the Redis cluster. If not provided, auth feature is disabled for the cluster. createTime The timestamp associated with the cluster creation request. discoveryEndpoints Endpoints created on each given network, for Redis clients to connect to the cluster. Currently only one discovery endpoint is supported. name Unique name of the resource in this scope including project and location using the form: projects/{project_id}/locations/{location_id}/clusters/{cluster_id} pscConfigs 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. pscConnections PSC connections for discovery of the cluster topology and accessing the cluster. replicaCount Optional. The number of replica nodes per shard. shardCount Number of shards for the Redis cluster. sizeGb Redis memory size in GB for the entire cluster. state The current state of this cluster. Can be CREATING, READY, UPDATING, DELETING and SUSPENDED stateInfo Additional information about the current state of the cluster. transitEncryptionMode Optional. The in-transit encryption for the Redis cluster. If not provided, encryption is disabled for the cluster. uid System assigned, unique identifier for the cluster.

Implementation

const GetClusterResult({
  required this.authorizationMode,
  required this.createTime,
  required this.discoveryEndpoints,
  required this.name,
  required this.pscConfigs,
  required this.pscConnections,
  required this.replicaCount,
  required this.shardCount,
  required this.sizeGb,
  required this.state,
  required this.stateInfo,
  required this.transitEncryptionMode,
  required this.uid,
});