Class: Google::Cloud::Memorystore::V1beta::Instance

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/memorystore/v1beta/memorystore.rb

Overview

A Memorystore instance.

Defined Under Namespace

Modules: AuthorizationMode, Mode, NodeType, ServerCaMode, State, TransitEncryptionMode Classes: ConnectionDetail, EngineConfigsEntry, InstanceEndpoint, LabelsEntry, StateInfo

Instance Attribute Summary collapse

Instance Attribute Details

#authorization_mode::Google::Cloud::Memorystore::V1beta::Instance::AuthorizationMode

Returns Optional. Immutable. Authorization mode of the instance.

Returns:



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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
# File 'proto_docs/google/cloud/memorystore/v1beta/memorystore.rb', line 107

class Instance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Additional information about the state of the instance.
  # @!attribute [r] update_info
  #   @return [::Google::Cloud::Memorystore::V1beta::Instance::StateInfo::UpdateInfo]
  #     Output only. Describes ongoing update when instance state is UPDATING.
  class StateInfo
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Represents information about instance with state UPDATING.
    # @!attribute [r] target_shard_count
    #   @return [::Integer]
    #     Output only. Target number of shards for the instance.
    # @!attribute [r] target_replica_count
    #   @return [::Integer]
    #     Output only. Target number of replica nodes per shard for the instance.
    class UpdateInfo
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # InstanceEndpoint consists of PSC connections that are created
  # as a group in each VPC network for accessing the instance. In each group,
  # there shall be one connection for each service attachment in the cluster.
  # @!attribute [rw] connections
  #   @return [::Array<::Google::Cloud::Memorystore::V1beta::Instance::ConnectionDetail>]
  #     Optional. A group of PSC connections. They are created in the same VPC
  #     network, one for each service attachment in the cluster.
  class InstanceEndpoint
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Information of each PSC connection.
  # @!attribute [rw] psc_auto_connection
  #   @return [::Google::Cloud::Memorystore::V1beta::PscAutoConnection]
  #     Detailed information of a PSC connection that is created through
  #     service connectivity automation.
  #
  #     Note: The following fields are mutually exclusive: `psc_auto_connection`, `psc_connection`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] psc_connection
  #   @return [::Google::Cloud::Memorystore::V1beta::PscConnection]
  #     Detailed information of a PSC connection that is created by the user.
  #
  #     Note: The following fields are mutually exclusive: `psc_connection`, `psc_auto_connection`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  class ConnectionDetail
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class EngineConfigsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible states of the instance.
  module State
    # Not set.
    STATE_UNSPECIFIED = 0

    # Instance is being created.
    CREATING = 1

    # Instance has been created and is usable.
    ACTIVE = 2

    # Instance is being updated.
    UPDATING = 3

    # Instance is being deleted.
    DELETING = 4
  end

  # Possible authorization modes of the instance.
  module AuthorizationMode
    # Not set.
    AUTHORIZATION_MODE_UNSPECIFIED = 0

    # Authorization disabled.
    AUTH_DISABLED = 1

    # IAM basic authorization.
    IAM_AUTH = 2
  end

  # Possible in-transit encryption modes of the instance.
  module TransitEncryptionMode
    # Not set.
    TRANSIT_ENCRYPTION_MODE_UNSPECIFIED = 0

    # In-transit encryption is disabled.
    TRANSIT_ENCRYPTION_DISABLED = 1

    # Server-managed encryption is used for in-transit encryption.
    SERVER_AUTHENTICATION = 2
  end

  # Possible node types of the instance. See
  # https://cloud.google.com/memorystore/docs/valkey/instance-node-specification
  # for more information.
  module NodeType
    # Not set.
    NODE_TYPE_UNSPECIFIED = 0

    # Shared core nano.
    SHARED_CORE_NANO = 1

    # High memory medium.
    HIGHMEM_MEDIUM = 2

    # High memory extra large.
    HIGHMEM_XLARGE = 3

    # Standard small.
    STANDARD_SMALL = 4

    # Custom micro.
    CUSTOM_MICRO = 5

    # Custom mini.
    CUSTOM_MINI = 6

    # High cpu medium.
    HIGHCPU_MEDIUM = 7

    # Standard large.
    STANDARD_LARGE = 8

    # High memory 2xlarge.
    HIGHMEM_2XLARGE = 9

    # Custom pico.
    CUSTOM_PICO = 10
  end

  # The mode config, which is used to enable/disable cluster mode.
  module Mode
    # Mode is not specified.
    MODE_UNSPECIFIED = 0

    # Deprecated: Use CLUSTER_DISABLED instead.
    STANDALONE = 1

    # Instance is in cluster mode.
    CLUSTER = 2

    # Cluster mode is disabled for the instance.
    CLUSTER_DISABLED = 4
  end

  # The Server CA mode for the instance.
  module ServerCaMode
    # Server CA mode not specified.
    SERVER_CA_MODE_UNSPECIFIED = 0

    # Each instance has its own Google-managed CA.
    GOOGLE_MANAGED_PER_INSTANCE_CA = 1

    # The instance uses a Google-managed shared CA for the instance's region.
    GOOGLE_MANAGED_SHARED_CA = 2

    # The instance uses a customer-managed CA from CAS.
    CUSTOMER_MANAGED_CAS_CA = 3

    # Deprecated: Use GOOGLE_MANAGED_PER_INSTANCE_CA instead.
    SERVER_CA_MODE_GOOGLE_MANAGED_PER_INSTANCE_CA = 1

    # Deprecated: Use GOOGLE_MANAGED_SHARED_CA instead.
    SERVER_CA_MODE_GOOGLE_MANAGED_SHARED_CA = 2

    # Deprecated: Use CUSTOMER_MANAGED_CAS_CA instead.
    SERVER_CA_MODE_CUSTOMER_MANAGED_CAS_CA = 3
  end
end

#create_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. Creation timestamp of the instance.

Returns:



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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
# File 'proto_docs/google/cloud/memorystore/v1beta/memorystore.rb', line 107

class Instance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Additional information about the state of the instance.
  # @!attribute [r] update_info
  #   @return [::Google::Cloud::Memorystore::V1beta::Instance::StateInfo::UpdateInfo]
  #     Output only. Describes ongoing update when instance state is UPDATING.
  class StateInfo
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Represents information about instance with state UPDATING.
    # @!attribute [r] target_shard_count
    #   @return [::Integer]
    #     Output only. Target number of shards for the instance.
    # @!attribute [r] target_replica_count
    #   @return [::Integer]
    #     Output only. Target number of replica nodes per shard for the instance.
    class UpdateInfo
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # InstanceEndpoint consists of PSC connections that are created
  # as a group in each VPC network for accessing the instance. In each group,
  # there shall be one connection for each service attachment in the cluster.
  # @!attribute [rw] connections
  #   @return [::Array<::Google::Cloud::Memorystore::V1beta::Instance::ConnectionDetail>]
  #     Optional. A group of PSC connections. They are created in the same VPC
  #     network, one for each service attachment in the cluster.
  class InstanceEndpoint
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Information of each PSC connection.
  # @!attribute [rw] psc_auto_connection
  #   @return [::Google::Cloud::Memorystore::V1beta::PscAutoConnection]
  #     Detailed information of a PSC connection that is created through
  #     service connectivity automation.
  #
  #     Note: The following fields are mutually exclusive: `psc_auto_connection`, `psc_connection`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] psc_connection
  #   @return [::Google::Cloud::Memorystore::V1beta::PscConnection]
  #     Detailed information of a PSC connection that is created by the user.
  #
  #     Note: The following fields are mutually exclusive: `psc_connection`, `psc_auto_connection`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  class ConnectionDetail
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class EngineConfigsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible states of the instance.
  module State
    # Not set.
    STATE_UNSPECIFIED = 0

    # Instance is being created.
    CREATING = 1

    # Instance has been created and is usable.
    ACTIVE = 2

    # Instance is being updated.
    UPDATING = 3

    # Instance is being deleted.
    DELETING = 4
  end

  # Possible authorization modes of the instance.
  module AuthorizationMode
    # Not set.
    AUTHORIZATION_MODE_UNSPECIFIED = 0

    # Authorization disabled.
    AUTH_DISABLED = 1

    # IAM basic authorization.
    IAM_AUTH = 2
  end

  # Possible in-transit encryption modes of the instance.
  module TransitEncryptionMode
    # Not set.
    TRANSIT_ENCRYPTION_MODE_UNSPECIFIED = 0

    # In-transit encryption is disabled.
    TRANSIT_ENCRYPTION_DISABLED = 1

    # Server-managed encryption is used for in-transit encryption.
    SERVER_AUTHENTICATION = 2
  end

  # Possible node types of the instance. See
  # https://cloud.google.com/memorystore/docs/valkey/instance-node-specification
  # for more information.
  module NodeType
    # Not set.
    NODE_TYPE_UNSPECIFIED = 0

    # Shared core nano.
    SHARED_CORE_NANO = 1

    # High memory medium.
    HIGHMEM_MEDIUM = 2

    # High memory extra large.
    HIGHMEM_XLARGE = 3

    # Standard small.
    STANDARD_SMALL = 4

    # Custom micro.
    CUSTOM_MICRO = 5

    # Custom mini.
    CUSTOM_MINI = 6

    # High cpu medium.
    HIGHCPU_MEDIUM = 7

    # Standard large.
    STANDARD_LARGE = 8

    # High memory 2xlarge.
    HIGHMEM_2XLARGE = 9

    # Custom pico.
    CUSTOM_PICO = 10
  end

  # The mode config, which is used to enable/disable cluster mode.
  module Mode
    # Mode is not specified.
    MODE_UNSPECIFIED = 0

    # Deprecated: Use CLUSTER_DISABLED instead.
    STANDALONE = 1

    # Instance is in cluster mode.
    CLUSTER = 2

    # Cluster mode is disabled for the instance.
    CLUSTER_DISABLED = 4
  end

  # The Server CA mode for the instance.
  module ServerCaMode
    # Server CA mode not specified.
    SERVER_CA_MODE_UNSPECIFIED = 0

    # Each instance has its own Google-managed CA.
    GOOGLE_MANAGED_PER_INSTANCE_CA = 1

    # The instance uses a Google-managed shared CA for the instance's region.
    GOOGLE_MANAGED_SHARED_CA = 2

    # The instance uses a customer-managed CA from CAS.
    CUSTOMER_MANAGED_CAS_CA = 3

    # Deprecated: Use GOOGLE_MANAGED_PER_INSTANCE_CA instead.
    SERVER_CA_MODE_GOOGLE_MANAGED_PER_INSTANCE_CA = 1

    # Deprecated: Use GOOGLE_MANAGED_SHARED_CA instead.
    SERVER_CA_MODE_GOOGLE_MANAGED_SHARED_CA = 2

    # Deprecated: Use CUSTOMER_MANAGED_CAS_CA instead.
    SERVER_CA_MODE_CUSTOMER_MANAGED_CAS_CA = 3
  end
end

#deletion_protection_enabled::Boolean

Returns Optional. If set to true deletion of the instance will fail.

Returns:

  • (::Boolean)

    Optional. If set to true deletion of the instance will fail.



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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
# File 'proto_docs/google/cloud/memorystore/v1beta/memorystore.rb', line 107

class Instance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Additional information about the state of the instance.
  # @!attribute [r] update_info
  #   @return [::Google::Cloud::Memorystore::V1beta::Instance::StateInfo::UpdateInfo]
  #     Output only. Describes ongoing update when instance state is UPDATING.
  class StateInfo
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Represents information about instance with state UPDATING.
    # @!attribute [r] target_shard_count
    #   @return [::Integer]
    #     Output only. Target number of shards for the instance.
    # @!attribute [r] target_replica_count
    #   @return [::Integer]
    #     Output only. Target number of replica nodes per shard for the instance.
    class UpdateInfo
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # InstanceEndpoint consists of PSC connections that are created
  # as a group in each VPC network for accessing the instance. In each group,
  # there shall be one connection for each service attachment in the cluster.
  # @!attribute [rw] connections
  #   @return [::Array<::Google::Cloud::Memorystore::V1beta::Instance::ConnectionDetail>]
  #     Optional. A group of PSC connections. They are created in the same VPC
  #     network, one for each service attachment in the cluster.
  class InstanceEndpoint
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Information of each PSC connection.
  # @!attribute [rw] psc_auto_connection
  #   @return [::Google::Cloud::Memorystore::V1beta::PscAutoConnection]
  #     Detailed information of a PSC connection that is created through
  #     service connectivity automation.
  #
  #     Note: The following fields are mutually exclusive: `psc_auto_connection`, `psc_connection`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] psc_connection
  #   @return [::Google::Cloud::Memorystore::V1beta::PscConnection]
  #     Detailed information of a PSC connection that is created by the user.
  #
  #     Note: The following fields are mutually exclusive: `psc_connection`, `psc_auto_connection`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  class ConnectionDetail
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class EngineConfigsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible states of the instance.
  module State
    # Not set.
    STATE_UNSPECIFIED = 0

    # Instance is being created.
    CREATING = 1

    # Instance has been created and is usable.
    ACTIVE = 2

    # Instance is being updated.
    UPDATING = 3

    # Instance is being deleted.
    DELETING = 4
  end

  # Possible authorization modes of the instance.
  module AuthorizationMode
    # Not set.
    AUTHORIZATION_MODE_UNSPECIFIED = 0

    # Authorization disabled.
    AUTH_DISABLED = 1

    # IAM basic authorization.
    IAM_AUTH = 2
  end

  # Possible in-transit encryption modes of the instance.
  module TransitEncryptionMode
    # Not set.
    TRANSIT_ENCRYPTION_MODE_UNSPECIFIED = 0

    # In-transit encryption is disabled.
    TRANSIT_ENCRYPTION_DISABLED = 1

    # Server-managed encryption is used for in-transit encryption.
    SERVER_AUTHENTICATION = 2
  end

  # Possible node types of the instance. See
  # https://cloud.google.com/memorystore/docs/valkey/instance-node-specification
  # for more information.
  module NodeType
    # Not set.
    NODE_TYPE_UNSPECIFIED = 0

    # Shared core nano.
    SHARED_CORE_NANO = 1

    # High memory medium.
    HIGHMEM_MEDIUM = 2

    # High memory extra large.
    HIGHMEM_XLARGE = 3

    # Standard small.
    STANDARD_SMALL = 4

    # Custom micro.
    CUSTOM_MICRO = 5

    # Custom mini.
    CUSTOM_MINI = 6

    # High cpu medium.
    HIGHCPU_MEDIUM = 7

    # Standard large.
    STANDARD_LARGE = 8

    # High memory 2xlarge.
    HIGHMEM_2XLARGE = 9

    # Custom pico.
    CUSTOM_PICO = 10
  end

  # The mode config, which is used to enable/disable cluster mode.
  module Mode
    # Mode is not specified.
    MODE_UNSPECIFIED = 0

    # Deprecated: Use CLUSTER_DISABLED instead.
    STANDALONE = 1

    # Instance is in cluster mode.
    CLUSTER = 2

    # Cluster mode is disabled for the instance.
    CLUSTER_DISABLED = 4
  end

  # The Server CA mode for the instance.
  module ServerCaMode
    # Server CA mode not specified.
    SERVER_CA_MODE_UNSPECIFIED = 0

    # Each instance has its own Google-managed CA.
    GOOGLE_MANAGED_PER_INSTANCE_CA = 1

    # The instance uses a Google-managed shared CA for the instance's region.
    GOOGLE_MANAGED_SHARED_CA = 2

    # The instance uses a customer-managed CA from CAS.
    CUSTOMER_MANAGED_CAS_CA = 3

    # Deprecated: Use GOOGLE_MANAGED_PER_INSTANCE_CA instead.
    SERVER_CA_MODE_GOOGLE_MANAGED_PER_INSTANCE_CA = 1

    # Deprecated: Use GOOGLE_MANAGED_SHARED_CA instead.
    SERVER_CA_MODE_GOOGLE_MANAGED_SHARED_CA = 2

    # Deprecated: Use CUSTOMER_MANAGED_CAS_CA instead.
    SERVER_CA_MODE_CUSTOMER_MANAGED_CAS_CA = 3
  end
end

#discovery_endpoints::Array<::Google::Cloud::Memorystore::V1beta::DiscoveryEndpoint> (readonly)

Returns Output only. Endpoints clients can connect to the instance through. Currently only one discovery endpoint is supported.

Returns:



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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
# File 'proto_docs/google/cloud/memorystore/v1beta/memorystore.rb', line 107

class Instance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Additional information about the state of the instance.
  # @!attribute [r] update_info
  #   @return [::Google::Cloud::Memorystore::V1beta::Instance::StateInfo::UpdateInfo]
  #     Output only. Describes ongoing update when instance state is UPDATING.
  class StateInfo
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Represents information about instance with state UPDATING.
    # @!attribute [r] target_shard_count
    #   @return [::Integer]
    #     Output only. Target number of shards for the instance.
    # @!attribute [r] target_replica_count
    #   @return [::Integer]
    #     Output only. Target number of replica nodes per shard for the instance.
    class UpdateInfo
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # InstanceEndpoint consists of PSC connections that are created
  # as a group in each VPC network for accessing the instance. In each group,
  # there shall be one connection for each service attachment in the cluster.
  # @!attribute [rw] connections
  #   @return [::Array<::Google::Cloud::Memorystore::V1beta::Instance::ConnectionDetail>]
  #     Optional. A group of PSC connections. They are created in the same VPC
  #     network, one for each service attachment in the cluster.
  class InstanceEndpoint
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Information of each PSC connection.
  # @!attribute [rw] psc_auto_connection
  #   @return [::Google::Cloud::Memorystore::V1beta::PscAutoConnection]
  #     Detailed information of a PSC connection that is created through
  #     service connectivity automation.
  #
  #     Note: The following fields are mutually exclusive: `psc_auto_connection`, `psc_connection`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] psc_connection
  #   @return [::Google::Cloud::Memorystore::V1beta::PscConnection]
  #     Detailed information of a PSC connection that is created by the user.
  #
  #     Note: The following fields are mutually exclusive: `psc_connection`, `psc_auto_connection`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  class ConnectionDetail
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class EngineConfigsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible states of the instance.
  module State
    # Not set.
    STATE_UNSPECIFIED = 0

    # Instance is being created.
    CREATING = 1

    # Instance has been created and is usable.
    ACTIVE = 2

    # Instance is being updated.
    UPDATING = 3

    # Instance is being deleted.
    DELETING = 4
  end

  # Possible authorization modes of the instance.
  module AuthorizationMode
    # Not set.
    AUTHORIZATION_MODE_UNSPECIFIED = 0

    # Authorization disabled.
    AUTH_DISABLED = 1

    # IAM basic authorization.
    IAM_AUTH = 2
  end

  # Possible in-transit encryption modes of the instance.
  module TransitEncryptionMode
    # Not set.
    TRANSIT_ENCRYPTION_MODE_UNSPECIFIED = 0

    # In-transit encryption is disabled.
    TRANSIT_ENCRYPTION_DISABLED = 1

    # Server-managed encryption is used for in-transit encryption.
    SERVER_AUTHENTICATION = 2
  end

  # Possible node types of the instance. See
  # https://cloud.google.com/memorystore/docs/valkey/instance-node-specification
  # for more information.
  module NodeType
    # Not set.
    NODE_TYPE_UNSPECIFIED = 0

    # Shared core nano.
    SHARED_CORE_NANO = 1

    # High memory medium.
    HIGHMEM_MEDIUM = 2

    # High memory extra large.
    HIGHMEM_XLARGE = 3

    # Standard small.
    STANDARD_SMALL = 4

    # Custom micro.
    CUSTOM_MICRO = 5

    # Custom mini.
    CUSTOM_MINI = 6

    # High cpu medium.
    HIGHCPU_MEDIUM = 7

    # Standard large.
    STANDARD_LARGE = 8

    # High memory 2xlarge.
    HIGHMEM_2XLARGE = 9

    # Custom pico.
    CUSTOM_PICO = 10
  end

  # The mode config, which is used to enable/disable cluster mode.
  module Mode
    # Mode is not specified.
    MODE_UNSPECIFIED = 0

    # Deprecated: Use CLUSTER_DISABLED instead.
    STANDALONE = 1

    # Instance is in cluster mode.
    CLUSTER = 2

    # Cluster mode is disabled for the instance.
    CLUSTER_DISABLED = 4
  end

  # The Server CA mode for the instance.
  module ServerCaMode
    # Server CA mode not specified.
    SERVER_CA_MODE_UNSPECIFIED = 0

    # Each instance has its own Google-managed CA.
    GOOGLE_MANAGED_PER_INSTANCE_CA = 1

    # The instance uses a Google-managed shared CA for the instance's region.
    GOOGLE_MANAGED_SHARED_CA = 2

    # The instance uses a customer-managed CA from CAS.
    CUSTOMER_MANAGED_CAS_CA = 3

    # Deprecated: Use GOOGLE_MANAGED_PER_INSTANCE_CA instead.
    SERVER_CA_MODE_GOOGLE_MANAGED_PER_INSTANCE_CA = 1

    # Deprecated: Use GOOGLE_MANAGED_SHARED_CA instead.
    SERVER_CA_MODE_GOOGLE_MANAGED_SHARED_CA = 2

    # Deprecated: Use CUSTOMER_MANAGED_CAS_CA instead.
    SERVER_CA_MODE_CUSTOMER_MANAGED_CAS_CA = 3
  end
end

#endpoints::Array<::Google::Cloud::Memorystore::V1beta::Instance::InstanceEndpoint>

Returns Optional. Endpoints for the instance.

Returns:



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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
# File 'proto_docs/google/cloud/memorystore/v1beta/memorystore.rb', line 107

class Instance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Additional information about the state of the instance.
  # @!attribute [r] update_info
  #   @return [::Google::Cloud::Memorystore::V1beta::Instance::StateInfo::UpdateInfo]
  #     Output only. Describes ongoing update when instance state is UPDATING.
  class StateInfo
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Represents information about instance with state UPDATING.
    # @!attribute [r] target_shard_count
    #   @return [::Integer]
    #     Output only. Target number of shards for the instance.
    # @!attribute [r] target_replica_count
    #   @return [::Integer]
    #     Output only. Target number of replica nodes per shard for the instance.
    class UpdateInfo
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # InstanceEndpoint consists of PSC connections that are created
  # as a group in each VPC network for accessing the instance. In each group,
  # there shall be one connection for each service attachment in the cluster.
  # @!attribute [rw] connections
  #   @return [::Array<::Google::Cloud::Memorystore::V1beta::Instance::ConnectionDetail>]
  #     Optional. A group of PSC connections. They are created in the same VPC
  #     network, one for each service attachment in the cluster.
  class InstanceEndpoint
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Information of each PSC connection.
  # @!attribute [rw] psc_auto_connection
  #   @return [::Google::Cloud::Memorystore::V1beta::PscAutoConnection]
  #     Detailed information of a PSC connection that is created through
  #     service connectivity automation.
  #
  #     Note: The following fields are mutually exclusive: `psc_auto_connection`, `psc_connection`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] psc_connection
  #   @return [::Google::Cloud::Memorystore::V1beta::PscConnection]
  #     Detailed information of a PSC connection that is created by the user.
  #
  #     Note: The following fields are mutually exclusive: `psc_connection`, `psc_auto_connection`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  class ConnectionDetail
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class EngineConfigsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible states of the instance.
  module State
    # Not set.
    STATE_UNSPECIFIED = 0

    # Instance is being created.
    CREATING = 1

    # Instance has been created and is usable.
    ACTIVE = 2

    # Instance is being updated.
    UPDATING = 3

    # Instance is being deleted.
    DELETING = 4
  end

  # Possible authorization modes of the instance.
  module AuthorizationMode
    # Not set.
    AUTHORIZATION_MODE_UNSPECIFIED = 0

    # Authorization disabled.
    AUTH_DISABLED = 1

    # IAM basic authorization.
    IAM_AUTH = 2
  end

  # Possible in-transit encryption modes of the instance.
  module TransitEncryptionMode
    # Not set.
    TRANSIT_ENCRYPTION_MODE_UNSPECIFIED = 0

    # In-transit encryption is disabled.
    TRANSIT_ENCRYPTION_DISABLED = 1

    # Server-managed encryption is used for in-transit encryption.
    SERVER_AUTHENTICATION = 2
  end

  # Possible node types of the instance. See
  # https://cloud.google.com/memorystore/docs/valkey/instance-node-specification
  # for more information.
  module NodeType
    # Not set.
    NODE_TYPE_UNSPECIFIED = 0

    # Shared core nano.
    SHARED_CORE_NANO = 1

    # High memory medium.
    HIGHMEM_MEDIUM = 2

    # High memory extra large.
    HIGHMEM_XLARGE = 3

    # Standard small.
    STANDARD_SMALL = 4

    # Custom micro.
    CUSTOM_MICRO = 5

    # Custom mini.
    CUSTOM_MINI = 6

    # High cpu medium.
    HIGHCPU_MEDIUM = 7

    # Standard large.
    STANDARD_LARGE = 8

    # High memory 2xlarge.
    HIGHMEM_2XLARGE = 9

    # Custom pico.
    CUSTOM_PICO = 10
  end

  # The mode config, which is used to enable/disable cluster mode.
  module Mode
    # Mode is not specified.
    MODE_UNSPECIFIED = 0

    # Deprecated: Use CLUSTER_DISABLED instead.
    STANDALONE = 1

    # Instance is in cluster mode.
    CLUSTER = 2

    # Cluster mode is disabled for the instance.
    CLUSTER_DISABLED = 4
  end

  # The Server CA mode for the instance.
  module ServerCaMode
    # Server CA mode not specified.
    SERVER_CA_MODE_UNSPECIFIED = 0

    # Each instance has its own Google-managed CA.
    GOOGLE_MANAGED_PER_INSTANCE_CA = 1

    # The instance uses a Google-managed shared CA for the instance's region.
    GOOGLE_MANAGED_SHARED_CA = 2

    # The instance uses a customer-managed CA from CAS.
    CUSTOMER_MANAGED_CAS_CA = 3

    # Deprecated: Use GOOGLE_MANAGED_PER_INSTANCE_CA instead.
    SERVER_CA_MODE_GOOGLE_MANAGED_PER_INSTANCE_CA = 1

    # Deprecated: Use GOOGLE_MANAGED_SHARED_CA instead.
    SERVER_CA_MODE_GOOGLE_MANAGED_SHARED_CA = 2

    # Deprecated: Use CUSTOMER_MANAGED_CAS_CA instead.
    SERVER_CA_MODE_CUSTOMER_MANAGED_CAS_CA = 3
  end
end

#engine_configs::Google::Protobuf::Map{::String => ::String}

Returns Optional. User-provided engine configurations for the instance.

Returns:

  • (::Google::Protobuf::Map{::String => ::String})

    Optional. User-provided engine configurations for the instance.



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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
# File 'proto_docs/google/cloud/memorystore/v1beta/memorystore.rb', line 107

class Instance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Additional information about the state of the instance.
  # @!attribute [r] update_info
  #   @return [::Google::Cloud::Memorystore::V1beta::Instance::StateInfo::UpdateInfo]
  #     Output only. Describes ongoing update when instance state is UPDATING.
  class StateInfo
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Represents information about instance with state UPDATING.
    # @!attribute [r] target_shard_count
    #   @return [::Integer]
    #     Output only. Target number of shards for the instance.
    # @!attribute [r] target_replica_count
    #   @return [::Integer]
    #     Output only. Target number of replica nodes per shard for the instance.
    class UpdateInfo
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # InstanceEndpoint consists of PSC connections that are created
  # as a group in each VPC network for accessing the instance. In each group,
  # there shall be one connection for each service attachment in the cluster.
  # @!attribute [rw] connections
  #   @return [::Array<::Google::Cloud::Memorystore::V1beta::Instance::ConnectionDetail>]
  #     Optional. A group of PSC connections. They are created in the same VPC
  #     network, one for each service attachment in the cluster.
  class InstanceEndpoint
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Information of each PSC connection.
  # @!attribute [rw] psc_auto_connection
  #   @return [::Google::Cloud::Memorystore::V1beta::PscAutoConnection]
  #     Detailed information of a PSC connection that is created through
  #     service connectivity automation.
  #
  #     Note: The following fields are mutually exclusive: `psc_auto_connection`, `psc_connection`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] psc_connection
  #   @return [::Google::Cloud::Memorystore::V1beta::PscConnection]
  #     Detailed information of a PSC connection that is created by the user.
  #
  #     Note: The following fields are mutually exclusive: `psc_connection`, `psc_auto_connection`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  class ConnectionDetail
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class EngineConfigsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible states of the instance.
  module State
    # Not set.
    STATE_UNSPECIFIED = 0

    # Instance is being created.
    CREATING = 1

    # Instance has been created and is usable.
    ACTIVE = 2

    # Instance is being updated.
    UPDATING = 3

    # Instance is being deleted.
    DELETING = 4
  end

  # Possible authorization modes of the instance.
  module AuthorizationMode
    # Not set.
    AUTHORIZATION_MODE_UNSPECIFIED = 0

    # Authorization disabled.
    AUTH_DISABLED = 1

    # IAM basic authorization.
    IAM_AUTH = 2
  end

  # Possible in-transit encryption modes of the instance.
  module TransitEncryptionMode
    # Not set.
    TRANSIT_ENCRYPTION_MODE_UNSPECIFIED = 0

    # In-transit encryption is disabled.
    TRANSIT_ENCRYPTION_DISABLED = 1

    # Server-managed encryption is used for in-transit encryption.
    SERVER_AUTHENTICATION = 2
  end

  # Possible node types of the instance. See
  # https://cloud.google.com/memorystore/docs/valkey/instance-node-specification
  # for more information.
  module NodeType
    # Not set.
    NODE_TYPE_UNSPECIFIED = 0

    # Shared core nano.
    SHARED_CORE_NANO = 1

    # High memory medium.
    HIGHMEM_MEDIUM = 2

    # High memory extra large.
    HIGHMEM_XLARGE = 3

    # Standard small.
    STANDARD_SMALL = 4

    # Custom micro.
    CUSTOM_MICRO = 5

    # Custom mini.
    CUSTOM_MINI = 6

    # High cpu medium.
    HIGHCPU_MEDIUM = 7

    # Standard large.
    STANDARD_LARGE = 8

    # High memory 2xlarge.
    HIGHMEM_2XLARGE = 9

    # Custom pico.
    CUSTOM_PICO = 10
  end

  # The mode config, which is used to enable/disable cluster mode.
  module Mode
    # Mode is not specified.
    MODE_UNSPECIFIED = 0

    # Deprecated: Use CLUSTER_DISABLED instead.
    STANDALONE = 1

    # Instance is in cluster mode.
    CLUSTER = 2

    # Cluster mode is disabled for the instance.
    CLUSTER_DISABLED = 4
  end

  # The Server CA mode for the instance.
  module ServerCaMode
    # Server CA mode not specified.
    SERVER_CA_MODE_UNSPECIFIED = 0

    # Each instance has its own Google-managed CA.
    GOOGLE_MANAGED_PER_INSTANCE_CA = 1

    # The instance uses a Google-managed shared CA for the instance's region.
    GOOGLE_MANAGED_SHARED_CA = 2

    # The instance uses a customer-managed CA from CAS.
    CUSTOMER_MANAGED_CAS_CA = 3

    # Deprecated: Use GOOGLE_MANAGED_PER_INSTANCE_CA instead.
    SERVER_CA_MODE_GOOGLE_MANAGED_PER_INSTANCE_CA = 1

    # Deprecated: Use GOOGLE_MANAGED_SHARED_CA instead.
    SERVER_CA_MODE_GOOGLE_MANAGED_SHARED_CA = 2

    # Deprecated: Use CUSTOMER_MANAGED_CAS_CA instead.
    SERVER_CA_MODE_CUSTOMER_MANAGED_CAS_CA = 3
  end
end

#engine_version::String

Returns Optional. Immutable. Engine version of the instance.

Returns:

  • (::String)

    Optional. Immutable. Engine version of the instance.



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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
# File 'proto_docs/google/cloud/memorystore/v1beta/memorystore.rb', line 107

class Instance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Additional information about the state of the instance.
  # @!attribute [r] update_info
  #   @return [::Google::Cloud::Memorystore::V1beta::Instance::StateInfo::UpdateInfo]
  #     Output only. Describes ongoing update when instance state is UPDATING.
  class StateInfo
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Represents information about instance with state UPDATING.
    # @!attribute [r] target_shard_count
    #   @return [::Integer]
    #     Output only. Target number of shards for the instance.
    # @!attribute [r] target_replica_count
    #   @return [::Integer]
    #     Output only. Target number of replica nodes per shard for the instance.
    class UpdateInfo
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # InstanceEndpoint consists of PSC connections that are created
  # as a group in each VPC network for accessing the instance. In each group,
  # there shall be one connection for each service attachment in the cluster.
  # @!attribute [rw] connections
  #   @return [::Array<::Google::Cloud::Memorystore::V1beta::Instance::ConnectionDetail>]
  #     Optional. A group of PSC connections. They are created in the same VPC
  #     network, one for each service attachment in the cluster.
  class InstanceEndpoint
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Information of each PSC connection.
  # @!attribute [rw] psc_auto_connection
  #   @return [::Google::Cloud::Memorystore::V1beta::PscAutoConnection]
  #     Detailed information of a PSC connection that is created through
  #     service connectivity automation.
  #
  #     Note: The following fields are mutually exclusive: `psc_auto_connection`, `psc_connection`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] psc_connection
  #   @return [::Google::Cloud::Memorystore::V1beta::PscConnection]
  #     Detailed information of a PSC connection that is created by the user.
  #
  #     Note: The following fields are mutually exclusive: `psc_connection`, `psc_auto_connection`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  class ConnectionDetail
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class EngineConfigsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible states of the instance.
  module State
    # Not set.
    STATE_UNSPECIFIED = 0

    # Instance is being created.
    CREATING = 1

    # Instance has been created and is usable.
    ACTIVE = 2

    # Instance is being updated.
    UPDATING = 3

    # Instance is being deleted.
    DELETING = 4
  end

  # Possible authorization modes of the instance.
  module AuthorizationMode
    # Not set.
    AUTHORIZATION_MODE_UNSPECIFIED = 0

    # Authorization disabled.
    AUTH_DISABLED = 1

    # IAM basic authorization.
    IAM_AUTH = 2
  end

  # Possible in-transit encryption modes of the instance.
  module TransitEncryptionMode
    # Not set.
    TRANSIT_ENCRYPTION_MODE_UNSPECIFIED = 0

    # In-transit encryption is disabled.
    TRANSIT_ENCRYPTION_DISABLED = 1

    # Server-managed encryption is used for in-transit encryption.
    SERVER_AUTHENTICATION = 2
  end

  # Possible node types of the instance. See
  # https://cloud.google.com/memorystore/docs/valkey/instance-node-specification
  # for more information.
  module NodeType
    # Not set.
    NODE_TYPE_UNSPECIFIED = 0

    # Shared core nano.
    SHARED_CORE_NANO = 1

    # High memory medium.
    HIGHMEM_MEDIUM = 2

    # High memory extra large.
    HIGHMEM_XLARGE = 3

    # Standard small.
    STANDARD_SMALL = 4

    # Custom micro.
    CUSTOM_MICRO = 5

    # Custom mini.
    CUSTOM_MINI = 6

    # High cpu medium.
    HIGHCPU_MEDIUM = 7

    # Standard large.
    STANDARD_LARGE = 8

    # High memory 2xlarge.
    HIGHMEM_2XLARGE = 9

    # Custom pico.
    CUSTOM_PICO = 10
  end

  # The mode config, which is used to enable/disable cluster mode.
  module Mode
    # Mode is not specified.
    MODE_UNSPECIFIED = 0

    # Deprecated: Use CLUSTER_DISABLED instead.
    STANDALONE = 1

    # Instance is in cluster mode.
    CLUSTER = 2

    # Cluster mode is disabled for the instance.
    CLUSTER_DISABLED = 4
  end

  # The Server CA mode for the instance.
  module ServerCaMode
    # Server CA mode not specified.
    SERVER_CA_MODE_UNSPECIFIED = 0

    # Each instance has its own Google-managed CA.
    GOOGLE_MANAGED_PER_INSTANCE_CA = 1

    # The instance uses a Google-managed shared CA for the instance's region.
    GOOGLE_MANAGED_SHARED_CA = 2

    # The instance uses a customer-managed CA from CAS.
    CUSTOMER_MANAGED_CAS_CA = 3

    # Deprecated: Use GOOGLE_MANAGED_PER_INSTANCE_CA instead.
    SERVER_CA_MODE_GOOGLE_MANAGED_PER_INSTANCE_CA = 1

    # Deprecated: Use GOOGLE_MANAGED_SHARED_CA instead.
    SERVER_CA_MODE_GOOGLE_MANAGED_SHARED_CA = 2

    # Deprecated: Use CUSTOMER_MANAGED_CAS_CA instead.
    SERVER_CA_MODE_CUSTOMER_MANAGED_CAS_CA = 3
  end
end

#labels::Google::Protobuf::Map{::String => ::String}

Returns Optional. Labels to represent user-provided metadata.

Returns:

  • (::Google::Protobuf::Map{::String => ::String})

    Optional. Labels to represent user-provided metadata.



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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
# File 'proto_docs/google/cloud/memorystore/v1beta/memorystore.rb', line 107

class Instance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Additional information about the state of the instance.
  # @!attribute [r] update_info
  #   @return [::Google::Cloud::Memorystore::V1beta::Instance::StateInfo::UpdateInfo]
  #     Output only. Describes ongoing update when instance state is UPDATING.
  class StateInfo
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Represents information about instance with state UPDATING.
    # @!attribute [r] target_shard_count
    #   @return [::Integer]
    #     Output only. Target number of shards for the instance.
    # @!attribute [r] target_replica_count
    #   @return [::Integer]
    #     Output only. Target number of replica nodes per shard for the instance.
    class UpdateInfo
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # InstanceEndpoint consists of PSC connections that are created
  # as a group in each VPC network for accessing the instance. In each group,
  # there shall be one connection for each service attachment in the cluster.
  # @!attribute [rw] connections
  #   @return [::Array<::Google::Cloud::Memorystore::V1beta::Instance::ConnectionDetail>]
  #     Optional. A group of PSC connections. They are created in the same VPC
  #     network, one for each service attachment in the cluster.
  class InstanceEndpoint
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Information of each PSC connection.
  # @!attribute [rw] psc_auto_connection
  #   @return [::Google::Cloud::Memorystore::V1beta::PscAutoConnection]
  #     Detailed information of a PSC connection that is created through
  #     service connectivity automation.
  #
  #     Note: The following fields are mutually exclusive: `psc_auto_connection`, `psc_connection`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] psc_connection
  #   @return [::Google::Cloud::Memorystore::V1beta::PscConnection]
  #     Detailed information of a PSC connection that is created by the user.
  #
  #     Note: The following fields are mutually exclusive: `psc_connection`, `psc_auto_connection`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  class ConnectionDetail
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class EngineConfigsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible states of the instance.
  module State
    # Not set.
    STATE_UNSPECIFIED = 0

    # Instance is being created.
    CREATING = 1

    # Instance has been created and is usable.
    ACTIVE = 2

    # Instance is being updated.
    UPDATING = 3

    # Instance is being deleted.
    DELETING = 4
  end

  # Possible authorization modes of the instance.
  module AuthorizationMode
    # Not set.
    AUTHORIZATION_MODE_UNSPECIFIED = 0

    # Authorization disabled.
    AUTH_DISABLED = 1

    # IAM basic authorization.
    IAM_AUTH = 2
  end

  # Possible in-transit encryption modes of the instance.
  module TransitEncryptionMode
    # Not set.
    TRANSIT_ENCRYPTION_MODE_UNSPECIFIED = 0

    # In-transit encryption is disabled.
    TRANSIT_ENCRYPTION_DISABLED = 1

    # Server-managed encryption is used for in-transit encryption.
    SERVER_AUTHENTICATION = 2
  end

  # Possible node types of the instance. See
  # https://cloud.google.com/memorystore/docs/valkey/instance-node-specification
  # for more information.
  module NodeType
    # Not set.
    NODE_TYPE_UNSPECIFIED = 0

    # Shared core nano.
    SHARED_CORE_NANO = 1

    # High memory medium.
    HIGHMEM_MEDIUM = 2

    # High memory extra large.
    HIGHMEM_XLARGE = 3

    # Standard small.
    STANDARD_SMALL = 4

    # Custom micro.
    CUSTOM_MICRO = 5

    # Custom mini.
    CUSTOM_MINI = 6

    # High cpu medium.
    HIGHCPU_MEDIUM = 7

    # Standard large.
    STANDARD_LARGE = 8

    # High memory 2xlarge.
    HIGHMEM_2XLARGE = 9

    # Custom pico.
    CUSTOM_PICO = 10
  end

  # The mode config, which is used to enable/disable cluster mode.
  module Mode
    # Mode is not specified.
    MODE_UNSPECIFIED = 0

    # Deprecated: Use CLUSTER_DISABLED instead.
    STANDALONE = 1

    # Instance is in cluster mode.
    CLUSTER = 2

    # Cluster mode is disabled for the instance.
    CLUSTER_DISABLED = 4
  end

  # The Server CA mode for the instance.
  module ServerCaMode
    # Server CA mode not specified.
    SERVER_CA_MODE_UNSPECIFIED = 0

    # Each instance has its own Google-managed CA.
    GOOGLE_MANAGED_PER_INSTANCE_CA = 1

    # The instance uses a Google-managed shared CA for the instance's region.
    GOOGLE_MANAGED_SHARED_CA = 2

    # The instance uses a customer-managed CA from CAS.
    CUSTOMER_MANAGED_CAS_CA = 3

    # Deprecated: Use GOOGLE_MANAGED_PER_INSTANCE_CA instead.
    SERVER_CA_MODE_GOOGLE_MANAGED_PER_INSTANCE_CA = 1

    # Deprecated: Use GOOGLE_MANAGED_SHARED_CA instead.
    SERVER_CA_MODE_GOOGLE_MANAGED_SHARED_CA = 2

    # Deprecated: Use CUSTOMER_MANAGED_CAS_CA instead.
    SERVER_CA_MODE_CUSTOMER_MANAGED_CAS_CA = 3
  end
end

#mode::Google::Cloud::Memorystore::V1beta::Instance::Mode

Returns Optional. The mode config for the instance.

Returns:



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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
# File 'proto_docs/google/cloud/memorystore/v1beta/memorystore.rb', line 107

class Instance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Additional information about the state of the instance.
  # @!attribute [r] update_info
  #   @return [::Google::Cloud::Memorystore::V1beta::Instance::StateInfo::UpdateInfo]
  #     Output only. Describes ongoing update when instance state is UPDATING.
  class StateInfo
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Represents information about instance with state UPDATING.
    # @!attribute [r] target_shard_count
    #   @return [::Integer]
    #     Output only. Target number of shards for the instance.
    # @!attribute [r] target_replica_count
    #   @return [::Integer]
    #     Output only. Target number of replica nodes per shard for the instance.
    class UpdateInfo
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # InstanceEndpoint consists of PSC connections that are created
  # as a group in each VPC network for accessing the instance. In each group,
  # there shall be one connection for each service attachment in the cluster.
  # @!attribute [rw] connections
  #   @return [::Array<::Google::Cloud::Memorystore::V1beta::Instance::ConnectionDetail>]
  #     Optional. A group of PSC connections. They are created in the same VPC
  #     network, one for each service attachment in the cluster.
  class InstanceEndpoint
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Information of each PSC connection.
  # @!attribute [rw] psc_auto_connection
  #   @return [::Google::Cloud::Memorystore::V1beta::PscAutoConnection]
  #     Detailed information of a PSC connection that is created through
  #     service connectivity automation.
  #
  #     Note: The following fields are mutually exclusive: `psc_auto_connection`, `psc_connection`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] psc_connection
  #   @return [::Google::Cloud::Memorystore::V1beta::PscConnection]
  #     Detailed information of a PSC connection that is created by the user.
  #
  #     Note: The following fields are mutually exclusive: `psc_connection`, `psc_auto_connection`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  class ConnectionDetail
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class EngineConfigsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible states of the instance.
  module State
    # Not set.
    STATE_UNSPECIFIED = 0

    # Instance is being created.
    CREATING = 1

    # Instance has been created and is usable.
    ACTIVE = 2

    # Instance is being updated.
    UPDATING = 3

    # Instance is being deleted.
    DELETING = 4
  end

  # Possible authorization modes of the instance.
  module AuthorizationMode
    # Not set.
    AUTHORIZATION_MODE_UNSPECIFIED = 0

    # Authorization disabled.
    AUTH_DISABLED = 1

    # IAM basic authorization.
    IAM_AUTH = 2
  end

  # Possible in-transit encryption modes of the instance.
  module TransitEncryptionMode
    # Not set.
    TRANSIT_ENCRYPTION_MODE_UNSPECIFIED = 0

    # In-transit encryption is disabled.
    TRANSIT_ENCRYPTION_DISABLED = 1

    # Server-managed encryption is used for in-transit encryption.
    SERVER_AUTHENTICATION = 2
  end

  # Possible node types of the instance. See
  # https://cloud.google.com/memorystore/docs/valkey/instance-node-specification
  # for more information.
  module NodeType
    # Not set.
    NODE_TYPE_UNSPECIFIED = 0

    # Shared core nano.
    SHARED_CORE_NANO = 1

    # High memory medium.
    HIGHMEM_MEDIUM = 2

    # High memory extra large.
    HIGHMEM_XLARGE = 3

    # Standard small.
    STANDARD_SMALL = 4

    # Custom micro.
    CUSTOM_MICRO = 5

    # Custom mini.
    CUSTOM_MINI = 6

    # High cpu medium.
    HIGHCPU_MEDIUM = 7

    # Standard large.
    STANDARD_LARGE = 8

    # High memory 2xlarge.
    HIGHMEM_2XLARGE = 9

    # Custom pico.
    CUSTOM_PICO = 10
  end

  # The mode config, which is used to enable/disable cluster mode.
  module Mode
    # Mode is not specified.
    MODE_UNSPECIFIED = 0

    # Deprecated: Use CLUSTER_DISABLED instead.
    STANDALONE = 1

    # Instance is in cluster mode.
    CLUSTER = 2

    # Cluster mode is disabled for the instance.
    CLUSTER_DISABLED = 4
  end

  # The Server CA mode for the instance.
  module ServerCaMode
    # Server CA mode not specified.
    SERVER_CA_MODE_UNSPECIFIED = 0

    # Each instance has its own Google-managed CA.
    GOOGLE_MANAGED_PER_INSTANCE_CA = 1

    # The instance uses a Google-managed shared CA for the instance's region.
    GOOGLE_MANAGED_SHARED_CA = 2

    # The instance uses a customer-managed CA from CAS.
    CUSTOMER_MANAGED_CAS_CA = 3

    # Deprecated: Use GOOGLE_MANAGED_PER_INSTANCE_CA instead.
    SERVER_CA_MODE_GOOGLE_MANAGED_PER_INSTANCE_CA = 1

    # Deprecated: Use GOOGLE_MANAGED_SHARED_CA instead.
    SERVER_CA_MODE_GOOGLE_MANAGED_SHARED_CA = 2

    # Deprecated: Use CUSTOMER_MANAGED_CAS_CA instead.
    SERVER_CA_MODE_CUSTOMER_MANAGED_CAS_CA = 3
  end
end

#name::String

Returns Identifier. Unique name of the instance. Format: projects/{project}/locations/{location}/instances/{instance}.

Returns:

  • (::String)

    Identifier. Unique name of the instance. Format: projects/{project}/locations/{location}/instances/{instance}



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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
# File 'proto_docs/google/cloud/memorystore/v1beta/memorystore.rb', line 107

class Instance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Additional information about the state of the instance.
  # @!attribute [r] update_info
  #   @return [::Google::Cloud::Memorystore::V1beta::Instance::StateInfo::UpdateInfo]
  #     Output only. Describes ongoing update when instance state is UPDATING.
  class StateInfo
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Represents information about instance with state UPDATING.
    # @!attribute [r] target_shard_count
    #   @return [::Integer]
    #     Output only. Target number of shards for the instance.
    # @!attribute [r] target_replica_count
    #   @return [::Integer]
    #     Output only. Target number of replica nodes per shard for the instance.
    class UpdateInfo
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # InstanceEndpoint consists of PSC connections that are created
  # as a group in each VPC network for accessing the instance. In each group,
  # there shall be one connection for each service attachment in the cluster.
  # @!attribute [rw] connections
  #   @return [::Array<::Google::Cloud::Memorystore::V1beta::Instance::ConnectionDetail>]
  #     Optional. A group of PSC connections. They are created in the same VPC
  #     network, one for each service attachment in the cluster.
  class InstanceEndpoint
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Information of each PSC connection.
  # @!attribute [rw] psc_auto_connection
  #   @return [::Google::Cloud::Memorystore::V1beta::PscAutoConnection]
  #     Detailed information of a PSC connection that is created through
  #     service connectivity automation.
  #
  #     Note: The following fields are mutually exclusive: `psc_auto_connection`, `psc_connection`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] psc_connection
  #   @return [::Google::Cloud::Memorystore::V1beta::PscConnection]
  #     Detailed information of a PSC connection that is created by the user.
  #
  #     Note: The following fields are mutually exclusive: `psc_connection`, `psc_auto_connection`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  class ConnectionDetail
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class EngineConfigsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible states of the instance.
  module State
    # Not set.
    STATE_UNSPECIFIED = 0

    # Instance is being created.
    CREATING = 1

    # Instance has been created and is usable.
    ACTIVE = 2

    # Instance is being updated.
    UPDATING = 3

    # Instance is being deleted.
    DELETING = 4
  end

  # Possible authorization modes of the instance.
  module AuthorizationMode
    # Not set.
    AUTHORIZATION_MODE_UNSPECIFIED = 0

    # Authorization disabled.
    AUTH_DISABLED = 1

    # IAM basic authorization.
    IAM_AUTH = 2
  end

  # Possible in-transit encryption modes of the instance.
  module TransitEncryptionMode
    # Not set.
    TRANSIT_ENCRYPTION_MODE_UNSPECIFIED = 0

    # In-transit encryption is disabled.
    TRANSIT_ENCRYPTION_DISABLED = 1

    # Server-managed encryption is used for in-transit encryption.
    SERVER_AUTHENTICATION = 2
  end

  # Possible node types of the instance. See
  # https://cloud.google.com/memorystore/docs/valkey/instance-node-specification
  # for more information.
  module NodeType
    # Not set.
    NODE_TYPE_UNSPECIFIED = 0

    # Shared core nano.
    SHARED_CORE_NANO = 1

    # High memory medium.
    HIGHMEM_MEDIUM = 2

    # High memory extra large.
    HIGHMEM_XLARGE = 3

    # Standard small.
    STANDARD_SMALL = 4

    # Custom micro.
    CUSTOM_MICRO = 5

    # Custom mini.
    CUSTOM_MINI = 6

    # High cpu medium.
    HIGHCPU_MEDIUM = 7

    # Standard large.
    STANDARD_LARGE = 8

    # High memory 2xlarge.
    HIGHMEM_2XLARGE = 9

    # Custom pico.
    CUSTOM_PICO = 10
  end

  # The mode config, which is used to enable/disable cluster mode.
  module Mode
    # Mode is not specified.
    MODE_UNSPECIFIED = 0

    # Deprecated: Use CLUSTER_DISABLED instead.
    STANDALONE = 1

    # Instance is in cluster mode.
    CLUSTER = 2

    # Cluster mode is disabled for the instance.
    CLUSTER_DISABLED = 4
  end

  # The Server CA mode for the instance.
  module ServerCaMode
    # Server CA mode not specified.
    SERVER_CA_MODE_UNSPECIFIED = 0

    # Each instance has its own Google-managed CA.
    GOOGLE_MANAGED_PER_INSTANCE_CA = 1

    # The instance uses a Google-managed shared CA for the instance's region.
    GOOGLE_MANAGED_SHARED_CA = 2

    # The instance uses a customer-managed CA from CAS.
    CUSTOMER_MANAGED_CAS_CA = 3

    # Deprecated: Use GOOGLE_MANAGED_PER_INSTANCE_CA instead.
    SERVER_CA_MODE_GOOGLE_MANAGED_PER_INSTANCE_CA = 1

    # Deprecated: Use GOOGLE_MANAGED_SHARED_CA instead.
    SERVER_CA_MODE_GOOGLE_MANAGED_SHARED_CA = 2

    # Deprecated: Use CUSTOMER_MANAGED_CAS_CA instead.
    SERVER_CA_MODE_CUSTOMER_MANAGED_CAS_CA = 3
  end
end

#node_config::Google::Cloud::Memorystore::V1beta::NodeConfig (readonly)

Returns Output only. Configuration of individual nodes of the instance.

Returns:



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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
# File 'proto_docs/google/cloud/memorystore/v1beta/memorystore.rb', line 107

class Instance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Additional information about the state of the instance.
  # @!attribute [r] update_info
  #   @return [::Google::Cloud::Memorystore::V1beta::Instance::StateInfo::UpdateInfo]
  #     Output only. Describes ongoing update when instance state is UPDATING.
  class StateInfo
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Represents information about instance with state UPDATING.
    # @!attribute [r] target_shard_count
    #   @return [::Integer]
    #     Output only. Target number of shards for the instance.
    # @!attribute [r] target_replica_count
    #   @return [::Integer]
    #     Output only. Target number of replica nodes per shard for the instance.
    class UpdateInfo
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # InstanceEndpoint consists of PSC connections that are created
  # as a group in each VPC network for accessing the instance. In each group,
  # there shall be one connection for each service attachment in the cluster.
  # @!attribute [rw] connections
  #   @return [::Array<::Google::Cloud::Memorystore::V1beta::Instance::ConnectionDetail>]
  #     Optional. A group of PSC connections. They are created in the same VPC
  #     network, one for each service attachment in the cluster.
  class InstanceEndpoint
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Information of each PSC connection.
  # @!attribute [rw] psc_auto_connection
  #   @return [::Google::Cloud::Memorystore::V1beta::PscAutoConnection]
  #     Detailed information of a PSC connection that is created through
  #     service connectivity automation.
  #
  #     Note: The following fields are mutually exclusive: `psc_auto_connection`, `psc_connection`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] psc_connection
  #   @return [::Google::Cloud::Memorystore::V1beta::PscConnection]
  #     Detailed information of a PSC connection that is created by the user.
  #
  #     Note: The following fields are mutually exclusive: `psc_connection`, `psc_auto_connection`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  class ConnectionDetail
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class EngineConfigsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible states of the instance.
  module State
    # Not set.
    STATE_UNSPECIFIED = 0

    # Instance is being created.
    CREATING = 1

    # Instance has been created and is usable.
    ACTIVE = 2

    # Instance is being updated.
    UPDATING = 3

    # Instance is being deleted.
    DELETING = 4
  end

  # Possible authorization modes of the instance.
  module AuthorizationMode
    # Not set.
    AUTHORIZATION_MODE_UNSPECIFIED = 0

    # Authorization disabled.
    AUTH_DISABLED = 1

    # IAM basic authorization.
    IAM_AUTH = 2
  end

  # Possible in-transit encryption modes of the instance.
  module TransitEncryptionMode
    # Not set.
    TRANSIT_ENCRYPTION_MODE_UNSPECIFIED = 0

    # In-transit encryption is disabled.
    TRANSIT_ENCRYPTION_DISABLED = 1

    # Server-managed encryption is used for in-transit encryption.
    SERVER_AUTHENTICATION = 2
  end

  # Possible node types of the instance. See
  # https://cloud.google.com/memorystore/docs/valkey/instance-node-specification
  # for more information.
  module NodeType
    # Not set.
    NODE_TYPE_UNSPECIFIED = 0

    # Shared core nano.
    SHARED_CORE_NANO = 1

    # High memory medium.
    HIGHMEM_MEDIUM = 2

    # High memory extra large.
    HIGHMEM_XLARGE = 3

    # Standard small.
    STANDARD_SMALL = 4

    # Custom micro.
    CUSTOM_MICRO = 5

    # Custom mini.
    CUSTOM_MINI = 6

    # High cpu medium.
    HIGHCPU_MEDIUM = 7

    # Standard large.
    STANDARD_LARGE = 8

    # High memory 2xlarge.
    HIGHMEM_2XLARGE = 9

    # Custom pico.
    CUSTOM_PICO = 10
  end

  # The mode config, which is used to enable/disable cluster mode.
  module Mode
    # Mode is not specified.
    MODE_UNSPECIFIED = 0

    # Deprecated: Use CLUSTER_DISABLED instead.
    STANDALONE = 1

    # Instance is in cluster mode.
    CLUSTER = 2

    # Cluster mode is disabled for the instance.
    CLUSTER_DISABLED = 4
  end

  # The Server CA mode for the instance.
  module ServerCaMode
    # Server CA mode not specified.
    SERVER_CA_MODE_UNSPECIFIED = 0

    # Each instance has its own Google-managed CA.
    GOOGLE_MANAGED_PER_INSTANCE_CA = 1

    # The instance uses a Google-managed shared CA for the instance's region.
    GOOGLE_MANAGED_SHARED_CA = 2

    # The instance uses a customer-managed CA from CAS.
    CUSTOMER_MANAGED_CAS_CA = 3

    # Deprecated: Use GOOGLE_MANAGED_PER_INSTANCE_CA instead.
    SERVER_CA_MODE_GOOGLE_MANAGED_PER_INSTANCE_CA = 1

    # Deprecated: Use GOOGLE_MANAGED_SHARED_CA instead.
    SERVER_CA_MODE_GOOGLE_MANAGED_SHARED_CA = 2

    # Deprecated: Use CUSTOMER_MANAGED_CAS_CA instead.
    SERVER_CA_MODE_CUSTOMER_MANAGED_CAS_CA = 3
  end
end

#node_type::Google::Cloud::Memorystore::V1beta::Instance::NodeType

Returns Optional. Immutable. Machine type for individual nodes of the instance.

Returns:



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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
# File 'proto_docs/google/cloud/memorystore/v1beta/memorystore.rb', line 107

class Instance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Additional information about the state of the instance.
  # @!attribute [r] update_info
  #   @return [::Google::Cloud::Memorystore::V1beta::Instance::StateInfo::UpdateInfo]
  #     Output only. Describes ongoing update when instance state is UPDATING.
  class StateInfo
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Represents information about instance with state UPDATING.
    # @!attribute [r] target_shard_count
    #   @return [::Integer]
    #     Output only. Target number of shards for the instance.
    # @!attribute [r] target_replica_count
    #   @return [::Integer]
    #     Output only. Target number of replica nodes per shard for the instance.
    class UpdateInfo
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # InstanceEndpoint consists of PSC connections that are created
  # as a group in each VPC network for accessing the instance. In each group,
  # there shall be one connection for each service attachment in the cluster.
  # @!attribute [rw] connections
  #   @return [::Array<::Google::Cloud::Memorystore::V1beta::Instance::ConnectionDetail>]
  #     Optional. A group of PSC connections. They are created in the same VPC
  #     network, one for each service attachment in the cluster.
  class InstanceEndpoint
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Information of each PSC connection.
  # @!attribute [rw] psc_auto_connection
  #   @return [::Google::Cloud::Memorystore::V1beta::PscAutoConnection]
  #     Detailed information of a PSC connection that is created through
  #     service connectivity automation.
  #
  #     Note: The following fields are mutually exclusive: `psc_auto_connection`, `psc_connection`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] psc_connection
  #   @return [::Google::Cloud::Memorystore::V1beta::PscConnection]
  #     Detailed information of a PSC connection that is created by the user.
  #
  #     Note: The following fields are mutually exclusive: `psc_connection`, `psc_auto_connection`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  class ConnectionDetail
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class EngineConfigsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible states of the instance.
  module State
    # Not set.
    STATE_UNSPECIFIED = 0

    # Instance is being created.
    CREATING = 1

    # Instance has been created and is usable.
    ACTIVE = 2

    # Instance is being updated.
    UPDATING = 3

    # Instance is being deleted.
    DELETING = 4
  end

  # Possible authorization modes of the instance.
  module AuthorizationMode
    # Not set.
    AUTHORIZATION_MODE_UNSPECIFIED = 0

    # Authorization disabled.
    AUTH_DISABLED = 1

    # IAM basic authorization.
    IAM_AUTH = 2
  end

  # Possible in-transit encryption modes of the instance.
  module TransitEncryptionMode
    # Not set.
    TRANSIT_ENCRYPTION_MODE_UNSPECIFIED = 0

    # In-transit encryption is disabled.
    TRANSIT_ENCRYPTION_DISABLED = 1

    # Server-managed encryption is used for in-transit encryption.
    SERVER_AUTHENTICATION = 2
  end

  # Possible node types of the instance. See
  # https://cloud.google.com/memorystore/docs/valkey/instance-node-specification
  # for more information.
  module NodeType
    # Not set.
    NODE_TYPE_UNSPECIFIED = 0

    # Shared core nano.
    SHARED_CORE_NANO = 1

    # High memory medium.
    HIGHMEM_MEDIUM = 2

    # High memory extra large.
    HIGHMEM_XLARGE = 3

    # Standard small.
    STANDARD_SMALL = 4

    # Custom micro.
    CUSTOM_MICRO = 5

    # Custom mini.
    CUSTOM_MINI = 6

    # High cpu medium.
    HIGHCPU_MEDIUM = 7

    # Standard large.
    STANDARD_LARGE = 8

    # High memory 2xlarge.
    HIGHMEM_2XLARGE = 9

    # Custom pico.
    CUSTOM_PICO = 10
  end

  # The mode config, which is used to enable/disable cluster mode.
  module Mode
    # Mode is not specified.
    MODE_UNSPECIFIED = 0

    # Deprecated: Use CLUSTER_DISABLED instead.
    STANDALONE = 1

    # Instance is in cluster mode.
    CLUSTER = 2

    # Cluster mode is disabled for the instance.
    CLUSTER_DISABLED = 4
  end

  # The Server CA mode for the instance.
  module ServerCaMode
    # Server CA mode not specified.
    SERVER_CA_MODE_UNSPECIFIED = 0

    # Each instance has its own Google-managed CA.
    GOOGLE_MANAGED_PER_INSTANCE_CA = 1

    # The instance uses a Google-managed shared CA for the instance's region.
    GOOGLE_MANAGED_SHARED_CA = 2

    # The instance uses a customer-managed CA from CAS.
    CUSTOMER_MANAGED_CAS_CA = 3

    # Deprecated: Use GOOGLE_MANAGED_PER_INSTANCE_CA instead.
    SERVER_CA_MODE_GOOGLE_MANAGED_PER_INSTANCE_CA = 1

    # Deprecated: Use GOOGLE_MANAGED_SHARED_CA instead.
    SERVER_CA_MODE_GOOGLE_MANAGED_SHARED_CA = 2

    # Deprecated: Use CUSTOMER_MANAGED_CAS_CA instead.
    SERVER_CA_MODE_CUSTOMER_MANAGED_CAS_CA = 3
  end
end

#persistence_config::Google::Cloud::Memorystore::V1beta::PersistenceConfig

Returns Optional. Persistence configuration of the instance.

Returns:



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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
# File 'proto_docs/google/cloud/memorystore/v1beta/memorystore.rb', line 107

class Instance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Additional information about the state of the instance.
  # @!attribute [r] update_info
  #   @return [::Google::Cloud::Memorystore::V1beta::Instance::StateInfo::UpdateInfo]
  #     Output only. Describes ongoing update when instance state is UPDATING.
  class StateInfo
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Represents information about instance with state UPDATING.
    # @!attribute [r] target_shard_count
    #   @return [::Integer]
    #     Output only. Target number of shards for the instance.
    # @!attribute [r] target_replica_count
    #   @return [::Integer]
    #     Output only. Target number of replica nodes per shard for the instance.
    class UpdateInfo
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # InstanceEndpoint consists of PSC connections that are created
  # as a group in each VPC network for accessing the instance. In each group,
  # there shall be one connection for each service attachment in the cluster.
  # @!attribute [rw] connections
  #   @return [::Array<::Google::Cloud::Memorystore::V1beta::Instance::ConnectionDetail>]
  #     Optional. A group of PSC connections. They are created in the same VPC
  #     network, one for each service attachment in the cluster.
  class InstanceEndpoint
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Information of each PSC connection.
  # @!attribute [rw] psc_auto_connection
  #   @return [::Google::Cloud::Memorystore::V1beta::PscAutoConnection]
  #     Detailed information of a PSC connection that is created through
  #     service connectivity automation.
  #
  #     Note: The following fields are mutually exclusive: `psc_auto_connection`, `psc_connection`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] psc_connection
  #   @return [::Google::Cloud::Memorystore::V1beta::PscConnection]
  #     Detailed information of a PSC connection that is created by the user.
  #
  #     Note: The following fields are mutually exclusive: `psc_connection`, `psc_auto_connection`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  class ConnectionDetail
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class EngineConfigsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible states of the instance.
  module State
    # Not set.
    STATE_UNSPECIFIED = 0

    # Instance is being created.
    CREATING = 1

    # Instance has been created and is usable.
    ACTIVE = 2

    # Instance is being updated.
    UPDATING = 3

    # Instance is being deleted.
    DELETING = 4
  end

  # Possible authorization modes of the instance.
  module AuthorizationMode
    # Not set.
    AUTHORIZATION_MODE_UNSPECIFIED = 0

    # Authorization disabled.
    AUTH_DISABLED = 1

    # IAM basic authorization.
    IAM_AUTH = 2
  end

  # Possible in-transit encryption modes of the instance.
  module TransitEncryptionMode
    # Not set.
    TRANSIT_ENCRYPTION_MODE_UNSPECIFIED = 0

    # In-transit encryption is disabled.
    TRANSIT_ENCRYPTION_DISABLED = 1

    # Server-managed encryption is used for in-transit encryption.
    SERVER_AUTHENTICATION = 2
  end

  # Possible node types of the instance. See
  # https://cloud.google.com/memorystore/docs/valkey/instance-node-specification
  # for more information.
  module NodeType
    # Not set.
    NODE_TYPE_UNSPECIFIED = 0

    # Shared core nano.
    SHARED_CORE_NANO = 1

    # High memory medium.
    HIGHMEM_MEDIUM = 2

    # High memory extra large.
    HIGHMEM_XLARGE = 3

    # Standard small.
    STANDARD_SMALL = 4

    # Custom micro.
    CUSTOM_MICRO = 5

    # Custom mini.
    CUSTOM_MINI = 6

    # High cpu medium.
    HIGHCPU_MEDIUM = 7

    # Standard large.
    STANDARD_LARGE = 8

    # High memory 2xlarge.
    HIGHMEM_2XLARGE = 9

    # Custom pico.
    CUSTOM_PICO = 10
  end

  # The mode config, which is used to enable/disable cluster mode.
  module Mode
    # Mode is not specified.
    MODE_UNSPECIFIED = 0

    # Deprecated: Use CLUSTER_DISABLED instead.
    STANDALONE = 1

    # Instance is in cluster mode.
    CLUSTER = 2

    # Cluster mode is disabled for the instance.
    CLUSTER_DISABLED = 4
  end

  # The Server CA mode for the instance.
  module ServerCaMode
    # Server CA mode not specified.
    SERVER_CA_MODE_UNSPECIFIED = 0

    # Each instance has its own Google-managed CA.
    GOOGLE_MANAGED_PER_INSTANCE_CA = 1

    # The instance uses a Google-managed shared CA for the instance's region.
    GOOGLE_MANAGED_SHARED_CA = 2

    # The instance uses a customer-managed CA from CAS.
    CUSTOMER_MANAGED_CAS_CA = 3

    # Deprecated: Use GOOGLE_MANAGED_PER_INSTANCE_CA instead.
    SERVER_CA_MODE_GOOGLE_MANAGED_PER_INSTANCE_CA = 1

    # Deprecated: Use GOOGLE_MANAGED_SHARED_CA instead.
    SERVER_CA_MODE_GOOGLE_MANAGED_SHARED_CA = 2

    # Deprecated: Use CUSTOMER_MANAGED_CAS_CA instead.
    SERVER_CA_MODE_CUSTOMER_MANAGED_CAS_CA = 3
  end
end

#psc_auto_connections::Array<::Google::Cloud::Memorystore::V1beta::PscAutoConnection>

Returns Required. Immutable. User inputs and resource details of the auto-created PSC connections.

Returns:



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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
# File 'proto_docs/google/cloud/memorystore/v1beta/memorystore.rb', line 107

class Instance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Additional information about the state of the instance.
  # @!attribute [r] update_info
  #   @return [::Google::Cloud::Memorystore::V1beta::Instance::StateInfo::UpdateInfo]
  #     Output only. Describes ongoing update when instance state is UPDATING.
  class StateInfo
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Represents information about instance with state UPDATING.
    # @!attribute [r] target_shard_count
    #   @return [::Integer]
    #     Output only. Target number of shards for the instance.
    # @!attribute [r] target_replica_count
    #   @return [::Integer]
    #     Output only. Target number of replica nodes per shard for the instance.
    class UpdateInfo
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # InstanceEndpoint consists of PSC connections that are created
  # as a group in each VPC network for accessing the instance. In each group,
  # there shall be one connection for each service attachment in the cluster.
  # @!attribute [rw] connections
  #   @return [::Array<::Google::Cloud::Memorystore::V1beta::Instance::ConnectionDetail>]
  #     Optional. A group of PSC connections. They are created in the same VPC
  #     network, one for each service attachment in the cluster.
  class InstanceEndpoint
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Information of each PSC connection.
  # @!attribute [rw] psc_auto_connection
  #   @return [::Google::Cloud::Memorystore::V1beta::PscAutoConnection]
  #     Detailed information of a PSC connection that is created through
  #     service connectivity automation.
  #
  #     Note: The following fields are mutually exclusive: `psc_auto_connection`, `psc_connection`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] psc_connection
  #   @return [::Google::Cloud::Memorystore::V1beta::PscConnection]
  #     Detailed information of a PSC connection that is created by the user.
  #
  #     Note: The following fields are mutually exclusive: `psc_connection`, `psc_auto_connection`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  class ConnectionDetail
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class EngineConfigsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible states of the instance.
  module State
    # Not set.
    STATE_UNSPECIFIED = 0

    # Instance is being created.
    CREATING = 1

    # Instance has been created and is usable.
    ACTIVE = 2

    # Instance is being updated.
    UPDATING = 3

    # Instance is being deleted.
    DELETING = 4
  end

  # Possible authorization modes of the instance.
  module AuthorizationMode
    # Not set.
    AUTHORIZATION_MODE_UNSPECIFIED = 0

    # Authorization disabled.
    AUTH_DISABLED = 1

    # IAM basic authorization.
    IAM_AUTH = 2
  end

  # Possible in-transit encryption modes of the instance.
  module TransitEncryptionMode
    # Not set.
    TRANSIT_ENCRYPTION_MODE_UNSPECIFIED = 0

    # In-transit encryption is disabled.
    TRANSIT_ENCRYPTION_DISABLED = 1

    # Server-managed encryption is used for in-transit encryption.
    SERVER_AUTHENTICATION = 2
  end

  # Possible node types of the instance. See
  # https://cloud.google.com/memorystore/docs/valkey/instance-node-specification
  # for more information.
  module NodeType
    # Not set.
    NODE_TYPE_UNSPECIFIED = 0

    # Shared core nano.
    SHARED_CORE_NANO = 1

    # High memory medium.
    HIGHMEM_MEDIUM = 2

    # High memory extra large.
    HIGHMEM_XLARGE = 3

    # Standard small.
    STANDARD_SMALL = 4

    # Custom micro.
    CUSTOM_MICRO = 5

    # Custom mini.
    CUSTOM_MINI = 6

    # High cpu medium.
    HIGHCPU_MEDIUM = 7

    # Standard large.
    STANDARD_LARGE = 8

    # High memory 2xlarge.
    HIGHMEM_2XLARGE = 9

    # Custom pico.
    CUSTOM_PICO = 10
  end

  # The mode config, which is used to enable/disable cluster mode.
  module Mode
    # Mode is not specified.
    MODE_UNSPECIFIED = 0

    # Deprecated: Use CLUSTER_DISABLED instead.
    STANDALONE = 1

    # Instance is in cluster mode.
    CLUSTER = 2

    # Cluster mode is disabled for the instance.
    CLUSTER_DISABLED = 4
  end

  # The Server CA mode for the instance.
  module ServerCaMode
    # Server CA mode not specified.
    SERVER_CA_MODE_UNSPECIFIED = 0

    # Each instance has its own Google-managed CA.
    GOOGLE_MANAGED_PER_INSTANCE_CA = 1

    # The instance uses a Google-managed shared CA for the instance's region.
    GOOGLE_MANAGED_SHARED_CA = 2

    # The instance uses a customer-managed CA from CAS.
    CUSTOMER_MANAGED_CAS_CA = 3

    # Deprecated: Use GOOGLE_MANAGED_PER_INSTANCE_CA instead.
    SERVER_CA_MODE_GOOGLE_MANAGED_PER_INSTANCE_CA = 1

    # Deprecated: Use GOOGLE_MANAGED_SHARED_CA instead.
    SERVER_CA_MODE_GOOGLE_MANAGED_SHARED_CA = 2

    # Deprecated: Use CUSTOMER_MANAGED_CAS_CA instead.
    SERVER_CA_MODE_CUSTOMER_MANAGED_CAS_CA = 3
  end
end

#replica_count::Integer

Returns Optional. Number of replica nodes per shard. If omitted the default is 0 replicas.

Returns:

  • (::Integer)

    Optional. Number of replica nodes per shard. If omitted the default is 0 replicas.



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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
# File 'proto_docs/google/cloud/memorystore/v1beta/memorystore.rb', line 107

class Instance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Additional information about the state of the instance.
  # @!attribute [r] update_info
  #   @return [::Google::Cloud::Memorystore::V1beta::Instance::StateInfo::UpdateInfo]
  #     Output only. Describes ongoing update when instance state is UPDATING.
  class StateInfo
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Represents information about instance with state UPDATING.
    # @!attribute [r] target_shard_count
    #   @return [::Integer]
    #     Output only. Target number of shards for the instance.
    # @!attribute [r] target_replica_count
    #   @return [::Integer]
    #     Output only. Target number of replica nodes per shard for the instance.
    class UpdateInfo
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # InstanceEndpoint consists of PSC connections that are created
  # as a group in each VPC network for accessing the instance. In each group,
  # there shall be one connection for each service attachment in the cluster.
  # @!attribute [rw] connections
  #   @return [::Array<::Google::Cloud::Memorystore::V1beta::Instance::ConnectionDetail>]
  #     Optional. A group of PSC connections. They are created in the same VPC
  #     network, one for each service attachment in the cluster.
  class InstanceEndpoint
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Information of each PSC connection.
  # @!attribute [rw] psc_auto_connection
  #   @return [::Google::Cloud::Memorystore::V1beta::PscAutoConnection]
  #     Detailed information of a PSC connection that is created through
  #     service connectivity automation.
  #
  #     Note: The following fields are mutually exclusive: `psc_auto_connection`, `psc_connection`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] psc_connection
  #   @return [::Google::Cloud::Memorystore::V1beta::PscConnection]
  #     Detailed information of a PSC connection that is created by the user.
  #
  #     Note: The following fields are mutually exclusive: `psc_connection`, `psc_auto_connection`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  class ConnectionDetail
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class EngineConfigsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible states of the instance.
  module State
    # Not set.
    STATE_UNSPECIFIED = 0

    # Instance is being created.
    CREATING = 1

    # Instance has been created and is usable.
    ACTIVE = 2

    # Instance is being updated.
    UPDATING = 3

    # Instance is being deleted.
    DELETING = 4
  end

  # Possible authorization modes of the instance.
  module AuthorizationMode
    # Not set.
    AUTHORIZATION_MODE_UNSPECIFIED = 0

    # Authorization disabled.
    AUTH_DISABLED = 1

    # IAM basic authorization.
    IAM_AUTH = 2
  end

  # Possible in-transit encryption modes of the instance.
  module TransitEncryptionMode
    # Not set.
    TRANSIT_ENCRYPTION_MODE_UNSPECIFIED = 0

    # In-transit encryption is disabled.
    TRANSIT_ENCRYPTION_DISABLED = 1

    # Server-managed encryption is used for in-transit encryption.
    SERVER_AUTHENTICATION = 2
  end

  # Possible node types of the instance. See
  # https://cloud.google.com/memorystore/docs/valkey/instance-node-specification
  # for more information.
  module NodeType
    # Not set.
    NODE_TYPE_UNSPECIFIED = 0

    # Shared core nano.
    SHARED_CORE_NANO = 1

    # High memory medium.
    HIGHMEM_MEDIUM = 2

    # High memory extra large.
    HIGHMEM_XLARGE = 3

    # Standard small.
    STANDARD_SMALL = 4

    # Custom micro.
    CUSTOM_MICRO = 5

    # Custom mini.
    CUSTOM_MINI = 6

    # High cpu medium.
    HIGHCPU_MEDIUM = 7

    # Standard large.
    STANDARD_LARGE = 8

    # High memory 2xlarge.
    HIGHMEM_2XLARGE = 9

    # Custom pico.
    CUSTOM_PICO = 10
  end

  # The mode config, which is used to enable/disable cluster mode.
  module Mode
    # Mode is not specified.
    MODE_UNSPECIFIED = 0

    # Deprecated: Use CLUSTER_DISABLED instead.
    STANDALONE = 1

    # Instance is in cluster mode.
    CLUSTER = 2

    # Cluster mode is disabled for the instance.
    CLUSTER_DISABLED = 4
  end

  # The Server CA mode for the instance.
  module ServerCaMode
    # Server CA mode not specified.
    SERVER_CA_MODE_UNSPECIFIED = 0

    # Each instance has its own Google-managed CA.
    GOOGLE_MANAGED_PER_INSTANCE_CA = 1

    # The instance uses a Google-managed shared CA for the instance's region.
    GOOGLE_MANAGED_SHARED_CA = 2

    # The instance uses a customer-managed CA from CAS.
    CUSTOMER_MANAGED_CAS_CA = 3

    # Deprecated: Use GOOGLE_MANAGED_PER_INSTANCE_CA instead.
    SERVER_CA_MODE_GOOGLE_MANAGED_PER_INSTANCE_CA = 1

    # Deprecated: Use GOOGLE_MANAGED_SHARED_CA instead.
    SERVER_CA_MODE_GOOGLE_MANAGED_SHARED_CA = 2

    # Deprecated: Use CUSTOMER_MANAGED_CAS_CA instead.
    SERVER_CA_MODE_CUSTOMER_MANAGED_CAS_CA = 3
  end
end

#rotate_server_certificate::Boolean

Returns Optional. Input only. Rotate the server certificates.

Returns:

  • (::Boolean)

    Optional. Input only. Rotate the server certificates.



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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
# File 'proto_docs/google/cloud/memorystore/v1beta/memorystore.rb', line 107

class Instance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Additional information about the state of the instance.
  # @!attribute [r] update_info
  #   @return [::Google::Cloud::Memorystore::V1beta::Instance::StateInfo::UpdateInfo]
  #     Output only. Describes ongoing update when instance state is UPDATING.
  class StateInfo
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Represents information about instance with state UPDATING.
    # @!attribute [r] target_shard_count
    #   @return [::Integer]
    #     Output only. Target number of shards for the instance.
    # @!attribute [r] target_replica_count
    #   @return [::Integer]
    #     Output only. Target number of replica nodes per shard for the instance.
    class UpdateInfo
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # InstanceEndpoint consists of PSC connections that are created
  # as a group in each VPC network for accessing the instance. In each group,
  # there shall be one connection for each service attachment in the cluster.
  # @!attribute [rw] connections
  #   @return [::Array<::Google::Cloud::Memorystore::V1beta::Instance::ConnectionDetail>]
  #     Optional. A group of PSC connections. They are created in the same VPC
  #     network, one for each service attachment in the cluster.
  class InstanceEndpoint
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Information of each PSC connection.
  # @!attribute [rw] psc_auto_connection
  #   @return [::Google::Cloud::Memorystore::V1beta::PscAutoConnection]
  #     Detailed information of a PSC connection that is created through
  #     service connectivity automation.
  #
  #     Note: The following fields are mutually exclusive: `psc_auto_connection`, `psc_connection`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] psc_connection
  #   @return [::Google::Cloud::Memorystore::V1beta::PscConnection]
  #     Detailed information of a PSC connection that is created by the user.
  #
  #     Note: The following fields are mutually exclusive: `psc_connection`, `psc_auto_connection`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  class ConnectionDetail
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class EngineConfigsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible states of the instance.
  module State
    # Not set.
    STATE_UNSPECIFIED = 0

    # Instance is being created.
    CREATING = 1

    # Instance has been created and is usable.
    ACTIVE = 2

    # Instance is being updated.
    UPDATING = 3

    # Instance is being deleted.
    DELETING = 4
  end

  # Possible authorization modes of the instance.
  module AuthorizationMode
    # Not set.
    AUTHORIZATION_MODE_UNSPECIFIED = 0

    # Authorization disabled.
    AUTH_DISABLED = 1

    # IAM basic authorization.
    IAM_AUTH = 2
  end

  # Possible in-transit encryption modes of the instance.
  module TransitEncryptionMode
    # Not set.
    TRANSIT_ENCRYPTION_MODE_UNSPECIFIED = 0

    # In-transit encryption is disabled.
    TRANSIT_ENCRYPTION_DISABLED = 1

    # Server-managed encryption is used for in-transit encryption.
    SERVER_AUTHENTICATION = 2
  end

  # Possible node types of the instance. See
  # https://cloud.google.com/memorystore/docs/valkey/instance-node-specification
  # for more information.
  module NodeType
    # Not set.
    NODE_TYPE_UNSPECIFIED = 0

    # Shared core nano.
    SHARED_CORE_NANO = 1

    # High memory medium.
    HIGHMEM_MEDIUM = 2

    # High memory extra large.
    HIGHMEM_XLARGE = 3

    # Standard small.
    STANDARD_SMALL = 4

    # Custom micro.
    CUSTOM_MICRO = 5

    # Custom mini.
    CUSTOM_MINI = 6

    # High cpu medium.
    HIGHCPU_MEDIUM = 7

    # Standard large.
    STANDARD_LARGE = 8

    # High memory 2xlarge.
    HIGHMEM_2XLARGE = 9

    # Custom pico.
    CUSTOM_PICO = 10
  end

  # The mode config, which is used to enable/disable cluster mode.
  module Mode
    # Mode is not specified.
    MODE_UNSPECIFIED = 0

    # Deprecated: Use CLUSTER_DISABLED instead.
    STANDALONE = 1

    # Instance is in cluster mode.
    CLUSTER = 2

    # Cluster mode is disabled for the instance.
    CLUSTER_DISABLED = 4
  end

  # The Server CA mode for the instance.
  module ServerCaMode
    # Server CA mode not specified.
    SERVER_CA_MODE_UNSPECIFIED = 0

    # Each instance has its own Google-managed CA.
    GOOGLE_MANAGED_PER_INSTANCE_CA = 1

    # The instance uses a Google-managed shared CA for the instance's region.
    GOOGLE_MANAGED_SHARED_CA = 2

    # The instance uses a customer-managed CA from CAS.
    CUSTOMER_MANAGED_CAS_CA = 3

    # Deprecated: Use GOOGLE_MANAGED_PER_INSTANCE_CA instead.
    SERVER_CA_MODE_GOOGLE_MANAGED_PER_INSTANCE_CA = 1

    # Deprecated: Use GOOGLE_MANAGED_SHARED_CA instead.
    SERVER_CA_MODE_GOOGLE_MANAGED_SHARED_CA = 2

    # Deprecated: Use CUSTOMER_MANAGED_CAS_CA instead.
    SERVER_CA_MODE_CUSTOMER_MANAGED_CAS_CA = 3
  end
end

#server_ca_mode::Google::Cloud::Memorystore::V1beta::Instance::ServerCaMode

Returns Optional. Immutable. The Server CA mode for the instance.

Returns:



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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
# File 'proto_docs/google/cloud/memorystore/v1beta/memorystore.rb', line 107

class Instance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Additional information about the state of the instance.
  # @!attribute [r] update_info
  #   @return [::Google::Cloud::Memorystore::V1beta::Instance::StateInfo::UpdateInfo]
  #     Output only. Describes ongoing update when instance state is UPDATING.
  class StateInfo
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Represents information about instance with state UPDATING.
    # @!attribute [r] target_shard_count
    #   @return [::Integer]
    #     Output only. Target number of shards for the instance.
    # @!attribute [r] target_replica_count
    #   @return [::Integer]
    #     Output only. Target number of replica nodes per shard for the instance.
    class UpdateInfo
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # InstanceEndpoint consists of PSC connections that are created
  # as a group in each VPC network for accessing the instance. In each group,
  # there shall be one connection for each service attachment in the cluster.
  # @!attribute [rw] connections
  #   @return [::Array<::Google::Cloud::Memorystore::V1beta::Instance::ConnectionDetail>]
  #     Optional. A group of PSC connections. They are created in the same VPC
  #     network, one for each service attachment in the cluster.
  class InstanceEndpoint
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Information of each PSC connection.
  # @!attribute [rw] psc_auto_connection
  #   @return [::Google::Cloud::Memorystore::V1beta::PscAutoConnection]
  #     Detailed information of a PSC connection that is created through
  #     service connectivity automation.
  #
  #     Note: The following fields are mutually exclusive: `psc_auto_connection`, `psc_connection`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] psc_connection
  #   @return [::Google::Cloud::Memorystore::V1beta::PscConnection]
  #     Detailed information of a PSC connection that is created by the user.
  #
  #     Note: The following fields are mutually exclusive: `psc_connection`, `psc_auto_connection`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  class ConnectionDetail
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class EngineConfigsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible states of the instance.
  module State
    # Not set.
    STATE_UNSPECIFIED = 0

    # Instance is being created.
    CREATING = 1

    # Instance has been created and is usable.
    ACTIVE = 2

    # Instance is being updated.
    UPDATING = 3

    # Instance is being deleted.
    DELETING = 4
  end

  # Possible authorization modes of the instance.
  module AuthorizationMode
    # Not set.
    AUTHORIZATION_MODE_UNSPECIFIED = 0

    # Authorization disabled.
    AUTH_DISABLED = 1

    # IAM basic authorization.
    IAM_AUTH = 2
  end

  # Possible in-transit encryption modes of the instance.
  module TransitEncryptionMode
    # Not set.
    TRANSIT_ENCRYPTION_MODE_UNSPECIFIED = 0

    # In-transit encryption is disabled.
    TRANSIT_ENCRYPTION_DISABLED = 1

    # Server-managed encryption is used for in-transit encryption.
    SERVER_AUTHENTICATION = 2
  end

  # Possible node types of the instance. See
  # https://cloud.google.com/memorystore/docs/valkey/instance-node-specification
  # for more information.
  module NodeType
    # Not set.
    NODE_TYPE_UNSPECIFIED = 0

    # Shared core nano.
    SHARED_CORE_NANO = 1

    # High memory medium.
    HIGHMEM_MEDIUM = 2

    # High memory extra large.
    HIGHMEM_XLARGE = 3

    # Standard small.
    STANDARD_SMALL = 4

    # Custom micro.
    CUSTOM_MICRO = 5

    # Custom mini.
    CUSTOM_MINI = 6

    # High cpu medium.
    HIGHCPU_MEDIUM = 7

    # Standard large.
    STANDARD_LARGE = 8

    # High memory 2xlarge.
    HIGHMEM_2XLARGE = 9

    # Custom pico.
    CUSTOM_PICO = 10
  end

  # The mode config, which is used to enable/disable cluster mode.
  module Mode
    # Mode is not specified.
    MODE_UNSPECIFIED = 0

    # Deprecated: Use CLUSTER_DISABLED instead.
    STANDALONE = 1

    # Instance is in cluster mode.
    CLUSTER = 2

    # Cluster mode is disabled for the instance.
    CLUSTER_DISABLED = 4
  end

  # The Server CA mode for the instance.
  module ServerCaMode
    # Server CA mode not specified.
    SERVER_CA_MODE_UNSPECIFIED = 0

    # Each instance has its own Google-managed CA.
    GOOGLE_MANAGED_PER_INSTANCE_CA = 1

    # The instance uses a Google-managed shared CA for the instance's region.
    GOOGLE_MANAGED_SHARED_CA = 2

    # The instance uses a customer-managed CA from CAS.
    CUSTOMER_MANAGED_CAS_CA = 3

    # Deprecated: Use GOOGLE_MANAGED_PER_INSTANCE_CA instead.
    SERVER_CA_MODE_GOOGLE_MANAGED_PER_INSTANCE_CA = 1

    # Deprecated: Use GOOGLE_MANAGED_SHARED_CA instead.
    SERVER_CA_MODE_GOOGLE_MANAGED_SHARED_CA = 2

    # Deprecated: Use CUSTOMER_MANAGED_CAS_CA instead.
    SERVER_CA_MODE_CUSTOMER_MANAGED_CAS_CA = 3
  end
end

#server_ca_pool::String

Returns Optional. Immutable. The customer-managed CA pool for the instance. Only applicable if the Server CA mode is CUSTOMER_MANAGED_CAS_CA. Format: "projects/{project}/locations/{region}/caPools/{ca_pool}".

Returns:

  • (::String)

    Optional. Immutable. The customer-managed CA pool for the instance. Only applicable if the Server CA mode is CUSTOMER_MANAGED_CAS_CA. Format: "projects/{project}/locations/{region}/caPools/{ca_pool}".



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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
# File 'proto_docs/google/cloud/memorystore/v1beta/memorystore.rb', line 107

class Instance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Additional information about the state of the instance.
  # @!attribute [r] update_info
  #   @return [::Google::Cloud::Memorystore::V1beta::Instance::StateInfo::UpdateInfo]
  #     Output only. Describes ongoing update when instance state is UPDATING.
  class StateInfo
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Represents information about instance with state UPDATING.
    # @!attribute [r] target_shard_count
    #   @return [::Integer]
    #     Output only. Target number of shards for the instance.
    # @!attribute [r] target_replica_count
    #   @return [::Integer]
    #     Output only. Target number of replica nodes per shard for the instance.
    class UpdateInfo
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # InstanceEndpoint consists of PSC connections that are created
  # as a group in each VPC network for accessing the instance. In each group,
  # there shall be one connection for each service attachment in the cluster.
  # @!attribute [rw] connections
  #   @return [::Array<::Google::Cloud::Memorystore::V1beta::Instance::ConnectionDetail>]
  #     Optional. A group of PSC connections. They are created in the same VPC
  #     network, one for each service attachment in the cluster.
  class InstanceEndpoint
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Information of each PSC connection.
  # @!attribute [rw] psc_auto_connection
  #   @return [::Google::Cloud::Memorystore::V1beta::PscAutoConnection]
  #     Detailed information of a PSC connection that is created through
  #     service connectivity automation.
  #
  #     Note: The following fields are mutually exclusive: `psc_auto_connection`, `psc_connection`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] psc_connection
  #   @return [::Google::Cloud::Memorystore::V1beta::PscConnection]
  #     Detailed information of a PSC connection that is created by the user.
  #
  #     Note: The following fields are mutually exclusive: `psc_connection`, `psc_auto_connection`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  class ConnectionDetail
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class EngineConfigsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible states of the instance.
  module State
    # Not set.
    STATE_UNSPECIFIED = 0

    # Instance is being created.
    CREATING = 1

    # Instance has been created and is usable.
    ACTIVE = 2

    # Instance is being updated.
    UPDATING = 3

    # Instance is being deleted.
    DELETING = 4
  end

  # Possible authorization modes of the instance.
  module AuthorizationMode
    # Not set.
    AUTHORIZATION_MODE_UNSPECIFIED = 0

    # Authorization disabled.
    AUTH_DISABLED = 1

    # IAM basic authorization.
    IAM_AUTH = 2
  end

  # Possible in-transit encryption modes of the instance.
  module TransitEncryptionMode
    # Not set.
    TRANSIT_ENCRYPTION_MODE_UNSPECIFIED = 0

    # In-transit encryption is disabled.
    TRANSIT_ENCRYPTION_DISABLED = 1

    # Server-managed encryption is used for in-transit encryption.
    SERVER_AUTHENTICATION = 2
  end

  # Possible node types of the instance. See
  # https://cloud.google.com/memorystore/docs/valkey/instance-node-specification
  # for more information.
  module NodeType
    # Not set.
    NODE_TYPE_UNSPECIFIED = 0

    # Shared core nano.
    SHARED_CORE_NANO = 1

    # High memory medium.
    HIGHMEM_MEDIUM = 2

    # High memory extra large.
    HIGHMEM_XLARGE = 3

    # Standard small.
    STANDARD_SMALL = 4

    # Custom micro.
    CUSTOM_MICRO = 5

    # Custom mini.
    CUSTOM_MINI = 6

    # High cpu medium.
    HIGHCPU_MEDIUM = 7

    # Standard large.
    STANDARD_LARGE = 8

    # High memory 2xlarge.
    HIGHMEM_2XLARGE = 9

    # Custom pico.
    CUSTOM_PICO = 10
  end

  # The mode config, which is used to enable/disable cluster mode.
  module Mode
    # Mode is not specified.
    MODE_UNSPECIFIED = 0

    # Deprecated: Use CLUSTER_DISABLED instead.
    STANDALONE = 1

    # Instance is in cluster mode.
    CLUSTER = 2

    # Cluster mode is disabled for the instance.
    CLUSTER_DISABLED = 4
  end

  # The Server CA mode for the instance.
  module ServerCaMode
    # Server CA mode not specified.
    SERVER_CA_MODE_UNSPECIFIED = 0

    # Each instance has its own Google-managed CA.
    GOOGLE_MANAGED_PER_INSTANCE_CA = 1

    # The instance uses a Google-managed shared CA for the instance's region.
    GOOGLE_MANAGED_SHARED_CA = 2

    # The instance uses a customer-managed CA from CAS.
    CUSTOMER_MANAGED_CAS_CA = 3

    # Deprecated: Use GOOGLE_MANAGED_PER_INSTANCE_CA instead.
    SERVER_CA_MODE_GOOGLE_MANAGED_PER_INSTANCE_CA = 1

    # Deprecated: Use GOOGLE_MANAGED_SHARED_CA instead.
    SERVER_CA_MODE_GOOGLE_MANAGED_SHARED_CA = 2

    # Deprecated: Use CUSTOMER_MANAGED_CAS_CA instead.
    SERVER_CA_MODE_CUSTOMER_MANAGED_CAS_CA = 3
  end
end

#shard_count::Integer

Returns Optional. Number of shards for the instance.

Returns:

  • (::Integer)

    Optional. Number of shards for the instance.



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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
# File 'proto_docs/google/cloud/memorystore/v1beta/memorystore.rb', line 107

class Instance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Additional information about the state of the instance.
  # @!attribute [r] update_info
  #   @return [::Google::Cloud::Memorystore::V1beta::Instance::StateInfo::UpdateInfo]
  #     Output only. Describes ongoing update when instance state is UPDATING.
  class StateInfo
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Represents information about instance with state UPDATING.
    # @!attribute [r] target_shard_count
    #   @return [::Integer]
    #     Output only. Target number of shards for the instance.
    # @!attribute [r] target_replica_count
    #   @return [::Integer]
    #     Output only. Target number of replica nodes per shard for the instance.
    class UpdateInfo
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # InstanceEndpoint consists of PSC connections that are created
  # as a group in each VPC network for accessing the instance. In each group,
  # there shall be one connection for each service attachment in the cluster.
  # @!attribute [rw] connections
  #   @return [::Array<::Google::Cloud::Memorystore::V1beta::Instance::ConnectionDetail>]
  #     Optional. A group of PSC connections. They are created in the same VPC
  #     network, one for each service attachment in the cluster.
  class InstanceEndpoint
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Information of each PSC connection.
  # @!attribute [rw] psc_auto_connection
  #   @return [::Google::Cloud::Memorystore::V1beta::PscAutoConnection]
  #     Detailed information of a PSC connection that is created through
  #     service connectivity automation.
  #
  #     Note: The following fields are mutually exclusive: `psc_auto_connection`, `psc_connection`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] psc_connection
  #   @return [::Google::Cloud::Memorystore::V1beta::PscConnection]
  #     Detailed information of a PSC connection that is created by the user.
  #
  #     Note: The following fields are mutually exclusive: `psc_connection`, `psc_auto_connection`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  class ConnectionDetail
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class EngineConfigsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible states of the instance.
  module State
    # Not set.
    STATE_UNSPECIFIED = 0

    # Instance is being created.
    CREATING = 1

    # Instance has been created and is usable.
    ACTIVE = 2

    # Instance is being updated.
    UPDATING = 3

    # Instance is being deleted.
    DELETING = 4
  end

  # Possible authorization modes of the instance.
  module AuthorizationMode
    # Not set.
    AUTHORIZATION_MODE_UNSPECIFIED = 0

    # Authorization disabled.
    AUTH_DISABLED = 1

    # IAM basic authorization.
    IAM_AUTH = 2
  end

  # Possible in-transit encryption modes of the instance.
  module TransitEncryptionMode
    # Not set.
    TRANSIT_ENCRYPTION_MODE_UNSPECIFIED = 0

    # In-transit encryption is disabled.
    TRANSIT_ENCRYPTION_DISABLED = 1

    # Server-managed encryption is used for in-transit encryption.
    SERVER_AUTHENTICATION = 2
  end

  # Possible node types of the instance. See
  # https://cloud.google.com/memorystore/docs/valkey/instance-node-specification
  # for more information.
  module NodeType
    # Not set.
    NODE_TYPE_UNSPECIFIED = 0

    # Shared core nano.
    SHARED_CORE_NANO = 1

    # High memory medium.
    HIGHMEM_MEDIUM = 2

    # High memory extra large.
    HIGHMEM_XLARGE = 3

    # Standard small.
    STANDARD_SMALL = 4

    # Custom micro.
    CUSTOM_MICRO = 5

    # Custom mini.
    CUSTOM_MINI = 6

    # High cpu medium.
    HIGHCPU_MEDIUM = 7

    # Standard large.
    STANDARD_LARGE = 8

    # High memory 2xlarge.
    HIGHMEM_2XLARGE = 9

    # Custom pico.
    CUSTOM_PICO = 10
  end

  # The mode config, which is used to enable/disable cluster mode.
  module Mode
    # Mode is not specified.
    MODE_UNSPECIFIED = 0

    # Deprecated: Use CLUSTER_DISABLED instead.
    STANDALONE = 1

    # Instance is in cluster mode.
    CLUSTER = 2

    # Cluster mode is disabled for the instance.
    CLUSTER_DISABLED = 4
  end

  # The Server CA mode for the instance.
  module ServerCaMode
    # Server CA mode not specified.
    SERVER_CA_MODE_UNSPECIFIED = 0

    # Each instance has its own Google-managed CA.
    GOOGLE_MANAGED_PER_INSTANCE_CA = 1

    # The instance uses a Google-managed shared CA for the instance's region.
    GOOGLE_MANAGED_SHARED_CA = 2

    # The instance uses a customer-managed CA from CAS.
    CUSTOMER_MANAGED_CAS_CA = 3

    # Deprecated: Use GOOGLE_MANAGED_PER_INSTANCE_CA instead.
    SERVER_CA_MODE_GOOGLE_MANAGED_PER_INSTANCE_CA = 1

    # Deprecated: Use GOOGLE_MANAGED_SHARED_CA instead.
    SERVER_CA_MODE_GOOGLE_MANAGED_SHARED_CA = 2

    # Deprecated: Use CUSTOMER_MANAGED_CAS_CA instead.
    SERVER_CA_MODE_CUSTOMER_MANAGED_CAS_CA = 3
  end
end

#state::Google::Cloud::Memorystore::V1beta::Instance::State (readonly)

Returns Output only. Current state of the instance.

Returns:



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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
# File 'proto_docs/google/cloud/memorystore/v1beta/memorystore.rb', line 107

class Instance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Additional information about the state of the instance.
  # @!attribute [r] update_info
  #   @return [::Google::Cloud::Memorystore::V1beta::Instance::StateInfo::UpdateInfo]
  #     Output only. Describes ongoing update when instance state is UPDATING.
  class StateInfo
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Represents information about instance with state UPDATING.
    # @!attribute [r] target_shard_count
    #   @return [::Integer]
    #     Output only. Target number of shards for the instance.
    # @!attribute [r] target_replica_count
    #   @return [::Integer]
    #     Output only. Target number of replica nodes per shard for the instance.
    class UpdateInfo
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # InstanceEndpoint consists of PSC connections that are created
  # as a group in each VPC network for accessing the instance. In each group,
  # there shall be one connection for each service attachment in the cluster.
  # @!attribute [rw] connections
  #   @return [::Array<::Google::Cloud::Memorystore::V1beta::Instance::ConnectionDetail>]
  #     Optional. A group of PSC connections. They are created in the same VPC
  #     network, one for each service attachment in the cluster.
  class InstanceEndpoint
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Information of each PSC connection.
  # @!attribute [rw] psc_auto_connection
  #   @return [::Google::Cloud::Memorystore::V1beta::PscAutoConnection]
  #     Detailed information of a PSC connection that is created through
  #     service connectivity automation.
  #
  #     Note: The following fields are mutually exclusive: `psc_auto_connection`, `psc_connection`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] psc_connection
  #   @return [::Google::Cloud::Memorystore::V1beta::PscConnection]
  #     Detailed information of a PSC connection that is created by the user.
  #
  #     Note: The following fields are mutually exclusive: `psc_connection`, `psc_auto_connection`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  class ConnectionDetail
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class EngineConfigsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible states of the instance.
  module State
    # Not set.
    STATE_UNSPECIFIED = 0

    # Instance is being created.
    CREATING = 1

    # Instance has been created and is usable.
    ACTIVE = 2

    # Instance is being updated.
    UPDATING = 3

    # Instance is being deleted.
    DELETING = 4
  end

  # Possible authorization modes of the instance.
  module AuthorizationMode
    # Not set.
    AUTHORIZATION_MODE_UNSPECIFIED = 0

    # Authorization disabled.
    AUTH_DISABLED = 1

    # IAM basic authorization.
    IAM_AUTH = 2
  end

  # Possible in-transit encryption modes of the instance.
  module TransitEncryptionMode
    # Not set.
    TRANSIT_ENCRYPTION_MODE_UNSPECIFIED = 0

    # In-transit encryption is disabled.
    TRANSIT_ENCRYPTION_DISABLED = 1

    # Server-managed encryption is used for in-transit encryption.
    SERVER_AUTHENTICATION = 2
  end

  # Possible node types of the instance. See
  # https://cloud.google.com/memorystore/docs/valkey/instance-node-specification
  # for more information.
  module NodeType
    # Not set.
    NODE_TYPE_UNSPECIFIED = 0

    # Shared core nano.
    SHARED_CORE_NANO = 1

    # High memory medium.
    HIGHMEM_MEDIUM = 2

    # High memory extra large.
    HIGHMEM_XLARGE = 3

    # Standard small.
    STANDARD_SMALL = 4

    # Custom micro.
    CUSTOM_MICRO = 5

    # Custom mini.
    CUSTOM_MINI = 6

    # High cpu medium.
    HIGHCPU_MEDIUM = 7

    # Standard large.
    STANDARD_LARGE = 8

    # High memory 2xlarge.
    HIGHMEM_2XLARGE = 9

    # Custom pico.
    CUSTOM_PICO = 10
  end

  # The mode config, which is used to enable/disable cluster mode.
  module Mode
    # Mode is not specified.
    MODE_UNSPECIFIED = 0

    # Deprecated: Use CLUSTER_DISABLED instead.
    STANDALONE = 1

    # Instance is in cluster mode.
    CLUSTER = 2

    # Cluster mode is disabled for the instance.
    CLUSTER_DISABLED = 4
  end

  # The Server CA mode for the instance.
  module ServerCaMode
    # Server CA mode not specified.
    SERVER_CA_MODE_UNSPECIFIED = 0

    # Each instance has its own Google-managed CA.
    GOOGLE_MANAGED_PER_INSTANCE_CA = 1

    # The instance uses a Google-managed shared CA for the instance's region.
    GOOGLE_MANAGED_SHARED_CA = 2

    # The instance uses a customer-managed CA from CAS.
    CUSTOMER_MANAGED_CAS_CA = 3

    # Deprecated: Use GOOGLE_MANAGED_PER_INSTANCE_CA instead.
    SERVER_CA_MODE_GOOGLE_MANAGED_PER_INSTANCE_CA = 1

    # Deprecated: Use GOOGLE_MANAGED_SHARED_CA instead.
    SERVER_CA_MODE_GOOGLE_MANAGED_SHARED_CA = 2

    # Deprecated: Use CUSTOMER_MANAGED_CAS_CA instead.
    SERVER_CA_MODE_CUSTOMER_MANAGED_CAS_CA = 3
  end
end

#state_info::Google::Cloud::Memorystore::V1beta::Instance::StateInfo (readonly)

Returns Output only. Additional information about the state of the instance.

Returns:



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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
# File 'proto_docs/google/cloud/memorystore/v1beta/memorystore.rb', line 107

class Instance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Additional information about the state of the instance.
  # @!attribute [r] update_info
  #   @return [::Google::Cloud::Memorystore::V1beta::Instance::StateInfo::UpdateInfo]
  #     Output only. Describes ongoing update when instance state is UPDATING.
  class StateInfo
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Represents information about instance with state UPDATING.
    # @!attribute [r] target_shard_count
    #   @return [::Integer]
    #     Output only. Target number of shards for the instance.
    # @!attribute [r] target_replica_count
    #   @return [::Integer]
    #     Output only. Target number of replica nodes per shard for the instance.
    class UpdateInfo
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # InstanceEndpoint consists of PSC connections that are created
  # as a group in each VPC network for accessing the instance. In each group,
  # there shall be one connection for each service attachment in the cluster.
  # @!attribute [rw] connections
  #   @return [::Array<::Google::Cloud::Memorystore::V1beta::Instance::ConnectionDetail>]
  #     Optional. A group of PSC connections. They are created in the same VPC
  #     network, one for each service attachment in the cluster.
  class InstanceEndpoint
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Information of each PSC connection.
  # @!attribute [rw] psc_auto_connection
  #   @return [::Google::Cloud::Memorystore::V1beta::PscAutoConnection]
  #     Detailed information of a PSC connection that is created through
  #     service connectivity automation.
  #
  #     Note: The following fields are mutually exclusive: `psc_auto_connection`, `psc_connection`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] psc_connection
  #   @return [::Google::Cloud::Memorystore::V1beta::PscConnection]
  #     Detailed information of a PSC connection that is created by the user.
  #
  #     Note: The following fields are mutually exclusive: `psc_connection`, `psc_auto_connection`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  class ConnectionDetail
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class EngineConfigsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible states of the instance.
  module State
    # Not set.
    STATE_UNSPECIFIED = 0

    # Instance is being created.
    CREATING = 1

    # Instance has been created and is usable.
    ACTIVE = 2

    # Instance is being updated.
    UPDATING = 3

    # Instance is being deleted.
    DELETING = 4
  end

  # Possible authorization modes of the instance.
  module AuthorizationMode
    # Not set.
    AUTHORIZATION_MODE_UNSPECIFIED = 0

    # Authorization disabled.
    AUTH_DISABLED = 1

    # IAM basic authorization.
    IAM_AUTH = 2
  end

  # Possible in-transit encryption modes of the instance.
  module TransitEncryptionMode
    # Not set.
    TRANSIT_ENCRYPTION_MODE_UNSPECIFIED = 0

    # In-transit encryption is disabled.
    TRANSIT_ENCRYPTION_DISABLED = 1

    # Server-managed encryption is used for in-transit encryption.
    SERVER_AUTHENTICATION = 2
  end

  # Possible node types of the instance. See
  # https://cloud.google.com/memorystore/docs/valkey/instance-node-specification
  # for more information.
  module NodeType
    # Not set.
    NODE_TYPE_UNSPECIFIED = 0

    # Shared core nano.
    SHARED_CORE_NANO = 1

    # High memory medium.
    HIGHMEM_MEDIUM = 2

    # High memory extra large.
    HIGHMEM_XLARGE = 3

    # Standard small.
    STANDARD_SMALL = 4

    # Custom micro.
    CUSTOM_MICRO = 5

    # Custom mini.
    CUSTOM_MINI = 6

    # High cpu medium.
    HIGHCPU_MEDIUM = 7

    # Standard large.
    STANDARD_LARGE = 8

    # High memory 2xlarge.
    HIGHMEM_2XLARGE = 9

    # Custom pico.
    CUSTOM_PICO = 10
  end

  # The mode config, which is used to enable/disable cluster mode.
  module Mode
    # Mode is not specified.
    MODE_UNSPECIFIED = 0

    # Deprecated: Use CLUSTER_DISABLED instead.
    STANDALONE = 1

    # Instance is in cluster mode.
    CLUSTER = 2

    # Cluster mode is disabled for the instance.
    CLUSTER_DISABLED = 4
  end

  # The Server CA mode for the instance.
  module ServerCaMode
    # Server CA mode not specified.
    SERVER_CA_MODE_UNSPECIFIED = 0

    # Each instance has its own Google-managed CA.
    GOOGLE_MANAGED_PER_INSTANCE_CA = 1

    # The instance uses a Google-managed shared CA for the instance's region.
    GOOGLE_MANAGED_SHARED_CA = 2

    # The instance uses a customer-managed CA from CAS.
    CUSTOMER_MANAGED_CAS_CA = 3

    # Deprecated: Use GOOGLE_MANAGED_PER_INSTANCE_CA instead.
    SERVER_CA_MODE_GOOGLE_MANAGED_PER_INSTANCE_CA = 1

    # Deprecated: Use GOOGLE_MANAGED_SHARED_CA instead.
    SERVER_CA_MODE_GOOGLE_MANAGED_SHARED_CA = 2

    # Deprecated: Use CUSTOMER_MANAGED_CAS_CA instead.
    SERVER_CA_MODE_CUSTOMER_MANAGED_CAS_CA = 3
  end
end

#transit_encryption_mode::Google::Cloud::Memorystore::V1beta::Instance::TransitEncryptionMode

Returns Optional. Immutable. In-transit encryption mode of the instance.

Returns:



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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
# File 'proto_docs/google/cloud/memorystore/v1beta/memorystore.rb', line 107

class Instance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Additional information about the state of the instance.
  # @!attribute [r] update_info
  #   @return [::Google::Cloud::Memorystore::V1beta::Instance::StateInfo::UpdateInfo]
  #     Output only. Describes ongoing update when instance state is UPDATING.
  class StateInfo
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Represents information about instance with state UPDATING.
    # @!attribute [r] target_shard_count
    #   @return [::Integer]
    #     Output only. Target number of shards for the instance.
    # @!attribute [r] target_replica_count
    #   @return [::Integer]
    #     Output only. Target number of replica nodes per shard for the instance.
    class UpdateInfo
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # InstanceEndpoint consists of PSC connections that are created
  # as a group in each VPC network for accessing the instance. In each group,
  # there shall be one connection for each service attachment in the cluster.
  # @!attribute [rw] connections
  #   @return [::Array<::Google::Cloud::Memorystore::V1beta::Instance::ConnectionDetail>]
  #     Optional. A group of PSC connections. They are created in the same VPC
  #     network, one for each service attachment in the cluster.
  class InstanceEndpoint
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Information of each PSC connection.
  # @!attribute [rw] psc_auto_connection
  #   @return [::Google::Cloud::Memorystore::V1beta::PscAutoConnection]
  #     Detailed information of a PSC connection that is created through
  #     service connectivity automation.
  #
  #     Note: The following fields are mutually exclusive: `psc_auto_connection`, `psc_connection`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] psc_connection
  #   @return [::Google::Cloud::Memorystore::V1beta::PscConnection]
  #     Detailed information of a PSC connection that is created by the user.
  #
  #     Note: The following fields are mutually exclusive: `psc_connection`, `psc_auto_connection`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  class ConnectionDetail
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class EngineConfigsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible states of the instance.
  module State
    # Not set.
    STATE_UNSPECIFIED = 0

    # Instance is being created.
    CREATING = 1

    # Instance has been created and is usable.
    ACTIVE = 2

    # Instance is being updated.
    UPDATING = 3

    # Instance is being deleted.
    DELETING = 4
  end

  # Possible authorization modes of the instance.
  module AuthorizationMode
    # Not set.
    AUTHORIZATION_MODE_UNSPECIFIED = 0

    # Authorization disabled.
    AUTH_DISABLED = 1

    # IAM basic authorization.
    IAM_AUTH = 2
  end

  # Possible in-transit encryption modes of the instance.
  module TransitEncryptionMode
    # Not set.
    TRANSIT_ENCRYPTION_MODE_UNSPECIFIED = 0

    # In-transit encryption is disabled.
    TRANSIT_ENCRYPTION_DISABLED = 1

    # Server-managed encryption is used for in-transit encryption.
    SERVER_AUTHENTICATION = 2
  end

  # Possible node types of the instance. See
  # https://cloud.google.com/memorystore/docs/valkey/instance-node-specification
  # for more information.
  module NodeType
    # Not set.
    NODE_TYPE_UNSPECIFIED = 0

    # Shared core nano.
    SHARED_CORE_NANO = 1

    # High memory medium.
    HIGHMEM_MEDIUM = 2

    # High memory extra large.
    HIGHMEM_XLARGE = 3

    # Standard small.
    STANDARD_SMALL = 4

    # Custom micro.
    CUSTOM_MICRO = 5

    # Custom mini.
    CUSTOM_MINI = 6

    # High cpu medium.
    HIGHCPU_MEDIUM = 7

    # Standard large.
    STANDARD_LARGE = 8

    # High memory 2xlarge.
    HIGHMEM_2XLARGE = 9

    # Custom pico.
    CUSTOM_PICO = 10
  end

  # The mode config, which is used to enable/disable cluster mode.
  module Mode
    # Mode is not specified.
    MODE_UNSPECIFIED = 0

    # Deprecated: Use CLUSTER_DISABLED instead.
    STANDALONE = 1

    # Instance is in cluster mode.
    CLUSTER = 2

    # Cluster mode is disabled for the instance.
    CLUSTER_DISABLED = 4
  end

  # The Server CA mode for the instance.
  module ServerCaMode
    # Server CA mode not specified.
    SERVER_CA_MODE_UNSPECIFIED = 0

    # Each instance has its own Google-managed CA.
    GOOGLE_MANAGED_PER_INSTANCE_CA = 1

    # The instance uses a Google-managed shared CA for the instance's region.
    GOOGLE_MANAGED_SHARED_CA = 2

    # The instance uses a customer-managed CA from CAS.
    CUSTOMER_MANAGED_CAS_CA = 3

    # Deprecated: Use GOOGLE_MANAGED_PER_INSTANCE_CA instead.
    SERVER_CA_MODE_GOOGLE_MANAGED_PER_INSTANCE_CA = 1

    # Deprecated: Use GOOGLE_MANAGED_SHARED_CA instead.
    SERVER_CA_MODE_GOOGLE_MANAGED_SHARED_CA = 2

    # Deprecated: Use CUSTOMER_MANAGED_CAS_CA instead.
    SERVER_CA_MODE_CUSTOMER_MANAGED_CAS_CA = 3
  end
end

#uid::String (readonly)

Returns Output only. System assigned, unique identifier for the instance.

Returns:

  • (::String)

    Output only. System assigned, unique identifier for the instance.



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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
# File 'proto_docs/google/cloud/memorystore/v1beta/memorystore.rb', line 107

class Instance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Additional information about the state of the instance.
  # @!attribute [r] update_info
  #   @return [::Google::Cloud::Memorystore::V1beta::Instance::StateInfo::UpdateInfo]
  #     Output only. Describes ongoing update when instance state is UPDATING.
  class StateInfo
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Represents information about instance with state UPDATING.
    # @!attribute [r] target_shard_count
    #   @return [::Integer]
    #     Output only. Target number of shards for the instance.
    # @!attribute [r] target_replica_count
    #   @return [::Integer]
    #     Output only. Target number of replica nodes per shard for the instance.
    class UpdateInfo
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # InstanceEndpoint consists of PSC connections that are created
  # as a group in each VPC network for accessing the instance. In each group,
  # there shall be one connection for each service attachment in the cluster.
  # @!attribute [rw] connections
  #   @return [::Array<::Google::Cloud::Memorystore::V1beta::Instance::ConnectionDetail>]
  #     Optional. A group of PSC connections. They are created in the same VPC
  #     network, one for each service attachment in the cluster.
  class InstanceEndpoint
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Information of each PSC connection.
  # @!attribute [rw] psc_auto_connection
  #   @return [::Google::Cloud::Memorystore::V1beta::PscAutoConnection]
  #     Detailed information of a PSC connection that is created through
  #     service connectivity automation.
  #
  #     Note: The following fields are mutually exclusive: `psc_auto_connection`, `psc_connection`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] psc_connection
  #   @return [::Google::Cloud::Memorystore::V1beta::PscConnection]
  #     Detailed information of a PSC connection that is created by the user.
  #
  #     Note: The following fields are mutually exclusive: `psc_connection`, `psc_auto_connection`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  class ConnectionDetail
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class EngineConfigsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible states of the instance.
  module State
    # Not set.
    STATE_UNSPECIFIED = 0

    # Instance is being created.
    CREATING = 1

    # Instance has been created and is usable.
    ACTIVE = 2

    # Instance is being updated.
    UPDATING = 3

    # Instance is being deleted.
    DELETING = 4
  end

  # Possible authorization modes of the instance.
  module AuthorizationMode
    # Not set.
    AUTHORIZATION_MODE_UNSPECIFIED = 0

    # Authorization disabled.
    AUTH_DISABLED = 1

    # IAM basic authorization.
    IAM_AUTH = 2
  end

  # Possible in-transit encryption modes of the instance.
  module TransitEncryptionMode
    # Not set.
    TRANSIT_ENCRYPTION_MODE_UNSPECIFIED = 0

    # In-transit encryption is disabled.
    TRANSIT_ENCRYPTION_DISABLED = 1

    # Server-managed encryption is used for in-transit encryption.
    SERVER_AUTHENTICATION = 2
  end

  # Possible node types of the instance. See
  # https://cloud.google.com/memorystore/docs/valkey/instance-node-specification
  # for more information.
  module NodeType
    # Not set.
    NODE_TYPE_UNSPECIFIED = 0

    # Shared core nano.
    SHARED_CORE_NANO = 1

    # High memory medium.
    HIGHMEM_MEDIUM = 2

    # High memory extra large.
    HIGHMEM_XLARGE = 3

    # Standard small.
    STANDARD_SMALL = 4

    # Custom micro.
    CUSTOM_MICRO = 5

    # Custom mini.
    CUSTOM_MINI = 6

    # High cpu medium.
    HIGHCPU_MEDIUM = 7

    # Standard large.
    STANDARD_LARGE = 8

    # High memory 2xlarge.
    HIGHMEM_2XLARGE = 9

    # Custom pico.
    CUSTOM_PICO = 10
  end

  # The mode config, which is used to enable/disable cluster mode.
  module Mode
    # Mode is not specified.
    MODE_UNSPECIFIED = 0

    # Deprecated: Use CLUSTER_DISABLED instead.
    STANDALONE = 1

    # Instance is in cluster mode.
    CLUSTER = 2

    # Cluster mode is disabled for the instance.
    CLUSTER_DISABLED = 4
  end

  # The Server CA mode for the instance.
  module ServerCaMode
    # Server CA mode not specified.
    SERVER_CA_MODE_UNSPECIFIED = 0

    # Each instance has its own Google-managed CA.
    GOOGLE_MANAGED_PER_INSTANCE_CA = 1

    # The instance uses a Google-managed shared CA for the instance's region.
    GOOGLE_MANAGED_SHARED_CA = 2

    # The instance uses a customer-managed CA from CAS.
    CUSTOMER_MANAGED_CAS_CA = 3

    # Deprecated: Use GOOGLE_MANAGED_PER_INSTANCE_CA instead.
    SERVER_CA_MODE_GOOGLE_MANAGED_PER_INSTANCE_CA = 1

    # Deprecated: Use GOOGLE_MANAGED_SHARED_CA instead.
    SERVER_CA_MODE_GOOGLE_MANAGED_SHARED_CA = 2

    # Deprecated: Use CUSTOMER_MANAGED_CAS_CA instead.
    SERVER_CA_MODE_CUSTOMER_MANAGED_CAS_CA = 3
  end
end

#update_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. Latest update timestamp of the instance.

Returns:



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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
# File 'proto_docs/google/cloud/memorystore/v1beta/memorystore.rb', line 107

class Instance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Additional information about the state of the instance.
  # @!attribute [r] update_info
  #   @return [::Google::Cloud::Memorystore::V1beta::Instance::StateInfo::UpdateInfo]
  #     Output only. Describes ongoing update when instance state is UPDATING.
  class StateInfo
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Represents information about instance with state UPDATING.
    # @!attribute [r] target_shard_count
    #   @return [::Integer]
    #     Output only. Target number of shards for the instance.
    # @!attribute [r] target_replica_count
    #   @return [::Integer]
    #     Output only. Target number of replica nodes per shard for the instance.
    class UpdateInfo
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # InstanceEndpoint consists of PSC connections that are created
  # as a group in each VPC network for accessing the instance. In each group,
  # there shall be one connection for each service attachment in the cluster.
  # @!attribute [rw] connections
  #   @return [::Array<::Google::Cloud::Memorystore::V1beta::Instance::ConnectionDetail>]
  #     Optional. A group of PSC connections. They are created in the same VPC
  #     network, one for each service attachment in the cluster.
  class InstanceEndpoint
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Information of each PSC connection.
  # @!attribute [rw] psc_auto_connection
  #   @return [::Google::Cloud::Memorystore::V1beta::PscAutoConnection]
  #     Detailed information of a PSC connection that is created through
  #     service connectivity automation.
  #
  #     Note: The following fields are mutually exclusive: `psc_auto_connection`, `psc_connection`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] psc_connection
  #   @return [::Google::Cloud::Memorystore::V1beta::PscConnection]
  #     Detailed information of a PSC connection that is created by the user.
  #
  #     Note: The following fields are mutually exclusive: `psc_connection`, `psc_auto_connection`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  class ConnectionDetail
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class EngineConfigsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible states of the instance.
  module State
    # Not set.
    STATE_UNSPECIFIED = 0

    # Instance is being created.
    CREATING = 1

    # Instance has been created and is usable.
    ACTIVE = 2

    # Instance is being updated.
    UPDATING = 3

    # Instance is being deleted.
    DELETING = 4
  end

  # Possible authorization modes of the instance.
  module AuthorizationMode
    # Not set.
    AUTHORIZATION_MODE_UNSPECIFIED = 0

    # Authorization disabled.
    AUTH_DISABLED = 1

    # IAM basic authorization.
    IAM_AUTH = 2
  end

  # Possible in-transit encryption modes of the instance.
  module TransitEncryptionMode
    # Not set.
    TRANSIT_ENCRYPTION_MODE_UNSPECIFIED = 0

    # In-transit encryption is disabled.
    TRANSIT_ENCRYPTION_DISABLED = 1

    # Server-managed encryption is used for in-transit encryption.
    SERVER_AUTHENTICATION = 2
  end

  # Possible node types of the instance. See
  # https://cloud.google.com/memorystore/docs/valkey/instance-node-specification
  # for more information.
  module NodeType
    # Not set.
    NODE_TYPE_UNSPECIFIED = 0

    # Shared core nano.
    SHARED_CORE_NANO = 1

    # High memory medium.
    HIGHMEM_MEDIUM = 2

    # High memory extra large.
    HIGHMEM_XLARGE = 3

    # Standard small.
    STANDARD_SMALL = 4

    # Custom micro.
    CUSTOM_MICRO = 5

    # Custom mini.
    CUSTOM_MINI = 6

    # High cpu medium.
    HIGHCPU_MEDIUM = 7

    # Standard large.
    STANDARD_LARGE = 8

    # High memory 2xlarge.
    HIGHMEM_2XLARGE = 9

    # Custom pico.
    CUSTOM_PICO = 10
  end

  # The mode config, which is used to enable/disable cluster mode.
  module Mode
    # Mode is not specified.
    MODE_UNSPECIFIED = 0

    # Deprecated: Use CLUSTER_DISABLED instead.
    STANDALONE = 1

    # Instance is in cluster mode.
    CLUSTER = 2

    # Cluster mode is disabled for the instance.
    CLUSTER_DISABLED = 4
  end

  # The Server CA mode for the instance.
  module ServerCaMode
    # Server CA mode not specified.
    SERVER_CA_MODE_UNSPECIFIED = 0

    # Each instance has its own Google-managed CA.
    GOOGLE_MANAGED_PER_INSTANCE_CA = 1

    # The instance uses a Google-managed shared CA for the instance's region.
    GOOGLE_MANAGED_SHARED_CA = 2

    # The instance uses a customer-managed CA from CAS.
    CUSTOMER_MANAGED_CAS_CA = 3

    # Deprecated: Use GOOGLE_MANAGED_PER_INSTANCE_CA instead.
    SERVER_CA_MODE_GOOGLE_MANAGED_PER_INSTANCE_CA = 1

    # Deprecated: Use GOOGLE_MANAGED_SHARED_CA instead.
    SERVER_CA_MODE_GOOGLE_MANAGED_SHARED_CA = 2

    # Deprecated: Use CUSTOMER_MANAGED_CAS_CA instead.
    SERVER_CA_MODE_CUSTOMER_MANAGED_CAS_CA = 3
  end
end

#zone_distribution_config::Google::Cloud::Memorystore::V1beta::ZoneDistributionConfig

Returns Optional. Immutable. Zone distribution configuration of the instance for node allocation.

Returns:



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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
# File 'proto_docs/google/cloud/memorystore/v1beta/memorystore.rb', line 107

class Instance
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Additional information about the state of the instance.
  # @!attribute [r] update_info
  #   @return [::Google::Cloud::Memorystore::V1beta::Instance::StateInfo::UpdateInfo]
  #     Output only. Describes ongoing update when instance state is UPDATING.
  class StateInfo
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Represents information about instance with state UPDATING.
    # @!attribute [r] target_shard_count
    #   @return [::Integer]
    #     Output only. Target number of shards for the instance.
    # @!attribute [r] target_replica_count
    #   @return [::Integer]
    #     Output only. Target number of replica nodes per shard for the instance.
    class UpdateInfo
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # InstanceEndpoint consists of PSC connections that are created
  # as a group in each VPC network for accessing the instance. In each group,
  # there shall be one connection for each service attachment in the cluster.
  # @!attribute [rw] connections
  #   @return [::Array<::Google::Cloud::Memorystore::V1beta::Instance::ConnectionDetail>]
  #     Optional. A group of PSC connections. They are created in the same VPC
  #     network, one for each service attachment in the cluster.
  class InstanceEndpoint
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Information of each PSC connection.
  # @!attribute [rw] psc_auto_connection
  #   @return [::Google::Cloud::Memorystore::V1beta::PscAutoConnection]
  #     Detailed information of a PSC connection that is created through
  #     service connectivity automation.
  #
  #     Note: The following fields are mutually exclusive: `psc_auto_connection`, `psc_connection`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  # @!attribute [rw] psc_connection
  #   @return [::Google::Cloud::Memorystore::V1beta::PscConnection]
  #     Detailed information of a PSC connection that is created by the user.
  #
  #     Note: The following fields are mutually exclusive: `psc_connection`, `psc_auto_connection`. If a field in that set is populated, all other fields in the set will automatically be cleared.
  class ConnectionDetail
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class EngineConfigsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Possible states of the instance.
  module State
    # Not set.
    STATE_UNSPECIFIED = 0

    # Instance is being created.
    CREATING = 1

    # Instance has been created and is usable.
    ACTIVE = 2

    # Instance is being updated.
    UPDATING = 3

    # Instance is being deleted.
    DELETING = 4
  end

  # Possible authorization modes of the instance.
  module AuthorizationMode
    # Not set.
    AUTHORIZATION_MODE_UNSPECIFIED = 0

    # Authorization disabled.
    AUTH_DISABLED = 1

    # IAM basic authorization.
    IAM_AUTH = 2
  end

  # Possible in-transit encryption modes of the instance.
  module TransitEncryptionMode
    # Not set.
    TRANSIT_ENCRYPTION_MODE_UNSPECIFIED = 0

    # In-transit encryption is disabled.
    TRANSIT_ENCRYPTION_DISABLED = 1

    # Server-managed encryption is used for in-transit encryption.
    SERVER_AUTHENTICATION = 2
  end

  # Possible node types of the instance. See
  # https://cloud.google.com/memorystore/docs/valkey/instance-node-specification
  # for more information.
  module NodeType
    # Not set.
    NODE_TYPE_UNSPECIFIED = 0

    # Shared core nano.
    SHARED_CORE_NANO = 1

    # High memory medium.
    HIGHMEM_MEDIUM = 2

    # High memory extra large.
    HIGHMEM_XLARGE = 3

    # Standard small.
    STANDARD_SMALL = 4

    # Custom micro.
    CUSTOM_MICRO = 5

    # Custom mini.
    CUSTOM_MINI = 6

    # High cpu medium.
    HIGHCPU_MEDIUM = 7

    # Standard large.
    STANDARD_LARGE = 8

    # High memory 2xlarge.
    HIGHMEM_2XLARGE = 9

    # Custom pico.
    CUSTOM_PICO = 10
  end

  # The mode config, which is used to enable/disable cluster mode.
  module Mode
    # Mode is not specified.
    MODE_UNSPECIFIED = 0

    # Deprecated: Use CLUSTER_DISABLED instead.
    STANDALONE = 1

    # Instance is in cluster mode.
    CLUSTER = 2

    # Cluster mode is disabled for the instance.
    CLUSTER_DISABLED = 4
  end

  # The Server CA mode for the instance.
  module ServerCaMode
    # Server CA mode not specified.
    SERVER_CA_MODE_UNSPECIFIED = 0

    # Each instance has its own Google-managed CA.
    GOOGLE_MANAGED_PER_INSTANCE_CA = 1

    # The instance uses a Google-managed shared CA for the instance's region.
    GOOGLE_MANAGED_SHARED_CA = 2

    # The instance uses a customer-managed CA from CAS.
    CUSTOMER_MANAGED_CAS_CA = 3

    # Deprecated: Use GOOGLE_MANAGED_PER_INSTANCE_CA instead.
    SERVER_CA_MODE_GOOGLE_MANAGED_PER_INSTANCE_CA = 1

    # Deprecated: Use GOOGLE_MANAGED_SHARED_CA instead.
    SERVER_CA_MODE_GOOGLE_MANAGED_SHARED_CA = 2

    # Deprecated: Use CUSTOMER_MANAGED_CAS_CA instead.
    SERVER_CA_MODE_CUSTOMER_MANAGED_CAS_CA = 3
  end
end