Instance class Null safety
A Memorystore for Redis instance.
Constructors
-
Instance({String? alternativeLocationId, bool? authEnabled, String? authorizedNetwork, String? connectMode, String? createTime, String? currentLocationId, String? customerManagedKey, String? displayName, String? host, Map<
String, String> ? labels, String? locationId, MaintenancePolicy? maintenancePolicy, MaintenanceSchedule? maintenanceSchedule, int? memorySizeGb, String? name, List<NodeInfo> ? nodes, PersistenceConfig? persistenceConfig, String? persistenceIamIdentity, int? port, String? readEndpoint, int? readEndpointPort, String? readReplicasMode, Map<String, String> ? redisConfigs, String? redisVersion, int? replicaCount, String? reservedIpRange, String? secondaryIpRange, List<TlsCertificate> ? serverCaCerts, String? state, String? statusMessage, List<String> ? suspensionReasons, String? tier, String? transitEncryptionMode}) - Instance.fromJson(Map json_)
Properties
- alternativeLocationId ↔ String?
-
If specified, at least one node will be provisioned in this zone in
addition to the zone specified in location_id.
read / write
- authEnabled ↔ bool?
-
Indicates whether OSS Redis AUTH is enabled for the instance.
read / write
-
The full name of the Google Compute Engine
network to which the instance is
connected.
read / write
- connectMode ↔ String?
-
The network connect mode of the Redis instance.
read / write
- createTime ↔ String?
-
The time the instance was created.
read / write
- currentLocationId ↔ String?
-
The current zone where the Redis primary node is located.
read / write
- customerManagedKey ↔ String?
-
The KMS key reference that the customer provides when trying to create the
instance.
read / write
- displayName ↔ String?
-
An arbitrary and optional user-provided name for the instance.
read / write
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- host ↔ String?
-
Hostname or IP address of the exposed Redis endpoint used by clients to
connect to the service.
read / write
-
labels
↔ Map<
String, String> ? -
Resource labels to represent user provided metadata
read / write
- locationId ↔ String?
-
The zone where the instance will be provisioned.
read / write
- maintenancePolicy ↔ MaintenancePolicy?
-
The maintenance policy for the instance.
read / write
- maintenanceSchedule ↔ MaintenanceSchedule?
-
Date and time of upcoming maintenance events which have been scheduled.
read / write
- memorySizeGb ↔ int?
-
Redis memory size in GiB.
read / write
- name ↔ String?
-
Unique name of the resource in this scope including project and location
using the form:
projects/{project_id}/locations/{location_id}/instances/{instance_id}
Note: Redis instances are managed and addressed at regional level so location_id here refers to a GCP region; however, users may choose which specific zone (or collection of zones for cross-zone instances) an instance should be provisioned in.read / write -
nodes
↔ List<
NodeInfo> ? -
Info per node.
read / write
- persistenceConfig ↔ PersistenceConfig?
-
Persistence configuration parameters
read / write
- persistenceIamIdentity ↔ String?
-
Cloud IAM identity used by import / export operations to transfer data
to/from Cloud Storage.
read / write
- port ↔ int?
-
The port number of the exposed Redis endpoint.
read / write
- readEndpoint ↔ String?
-
Hostname or IP address of the exposed readonly Redis endpoint.
read / write
- readEndpointPort ↔ int?
-
The port number of the exposed readonly redis endpoint.
read / write
- readReplicasMode ↔ String?
-
Read replicas mode for the instance.
read / write
-
redisConfigs
↔ Map<
String, String> ? -
Redis configuration parameters, according to
http://redis.io/topics/config.
read / write
- redisVersion ↔ String?
-
The version of Redis software.
read / write
- replicaCount ↔ int?
-
The number of replica nodes.
read / write
- reservedIpRange ↔ String?
-
For DIRECT_PEERING mode, the CIDR range of internal addresses that are
reserved for this instance.
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- secondaryIpRange ↔ String?
-
Additional IP range for node placement.
read / write
-
serverCaCerts
↔ List<
TlsCertificate> ? -
List of server CA certificates for the instance.
read / write
- state ↔ String?
-
The current state of this instance.
read / write
- statusMessage ↔ String?
-
Additional information about the current status of this instance, if
available.
read / write
-
suspensionReasons
↔ List<
String> ? -
reasons that causes instance in "SUSPENDED" state.
read / write
- tier ↔ String?
-
The service tier of the instance.
read / write
- transitEncryptionMode ↔ String?
-
The TLS mode of the Redis instance.
read / write
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent 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