Class: Google::Cloud::Redis::V1beta1::Instance

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/redis/v1beta1/doc/google/cloud/redis/v1beta1/cloud_redis.rb

Overview

A Google Cloud Redis instance.

Defined Under Namespace

Modules: State, Tier

Instance Attribute Summary collapse

Instance Attribute Details

#alternative_location_idString

Returns Optional. Only applicable to STANDARD_HA tier which protects the instance against zonal failures by provisioning it across two zones. If provided, it must be a different zone from the one provided in [location_id].

Returns:

  • (String)

    Optional. Only applicable to STANDARD_HA tier which protects the instance against zonal failures by provisioning it across two zones. If provided, it must be a different zone from the one provided in [location_id].



102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
# File 'lib/google/cloud/redis/v1beta1/doc/google/cloud/redis/v1beta1/cloud_redis.rb', line 102

class Instance
  # Represents the different states of a Redis instance.
  module State
    # Not set.
    STATE_UNSPECIFIED = 0

    # Redis instance is being created.
    CREATING = 1

    # Redis instance has been created and is fully usable.
    READY = 2

    # Redis instance configuration is being updated. Certain kinds of updates
    # may cause the instance to become unusable while the update is in
    # progress.
    UPDATING = 3

    # Redis instance is being deleted.
    DELETING = 4

    # Redis instance is being repaired and may be unusable. Details can be
    # found in the +status_message+ field.
    REPAIRING = 5

    # Maintenance is being performed on this Redis instance.
    MAINTENANCE = 6
  end

  # Available service tiers to choose from
  module Tier
    # Not set.
    TIER_UNSPECIFIED = 0

    # BASIC tier: standalone instance
    BASIC = 1

    # STANDARD_HA tier: highly available primary/replica instances
    STANDARD_HA = 3
  end
end

#authorized_networkString

Returns Optional. The full name of the Google Compute Engine network to which the instance is connected. If left unspecified, the +default+ network will be used.

Returns:

  • (String)

    Optional. The full name of the Google Compute Engine network to which the instance is connected. If left unspecified, the +default+ network will be used.



102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
# File 'lib/google/cloud/redis/v1beta1/doc/google/cloud/redis/v1beta1/cloud_redis.rb', line 102

class Instance
  # Represents the different states of a Redis instance.
  module State
    # Not set.
    STATE_UNSPECIFIED = 0

    # Redis instance is being created.
    CREATING = 1

    # Redis instance has been created and is fully usable.
    READY = 2

    # Redis instance configuration is being updated. Certain kinds of updates
    # may cause the instance to become unusable while the update is in
    # progress.
    UPDATING = 3

    # Redis instance is being deleted.
    DELETING = 4

    # Redis instance is being repaired and may be unusable. Details can be
    # found in the +status_message+ field.
    REPAIRING = 5

    # Maintenance is being performed on this Redis instance.
    MAINTENANCE = 6
  end

  # Available service tiers to choose from
  module Tier
    # Not set.
    TIER_UNSPECIFIED = 0

    # BASIC tier: standalone instance
    BASIC = 1

    # STANDARD_HA tier: highly available primary/replica instances
    STANDARD_HA = 3
  end
end

#create_timeGoogle::Protobuf::Timestamp

Returns Output only. The time the instance was created.

Returns:



102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
# File 'lib/google/cloud/redis/v1beta1/doc/google/cloud/redis/v1beta1/cloud_redis.rb', line 102

class Instance
  # Represents the different states of a Redis instance.
  module State
    # Not set.
    STATE_UNSPECIFIED = 0

    # Redis instance is being created.
    CREATING = 1

    # Redis instance has been created and is fully usable.
    READY = 2

    # Redis instance configuration is being updated. Certain kinds of updates
    # may cause the instance to become unusable while the update is in
    # progress.
    UPDATING = 3

    # Redis instance is being deleted.
    DELETING = 4

    # Redis instance is being repaired and may be unusable. Details can be
    # found in the +status_message+ field.
    REPAIRING = 5

    # Maintenance is being performed on this Redis instance.
    MAINTENANCE = 6
  end

  # Available service tiers to choose from
  module Tier
    # Not set.
    TIER_UNSPECIFIED = 0

    # BASIC tier: standalone instance
    BASIC = 1

    # STANDARD_HA tier: highly available primary/replica instances
    STANDARD_HA = 3
  end
end

#current_location_idString

Returns Output only. The current zone where the Redis endpoint is placed. In single zone deployments, this will always be the same as [location_id] provided by the user at creation time. In cross-zone instances (only applicable in STANDARD_HA tier), this can be either [location_id] or [alternative_location_id] and can change on a failover event.

Returns:

  • (String)

    Output only. The current zone where the Redis endpoint is placed. In single zone deployments, this will always be the same as [location_id] provided by the user at creation time. In cross-zone instances (only applicable in STANDARD_HA tier), this can be either [location_id] or [alternative_location_id] and can change on a failover event.



102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
# File 'lib/google/cloud/redis/v1beta1/doc/google/cloud/redis/v1beta1/cloud_redis.rb', line 102

class Instance
  # Represents the different states of a Redis instance.
  module State
    # Not set.
    STATE_UNSPECIFIED = 0

    # Redis instance is being created.
    CREATING = 1

    # Redis instance has been created and is fully usable.
    READY = 2

    # Redis instance configuration is being updated. Certain kinds of updates
    # may cause the instance to become unusable while the update is in
    # progress.
    UPDATING = 3

    # Redis instance is being deleted.
    DELETING = 4

    # Redis instance is being repaired and may be unusable. Details can be
    # found in the +status_message+ field.
    REPAIRING = 5

    # Maintenance is being performed on this Redis instance.
    MAINTENANCE = 6
  end

  # Available service tiers to choose from
  module Tier
    # Not set.
    TIER_UNSPECIFIED = 0

    # BASIC tier: standalone instance
    BASIC = 1

    # STANDARD_HA tier: highly available primary/replica instances
    STANDARD_HA = 3
  end
end

#display_nameString

Returns An arbitrary and optional user-provided name for the instance.

Returns:

  • (String)

    An arbitrary and optional user-provided name for the instance.



102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
# File 'lib/google/cloud/redis/v1beta1/doc/google/cloud/redis/v1beta1/cloud_redis.rb', line 102

class Instance
  # Represents the different states of a Redis instance.
  module State
    # Not set.
    STATE_UNSPECIFIED = 0

    # Redis instance is being created.
    CREATING = 1

    # Redis instance has been created and is fully usable.
    READY = 2

    # Redis instance configuration is being updated. Certain kinds of updates
    # may cause the instance to become unusable while the update is in
    # progress.
    UPDATING = 3

    # Redis instance is being deleted.
    DELETING = 4

    # Redis instance is being repaired and may be unusable. Details can be
    # found in the +status_message+ field.
    REPAIRING = 5

    # Maintenance is being performed on this Redis instance.
    MAINTENANCE = 6
  end

  # Available service tiers to choose from
  module Tier
    # Not set.
    TIER_UNSPECIFIED = 0

    # BASIC tier: standalone instance
    BASIC = 1

    # STANDARD_HA tier: highly available primary/replica instances
    STANDARD_HA = 3
  end
end

#hostString

Returns Output only. Hostname or IP address of the exposed redis endpoint used by clients to connect to the service.

Returns:

  • (String)

    Output only. Hostname or IP address of the exposed redis endpoint used by clients to connect to the service.



102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
# File 'lib/google/cloud/redis/v1beta1/doc/google/cloud/redis/v1beta1/cloud_redis.rb', line 102

class Instance
  # Represents the different states of a Redis instance.
  module State
    # Not set.
    STATE_UNSPECIFIED = 0

    # Redis instance is being created.
    CREATING = 1

    # Redis instance has been created and is fully usable.
    READY = 2

    # Redis instance configuration is being updated. Certain kinds of updates
    # may cause the instance to become unusable while the update is in
    # progress.
    UPDATING = 3

    # Redis instance is being deleted.
    DELETING = 4

    # Redis instance is being repaired and may be unusable. Details can be
    # found in the +status_message+ field.
    REPAIRING = 5

    # Maintenance is being performed on this Redis instance.
    MAINTENANCE = 6
  end

  # Available service tiers to choose from
  module Tier
    # Not set.
    TIER_UNSPECIFIED = 0

    # BASIC tier: standalone instance
    BASIC = 1

    # STANDARD_HA tier: highly available primary/replica instances
    STANDARD_HA = 3
  end
end

#labelsHash{String => String}

Returns Resource labels to represent user provided metadata

Returns:

  • (Hash{String => String})

    Resource labels to represent user provided metadata



102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
# File 'lib/google/cloud/redis/v1beta1/doc/google/cloud/redis/v1beta1/cloud_redis.rb', line 102

class Instance
  # Represents the different states of a Redis instance.
  module State
    # Not set.
    STATE_UNSPECIFIED = 0

    # Redis instance is being created.
    CREATING = 1

    # Redis instance has been created and is fully usable.
    READY = 2

    # Redis instance configuration is being updated. Certain kinds of updates
    # may cause the instance to become unusable while the update is in
    # progress.
    UPDATING = 3

    # Redis instance is being deleted.
    DELETING = 4

    # Redis instance is being repaired and may be unusable. Details can be
    # found in the +status_message+ field.
    REPAIRING = 5

    # Maintenance is being performed on this Redis instance.
    MAINTENANCE = 6
  end

  # Available service tiers to choose from
  module Tier
    # Not set.
    TIER_UNSPECIFIED = 0

    # BASIC tier: standalone instance
    BASIC = 1

    # STANDARD_HA tier: highly available primary/replica instances
    STANDARD_HA = 3
  end
end

#location_idString

Returns Optional. The zone where the instance will be provisioned. If not provided, the service will choose a zone for the instance. For STANDARD_HA tier, instances will be created across two zones for protection against zonal failures. if [alternative_location_id] is also provided, it must be different from [location_id].

Returns:

  • (String)

    Optional. The zone where the instance will be provisioned. If not provided, the service will choose a zone for the instance. For STANDARD_HA tier, instances will be created across two zones for protection against zonal failures. if [alternative_location_id] is also provided, it must be different from [location_id].



102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
# File 'lib/google/cloud/redis/v1beta1/doc/google/cloud/redis/v1beta1/cloud_redis.rb', line 102

class Instance
  # Represents the different states of a Redis instance.
  module State
    # Not set.
    STATE_UNSPECIFIED = 0

    # Redis instance is being created.
    CREATING = 1

    # Redis instance has been created and is fully usable.
    READY = 2

    # Redis instance configuration is being updated. Certain kinds of updates
    # may cause the instance to become unusable while the update is in
    # progress.
    UPDATING = 3

    # Redis instance is being deleted.
    DELETING = 4

    # Redis instance is being repaired and may be unusable. Details can be
    # found in the +status_message+ field.
    REPAIRING = 5

    # Maintenance is being performed on this Redis instance.
    MAINTENANCE = 6
  end

  # Available service tiers to choose from
  module Tier
    # Not set.
    TIER_UNSPECIFIED = 0

    # BASIC tier: standalone instance
    BASIC = 1

    # STANDARD_HA tier: highly available primary/replica instances
    STANDARD_HA = 3
  end
end

#memory_size_gbInteger

Returns Required. Redis memory size in GB.

Returns:

  • (Integer)

    Required. Redis memory size in GB.



102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
# File 'lib/google/cloud/redis/v1beta1/doc/google/cloud/redis/v1beta1/cloud_redis.rb', line 102

class Instance
  # Represents the different states of a Redis instance.
  module State
    # Not set.
    STATE_UNSPECIFIED = 0

    # Redis instance is being created.
    CREATING = 1

    # Redis instance has been created and is fully usable.
    READY = 2

    # Redis instance configuration is being updated. Certain kinds of updates
    # may cause the instance to become unusable while the update is in
    # progress.
    UPDATING = 3

    # Redis instance is being deleted.
    DELETING = 4

    # Redis instance is being repaired and may be unusable. Details can be
    # found in the +status_message+ field.
    REPAIRING = 5

    # Maintenance is being performed on this Redis instance.
    MAINTENANCE = 6
  end

  # Available service tiers to choose from
  module Tier
    # Not set.
    TIER_UNSPECIFIED = 0

    # BASIC tier: standalone instance
    BASIC = 1

    # STANDARD_HA tier: highly available primary/replica instances
    STANDARD_HA = 3
  end
end

#nameString

Returns Required. 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 get to choose which specific zone (or collection of zones for cross-zone instances) an instance should be provisioned in. Refer to [location_id] and [alternative_location_id] fields for more details.

Returns:

  • (String)

    Required. 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 get to choose which specific zone (or collection of zones for cross-zone instances) an instance should be provisioned in. Refer to [location_id] and [alternative_location_id] fields for more details.



102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
# File 'lib/google/cloud/redis/v1beta1/doc/google/cloud/redis/v1beta1/cloud_redis.rb', line 102

class Instance
  # Represents the different states of a Redis instance.
  module State
    # Not set.
    STATE_UNSPECIFIED = 0

    # Redis instance is being created.
    CREATING = 1

    # Redis instance has been created and is fully usable.
    READY = 2

    # Redis instance configuration is being updated. Certain kinds of updates
    # may cause the instance to become unusable while the update is in
    # progress.
    UPDATING = 3

    # Redis instance is being deleted.
    DELETING = 4

    # Redis instance is being repaired and may be unusable. Details can be
    # found in the +status_message+ field.
    REPAIRING = 5

    # Maintenance is being performed on this Redis instance.
    MAINTENANCE = 6
  end

  # Available service tiers to choose from
  module Tier
    # Not set.
    TIER_UNSPECIFIED = 0

    # BASIC tier: standalone instance
    BASIC = 1

    # STANDARD_HA tier: highly available primary/replica instances
    STANDARD_HA = 3
  end
end

#portInteger

Returns Output only. The port number of the exposed redis endpoint.

Returns:

  • (Integer)

    Output only. The port number of the exposed redis endpoint.



102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
# File 'lib/google/cloud/redis/v1beta1/doc/google/cloud/redis/v1beta1/cloud_redis.rb', line 102

class Instance
  # Represents the different states of a Redis instance.
  module State
    # Not set.
    STATE_UNSPECIFIED = 0

    # Redis instance is being created.
    CREATING = 1

    # Redis instance has been created and is fully usable.
    READY = 2

    # Redis instance configuration is being updated. Certain kinds of updates
    # may cause the instance to become unusable while the update is in
    # progress.
    UPDATING = 3

    # Redis instance is being deleted.
    DELETING = 4

    # Redis instance is being repaired and may be unusable. Details can be
    # found in the +status_message+ field.
    REPAIRING = 5

    # Maintenance is being performed on this Redis instance.
    MAINTENANCE = 6
  end

  # Available service tiers to choose from
  module Tier
    # Not set.
    TIER_UNSPECIFIED = 0

    # BASIC tier: standalone instance
    BASIC = 1

    # STANDARD_HA tier: highly available primary/replica instances
    STANDARD_HA = 3
  end
end

#redis_configsHash{String => String}

Returns Optional. Redis configuration parameters, according to http://redis.io/topics/config. Currently, the only supported parameters are:

  • maxmemory-policy
    • notify-keyspace-events

Returns:

  • (Hash{String => String})

    Optional. Redis configuration parameters, according to http://redis.io/topics/config. Currently, the only supported parameters are:

    • maxmemory-policy
      • notify-keyspace-events


102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
# File 'lib/google/cloud/redis/v1beta1/doc/google/cloud/redis/v1beta1/cloud_redis.rb', line 102

class Instance
  # Represents the different states of a Redis instance.
  module State
    # Not set.
    STATE_UNSPECIFIED = 0

    # Redis instance is being created.
    CREATING = 1

    # Redis instance has been created and is fully usable.
    READY = 2

    # Redis instance configuration is being updated. Certain kinds of updates
    # may cause the instance to become unusable while the update is in
    # progress.
    UPDATING = 3

    # Redis instance is being deleted.
    DELETING = 4

    # Redis instance is being repaired and may be unusable. Details can be
    # found in the +status_message+ field.
    REPAIRING = 5

    # Maintenance is being performed on this Redis instance.
    MAINTENANCE = 6
  end

  # Available service tiers to choose from
  module Tier
    # Not set.
    TIER_UNSPECIFIED = 0

    # BASIC tier: standalone instance
    BASIC = 1

    # STANDARD_HA tier: highly available primary/replica instances
    STANDARD_HA = 3
  end
end

#redis_versionString

Returns Optional. The version of Redis software. If not provided, latest supported version will be used.

Returns:

  • (String)

    Optional. The version of Redis software. If not provided, latest supported version will be used.



102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
# File 'lib/google/cloud/redis/v1beta1/doc/google/cloud/redis/v1beta1/cloud_redis.rb', line 102

class Instance
  # Represents the different states of a Redis instance.
  module State
    # Not set.
    STATE_UNSPECIFIED = 0

    # Redis instance is being created.
    CREATING = 1

    # Redis instance has been created and is fully usable.
    READY = 2

    # Redis instance configuration is being updated. Certain kinds of updates
    # may cause the instance to become unusable while the update is in
    # progress.
    UPDATING = 3

    # Redis instance is being deleted.
    DELETING = 4

    # Redis instance is being repaired and may be unusable. Details can be
    # found in the +status_message+ field.
    REPAIRING = 5

    # Maintenance is being performed on this Redis instance.
    MAINTENANCE = 6
  end

  # Available service tiers to choose from
  module Tier
    # Not set.
    TIER_UNSPECIFIED = 0

    # BASIC tier: standalone instance
    BASIC = 1

    # STANDARD_HA tier: highly available primary/replica instances
    STANDARD_HA = 3
  end
end

#reserved_ip_rangeString

Returns Optional. The CIDR range of internal addresses that are reserved for this instance. If not provided, the service will choose an unused /29 block, for example, 10.0.0.0/29 or 192.168.0.0/29. Ranges must be unique and non-overlapping with existing subnets in a network.

Returns:

  • (String)

    Optional. The CIDR range of internal addresses that are reserved for this instance. If not provided, the service will choose an unused /29 block, for example, 10.0.0.0/29 or 192.168.0.0/29. Ranges must be unique and non-overlapping with existing subnets in a network.



102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
# File 'lib/google/cloud/redis/v1beta1/doc/google/cloud/redis/v1beta1/cloud_redis.rb', line 102

class Instance
  # Represents the different states of a Redis instance.
  module State
    # Not set.
    STATE_UNSPECIFIED = 0

    # Redis instance is being created.
    CREATING = 1

    # Redis instance has been created and is fully usable.
    READY = 2

    # Redis instance configuration is being updated. Certain kinds of updates
    # may cause the instance to become unusable while the update is in
    # progress.
    UPDATING = 3

    # Redis instance is being deleted.
    DELETING = 4

    # Redis instance is being repaired and may be unusable. Details can be
    # found in the +status_message+ field.
    REPAIRING = 5

    # Maintenance is being performed on this Redis instance.
    MAINTENANCE = 6
  end

  # Available service tiers to choose from
  module Tier
    # Not set.
    TIER_UNSPECIFIED = 0

    # BASIC tier: standalone instance
    BASIC = 1

    # STANDARD_HA tier: highly available primary/replica instances
    STANDARD_HA = 3
  end
end

#stateGoogle::Cloud::Redis::V1beta1::Instance::State

Returns Output only. The current state of this instance.

Returns:



102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
# File 'lib/google/cloud/redis/v1beta1/doc/google/cloud/redis/v1beta1/cloud_redis.rb', line 102

class Instance
  # Represents the different states of a Redis instance.
  module State
    # Not set.
    STATE_UNSPECIFIED = 0

    # Redis instance is being created.
    CREATING = 1

    # Redis instance has been created and is fully usable.
    READY = 2

    # Redis instance configuration is being updated. Certain kinds of updates
    # may cause the instance to become unusable while the update is in
    # progress.
    UPDATING = 3

    # Redis instance is being deleted.
    DELETING = 4

    # Redis instance is being repaired and may be unusable. Details can be
    # found in the +status_message+ field.
    REPAIRING = 5

    # Maintenance is being performed on this Redis instance.
    MAINTENANCE = 6
  end

  # Available service tiers to choose from
  module Tier
    # Not set.
    TIER_UNSPECIFIED = 0

    # BASIC tier: standalone instance
    BASIC = 1

    # STANDARD_HA tier: highly available primary/replica instances
    STANDARD_HA = 3
  end
end

#status_messageString

Returns Output only. Additional information about the current status of this instance, if available.

Returns:

  • (String)

    Output only. Additional information about the current status of this instance, if available.



102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
# File 'lib/google/cloud/redis/v1beta1/doc/google/cloud/redis/v1beta1/cloud_redis.rb', line 102

class Instance
  # Represents the different states of a Redis instance.
  module State
    # Not set.
    STATE_UNSPECIFIED = 0

    # Redis instance is being created.
    CREATING = 1

    # Redis instance has been created and is fully usable.
    READY = 2

    # Redis instance configuration is being updated. Certain kinds of updates
    # may cause the instance to become unusable while the update is in
    # progress.
    UPDATING = 3

    # Redis instance is being deleted.
    DELETING = 4

    # Redis instance is being repaired and may be unusable. Details can be
    # found in the +status_message+ field.
    REPAIRING = 5

    # Maintenance is being performed on this Redis instance.
    MAINTENANCE = 6
  end

  # Available service tiers to choose from
  module Tier
    # Not set.
    TIER_UNSPECIFIED = 0

    # BASIC tier: standalone instance
    BASIC = 1

    # STANDARD_HA tier: highly available primary/replica instances
    STANDARD_HA = 3
  end
end

#tierGoogle::Cloud::Redis::V1beta1::Instance::Tier

Returns Required. The service tier of the instance.

Returns:



102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
# File 'lib/google/cloud/redis/v1beta1/doc/google/cloud/redis/v1beta1/cloud_redis.rb', line 102

class Instance
  # Represents the different states of a Redis instance.
  module State
    # Not set.
    STATE_UNSPECIFIED = 0

    # Redis instance is being created.
    CREATING = 1

    # Redis instance has been created and is fully usable.
    READY = 2

    # Redis instance configuration is being updated. Certain kinds of updates
    # may cause the instance to become unusable while the update is in
    # progress.
    UPDATING = 3

    # Redis instance is being deleted.
    DELETING = 4

    # Redis instance is being repaired and may be unusable. Details can be
    # found in the +status_message+ field.
    REPAIRING = 5

    # Maintenance is being performed on this Redis instance.
    MAINTENANCE = 6
  end

  # Available service tiers to choose from
  module Tier
    # Not set.
    TIER_UNSPECIFIED = 0

    # BASIC tier: standalone instance
    BASIC = 1

    # STANDARD_HA tier: highly available primary/replica instances
    STANDARD_HA = 3
  end
end