View Source GoogleApi.Redis.V1.Model.Cluster (google_api_redis v0.39.0)

A cluster instance.

Attributes

  • authorizationMode (type: String.t, default: nil) - Optional. The authorization mode of the Redis cluster. If not provided, auth feature is disabled for the cluster.
  • createTime (type: DateTime.t, default: nil) - Output only. The timestamp associated with the cluster creation request.
  • deletionProtectionEnabled (type: boolean(), default: nil) - Optional. The delete operation will fail when the value is set to true.
  • discoveryEndpoints (type: list(GoogleApi.Redis.V1.Model.DiscoveryEndpoint.t), default: nil) - Output only. Endpoints created on each given network, for Redis clients to connect to the cluster. Currently only one discovery endpoint is supported.
  • name (type: String.t, default: nil) - Required. Identifier. Unique name of the resource in this scope including project and location using the form: projects/{project_id}/locations/{location_id}/clusters/{cluster_id}
  • nodeType (type: String.t, default: nil) - Optional. The type of a redis node in the cluster. NodeType determines the underlying machine-type of a redis node.
  • persistenceConfig (type: GoogleApi.Redis.V1.Model.ClusterPersistenceConfig.t, default: nil) - Optional. Persistence config (RDB, AOF) for the cluster.
  • preciseSizeGb (type: float(), default: nil) - Output only. Precise value of redis memory size in GB for the entire cluster.
  • pscConfigs (type: list(GoogleApi.Redis.V1.Model.PscConfig.t), default: nil) - 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.
  • pscConnections (type: list(GoogleApi.Redis.V1.Model.PscConnection.t), default: nil) - Output only. PSC connections for discovery of the cluster topology and accessing the cluster.
  • redisConfigs (type: map(), default: nil) - Optional. Key/Value pairs of customer overrides for mutable Redis Configs
  • replicaCount (type: integer(), default: nil) - Optional. The number of replica nodes per shard.
  • shardCount (type: integer(), default: nil) - Required. Number of shards for the Redis cluster.
  • sizeGb (type: integer(), default: nil) - Output only. Redis memory size in GB for the entire cluster rounded up to the next integer.
  • state (type: String.t, default: nil) - Output only. The current state of this cluster. Can be CREATING, READY, UPDATING, DELETING and SUSPENDED
  • stateInfo (type: GoogleApi.Redis.V1.Model.StateInfo.t, default: nil) - Output only. Additional information about the current state of the cluster.
  • transitEncryptionMode (type: String.t, default: nil) - Optional. The in-transit encryption for the Redis cluster. If not provided, encryption is disabled for the cluster.
  • uid (type: String.t, default: nil) - Output only. System assigned, unique identifier for the cluster.
  • zoneDistributionConfig (type: GoogleApi.Redis.V1.Model.ZoneDistributionConfig.t, default: nil) - Optional. This config will be used to determine how the customer wants us to distribute cluster resources within the region.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Redis.V1.Model.Cluster{
  authorizationMode: String.t() | nil,
  createTime: DateTime.t() | nil,
  deletionProtectionEnabled: boolean() | nil,
  discoveryEndpoints: [GoogleApi.Redis.V1.Model.DiscoveryEndpoint.t()] | nil,
  name: String.t() | nil,
  nodeType: String.t() | nil,
  persistenceConfig:
    GoogleApi.Redis.V1.Model.ClusterPersistenceConfig.t() | nil,
  preciseSizeGb: float() | nil,
  pscConfigs: [GoogleApi.Redis.V1.Model.PscConfig.t()] | nil,
  pscConnections: [GoogleApi.Redis.V1.Model.PscConnection.t()] | nil,
  redisConfigs: map() | nil,
  replicaCount: integer() | nil,
  shardCount: integer() | nil,
  sizeGb: integer() | nil,
  state: String.t() | nil,
  stateInfo: GoogleApi.Redis.V1.Model.StateInfo.t() | nil,
  transitEncryptionMode: String.t() | nil,
  uid: String.t() | nil,
  zoneDistributionConfig:
    GoogleApi.Redis.V1.Model.ZoneDistributionConfig.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.