Class: Google::Cloud::Memorystore::V1::Instance

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

Overview

A Memorystore instance.

Defined Under Namespace

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

Instance Attribute Summary collapse

Instance Attribute Details

#allow_fewer_zones_deployment::Boolean

Deprecated.

This field is deprecated and may be removed in the next major version update.

Returns Optional. Immutable. Deprecated, do not use.

Returns:

  • (::Boolean)

    Optional. Immutable. Deprecated, do not use.



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
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
# File 'proto_docs/google/cloud/memorystore/v1/memorystore.rb', line 179

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::V1::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.
    # @!attribute [r] target_engine_version
    #   @return [::String]
    #     Output only. Target engine version for the instance.
    # @!attribute [r] target_node_type
    #   @return [::Google::Cloud::Memorystore::V1::Instance::NodeType]
    #     Output only. Target node type for the instance.
    class UpdateInfo
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Backups that stored in Cloud Storage buckets.
  # The Cloud Storage buckets need to be the same region as the instances.
  # @!attribute [rw] uris
  #   @return [::Array<::String>]
  #     Optional. Example: gs://bucket1/object1, gs://bucket2/folder2/object2
  class GcsBackupSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Backups that generated and managed by memorystore.
  # @!attribute [rw] backup
  #   @return [::String]
  #     Optional. Example:
  #     //memorystore.googleapis.com/projects/\\{project}/locations/\\{location}/backupCollections/\\{collection}/backups/\\{backup}
  #     A shorter version (without the prefix) of the backup name is also
  #     supported, like
  #     projects/\\{project}/locations/\\{location}/backupCollections/\\{collection}/backups/\\{backup_id}
  #     In this case, it assumes the backup is under memorystore.googleapis.com.
  class ManagedBackupSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  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::V1::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::V1::PscAutoConnection]
  #     Immutable. 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::V1::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
  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
end

#async_instance_endpoints_deletion_enabled::Boolean

Returns Optional. If true, instance endpoints that are created and registered by customers can be deleted asynchronously. That is, such an instance endpoint can be de-registered before the forwarding rules in the instance endpoint are deleted.

Returns:

  • (::Boolean)

    Optional. If true, instance endpoints that are created and registered by customers can be deleted asynchronously. That is, such an instance endpoint can be de-registered before the forwarding rules in the instance endpoint are deleted.



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
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
# File 'proto_docs/google/cloud/memorystore/v1/memorystore.rb', line 179

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::V1::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.
    # @!attribute [r] target_engine_version
    #   @return [::String]
    #     Output only. Target engine version for the instance.
    # @!attribute [r] target_node_type
    #   @return [::Google::Cloud::Memorystore::V1::Instance::NodeType]
    #     Output only. Target node type for the instance.
    class UpdateInfo
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Backups that stored in Cloud Storage buckets.
  # The Cloud Storage buckets need to be the same region as the instances.
  # @!attribute [rw] uris
  #   @return [::Array<::String>]
  #     Optional. Example: gs://bucket1/object1, gs://bucket2/folder2/object2
  class GcsBackupSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Backups that generated and managed by memorystore.
  # @!attribute [rw] backup
  #   @return [::String]
  #     Optional. Example:
  #     //memorystore.googleapis.com/projects/\\{project}/locations/\\{location}/backupCollections/\\{collection}/backups/\\{backup}
  #     A shorter version (without the prefix) of the backup name is also
  #     supported, like
  #     projects/\\{project}/locations/\\{location}/backupCollections/\\{collection}/backups/\\{backup_id}
  #     In this case, it assumes the backup is under memorystore.googleapis.com.
  class ManagedBackupSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  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::V1::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::V1::PscAutoConnection]
  #     Immutable. 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::V1::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
  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
end

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

Returns Optional. Immutable. Authorization mode of the instance.

Returns:



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
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
# File 'proto_docs/google/cloud/memorystore/v1/memorystore.rb', line 179

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::V1::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.
    # @!attribute [r] target_engine_version
    #   @return [::String]
    #     Output only. Target engine version for the instance.
    # @!attribute [r] target_node_type
    #   @return [::Google::Cloud::Memorystore::V1::Instance::NodeType]
    #     Output only. Target node type for the instance.
    class UpdateInfo
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Backups that stored in Cloud Storage buckets.
  # The Cloud Storage buckets need to be the same region as the instances.
  # @!attribute [rw] uris
  #   @return [::Array<::String>]
  #     Optional. Example: gs://bucket1/object1, gs://bucket2/folder2/object2
  class GcsBackupSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Backups that generated and managed by memorystore.
  # @!attribute [rw] backup
  #   @return [::String]
  #     Optional. Example:
  #     //memorystore.googleapis.com/projects/\\{project}/locations/\\{location}/backupCollections/\\{collection}/backups/\\{backup}
  #     A shorter version (without the prefix) of the backup name is also
  #     supported, like
  #     projects/\\{project}/locations/\\{location}/backupCollections/\\{collection}/backups/\\{backup_id}
  #     In this case, it assumes the backup is under memorystore.googleapis.com.
  class ManagedBackupSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  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::V1::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::V1::PscAutoConnection]
  #     Immutable. 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::V1::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
  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
end

#automated_backup_config::Google::Cloud::Memorystore::V1::AutomatedBackupConfig

Returns Optional. The automated backup config for the instance.

Returns:



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
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
# File 'proto_docs/google/cloud/memorystore/v1/memorystore.rb', line 179

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::V1::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.
    # @!attribute [r] target_engine_version
    #   @return [::String]
    #     Output only. Target engine version for the instance.
    # @!attribute [r] target_node_type
    #   @return [::Google::Cloud::Memorystore::V1::Instance::NodeType]
    #     Output only. Target node type for the instance.
    class UpdateInfo
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Backups that stored in Cloud Storage buckets.
  # The Cloud Storage buckets need to be the same region as the instances.
  # @!attribute [rw] uris
  #   @return [::Array<::String>]
  #     Optional. Example: gs://bucket1/object1, gs://bucket2/folder2/object2
  class GcsBackupSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Backups that generated and managed by memorystore.
  # @!attribute [rw] backup
  #   @return [::String]
  #     Optional. Example:
  #     //memorystore.googleapis.com/projects/\\{project}/locations/\\{location}/backupCollections/\\{collection}/backups/\\{backup}
  #     A shorter version (without the prefix) of the backup name is also
  #     supported, like
  #     projects/\\{project}/locations/\\{location}/backupCollections/\\{collection}/backups/\\{backup_id}
  #     In this case, it assumes the backup is under memorystore.googleapis.com.
  class ManagedBackupSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  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::V1::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::V1::PscAutoConnection]
  #     Immutable. 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::V1::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
  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
end

#available_maintenance_versions::Array<::String> (readonly)

Returns Output only. This field is used to determine the available maintenance versions for the self service update.

Returns:

  • (::Array<::String>)

    Output only. This field is used to determine the available maintenance versions for the self service update.



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
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
# File 'proto_docs/google/cloud/memorystore/v1/memorystore.rb', line 179

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::V1::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.
    # @!attribute [r] target_engine_version
    #   @return [::String]
    #     Output only. Target engine version for the instance.
    # @!attribute [r] target_node_type
    #   @return [::Google::Cloud::Memorystore::V1::Instance::NodeType]
    #     Output only. Target node type for the instance.
    class UpdateInfo
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Backups that stored in Cloud Storage buckets.
  # The Cloud Storage buckets need to be the same region as the instances.
  # @!attribute [rw] uris
  #   @return [::Array<::String>]
  #     Optional. Example: gs://bucket1/object1, gs://bucket2/folder2/object2
  class GcsBackupSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Backups that generated and managed by memorystore.
  # @!attribute [rw] backup
  #   @return [::String]
  #     Optional. Example:
  #     //memorystore.googleapis.com/projects/\\{project}/locations/\\{location}/backupCollections/\\{collection}/backups/\\{backup}
  #     A shorter version (without the prefix) of the backup name is also
  #     supported, like
  #     projects/\\{project}/locations/\\{location}/backupCollections/\\{collection}/backups/\\{backup_id}
  #     In this case, it assumes the backup is under memorystore.googleapis.com.
  class ManagedBackupSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  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::V1::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::V1::PscAutoConnection]
  #     Immutable. 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::V1::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
  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
end

#backup_collection::String (readonly)

Returns Output only. The backup collection full resource name. Example: projects/{project}/locations/{location}/backupCollections/{collection}.

Returns:

  • (::String)

    Output only. The backup collection full resource name. Example: projects/{project}/locations/{location}/backupCollections/{collection}



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
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
# File 'proto_docs/google/cloud/memorystore/v1/memorystore.rb', line 179

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::V1::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.
    # @!attribute [r] target_engine_version
    #   @return [::String]
    #     Output only. Target engine version for the instance.
    # @!attribute [r] target_node_type
    #   @return [::Google::Cloud::Memorystore::V1::Instance::NodeType]
    #     Output only. Target node type for the instance.
    class UpdateInfo
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Backups that stored in Cloud Storage buckets.
  # The Cloud Storage buckets need to be the same region as the instances.
  # @!attribute [rw] uris
  #   @return [::Array<::String>]
  #     Optional. Example: gs://bucket1/object1, gs://bucket2/folder2/object2
  class GcsBackupSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Backups that generated and managed by memorystore.
  # @!attribute [rw] backup
  #   @return [::String]
  #     Optional. Example:
  #     //memorystore.googleapis.com/projects/\\{project}/locations/\\{location}/backupCollections/\\{collection}/backups/\\{backup}
  #     A shorter version (without the prefix) of the backup name is also
  #     supported, like
  #     projects/\\{project}/locations/\\{location}/backupCollections/\\{collection}/backups/\\{backup_id}
  #     In this case, it assumes the backup is under memorystore.googleapis.com.
  class ManagedBackupSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  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::V1::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::V1::PscAutoConnection]
  #     Immutable. 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::V1::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
  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
end

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

Returns Output only. Creation timestamp of the instance.

Returns:



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
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
# File 'proto_docs/google/cloud/memorystore/v1/memorystore.rb', line 179

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::V1::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.
    # @!attribute [r] target_engine_version
    #   @return [::String]
    #     Output only. Target engine version for the instance.
    # @!attribute [r] target_node_type
    #   @return [::Google::Cloud::Memorystore::V1::Instance::NodeType]
    #     Output only. Target node type for the instance.
    class UpdateInfo
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Backups that stored in Cloud Storage buckets.
  # The Cloud Storage buckets need to be the same region as the instances.
  # @!attribute [rw] uris
  #   @return [::Array<::String>]
  #     Optional. Example: gs://bucket1/object1, gs://bucket2/folder2/object2
  class GcsBackupSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Backups that generated and managed by memorystore.
  # @!attribute [rw] backup
  #   @return [::String]
  #     Optional. Example:
  #     //memorystore.googleapis.com/projects/\\{project}/locations/\\{location}/backupCollections/\\{collection}/backups/\\{backup}
  #     A shorter version (without the prefix) of the backup name is also
  #     supported, like
  #     projects/\\{project}/locations/\\{location}/backupCollections/\\{collection}/backups/\\{backup_id}
  #     In this case, it assumes the backup is under memorystore.googleapis.com.
  class ManagedBackupSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  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::V1::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::V1::PscAutoConnection]
  #     Immutable. 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::V1::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
  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
end

#cross_instance_replication_config::Google::Cloud::Memorystore::V1::CrossInstanceReplicationConfig

Returns Optional. The config for cross instance replication.

Returns:



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
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
# File 'proto_docs/google/cloud/memorystore/v1/memorystore.rb', line 179

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::V1::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.
    # @!attribute [r] target_engine_version
    #   @return [::String]
    #     Output only. Target engine version for the instance.
    # @!attribute [r] target_node_type
    #   @return [::Google::Cloud::Memorystore::V1::Instance::NodeType]
    #     Output only. Target node type for the instance.
    class UpdateInfo
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Backups that stored in Cloud Storage buckets.
  # The Cloud Storage buckets need to be the same region as the instances.
  # @!attribute [rw] uris
  #   @return [::Array<::String>]
  #     Optional. Example: gs://bucket1/object1, gs://bucket2/folder2/object2
  class GcsBackupSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Backups that generated and managed by memorystore.
  # @!attribute [rw] backup
  #   @return [::String]
  #     Optional. Example:
  #     //memorystore.googleapis.com/projects/\\{project}/locations/\\{location}/backupCollections/\\{collection}/backups/\\{backup}
  #     A shorter version (without the prefix) of the backup name is also
  #     supported, like
  #     projects/\\{project}/locations/\\{location}/backupCollections/\\{collection}/backups/\\{backup_id}
  #     In this case, it assumes the backup is under memorystore.googleapis.com.
  class ManagedBackupSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  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::V1::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::V1::PscAutoConnection]
  #     Immutable. 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::V1::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
  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
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.



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
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
# File 'proto_docs/google/cloud/memorystore/v1/memorystore.rb', line 179

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::V1::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.
    # @!attribute [r] target_engine_version
    #   @return [::String]
    #     Output only. Target engine version for the instance.
    # @!attribute [r] target_node_type
    #   @return [::Google::Cloud::Memorystore::V1::Instance::NodeType]
    #     Output only. Target node type for the instance.
    class UpdateInfo
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Backups that stored in Cloud Storage buckets.
  # The Cloud Storage buckets need to be the same region as the instances.
  # @!attribute [rw] uris
  #   @return [::Array<::String>]
  #     Optional. Example: gs://bucket1/object1, gs://bucket2/folder2/object2
  class GcsBackupSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Backups that generated and managed by memorystore.
  # @!attribute [rw] backup
  #   @return [::String]
  #     Optional. Example:
  #     //memorystore.googleapis.com/projects/\\{project}/locations/\\{location}/backupCollections/\\{collection}/backups/\\{backup}
  #     A shorter version (without the prefix) of the backup name is also
  #     supported, like
  #     projects/\\{project}/locations/\\{location}/backupCollections/\\{collection}/backups/\\{backup_id}
  #     In this case, it assumes the backup is under memorystore.googleapis.com.
  class ManagedBackupSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  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::V1::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::V1::PscAutoConnection]
  #     Immutable. 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::V1::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
  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
end

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

Deprecated.

This field is deprecated and may be removed in the next major version update.

Returns Output only. Deprecated: The discovery_endpoints parameter is deprecated. As a result, it will not be populated if the connections are created using endpoints parameter. Instead of this parameter, for discovery, use endpoints.connections.pscConnection and endpoints.connections.pscAutoConnection with connectionType CONNECTION_TYPE_DISCOVERY.

Returns:

  • (::Array<::Google::Cloud::Memorystore::V1::DiscoveryEndpoint>)

    Output only. Deprecated: The discovery_endpoints parameter is deprecated. As a result, it will not be populated if the connections are created using endpoints parameter. Instead of this parameter, for discovery, use endpoints.connections.pscConnection and endpoints.connections.pscAutoConnection with connectionType CONNECTION_TYPE_DISCOVERY.



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
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
# File 'proto_docs/google/cloud/memorystore/v1/memorystore.rb', line 179

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::V1::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.
    # @!attribute [r] target_engine_version
    #   @return [::String]
    #     Output only. Target engine version for the instance.
    # @!attribute [r] target_node_type
    #   @return [::Google::Cloud::Memorystore::V1::Instance::NodeType]
    #     Output only. Target node type for the instance.
    class UpdateInfo
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Backups that stored in Cloud Storage buckets.
  # The Cloud Storage buckets need to be the same region as the instances.
  # @!attribute [rw] uris
  #   @return [::Array<::String>]
  #     Optional. Example: gs://bucket1/object1, gs://bucket2/folder2/object2
  class GcsBackupSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Backups that generated and managed by memorystore.
  # @!attribute [rw] backup
  #   @return [::String]
  #     Optional. Example:
  #     //memorystore.googleapis.com/projects/\\{project}/locations/\\{location}/backupCollections/\\{collection}/backups/\\{backup}
  #     A shorter version (without the prefix) of the backup name is also
  #     supported, like
  #     projects/\\{project}/locations/\\{location}/backupCollections/\\{collection}/backups/\\{backup_id}
  #     In this case, it assumes the backup is under memorystore.googleapis.com.
  class ManagedBackupSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  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::V1::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::V1::PscAutoConnection]
  #     Immutable. 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::V1::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
  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
end

#effective_maintenance_version::String (readonly)

Returns Output only. This field represents the actual maintenance version of the instance.

Returns:

  • (::String)

    Output only. This field represents the actual maintenance version of the instance.



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
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
# File 'proto_docs/google/cloud/memorystore/v1/memorystore.rb', line 179

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::V1::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.
    # @!attribute [r] target_engine_version
    #   @return [::String]
    #     Output only. Target engine version for the instance.
    # @!attribute [r] target_node_type
    #   @return [::Google::Cloud::Memorystore::V1::Instance::NodeType]
    #     Output only. Target node type for the instance.
    class UpdateInfo
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Backups that stored in Cloud Storage buckets.
  # The Cloud Storage buckets need to be the same region as the instances.
  # @!attribute [rw] uris
  #   @return [::Array<::String>]
  #     Optional. Example: gs://bucket1/object1, gs://bucket2/folder2/object2
  class GcsBackupSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Backups that generated and managed by memorystore.
  # @!attribute [rw] backup
  #   @return [::String]
  #     Optional. Example:
  #     //memorystore.googleapis.com/projects/\\{project}/locations/\\{location}/backupCollections/\\{collection}/backups/\\{backup}
  #     A shorter version (without the prefix) of the backup name is also
  #     supported, like
  #     projects/\\{project}/locations/\\{location}/backupCollections/\\{collection}/backups/\\{backup_id}
  #     In this case, it assumes the backup is under memorystore.googleapis.com.
  class ManagedBackupSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  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::V1::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::V1::PscAutoConnection]
  #     Immutable. 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::V1::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
  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
end

#encryption_info::Google::Cloud::Memorystore::V1::EncryptionInfo (readonly)

Returns Output only. Encryption information of the data at rest of the cluster.

Returns:



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
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
# File 'proto_docs/google/cloud/memorystore/v1/memorystore.rb', line 179

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::V1::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.
    # @!attribute [r] target_engine_version
    #   @return [::String]
    #     Output only. Target engine version for the instance.
    # @!attribute [r] target_node_type
    #   @return [::Google::Cloud::Memorystore::V1::Instance::NodeType]
    #     Output only. Target node type for the instance.
    class UpdateInfo
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Backups that stored in Cloud Storage buckets.
  # The Cloud Storage buckets need to be the same region as the instances.
  # @!attribute [rw] uris
  #   @return [::Array<::String>]
  #     Optional. Example: gs://bucket1/object1, gs://bucket2/folder2/object2
  class GcsBackupSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Backups that generated and managed by memorystore.
  # @!attribute [rw] backup
  #   @return [::String]
  #     Optional. Example:
  #     //memorystore.googleapis.com/projects/\\{project}/locations/\\{location}/backupCollections/\\{collection}/backups/\\{backup}
  #     A shorter version (without the prefix) of the backup name is also
  #     supported, like
  #     projects/\\{project}/locations/\\{location}/backupCollections/\\{collection}/backups/\\{backup_id}
  #     In this case, it assumes the backup is under memorystore.googleapis.com.
  class ManagedBackupSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  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::V1::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::V1::PscAutoConnection]
  #     Immutable. 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::V1::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
  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
end

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

Returns Optional. Endpoints for the instance.

Returns:



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
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
# File 'proto_docs/google/cloud/memorystore/v1/memorystore.rb', line 179

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::V1::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.
    # @!attribute [r] target_engine_version
    #   @return [::String]
    #     Output only. Target engine version for the instance.
    # @!attribute [r] target_node_type
    #   @return [::Google::Cloud::Memorystore::V1::Instance::NodeType]
    #     Output only. Target node type for the instance.
    class UpdateInfo
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Backups that stored in Cloud Storage buckets.
  # The Cloud Storage buckets need to be the same region as the instances.
  # @!attribute [rw] uris
  #   @return [::Array<::String>]
  #     Optional. Example: gs://bucket1/object1, gs://bucket2/folder2/object2
  class GcsBackupSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Backups that generated and managed by memorystore.
  # @!attribute [rw] backup
  #   @return [::String]
  #     Optional. Example:
  #     //memorystore.googleapis.com/projects/\\{project}/locations/\\{location}/backupCollections/\\{collection}/backups/\\{backup}
  #     A shorter version (without the prefix) of the backup name is also
  #     supported, like
  #     projects/\\{project}/locations/\\{location}/backupCollections/\\{collection}/backups/\\{backup_id}
  #     In this case, it assumes the backup is under memorystore.googleapis.com.
  class ManagedBackupSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  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::V1::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::V1::PscAutoConnection]
  #     Immutable. 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::V1::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
  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
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.



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
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
# File 'proto_docs/google/cloud/memorystore/v1/memorystore.rb', line 179

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::V1::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.
    # @!attribute [r] target_engine_version
    #   @return [::String]
    #     Output only. Target engine version for the instance.
    # @!attribute [r] target_node_type
    #   @return [::Google::Cloud::Memorystore::V1::Instance::NodeType]
    #     Output only. Target node type for the instance.
    class UpdateInfo
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Backups that stored in Cloud Storage buckets.
  # The Cloud Storage buckets need to be the same region as the instances.
  # @!attribute [rw] uris
  #   @return [::Array<::String>]
  #     Optional. Example: gs://bucket1/object1, gs://bucket2/folder2/object2
  class GcsBackupSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Backups that generated and managed by memorystore.
  # @!attribute [rw] backup
  #   @return [::String]
  #     Optional. Example:
  #     //memorystore.googleapis.com/projects/\\{project}/locations/\\{location}/backupCollections/\\{collection}/backups/\\{backup}
  #     A shorter version (without the prefix) of the backup name is also
  #     supported, like
  #     projects/\\{project}/locations/\\{location}/backupCollections/\\{collection}/backups/\\{backup_id}
  #     In this case, it assumes the backup is under memorystore.googleapis.com.
  class ManagedBackupSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  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::V1::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::V1::PscAutoConnection]
  #     Immutable. 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::V1::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
  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
end

#engine_version::String

Returns Optional. Engine version of the instance.

Returns:

  • (::String)

    Optional. Engine version of the instance.



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
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
# File 'proto_docs/google/cloud/memorystore/v1/memorystore.rb', line 179

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::V1::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.
    # @!attribute [r] target_engine_version
    #   @return [::String]
    #     Output only. Target engine version for the instance.
    # @!attribute [r] target_node_type
    #   @return [::Google::Cloud::Memorystore::V1::Instance::NodeType]
    #     Output only. Target node type for the instance.
    class UpdateInfo
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Backups that stored in Cloud Storage buckets.
  # The Cloud Storage buckets need to be the same region as the instances.
  # @!attribute [rw] uris
  #   @return [::Array<::String>]
  #     Optional. Example: gs://bucket1/object1, gs://bucket2/folder2/object2
  class GcsBackupSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Backups that generated and managed by memorystore.
  # @!attribute [rw] backup
  #   @return [::String]
  #     Optional. Example:
  #     //memorystore.googleapis.com/projects/\\{project}/locations/\\{location}/backupCollections/\\{collection}/backups/\\{backup}
  #     A shorter version (without the prefix) of the backup name is also
  #     supported, like
  #     projects/\\{project}/locations/\\{location}/backupCollections/\\{collection}/backups/\\{backup_id}
  #     In this case, it assumes the backup is under memorystore.googleapis.com.
  class ManagedBackupSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  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::V1::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::V1::PscAutoConnection]
  #     Immutable. 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::V1::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
  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
end

#gcs_source::Google::Cloud::Memorystore::V1::Instance::GcsBackupSource

Returns Optional. Immutable. Backups that stored in Cloud Storage buckets. The Cloud Storage buckets need to be the same region as the instances. Read permission is required to import from the provided Cloud Storage Objects.

Note: The following fields are mutually exclusive: gcs_source, managed_backup_source. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::Memorystore::V1::Instance::GcsBackupSource)

    Optional. Immutable. Backups that stored in Cloud Storage buckets. The Cloud Storage buckets need to be the same region as the instances. Read permission is required to import from the provided Cloud Storage Objects.

    Note: The following fields are mutually exclusive: gcs_source, managed_backup_source. If a field in that set is populated, all other fields in the set will automatically be cleared.



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
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
# File 'proto_docs/google/cloud/memorystore/v1/memorystore.rb', line 179

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::V1::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.
    # @!attribute [r] target_engine_version
    #   @return [::String]
    #     Output only. Target engine version for the instance.
    # @!attribute [r] target_node_type
    #   @return [::Google::Cloud::Memorystore::V1::Instance::NodeType]
    #     Output only. Target node type for the instance.
    class UpdateInfo
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Backups that stored in Cloud Storage buckets.
  # The Cloud Storage buckets need to be the same region as the instances.
  # @!attribute [rw] uris
  #   @return [::Array<::String>]
  #     Optional. Example: gs://bucket1/object1, gs://bucket2/folder2/object2
  class GcsBackupSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Backups that generated and managed by memorystore.
  # @!attribute [rw] backup
  #   @return [::String]
  #     Optional. Example:
  #     //memorystore.googleapis.com/projects/\\{project}/locations/\\{location}/backupCollections/\\{collection}/backups/\\{backup}
  #     A shorter version (without the prefix) of the backup name is also
  #     supported, like
  #     projects/\\{project}/locations/\\{location}/backupCollections/\\{collection}/backups/\\{backup_id}
  #     In this case, it assumes the backup is under memorystore.googleapis.com.
  class ManagedBackupSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  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::V1::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::V1::PscAutoConnection]
  #     Immutable. 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::V1::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
  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
end

#kms_key::String

Returns Optional. The KMS key used to encrypt the at-rest data of the cluster.

Returns:

  • (::String)

    Optional. The KMS key used to encrypt the at-rest data of the cluster.



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
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
# File 'proto_docs/google/cloud/memorystore/v1/memorystore.rb', line 179

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::V1::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.
    # @!attribute [r] target_engine_version
    #   @return [::String]
    #     Output only. Target engine version for the instance.
    # @!attribute [r] target_node_type
    #   @return [::Google::Cloud::Memorystore::V1::Instance::NodeType]
    #     Output only. Target node type for the instance.
    class UpdateInfo
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Backups that stored in Cloud Storage buckets.
  # The Cloud Storage buckets need to be the same region as the instances.
  # @!attribute [rw] uris
  #   @return [::Array<::String>]
  #     Optional. Example: gs://bucket1/object1, gs://bucket2/folder2/object2
  class GcsBackupSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Backups that generated and managed by memorystore.
  # @!attribute [rw] backup
  #   @return [::String]
  #     Optional. Example:
  #     //memorystore.googleapis.com/projects/\\{project}/locations/\\{location}/backupCollections/\\{collection}/backups/\\{backup}
  #     A shorter version (without the prefix) of the backup name is also
  #     supported, like
  #     projects/\\{project}/locations/\\{location}/backupCollections/\\{collection}/backups/\\{backup_id}
  #     In this case, it assumes the backup is under memorystore.googleapis.com.
  class ManagedBackupSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  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::V1::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::V1::PscAutoConnection]
  #     Immutable. 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::V1::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
  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
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.



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
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
# File 'proto_docs/google/cloud/memorystore/v1/memorystore.rb', line 179

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::V1::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.
    # @!attribute [r] target_engine_version
    #   @return [::String]
    #     Output only. Target engine version for the instance.
    # @!attribute [r] target_node_type
    #   @return [::Google::Cloud::Memorystore::V1::Instance::NodeType]
    #     Output only. Target node type for the instance.
    class UpdateInfo
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Backups that stored in Cloud Storage buckets.
  # The Cloud Storage buckets need to be the same region as the instances.
  # @!attribute [rw] uris
  #   @return [::Array<::String>]
  #     Optional. Example: gs://bucket1/object1, gs://bucket2/folder2/object2
  class GcsBackupSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Backups that generated and managed by memorystore.
  # @!attribute [rw] backup
  #   @return [::String]
  #     Optional. Example:
  #     //memorystore.googleapis.com/projects/\\{project}/locations/\\{location}/backupCollections/\\{collection}/backups/\\{backup}
  #     A shorter version (without the prefix) of the backup name is also
  #     supported, like
  #     projects/\\{project}/locations/\\{location}/backupCollections/\\{collection}/backups/\\{backup_id}
  #     In this case, it assumes the backup is under memorystore.googleapis.com.
  class ManagedBackupSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  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::V1::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::V1::PscAutoConnection]
  #     Immutable. 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::V1::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
  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
end

#maintenance_policy::Google::Cloud::Memorystore::V1::MaintenancePolicy

Returns Optional. The maintenance policy for the instance. If not provided, the maintenance event will be performed based on Memorystore internal rollout schedule.

Returns:



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
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
# File 'proto_docs/google/cloud/memorystore/v1/memorystore.rb', line 179

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::V1::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.
    # @!attribute [r] target_engine_version
    #   @return [::String]
    #     Output only. Target engine version for the instance.
    # @!attribute [r] target_node_type
    #   @return [::Google::Cloud::Memorystore::V1::Instance::NodeType]
    #     Output only. Target node type for the instance.
    class UpdateInfo
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Backups that stored in Cloud Storage buckets.
  # The Cloud Storage buckets need to be the same region as the instances.
  # @!attribute [rw] uris
  #   @return [::Array<::String>]
  #     Optional. Example: gs://bucket1/object1, gs://bucket2/folder2/object2
  class GcsBackupSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Backups that generated and managed by memorystore.
  # @!attribute [rw] backup
  #   @return [::String]
  #     Optional. Example:
  #     //memorystore.googleapis.com/projects/\\{project}/locations/\\{location}/backupCollections/\\{collection}/backups/\\{backup}
  #     A shorter version (without the prefix) of the backup name is also
  #     supported, like
  #     projects/\\{project}/locations/\\{location}/backupCollections/\\{collection}/backups/\\{backup_id}
  #     In this case, it assumes the backup is under memorystore.googleapis.com.
  class ManagedBackupSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  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::V1::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::V1::PscAutoConnection]
  #     Immutable. 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::V1::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
  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
end

#maintenance_schedule::Google::Cloud::Memorystore::V1::MaintenanceSchedule (readonly)

Returns Output only. Published maintenance schedule.

Returns:



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
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
# File 'proto_docs/google/cloud/memorystore/v1/memorystore.rb', line 179

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::V1::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.
    # @!attribute [r] target_engine_version
    #   @return [::String]
    #     Output only. Target engine version for the instance.
    # @!attribute [r] target_node_type
    #   @return [::Google::Cloud::Memorystore::V1::Instance::NodeType]
    #     Output only. Target node type for the instance.
    class UpdateInfo
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Backups that stored in Cloud Storage buckets.
  # The Cloud Storage buckets need to be the same region as the instances.
  # @!attribute [rw] uris
  #   @return [::Array<::String>]
  #     Optional. Example: gs://bucket1/object1, gs://bucket2/folder2/object2
  class GcsBackupSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Backups that generated and managed by memorystore.
  # @!attribute [rw] backup
  #   @return [::String]
  #     Optional. Example:
  #     //memorystore.googleapis.com/projects/\\{project}/locations/\\{location}/backupCollections/\\{collection}/backups/\\{backup}
  #     A shorter version (without the prefix) of the backup name is also
  #     supported, like
  #     projects/\\{project}/locations/\\{location}/backupCollections/\\{collection}/backups/\\{backup_id}
  #     In this case, it assumes the backup is under memorystore.googleapis.com.
  class ManagedBackupSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  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::V1::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::V1::PscAutoConnection]
  #     Immutable. 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::V1::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
  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
end

#maintenance_version::String

Returns Optional. This field can be used to trigger self service update to indicate the desired maintenance version. The input to this field can be determined by the available_maintenance_versions field.

Returns:

  • (::String)

    Optional. This field can be used to trigger self service update to indicate the desired maintenance version. The input to this field can be determined by the available_maintenance_versions field.



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
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
# File 'proto_docs/google/cloud/memorystore/v1/memorystore.rb', line 179

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::V1::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.
    # @!attribute [r] target_engine_version
    #   @return [::String]
    #     Output only. Target engine version for the instance.
    # @!attribute [r] target_node_type
    #   @return [::Google::Cloud::Memorystore::V1::Instance::NodeType]
    #     Output only. Target node type for the instance.
    class UpdateInfo
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Backups that stored in Cloud Storage buckets.
  # The Cloud Storage buckets need to be the same region as the instances.
  # @!attribute [rw] uris
  #   @return [::Array<::String>]
  #     Optional. Example: gs://bucket1/object1, gs://bucket2/folder2/object2
  class GcsBackupSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Backups that generated and managed by memorystore.
  # @!attribute [rw] backup
  #   @return [::String]
  #     Optional. Example:
  #     //memorystore.googleapis.com/projects/\\{project}/locations/\\{location}/backupCollections/\\{collection}/backups/\\{backup}
  #     A shorter version (without the prefix) of the backup name is also
  #     supported, like
  #     projects/\\{project}/locations/\\{location}/backupCollections/\\{collection}/backups/\\{backup_id}
  #     In this case, it assumes the backup is under memorystore.googleapis.com.
  class ManagedBackupSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  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::V1::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::V1::PscAutoConnection]
  #     Immutable. 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::V1::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
  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
end

#managed_backup_source::Google::Cloud::Memorystore::V1::Instance::ManagedBackupSource

Returns Optional. Immutable. Backups that generated and managed by memorystore service.

Note: The following fields are mutually exclusive: managed_backup_source, gcs_source. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:

  • (::Google::Cloud::Memorystore::V1::Instance::ManagedBackupSource)

    Optional. Immutable. Backups that generated and managed by memorystore service.

    Note: The following fields are mutually exclusive: managed_backup_source, gcs_source. If a field in that set is populated, all other fields in the set will automatically be cleared.



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
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
# File 'proto_docs/google/cloud/memorystore/v1/memorystore.rb', line 179

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::V1::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.
    # @!attribute [r] target_engine_version
    #   @return [::String]
    #     Output only. Target engine version for the instance.
    # @!attribute [r] target_node_type
    #   @return [::Google::Cloud::Memorystore::V1::Instance::NodeType]
    #     Output only. Target node type for the instance.
    class UpdateInfo
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Backups that stored in Cloud Storage buckets.
  # The Cloud Storage buckets need to be the same region as the instances.
  # @!attribute [rw] uris
  #   @return [::Array<::String>]
  #     Optional. Example: gs://bucket1/object1, gs://bucket2/folder2/object2
  class GcsBackupSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Backups that generated and managed by memorystore.
  # @!attribute [rw] backup
  #   @return [::String]
  #     Optional. Example:
  #     //memorystore.googleapis.com/projects/\\{project}/locations/\\{location}/backupCollections/\\{collection}/backups/\\{backup}
  #     A shorter version (without the prefix) of the backup name is also
  #     supported, like
  #     projects/\\{project}/locations/\\{location}/backupCollections/\\{collection}/backups/\\{backup_id}
  #     In this case, it assumes the backup is under memorystore.googleapis.com.
  class ManagedBackupSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  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::V1::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::V1::PscAutoConnection]
  #     Immutable. 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::V1::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
  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
end

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

Returns Optional. The mode config for the instance.

Returns:



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
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
# File 'proto_docs/google/cloud/memorystore/v1/memorystore.rb', line 179

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::V1::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.
    # @!attribute [r] target_engine_version
    #   @return [::String]
    #     Output only. Target engine version for the instance.
    # @!attribute [r] target_node_type
    #   @return [::Google::Cloud::Memorystore::V1::Instance::NodeType]
    #     Output only. Target node type for the instance.
    class UpdateInfo
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Backups that stored in Cloud Storage buckets.
  # The Cloud Storage buckets need to be the same region as the instances.
  # @!attribute [rw] uris
  #   @return [::Array<::String>]
  #     Optional. Example: gs://bucket1/object1, gs://bucket2/folder2/object2
  class GcsBackupSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Backups that generated and managed by memorystore.
  # @!attribute [rw] backup
  #   @return [::String]
  #     Optional. Example:
  #     //memorystore.googleapis.com/projects/\\{project}/locations/\\{location}/backupCollections/\\{collection}/backups/\\{backup}
  #     A shorter version (without the prefix) of the backup name is also
  #     supported, like
  #     projects/\\{project}/locations/\\{location}/backupCollections/\\{collection}/backups/\\{backup_id}
  #     In this case, it assumes the backup is under memorystore.googleapis.com.
  class ManagedBackupSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  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::V1::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::V1::PscAutoConnection]
  #     Immutable. 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::V1::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
  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
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}



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
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
# File 'proto_docs/google/cloud/memorystore/v1/memorystore.rb', line 179

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::V1::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.
    # @!attribute [r] target_engine_version
    #   @return [::String]
    #     Output only. Target engine version for the instance.
    # @!attribute [r] target_node_type
    #   @return [::Google::Cloud::Memorystore::V1::Instance::NodeType]
    #     Output only. Target node type for the instance.
    class UpdateInfo
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Backups that stored in Cloud Storage buckets.
  # The Cloud Storage buckets need to be the same region as the instances.
  # @!attribute [rw] uris
  #   @return [::Array<::String>]
  #     Optional. Example: gs://bucket1/object1, gs://bucket2/folder2/object2
  class GcsBackupSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Backups that generated and managed by memorystore.
  # @!attribute [rw] backup
  #   @return [::String]
  #     Optional. Example:
  #     //memorystore.googleapis.com/projects/\\{project}/locations/\\{location}/backupCollections/\\{collection}/backups/\\{backup}
  #     A shorter version (without the prefix) of the backup name is also
  #     supported, like
  #     projects/\\{project}/locations/\\{location}/backupCollections/\\{collection}/backups/\\{backup_id}
  #     In this case, it assumes the backup is under memorystore.googleapis.com.
  class ManagedBackupSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  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::V1::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::V1::PscAutoConnection]
  #     Immutable. 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::V1::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
  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
end

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

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

Returns:



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
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
# File 'proto_docs/google/cloud/memorystore/v1/memorystore.rb', line 179

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::V1::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.
    # @!attribute [r] target_engine_version
    #   @return [::String]
    #     Output only. Target engine version for the instance.
    # @!attribute [r] target_node_type
    #   @return [::Google::Cloud::Memorystore::V1::Instance::NodeType]
    #     Output only. Target node type for the instance.
    class UpdateInfo
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Backups that stored in Cloud Storage buckets.
  # The Cloud Storage buckets need to be the same region as the instances.
  # @!attribute [rw] uris
  #   @return [::Array<::String>]
  #     Optional. Example: gs://bucket1/object1, gs://bucket2/folder2/object2
  class GcsBackupSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Backups that generated and managed by memorystore.
  # @!attribute [rw] backup
  #   @return [::String]
  #     Optional. Example:
  #     //memorystore.googleapis.com/projects/\\{project}/locations/\\{location}/backupCollections/\\{collection}/backups/\\{backup}
  #     A shorter version (without the prefix) of the backup name is also
  #     supported, like
  #     projects/\\{project}/locations/\\{location}/backupCollections/\\{collection}/backups/\\{backup_id}
  #     In this case, it assumes the backup is under memorystore.googleapis.com.
  class ManagedBackupSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  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::V1::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::V1::PscAutoConnection]
  #     Immutable. 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::V1::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
  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
end

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

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

Returns:



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
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
# File 'proto_docs/google/cloud/memorystore/v1/memorystore.rb', line 179

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::V1::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.
    # @!attribute [r] target_engine_version
    #   @return [::String]
    #     Output only. Target engine version for the instance.
    # @!attribute [r] target_node_type
    #   @return [::Google::Cloud::Memorystore::V1::Instance::NodeType]
    #     Output only. Target node type for the instance.
    class UpdateInfo
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Backups that stored in Cloud Storage buckets.
  # The Cloud Storage buckets need to be the same region as the instances.
  # @!attribute [rw] uris
  #   @return [::Array<::String>]
  #     Optional. Example: gs://bucket1/object1, gs://bucket2/folder2/object2
  class GcsBackupSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Backups that generated and managed by memorystore.
  # @!attribute [rw] backup
  #   @return [::String]
  #     Optional. Example:
  #     //memorystore.googleapis.com/projects/\\{project}/locations/\\{location}/backupCollections/\\{collection}/backups/\\{backup}
  #     A shorter version (without the prefix) of the backup name is also
  #     supported, like
  #     projects/\\{project}/locations/\\{location}/backupCollections/\\{collection}/backups/\\{backup_id}
  #     In this case, it assumes the backup is under memorystore.googleapis.com.
  class ManagedBackupSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  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::V1::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::V1::PscAutoConnection]
  #     Immutable. 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::V1::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
  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
end

#ondemand_maintenance::Boolean

Deprecated.

This field is deprecated and may be removed in the next major version update.

Returns Optional. Input only. Ondemand maintenance for the instance.

Returns:

  • (::Boolean)

    Optional. Input only. Ondemand maintenance for the instance.



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
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
# File 'proto_docs/google/cloud/memorystore/v1/memorystore.rb', line 179

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::V1::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.
    # @!attribute [r] target_engine_version
    #   @return [::String]
    #     Output only. Target engine version for the instance.
    # @!attribute [r] target_node_type
    #   @return [::Google::Cloud::Memorystore::V1::Instance::NodeType]
    #     Output only. Target node type for the instance.
    class UpdateInfo
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Backups that stored in Cloud Storage buckets.
  # The Cloud Storage buckets need to be the same region as the instances.
  # @!attribute [rw] uris
  #   @return [::Array<::String>]
  #     Optional. Example: gs://bucket1/object1, gs://bucket2/folder2/object2
  class GcsBackupSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Backups that generated and managed by memorystore.
  # @!attribute [rw] backup
  #   @return [::String]
  #     Optional. Example:
  #     //memorystore.googleapis.com/projects/\\{project}/locations/\\{location}/backupCollections/\\{collection}/backups/\\{backup}
  #     A shorter version (without the prefix) of the backup name is also
  #     supported, like
  #     projects/\\{project}/locations/\\{location}/backupCollections/\\{collection}/backups/\\{backup_id}
  #     In this case, it assumes the backup is under memorystore.googleapis.com.
  class ManagedBackupSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  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::V1::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::V1::PscAutoConnection]
  #     Immutable. 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::V1::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
  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
end

#persistence_config::Google::Cloud::Memorystore::V1::PersistenceConfig

Returns Optional. Persistence configuration of the instance.

Returns:



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
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
# File 'proto_docs/google/cloud/memorystore/v1/memorystore.rb', line 179

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::V1::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.
    # @!attribute [r] target_engine_version
    #   @return [::String]
    #     Output only. Target engine version for the instance.
    # @!attribute [r] target_node_type
    #   @return [::Google::Cloud::Memorystore::V1::Instance::NodeType]
    #     Output only. Target node type for the instance.
    class UpdateInfo
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Backups that stored in Cloud Storage buckets.
  # The Cloud Storage buckets need to be the same region as the instances.
  # @!attribute [rw] uris
  #   @return [::Array<::String>]
  #     Optional. Example: gs://bucket1/object1, gs://bucket2/folder2/object2
  class GcsBackupSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Backups that generated and managed by memorystore.
  # @!attribute [rw] backup
  #   @return [::String]
  #     Optional. Example:
  #     //memorystore.googleapis.com/projects/\\{project}/locations/\\{location}/backupCollections/\\{collection}/backups/\\{backup}
  #     A shorter version (without the prefix) of the backup name is also
  #     supported, like
  #     projects/\\{project}/locations/\\{location}/backupCollections/\\{collection}/backups/\\{backup_id}
  #     In this case, it assumes the backup is under memorystore.googleapis.com.
  class ManagedBackupSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  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::V1::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::V1::PscAutoConnection]
  #     Immutable. 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::V1::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
  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
end

#psc_attachment_details::Array<::Google::Cloud::Memorystore::V1::PscAttachmentDetail> (readonly)

Returns Output only. Service attachment details to configure PSC connections.

Returns:



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
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
# File 'proto_docs/google/cloud/memorystore/v1/memorystore.rb', line 179

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::V1::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.
    # @!attribute [r] target_engine_version
    #   @return [::String]
    #     Output only. Target engine version for the instance.
    # @!attribute [r] target_node_type
    #   @return [::Google::Cloud::Memorystore::V1::Instance::NodeType]
    #     Output only. Target node type for the instance.
    class UpdateInfo
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Backups that stored in Cloud Storage buckets.
  # The Cloud Storage buckets need to be the same region as the instances.
  # @!attribute [rw] uris
  #   @return [::Array<::String>]
  #     Optional. Example: gs://bucket1/object1, gs://bucket2/folder2/object2
  class GcsBackupSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Backups that generated and managed by memorystore.
  # @!attribute [rw] backup
  #   @return [::String]
  #     Optional. Example:
  #     //memorystore.googleapis.com/projects/\\{project}/locations/\\{location}/backupCollections/\\{collection}/backups/\\{backup}
  #     A shorter version (without the prefix) of the backup name is also
  #     supported, like
  #     projects/\\{project}/locations/\\{location}/backupCollections/\\{collection}/backups/\\{backup_id}
  #     In this case, it assumes the backup is under memorystore.googleapis.com.
  class ManagedBackupSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  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::V1::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::V1::PscAutoConnection]
  #     Immutable. 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::V1::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
  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
end

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

Deprecated.

This field is deprecated and may be removed in the next major version update.

Returns Optional. Immutable. Deprecated: Use the endpoints.connections.psc_auto_connection value instead.

Returns:



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
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
# File 'proto_docs/google/cloud/memorystore/v1/memorystore.rb', line 179

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::V1::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.
    # @!attribute [r] target_engine_version
    #   @return [::String]
    #     Output only. Target engine version for the instance.
    # @!attribute [r] target_node_type
    #   @return [::Google::Cloud::Memorystore::V1::Instance::NodeType]
    #     Output only. Target node type for the instance.
    class UpdateInfo
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Backups that stored in Cloud Storage buckets.
  # The Cloud Storage buckets need to be the same region as the instances.
  # @!attribute [rw] uris
  #   @return [::Array<::String>]
  #     Optional. Example: gs://bucket1/object1, gs://bucket2/folder2/object2
  class GcsBackupSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Backups that generated and managed by memorystore.
  # @!attribute [rw] backup
  #   @return [::String]
  #     Optional. Example:
  #     //memorystore.googleapis.com/projects/\\{project}/locations/\\{location}/backupCollections/\\{collection}/backups/\\{backup}
  #     A shorter version (without the prefix) of the backup name is also
  #     supported, like
  #     projects/\\{project}/locations/\\{location}/backupCollections/\\{collection}/backups/\\{backup_id}
  #     In this case, it assumes the backup is under memorystore.googleapis.com.
  class ManagedBackupSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  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::V1::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::V1::PscAutoConnection]
  #     Immutable. 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::V1::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
  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
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.



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
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
# File 'proto_docs/google/cloud/memorystore/v1/memorystore.rb', line 179

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::V1::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.
    # @!attribute [r] target_engine_version
    #   @return [::String]
    #     Output only. Target engine version for the instance.
    # @!attribute [r] target_node_type
    #   @return [::Google::Cloud::Memorystore::V1::Instance::NodeType]
    #     Output only. Target node type for the instance.
    class UpdateInfo
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Backups that stored in Cloud Storage buckets.
  # The Cloud Storage buckets need to be the same region as the instances.
  # @!attribute [rw] uris
  #   @return [::Array<::String>]
  #     Optional. Example: gs://bucket1/object1, gs://bucket2/folder2/object2
  class GcsBackupSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Backups that generated and managed by memorystore.
  # @!attribute [rw] backup
  #   @return [::String]
  #     Optional. Example:
  #     //memorystore.googleapis.com/projects/\\{project}/locations/\\{location}/backupCollections/\\{collection}/backups/\\{backup}
  #     A shorter version (without the prefix) of the backup name is also
  #     supported, like
  #     projects/\\{project}/locations/\\{location}/backupCollections/\\{collection}/backups/\\{backup_id}
  #     In this case, it assumes the backup is under memorystore.googleapis.com.
  class ManagedBackupSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  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::V1::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::V1::PscAutoConnection]
  #     Immutable. 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::V1::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
  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
end

#satisfies_pzi::Boolean (readonly)

Returns Optional. Output only. Reserved for future use.

Returns:

  • (::Boolean)

    Optional. Output only. Reserved for future use.



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
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
# File 'proto_docs/google/cloud/memorystore/v1/memorystore.rb', line 179

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::V1::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.
    # @!attribute [r] target_engine_version
    #   @return [::String]
    #     Output only. Target engine version for the instance.
    # @!attribute [r] target_node_type
    #   @return [::Google::Cloud::Memorystore::V1::Instance::NodeType]
    #     Output only. Target node type for the instance.
    class UpdateInfo
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Backups that stored in Cloud Storage buckets.
  # The Cloud Storage buckets need to be the same region as the instances.
  # @!attribute [rw] uris
  #   @return [::Array<::String>]
  #     Optional. Example: gs://bucket1/object1, gs://bucket2/folder2/object2
  class GcsBackupSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Backups that generated and managed by memorystore.
  # @!attribute [rw] backup
  #   @return [::String]
  #     Optional. Example:
  #     //memorystore.googleapis.com/projects/\\{project}/locations/\\{location}/backupCollections/\\{collection}/backups/\\{backup}
  #     A shorter version (without the prefix) of the backup name is also
  #     supported, like
  #     projects/\\{project}/locations/\\{location}/backupCollections/\\{collection}/backups/\\{backup_id}
  #     In this case, it assumes the backup is under memorystore.googleapis.com.
  class ManagedBackupSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  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::V1::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::V1::PscAutoConnection]
  #     Immutable. 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::V1::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
  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
end

#satisfies_pzs::Boolean (readonly)

Returns Optional. Output only. Reserved for future use.

Returns:

  • (::Boolean)

    Optional. Output only. Reserved for future use.



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
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
# File 'proto_docs/google/cloud/memorystore/v1/memorystore.rb', line 179

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::V1::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.
    # @!attribute [r] target_engine_version
    #   @return [::String]
    #     Output only. Target engine version for the instance.
    # @!attribute [r] target_node_type
    #   @return [::Google::Cloud::Memorystore::V1::Instance::NodeType]
    #     Output only. Target node type for the instance.
    class UpdateInfo
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Backups that stored in Cloud Storage buckets.
  # The Cloud Storage buckets need to be the same region as the instances.
  # @!attribute [rw] uris
  #   @return [::Array<::String>]
  #     Optional. Example: gs://bucket1/object1, gs://bucket2/folder2/object2
  class GcsBackupSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Backups that generated and managed by memorystore.
  # @!attribute [rw] backup
  #   @return [::String]
  #     Optional. Example:
  #     //memorystore.googleapis.com/projects/\\{project}/locations/\\{location}/backupCollections/\\{collection}/backups/\\{backup}
  #     A shorter version (without the prefix) of the backup name is also
  #     supported, like
  #     projects/\\{project}/locations/\\{location}/backupCollections/\\{collection}/backups/\\{backup_id}
  #     In this case, it assumes the backup is under memorystore.googleapis.com.
  class ManagedBackupSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  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::V1::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::V1::PscAutoConnection]
  #     Immutable. 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::V1::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
  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
end

#shard_count::Integer

Returns Optional. Number of shards for the instance.

Returns:

  • (::Integer)

    Optional. Number of shards for the instance.



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
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
# File 'proto_docs/google/cloud/memorystore/v1/memorystore.rb', line 179

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::V1::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.
    # @!attribute [r] target_engine_version
    #   @return [::String]
    #     Output only. Target engine version for the instance.
    # @!attribute [r] target_node_type
    #   @return [::Google::Cloud::Memorystore::V1::Instance::NodeType]
    #     Output only. Target node type for the instance.
    class UpdateInfo
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Backups that stored in Cloud Storage buckets.
  # The Cloud Storage buckets need to be the same region as the instances.
  # @!attribute [rw] uris
  #   @return [::Array<::String>]
  #     Optional. Example: gs://bucket1/object1, gs://bucket2/folder2/object2
  class GcsBackupSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Backups that generated and managed by memorystore.
  # @!attribute [rw] backup
  #   @return [::String]
  #     Optional. Example:
  #     //memorystore.googleapis.com/projects/\\{project}/locations/\\{location}/backupCollections/\\{collection}/backups/\\{backup}
  #     A shorter version (without the prefix) of the backup name is also
  #     supported, like
  #     projects/\\{project}/locations/\\{location}/backupCollections/\\{collection}/backups/\\{backup_id}
  #     In this case, it assumes the backup is under memorystore.googleapis.com.
  class ManagedBackupSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  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::V1::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::V1::PscAutoConnection]
  #     Immutable. 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::V1::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
  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
end

#simulate_maintenance_event::Boolean

Returns Optional. Input only. Simulate a maintenance event.

Returns:

  • (::Boolean)

    Optional. Input only. Simulate a maintenance event.



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
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
# File 'proto_docs/google/cloud/memorystore/v1/memorystore.rb', line 179

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::V1::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.
    # @!attribute [r] target_engine_version
    #   @return [::String]
    #     Output only. Target engine version for the instance.
    # @!attribute [r] target_node_type
    #   @return [::Google::Cloud::Memorystore::V1::Instance::NodeType]
    #     Output only. Target node type for the instance.
    class UpdateInfo
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Backups that stored in Cloud Storage buckets.
  # The Cloud Storage buckets need to be the same region as the instances.
  # @!attribute [rw] uris
  #   @return [::Array<::String>]
  #     Optional. Example: gs://bucket1/object1, gs://bucket2/folder2/object2
  class GcsBackupSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Backups that generated and managed by memorystore.
  # @!attribute [rw] backup
  #   @return [::String]
  #     Optional. Example:
  #     //memorystore.googleapis.com/projects/\\{project}/locations/\\{location}/backupCollections/\\{collection}/backups/\\{backup}
  #     A shorter version (without the prefix) of the backup name is also
  #     supported, like
  #     projects/\\{project}/locations/\\{location}/backupCollections/\\{collection}/backups/\\{backup_id}
  #     In this case, it assumes the backup is under memorystore.googleapis.com.
  class ManagedBackupSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  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::V1::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::V1::PscAutoConnection]
  #     Immutable. 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::V1::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
  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
end

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

Returns Output only. Current state of the instance.

Returns:



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
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
# File 'proto_docs/google/cloud/memorystore/v1/memorystore.rb', line 179

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::V1::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.
    # @!attribute [r] target_engine_version
    #   @return [::String]
    #     Output only. Target engine version for the instance.
    # @!attribute [r] target_node_type
    #   @return [::Google::Cloud::Memorystore::V1::Instance::NodeType]
    #     Output only. Target node type for the instance.
    class UpdateInfo
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Backups that stored in Cloud Storage buckets.
  # The Cloud Storage buckets need to be the same region as the instances.
  # @!attribute [rw] uris
  #   @return [::Array<::String>]
  #     Optional. Example: gs://bucket1/object1, gs://bucket2/folder2/object2
  class GcsBackupSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Backups that generated and managed by memorystore.
  # @!attribute [rw] backup
  #   @return [::String]
  #     Optional. Example:
  #     //memorystore.googleapis.com/projects/\\{project}/locations/\\{location}/backupCollections/\\{collection}/backups/\\{backup}
  #     A shorter version (without the prefix) of the backup name is also
  #     supported, like
  #     projects/\\{project}/locations/\\{location}/backupCollections/\\{collection}/backups/\\{backup_id}
  #     In this case, it assumes the backup is under memorystore.googleapis.com.
  class ManagedBackupSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  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::V1::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::V1::PscAutoConnection]
  #     Immutable. 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::V1::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
  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
end

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

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

Returns:



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
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
# File 'proto_docs/google/cloud/memorystore/v1/memorystore.rb', line 179

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::V1::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.
    # @!attribute [r] target_engine_version
    #   @return [::String]
    #     Output only. Target engine version for the instance.
    # @!attribute [r] target_node_type
    #   @return [::Google::Cloud::Memorystore::V1::Instance::NodeType]
    #     Output only. Target node type for the instance.
    class UpdateInfo
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Backups that stored in Cloud Storage buckets.
  # The Cloud Storage buckets need to be the same region as the instances.
  # @!attribute [rw] uris
  #   @return [::Array<::String>]
  #     Optional. Example: gs://bucket1/object1, gs://bucket2/folder2/object2
  class GcsBackupSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Backups that generated and managed by memorystore.
  # @!attribute [rw] backup
  #   @return [::String]
  #     Optional. Example:
  #     //memorystore.googleapis.com/projects/\\{project}/locations/\\{location}/backupCollections/\\{collection}/backups/\\{backup}
  #     A shorter version (without the prefix) of the backup name is also
  #     supported, like
  #     projects/\\{project}/locations/\\{location}/backupCollections/\\{collection}/backups/\\{backup_id}
  #     In this case, it assumes the backup is under memorystore.googleapis.com.
  class ManagedBackupSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  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::V1::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::V1::PscAutoConnection]
  #     Immutable. 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::V1::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
  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
end

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

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

Returns:



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
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
# File 'proto_docs/google/cloud/memorystore/v1/memorystore.rb', line 179

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::V1::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.
    # @!attribute [r] target_engine_version
    #   @return [::String]
    #     Output only. Target engine version for the instance.
    # @!attribute [r] target_node_type
    #   @return [::Google::Cloud::Memorystore::V1::Instance::NodeType]
    #     Output only. Target node type for the instance.
    class UpdateInfo
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Backups that stored in Cloud Storage buckets.
  # The Cloud Storage buckets need to be the same region as the instances.
  # @!attribute [rw] uris
  #   @return [::Array<::String>]
  #     Optional. Example: gs://bucket1/object1, gs://bucket2/folder2/object2
  class GcsBackupSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Backups that generated and managed by memorystore.
  # @!attribute [rw] backup
  #   @return [::String]
  #     Optional. Example:
  #     //memorystore.googleapis.com/projects/\\{project}/locations/\\{location}/backupCollections/\\{collection}/backups/\\{backup}
  #     A shorter version (without the prefix) of the backup name is also
  #     supported, like
  #     projects/\\{project}/locations/\\{location}/backupCollections/\\{collection}/backups/\\{backup_id}
  #     In this case, it assumes the backup is under memorystore.googleapis.com.
  class ManagedBackupSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  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::V1::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::V1::PscAutoConnection]
  #     Immutable. 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::V1::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
  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
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.



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
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
# File 'proto_docs/google/cloud/memorystore/v1/memorystore.rb', line 179

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::V1::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.
    # @!attribute [r] target_engine_version
    #   @return [::String]
    #     Output only. Target engine version for the instance.
    # @!attribute [r] target_node_type
    #   @return [::Google::Cloud::Memorystore::V1::Instance::NodeType]
    #     Output only. Target node type for the instance.
    class UpdateInfo
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Backups that stored in Cloud Storage buckets.
  # The Cloud Storage buckets need to be the same region as the instances.
  # @!attribute [rw] uris
  #   @return [::Array<::String>]
  #     Optional. Example: gs://bucket1/object1, gs://bucket2/folder2/object2
  class GcsBackupSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Backups that generated and managed by memorystore.
  # @!attribute [rw] backup
  #   @return [::String]
  #     Optional. Example:
  #     //memorystore.googleapis.com/projects/\\{project}/locations/\\{location}/backupCollections/\\{collection}/backups/\\{backup}
  #     A shorter version (without the prefix) of the backup name is also
  #     supported, like
  #     projects/\\{project}/locations/\\{location}/backupCollections/\\{collection}/backups/\\{backup_id}
  #     In this case, it assumes the backup is under memorystore.googleapis.com.
  class ManagedBackupSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  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::V1::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::V1::PscAutoConnection]
  #     Immutable. 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::V1::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
  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
end

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

Returns Output only. Latest update timestamp of the instance.

Returns:



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
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
# File 'proto_docs/google/cloud/memorystore/v1/memorystore.rb', line 179

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::V1::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.
    # @!attribute [r] target_engine_version
    #   @return [::String]
    #     Output only. Target engine version for the instance.
    # @!attribute [r] target_node_type
    #   @return [::Google::Cloud::Memorystore::V1::Instance::NodeType]
    #     Output only. Target node type for the instance.
    class UpdateInfo
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Backups that stored in Cloud Storage buckets.
  # The Cloud Storage buckets need to be the same region as the instances.
  # @!attribute [rw] uris
  #   @return [::Array<::String>]
  #     Optional. Example: gs://bucket1/object1, gs://bucket2/folder2/object2
  class GcsBackupSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Backups that generated and managed by memorystore.
  # @!attribute [rw] backup
  #   @return [::String]
  #     Optional. Example:
  #     //memorystore.googleapis.com/projects/\\{project}/locations/\\{location}/backupCollections/\\{collection}/backups/\\{backup}
  #     A shorter version (without the prefix) of the backup name is also
  #     supported, like
  #     projects/\\{project}/locations/\\{location}/backupCollections/\\{collection}/backups/\\{backup_id}
  #     In this case, it assumes the backup is under memorystore.googleapis.com.
  class ManagedBackupSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  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::V1::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::V1::PscAutoConnection]
  #     Immutable. 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::V1::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
  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
end

#zone_distribution_config::Google::Cloud::Memorystore::V1::ZoneDistributionConfig

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

Returns:



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
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
# File 'proto_docs/google/cloud/memorystore/v1/memorystore.rb', line 179

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::V1::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.
    # @!attribute [r] target_engine_version
    #   @return [::String]
    #     Output only. Target engine version for the instance.
    # @!attribute [r] target_node_type
    #   @return [::Google::Cloud::Memorystore::V1::Instance::NodeType]
    #     Output only. Target node type for the instance.
    class UpdateInfo
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Backups that stored in Cloud Storage buckets.
  # The Cloud Storage buckets need to be the same region as the instances.
  # @!attribute [rw] uris
  #   @return [::Array<::String>]
  #     Optional. Example: gs://bucket1/object1, gs://bucket2/folder2/object2
  class GcsBackupSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Backups that generated and managed by memorystore.
  # @!attribute [rw] backup
  #   @return [::String]
  #     Optional. Example:
  #     //memorystore.googleapis.com/projects/\\{project}/locations/\\{location}/backupCollections/\\{collection}/backups/\\{backup}
  #     A shorter version (without the prefix) of the backup name is also
  #     supported, like
  #     projects/\\{project}/locations/\\{location}/backupCollections/\\{collection}/backups/\\{backup_id}
  #     In this case, it assumes the backup is under memorystore.googleapis.com.
  class ManagedBackupSource
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  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::V1::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::V1::PscAutoConnection]
  #     Immutable. 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::V1::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
  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
end