Cluster class
A cluster instance.
Constructors
-
Cluster({String? authorizationMode, String? createTime, bool? deletionProtectionEnabled, List<
DiscoveryEndpoint> ? discoveryEndpoints, String? name, String? nodeType, ClusterPersistenceConfig? persistenceConfig, double? preciseSizeGb, List<PscConfig> ? pscConfigs, List<PscConnection> ? pscConnections, Map<String, String> ? redisConfigs, int? replicaCount, int? shardCount, int? sizeGb, String? state, StateInfo? stateInfo, String? transitEncryptionMode, String? uid, ZoneDistributionConfig? zoneDistributionConfig}) - Cluster.fromJson(Map json_)
Properties
-
The authorization mode of the Redis cluster.
getter/setter pair
- createTime ↔ String?
-
The timestamp associated with the cluster creation request.
getter/setter pair
- deletionProtectionEnabled ↔ bool?
-
The delete operation will fail when the value is set to true.
getter/setter pair
-
discoveryEndpoints
↔ List<
DiscoveryEndpoint> ? -
Endpoints created on each given network, for Redis clients to connect to
the cluster.
getter/setter pair
- 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}
getter/setter pair - nodeType ↔ String?
-
The type of a redis node in the cluster.
getter/setter pair
- persistenceConfig ↔ ClusterPersistenceConfig?
-
Persistence config (RDB, AOF) for the cluster.
getter/setter pair
- preciseSizeGb ↔ double?
-
Precise value of redis memory size in GB for the entire cluster.
getter/setter pair
-
pscConfigs
↔ List<
PscConfig> ? -
Each PscConfig configures the consumer network where IPs will be
designated to the cluster for client access through Private Service
Connect Automation.
getter/setter pair
-
pscConnections
↔ List<
PscConnection> ? -
PSC connections for discovery of the cluster topology and accessing the
cluster.
getter/setter pair
-
redisConfigs
↔ Map<
String, String> ? -
Key/Value pairs of customer overrides for mutable Redis Configs
getter/setter pair
- replicaCount ↔ int?
-
The number of replica nodes per shard.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
Number of shards for the Redis cluster.
getter/setter pair
- sizeGb ↔ int?
-
Redis memory size in GB for the entire cluster rounded up to the next
integer.
getter/setter pair
- state ↔ String?
-
The current state of this cluster.
getter/setter pair
- stateInfo ↔ StateInfo?
-
Additional information about the current state of the cluster.
getter/setter pair
- transitEncryptionMode ↔ String?
-
The in-transit encryption for the Redis cluster.
getter/setter pair
- uid ↔ String?
-
System assigned, unique identifier for the cluster.
getter/setter pair
- zoneDistributionConfig ↔ ZoneDistributionConfig?
-
This config will be used to determine how the customer wants us to
distribute cluster resources within the region.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited