Class: Google::Cloud::AlloyDB::V1::Cluster
- Inherits:
-
Object
- Object
- Google::Cloud::AlloyDB::V1::Cluster
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/alloydb/v1/resources.rb
Overview
A cluster is a collection of regional AlloyDB resources. It can include a primary instance and one or more read pool instances. All cluster resources share a storage layer, which scales as needed.
Defined Under Namespace
Modules: ClusterType, State Classes: AnnotationsEntry, LabelsEntry, PrimaryConfig, SecondaryConfig
Instance Attribute Summary collapse
-
#annotations ⇒ ::Google::Protobuf::Map{::String => ::String}
Annotations to allow client tools to store small amount of arbitrary data.
-
#automated_backup_policy ⇒ ::Google::Cloud::AlloyDB::V1::AutomatedBackupPolicy
The automated backup policy for this cluster.
-
#backup_source ⇒ ::Google::Cloud::AlloyDB::V1::BackupSource
readonly
Output only.
-
#cluster_type ⇒ ::Google::Cloud::AlloyDB::V1::Cluster::ClusterType
readonly
Output only.
-
#create_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#database_version ⇒ ::Google::Cloud::AlloyDB::V1::DatabaseVersion
readonly
Output only.
-
#delete_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#display_name ⇒ ::String
User-settable and human-readable display name for the Cluster.
-
#encryption_config ⇒ ::Google::Cloud::AlloyDB::V1::EncryptionConfig
Optional.
-
#encryption_info ⇒ ::Google::Cloud::AlloyDB::V1::EncryptionInfo
readonly
Output only.
-
#etag ⇒ ::String
For Resource freshness validation (https://google.aip.dev/154).
-
#initial_user ⇒ ::Google::Cloud::AlloyDB::V1::UserPassword
Input only.
-
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
Labels as key value pairs.
-
#migration_source ⇒ ::Google::Cloud::AlloyDB::V1::MigrationSource
readonly
Output only.
-
#name ⇒ ::String
readonly
Output only.
-
#network ⇒ ::String
Required.
-
#primary_config ⇒ ::Google::Cloud::AlloyDB::V1::Cluster::PrimaryConfig
readonly
Output only.
-
#reconciling ⇒ ::Boolean
readonly
Output only.
-
#secondary_config ⇒ ::Google::Cloud::AlloyDB::V1::Cluster::SecondaryConfig
Cross Region replication config specific to SECONDARY cluster.
-
#ssl_config ⇒ ::Google::Cloud::AlloyDB::V1::SslConfig
SSL configuration for this AlloyDB Cluster.
-
#state ⇒ ::Google::Cloud::AlloyDB::V1::Cluster::State
readonly
Output only.
-
#uid ⇒ ::String
readonly
Output only.
-
#update_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
Instance Attribute Details
#annotations ⇒ ::Google::Protobuf::Map{::String => ::String}
Returns Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128.
363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 |
# File 'proto_docs/google/cloud/alloydb/v1/resources.rb', line 363 class Cluster include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Configuration information for the secondary cluster. This should be set # if and only if the cluster is of type SECONDARY. # @!attribute [rw] primary_cluster_name # @return [::String] # The name of the primary cluster name with the format: # * projects/\\{project}/locations/\\{region}/clusters/\\{cluster_id} class SecondaryConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Configuration for the primary cluster. It has the list of clusters that are # replicating from this cluster. This should be set if and only if the # cluster is of type PRIMARY. # @!attribute [r] secondary_cluster_names # @return [::Array<::String>] # Output only. Names of the clusters that are replicating from this # cluster. class PrimaryConfig 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 AnnotationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Cluster State module State # The state of the cluster is unknown. STATE_UNSPECIFIED = 0 # The cluster is active and running. READY = 1 # The cluster is stopped. All instances in the cluster are stopped. # Customers can start a stopped cluster at any point and all their # instances will come back to life with same names and IP resources. In # this state, customer pays for storage. # Associated backups could also be present in a stopped cluster. STOPPED = 2 # The cluster is empty and has no associated resources. # All instances, associated storage and backups have been deleted. EMPTY = 3 # The cluster is being created. CREATING = 4 # The cluster is being deleted. DELETING = 5 # The creation of the cluster failed. FAILED = 6 # The cluster is bootstrapping with data from some other source. # Direct mutations to the cluster (e.g. adding read pool) are not allowed. BOOTSTRAPPING = 7 # The cluster is under maintenance. AlloyDB regularly performs maintenance # and upgrades on customer clusters. Updates on the cluster are # not allowed while the cluster is in this state. MAINTENANCE = 8 # The cluster is being promoted. PROMOTING = 9 end # Type of Cluster module ClusterType # The type of the cluster is unknown. CLUSTER_TYPE_UNSPECIFIED = 0 # Primary cluster that support read and write operations. PRIMARY = 1 # Secondary cluster that is replicating from another region. # This only supports read. SECONDARY = 2 end end |
#automated_backup_policy ⇒ ::Google::Cloud::AlloyDB::V1::AutomatedBackupPolicy
Returns The automated backup policy for this cluster.
If no policy is provided then the default policy will be used. If backups are supported for the cluster, the default policy takes one backup a day, has a backup window of 1 hour, and retains backups for 14 days. For more information on the defaults, consult the documentation for the message type.
363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 |
# File 'proto_docs/google/cloud/alloydb/v1/resources.rb', line 363 class Cluster include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Configuration information for the secondary cluster. This should be set # if and only if the cluster is of type SECONDARY. # @!attribute [rw] primary_cluster_name # @return [::String] # The name of the primary cluster name with the format: # * projects/\\{project}/locations/\\{region}/clusters/\\{cluster_id} class SecondaryConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Configuration for the primary cluster. It has the list of clusters that are # replicating from this cluster. This should be set if and only if the # cluster is of type PRIMARY. # @!attribute [r] secondary_cluster_names # @return [::Array<::String>] # Output only. Names of the clusters that are replicating from this # cluster. class PrimaryConfig 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 AnnotationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Cluster State module State # The state of the cluster is unknown. STATE_UNSPECIFIED = 0 # The cluster is active and running. READY = 1 # The cluster is stopped. All instances in the cluster are stopped. # Customers can start a stopped cluster at any point and all their # instances will come back to life with same names and IP resources. In # this state, customer pays for storage. # Associated backups could also be present in a stopped cluster. STOPPED = 2 # The cluster is empty and has no associated resources. # All instances, associated storage and backups have been deleted. EMPTY = 3 # The cluster is being created. CREATING = 4 # The cluster is being deleted. DELETING = 5 # The creation of the cluster failed. FAILED = 6 # The cluster is bootstrapping with data from some other source. # Direct mutations to the cluster (e.g. adding read pool) are not allowed. BOOTSTRAPPING = 7 # The cluster is under maintenance. AlloyDB regularly performs maintenance # and upgrades on customer clusters. Updates on the cluster are # not allowed while the cluster is in this state. MAINTENANCE = 8 # The cluster is being promoted. PROMOTING = 9 end # Type of Cluster module ClusterType # The type of the cluster is unknown. CLUSTER_TYPE_UNSPECIFIED = 0 # Primary cluster that support read and write operations. PRIMARY = 1 # Secondary cluster that is replicating from another region. # This only supports read. SECONDARY = 2 end end |
#backup_source ⇒ ::Google::Cloud::AlloyDB::V1::BackupSource (readonly)
Returns Output only. Cluster created from backup.
363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 |
# File 'proto_docs/google/cloud/alloydb/v1/resources.rb', line 363 class Cluster include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Configuration information for the secondary cluster. This should be set # if and only if the cluster is of type SECONDARY. # @!attribute [rw] primary_cluster_name # @return [::String] # The name of the primary cluster name with the format: # * projects/\\{project}/locations/\\{region}/clusters/\\{cluster_id} class SecondaryConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Configuration for the primary cluster. It has the list of clusters that are # replicating from this cluster. This should be set if and only if the # cluster is of type PRIMARY. # @!attribute [r] secondary_cluster_names # @return [::Array<::String>] # Output only. Names of the clusters that are replicating from this # cluster. class PrimaryConfig 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 AnnotationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Cluster State module State # The state of the cluster is unknown. STATE_UNSPECIFIED = 0 # The cluster is active and running. READY = 1 # The cluster is stopped. All instances in the cluster are stopped. # Customers can start a stopped cluster at any point and all their # instances will come back to life with same names and IP resources. In # this state, customer pays for storage. # Associated backups could also be present in a stopped cluster. STOPPED = 2 # The cluster is empty and has no associated resources. # All instances, associated storage and backups have been deleted. EMPTY = 3 # The cluster is being created. CREATING = 4 # The cluster is being deleted. DELETING = 5 # The creation of the cluster failed. FAILED = 6 # The cluster is bootstrapping with data from some other source. # Direct mutations to the cluster (e.g. adding read pool) are not allowed. BOOTSTRAPPING = 7 # The cluster is under maintenance. AlloyDB regularly performs maintenance # and upgrades on customer clusters. Updates on the cluster are # not allowed while the cluster is in this state. MAINTENANCE = 8 # The cluster is being promoted. PROMOTING = 9 end # Type of Cluster module ClusterType # The type of the cluster is unknown. CLUSTER_TYPE_UNSPECIFIED = 0 # Primary cluster that support read and write operations. PRIMARY = 1 # Secondary cluster that is replicating from another region. # This only supports read. SECONDARY = 2 end end |
#cluster_type ⇒ ::Google::Cloud::AlloyDB::V1::Cluster::ClusterType (readonly)
Returns Output only. The type of the cluster. This is an output-only field and it's
populated at the Cluster creation time or the Cluster promotion
time. The cluster type is determined by which RPC was used to create
the cluster (i.e. CreateCluster vs. CreateSecondaryCluster.
363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 |
# File 'proto_docs/google/cloud/alloydb/v1/resources.rb', line 363 class Cluster include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Configuration information for the secondary cluster. This should be set # if and only if the cluster is of type SECONDARY. # @!attribute [rw] primary_cluster_name # @return [::String] # The name of the primary cluster name with the format: # * projects/\\{project}/locations/\\{region}/clusters/\\{cluster_id} class SecondaryConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Configuration for the primary cluster. It has the list of clusters that are # replicating from this cluster. This should be set if and only if the # cluster is of type PRIMARY. # @!attribute [r] secondary_cluster_names # @return [::Array<::String>] # Output only. Names of the clusters that are replicating from this # cluster. class PrimaryConfig 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 AnnotationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Cluster State module State # The state of the cluster is unknown. STATE_UNSPECIFIED = 0 # The cluster is active and running. READY = 1 # The cluster is stopped. All instances in the cluster are stopped. # Customers can start a stopped cluster at any point and all their # instances will come back to life with same names and IP resources. In # this state, customer pays for storage. # Associated backups could also be present in a stopped cluster. STOPPED = 2 # The cluster is empty and has no associated resources. # All instances, associated storage and backups have been deleted. EMPTY = 3 # The cluster is being created. CREATING = 4 # The cluster is being deleted. DELETING = 5 # The creation of the cluster failed. FAILED = 6 # The cluster is bootstrapping with data from some other source. # Direct mutations to the cluster (e.g. adding read pool) are not allowed. BOOTSTRAPPING = 7 # The cluster is under maintenance. AlloyDB regularly performs maintenance # and upgrades on customer clusters. Updates on the cluster are # not allowed while the cluster is in this state. MAINTENANCE = 8 # The cluster is being promoted. PROMOTING = 9 end # Type of Cluster module ClusterType # The type of the cluster is unknown. CLUSTER_TYPE_UNSPECIFIED = 0 # Primary cluster that support read and write operations. PRIMARY = 1 # Secondary cluster that is replicating from another region. # This only supports read. SECONDARY = 2 end end |
#create_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. Create time stamp.
363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 |
# File 'proto_docs/google/cloud/alloydb/v1/resources.rb', line 363 class Cluster include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Configuration information for the secondary cluster. This should be set # if and only if the cluster is of type SECONDARY. # @!attribute [rw] primary_cluster_name # @return [::String] # The name of the primary cluster name with the format: # * projects/\\{project}/locations/\\{region}/clusters/\\{cluster_id} class SecondaryConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Configuration for the primary cluster. It has the list of clusters that are # replicating from this cluster. This should be set if and only if the # cluster is of type PRIMARY. # @!attribute [r] secondary_cluster_names # @return [::Array<::String>] # Output only. Names of the clusters that are replicating from this # cluster. class PrimaryConfig 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 AnnotationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Cluster State module State # The state of the cluster is unknown. STATE_UNSPECIFIED = 0 # The cluster is active and running. READY = 1 # The cluster is stopped. All instances in the cluster are stopped. # Customers can start a stopped cluster at any point and all their # instances will come back to life with same names and IP resources. In # this state, customer pays for storage. # Associated backups could also be present in a stopped cluster. STOPPED = 2 # The cluster is empty and has no associated resources. # All instances, associated storage and backups have been deleted. EMPTY = 3 # The cluster is being created. CREATING = 4 # The cluster is being deleted. DELETING = 5 # The creation of the cluster failed. FAILED = 6 # The cluster is bootstrapping with data from some other source. # Direct mutations to the cluster (e.g. adding read pool) are not allowed. BOOTSTRAPPING = 7 # The cluster is under maintenance. AlloyDB regularly performs maintenance # and upgrades on customer clusters. Updates on the cluster are # not allowed while the cluster is in this state. MAINTENANCE = 8 # The cluster is being promoted. PROMOTING = 9 end # Type of Cluster module ClusterType # The type of the cluster is unknown. CLUSTER_TYPE_UNSPECIFIED = 0 # Primary cluster that support read and write operations. PRIMARY = 1 # Secondary cluster that is replicating from another region. # This only supports read. SECONDARY = 2 end end |
#database_version ⇒ ::Google::Cloud::AlloyDB::V1::DatabaseVersion (readonly)
Returns Output only. The database engine major version. This is an output-only field and it's populated at the Cluster creation time. This field cannot be changed after cluster creation.
363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 |
# File 'proto_docs/google/cloud/alloydb/v1/resources.rb', line 363 class Cluster include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Configuration information for the secondary cluster. This should be set # if and only if the cluster is of type SECONDARY. # @!attribute [rw] primary_cluster_name # @return [::String] # The name of the primary cluster name with the format: # * projects/\\{project}/locations/\\{region}/clusters/\\{cluster_id} class SecondaryConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Configuration for the primary cluster. It has the list of clusters that are # replicating from this cluster. This should be set if and only if the # cluster is of type PRIMARY. # @!attribute [r] secondary_cluster_names # @return [::Array<::String>] # Output only. Names of the clusters that are replicating from this # cluster. class PrimaryConfig 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 AnnotationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Cluster State module State # The state of the cluster is unknown. STATE_UNSPECIFIED = 0 # The cluster is active and running. READY = 1 # The cluster is stopped. All instances in the cluster are stopped. # Customers can start a stopped cluster at any point and all their # instances will come back to life with same names and IP resources. In # this state, customer pays for storage. # Associated backups could also be present in a stopped cluster. STOPPED = 2 # The cluster is empty and has no associated resources. # All instances, associated storage and backups have been deleted. EMPTY = 3 # The cluster is being created. CREATING = 4 # The cluster is being deleted. DELETING = 5 # The creation of the cluster failed. FAILED = 6 # The cluster is bootstrapping with data from some other source. # Direct mutations to the cluster (e.g. adding read pool) are not allowed. BOOTSTRAPPING = 7 # The cluster is under maintenance. AlloyDB regularly performs maintenance # and upgrades on customer clusters. Updates on the cluster are # not allowed while the cluster is in this state. MAINTENANCE = 8 # The cluster is being promoted. PROMOTING = 9 end # Type of Cluster module ClusterType # The type of the cluster is unknown. CLUSTER_TYPE_UNSPECIFIED = 0 # Primary cluster that support read and write operations. PRIMARY = 1 # Secondary cluster that is replicating from another region. # This only supports read. SECONDARY = 2 end end |
#delete_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. Delete time stamp.
363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 |
# File 'proto_docs/google/cloud/alloydb/v1/resources.rb', line 363 class Cluster include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Configuration information for the secondary cluster. This should be set # if and only if the cluster is of type SECONDARY. # @!attribute [rw] primary_cluster_name # @return [::String] # The name of the primary cluster name with the format: # * projects/\\{project}/locations/\\{region}/clusters/\\{cluster_id} class SecondaryConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Configuration for the primary cluster. It has the list of clusters that are # replicating from this cluster. This should be set if and only if the # cluster is of type PRIMARY. # @!attribute [r] secondary_cluster_names # @return [::Array<::String>] # Output only. Names of the clusters that are replicating from this # cluster. class PrimaryConfig 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 AnnotationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Cluster State module State # The state of the cluster is unknown. STATE_UNSPECIFIED = 0 # The cluster is active and running. READY = 1 # The cluster is stopped. All instances in the cluster are stopped. # Customers can start a stopped cluster at any point and all their # instances will come back to life with same names and IP resources. In # this state, customer pays for storage. # Associated backups could also be present in a stopped cluster. STOPPED = 2 # The cluster is empty and has no associated resources. # All instances, associated storage and backups have been deleted. EMPTY = 3 # The cluster is being created. CREATING = 4 # The cluster is being deleted. DELETING = 5 # The creation of the cluster failed. FAILED = 6 # The cluster is bootstrapping with data from some other source. # Direct mutations to the cluster (e.g. adding read pool) are not allowed. BOOTSTRAPPING = 7 # The cluster is under maintenance. AlloyDB regularly performs maintenance # and upgrades on customer clusters. Updates on the cluster are # not allowed while the cluster is in this state. MAINTENANCE = 8 # The cluster is being promoted. PROMOTING = 9 end # Type of Cluster module ClusterType # The type of the cluster is unknown. CLUSTER_TYPE_UNSPECIFIED = 0 # Primary cluster that support read and write operations. PRIMARY = 1 # Secondary cluster that is replicating from another region. # This only supports read. SECONDARY = 2 end end |
#display_name ⇒ ::String
Returns User-settable and human-readable display name for the Cluster.
363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 |
# File 'proto_docs/google/cloud/alloydb/v1/resources.rb', line 363 class Cluster include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Configuration information for the secondary cluster. This should be set # if and only if the cluster is of type SECONDARY. # @!attribute [rw] primary_cluster_name # @return [::String] # The name of the primary cluster name with the format: # * projects/\\{project}/locations/\\{region}/clusters/\\{cluster_id} class SecondaryConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Configuration for the primary cluster. It has the list of clusters that are # replicating from this cluster. This should be set if and only if the # cluster is of type PRIMARY. # @!attribute [r] secondary_cluster_names # @return [::Array<::String>] # Output only. Names of the clusters that are replicating from this # cluster. class PrimaryConfig 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 AnnotationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Cluster State module State # The state of the cluster is unknown. STATE_UNSPECIFIED = 0 # The cluster is active and running. READY = 1 # The cluster is stopped. All instances in the cluster are stopped. # Customers can start a stopped cluster at any point and all their # instances will come back to life with same names and IP resources. In # this state, customer pays for storage. # Associated backups could also be present in a stopped cluster. STOPPED = 2 # The cluster is empty and has no associated resources. # All instances, associated storage and backups have been deleted. EMPTY = 3 # The cluster is being created. CREATING = 4 # The cluster is being deleted. DELETING = 5 # The creation of the cluster failed. FAILED = 6 # The cluster is bootstrapping with data from some other source. # Direct mutations to the cluster (e.g. adding read pool) are not allowed. BOOTSTRAPPING = 7 # The cluster is under maintenance. AlloyDB regularly performs maintenance # and upgrades on customer clusters. Updates on the cluster are # not allowed while the cluster is in this state. MAINTENANCE = 8 # The cluster is being promoted. PROMOTING = 9 end # Type of Cluster module ClusterType # The type of the cluster is unknown. CLUSTER_TYPE_UNSPECIFIED = 0 # Primary cluster that support read and write operations. PRIMARY = 1 # Secondary cluster that is replicating from another region. # This only supports read. SECONDARY = 2 end end |
#encryption_config ⇒ ::Google::Cloud::AlloyDB::V1::EncryptionConfig
Returns Optional. The encryption config can be specified to encrypt the data disks and other persistent data resources of a cluster with a customer-managed encryption key (CMEK). When this field is not specified, the cluster will then use default encryption scheme to protect the user data.
363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 |
# File 'proto_docs/google/cloud/alloydb/v1/resources.rb', line 363 class Cluster include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Configuration information for the secondary cluster. This should be set # if and only if the cluster is of type SECONDARY. # @!attribute [rw] primary_cluster_name # @return [::String] # The name of the primary cluster name with the format: # * projects/\\{project}/locations/\\{region}/clusters/\\{cluster_id} class SecondaryConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Configuration for the primary cluster. It has the list of clusters that are # replicating from this cluster. This should be set if and only if the # cluster is of type PRIMARY. # @!attribute [r] secondary_cluster_names # @return [::Array<::String>] # Output only. Names of the clusters that are replicating from this # cluster. class PrimaryConfig 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 AnnotationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Cluster State module State # The state of the cluster is unknown. STATE_UNSPECIFIED = 0 # The cluster is active and running. READY = 1 # The cluster is stopped. All instances in the cluster are stopped. # Customers can start a stopped cluster at any point and all their # instances will come back to life with same names and IP resources. In # this state, customer pays for storage. # Associated backups could also be present in a stopped cluster. STOPPED = 2 # The cluster is empty and has no associated resources. # All instances, associated storage and backups have been deleted. EMPTY = 3 # The cluster is being created. CREATING = 4 # The cluster is being deleted. DELETING = 5 # The creation of the cluster failed. FAILED = 6 # The cluster is bootstrapping with data from some other source. # Direct mutations to the cluster (e.g. adding read pool) are not allowed. BOOTSTRAPPING = 7 # The cluster is under maintenance. AlloyDB regularly performs maintenance # and upgrades on customer clusters. Updates on the cluster are # not allowed while the cluster is in this state. MAINTENANCE = 8 # The cluster is being promoted. PROMOTING = 9 end # Type of Cluster module ClusterType # The type of the cluster is unknown. CLUSTER_TYPE_UNSPECIFIED = 0 # Primary cluster that support read and write operations. PRIMARY = 1 # Secondary cluster that is replicating from another region. # This only supports read. SECONDARY = 2 end end |
#encryption_info ⇒ ::Google::Cloud::AlloyDB::V1::EncryptionInfo (readonly)
Returns Output only. The encryption information for the cluster.
363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 |
# File 'proto_docs/google/cloud/alloydb/v1/resources.rb', line 363 class Cluster include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Configuration information for the secondary cluster. This should be set # if and only if the cluster is of type SECONDARY. # @!attribute [rw] primary_cluster_name # @return [::String] # The name of the primary cluster name with the format: # * projects/\\{project}/locations/\\{region}/clusters/\\{cluster_id} class SecondaryConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Configuration for the primary cluster. It has the list of clusters that are # replicating from this cluster. This should be set if and only if the # cluster is of type PRIMARY. # @!attribute [r] secondary_cluster_names # @return [::Array<::String>] # Output only. Names of the clusters that are replicating from this # cluster. class PrimaryConfig 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 AnnotationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Cluster State module State # The state of the cluster is unknown. STATE_UNSPECIFIED = 0 # The cluster is active and running. READY = 1 # The cluster is stopped. All instances in the cluster are stopped. # Customers can start a stopped cluster at any point and all their # instances will come back to life with same names and IP resources. In # this state, customer pays for storage. # Associated backups could also be present in a stopped cluster. STOPPED = 2 # The cluster is empty and has no associated resources. # All instances, associated storage and backups have been deleted. EMPTY = 3 # The cluster is being created. CREATING = 4 # The cluster is being deleted. DELETING = 5 # The creation of the cluster failed. FAILED = 6 # The cluster is bootstrapping with data from some other source. # Direct mutations to the cluster (e.g. adding read pool) are not allowed. BOOTSTRAPPING = 7 # The cluster is under maintenance. AlloyDB regularly performs maintenance # and upgrades on customer clusters. Updates on the cluster are # not allowed while the cluster is in this state. MAINTENANCE = 8 # The cluster is being promoted. PROMOTING = 9 end # Type of Cluster module ClusterType # The type of the cluster is unknown. CLUSTER_TYPE_UNSPECIFIED = 0 # Primary cluster that support read and write operations. PRIMARY = 1 # Secondary cluster that is replicating from another region. # This only supports read. SECONDARY = 2 end end |
#etag ⇒ ::String
Returns For Resource freshness validation (https://google.aip.dev/154).
363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 |
# File 'proto_docs/google/cloud/alloydb/v1/resources.rb', line 363 class Cluster include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Configuration information for the secondary cluster. This should be set # if and only if the cluster is of type SECONDARY. # @!attribute [rw] primary_cluster_name # @return [::String] # The name of the primary cluster name with the format: # * projects/\\{project}/locations/\\{region}/clusters/\\{cluster_id} class SecondaryConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Configuration for the primary cluster. It has the list of clusters that are # replicating from this cluster. This should be set if and only if the # cluster is of type PRIMARY. # @!attribute [r] secondary_cluster_names # @return [::Array<::String>] # Output only. Names of the clusters that are replicating from this # cluster. class PrimaryConfig 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 AnnotationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Cluster State module State # The state of the cluster is unknown. STATE_UNSPECIFIED = 0 # The cluster is active and running. READY = 1 # The cluster is stopped. All instances in the cluster are stopped. # Customers can start a stopped cluster at any point and all their # instances will come back to life with same names and IP resources. In # this state, customer pays for storage. # Associated backups could also be present in a stopped cluster. STOPPED = 2 # The cluster is empty and has no associated resources. # All instances, associated storage and backups have been deleted. EMPTY = 3 # The cluster is being created. CREATING = 4 # The cluster is being deleted. DELETING = 5 # The creation of the cluster failed. FAILED = 6 # The cluster is bootstrapping with data from some other source. # Direct mutations to the cluster (e.g. adding read pool) are not allowed. BOOTSTRAPPING = 7 # The cluster is under maintenance. AlloyDB regularly performs maintenance # and upgrades on customer clusters. Updates on the cluster are # not allowed while the cluster is in this state. MAINTENANCE = 8 # The cluster is being promoted. PROMOTING = 9 end # Type of Cluster module ClusterType # The type of the cluster is unknown. CLUSTER_TYPE_UNSPECIFIED = 0 # Primary cluster that support read and write operations. PRIMARY = 1 # Secondary cluster that is replicating from another region. # This only supports read. SECONDARY = 2 end end |
#initial_user ⇒ ::Google::Cloud::AlloyDB::V1::UserPassword
Returns Input only. Initial user to setup during cluster creation. Required.
If used in RestoreCluster this is ignored.
363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 |
# File 'proto_docs/google/cloud/alloydb/v1/resources.rb', line 363 class Cluster include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Configuration information for the secondary cluster. This should be set # if and only if the cluster is of type SECONDARY. # @!attribute [rw] primary_cluster_name # @return [::String] # The name of the primary cluster name with the format: # * projects/\\{project}/locations/\\{region}/clusters/\\{cluster_id} class SecondaryConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Configuration for the primary cluster. It has the list of clusters that are # replicating from this cluster. This should be set if and only if the # cluster is of type PRIMARY. # @!attribute [r] secondary_cluster_names # @return [::Array<::String>] # Output only. Names of the clusters that are replicating from this # cluster. class PrimaryConfig 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 AnnotationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Cluster State module State # The state of the cluster is unknown. STATE_UNSPECIFIED = 0 # The cluster is active and running. READY = 1 # The cluster is stopped. All instances in the cluster are stopped. # Customers can start a stopped cluster at any point and all their # instances will come back to life with same names and IP resources. In # this state, customer pays for storage. # Associated backups could also be present in a stopped cluster. STOPPED = 2 # The cluster is empty and has no associated resources. # All instances, associated storage and backups have been deleted. EMPTY = 3 # The cluster is being created. CREATING = 4 # The cluster is being deleted. DELETING = 5 # The creation of the cluster failed. FAILED = 6 # The cluster is bootstrapping with data from some other source. # Direct mutations to the cluster (e.g. adding read pool) are not allowed. BOOTSTRAPPING = 7 # The cluster is under maintenance. AlloyDB regularly performs maintenance # and upgrades on customer clusters. Updates on the cluster are # not allowed while the cluster is in this state. MAINTENANCE = 8 # The cluster is being promoted. PROMOTING = 9 end # Type of Cluster module ClusterType # The type of the cluster is unknown. CLUSTER_TYPE_UNSPECIFIED = 0 # Primary cluster that support read and write operations. PRIMARY = 1 # Secondary cluster that is replicating from another region. # This only supports read. SECONDARY = 2 end end |
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
Returns Labels as key value pairs.
363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 |
# File 'proto_docs/google/cloud/alloydb/v1/resources.rb', line 363 class Cluster include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Configuration information for the secondary cluster. This should be set # if and only if the cluster is of type SECONDARY. # @!attribute [rw] primary_cluster_name # @return [::String] # The name of the primary cluster name with the format: # * projects/\\{project}/locations/\\{region}/clusters/\\{cluster_id} class SecondaryConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Configuration for the primary cluster. It has the list of clusters that are # replicating from this cluster. This should be set if and only if the # cluster is of type PRIMARY. # @!attribute [r] secondary_cluster_names # @return [::Array<::String>] # Output only. Names of the clusters that are replicating from this # cluster. class PrimaryConfig 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 AnnotationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Cluster State module State # The state of the cluster is unknown. STATE_UNSPECIFIED = 0 # The cluster is active and running. READY = 1 # The cluster is stopped. All instances in the cluster are stopped. # Customers can start a stopped cluster at any point and all their # instances will come back to life with same names and IP resources. In # this state, customer pays for storage. # Associated backups could also be present in a stopped cluster. STOPPED = 2 # The cluster is empty and has no associated resources. # All instances, associated storage and backups have been deleted. EMPTY = 3 # The cluster is being created. CREATING = 4 # The cluster is being deleted. DELETING = 5 # The creation of the cluster failed. FAILED = 6 # The cluster is bootstrapping with data from some other source. # Direct mutations to the cluster (e.g. adding read pool) are not allowed. BOOTSTRAPPING = 7 # The cluster is under maintenance. AlloyDB regularly performs maintenance # and upgrades on customer clusters. Updates on the cluster are # not allowed while the cluster is in this state. MAINTENANCE = 8 # The cluster is being promoted. PROMOTING = 9 end # Type of Cluster module ClusterType # The type of the cluster is unknown. CLUSTER_TYPE_UNSPECIFIED = 0 # Primary cluster that support read and write operations. PRIMARY = 1 # Secondary cluster that is replicating from another region. # This only supports read. SECONDARY = 2 end end |
#migration_source ⇒ ::Google::Cloud::AlloyDB::V1::MigrationSource (readonly)
Returns Output only. Cluster created via DMS migration.
363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 |
# File 'proto_docs/google/cloud/alloydb/v1/resources.rb', line 363 class Cluster include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Configuration information for the secondary cluster. This should be set # if and only if the cluster is of type SECONDARY. # @!attribute [rw] primary_cluster_name # @return [::String] # The name of the primary cluster name with the format: # * projects/\\{project}/locations/\\{region}/clusters/\\{cluster_id} class SecondaryConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Configuration for the primary cluster. It has the list of clusters that are # replicating from this cluster. This should be set if and only if the # cluster is of type PRIMARY. # @!attribute [r] secondary_cluster_names # @return [::Array<::String>] # Output only. Names of the clusters that are replicating from this # cluster. class PrimaryConfig 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 AnnotationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Cluster State module State # The state of the cluster is unknown. STATE_UNSPECIFIED = 0 # The cluster is active and running. READY = 1 # The cluster is stopped. All instances in the cluster are stopped. # Customers can start a stopped cluster at any point and all their # instances will come back to life with same names and IP resources. In # this state, customer pays for storage. # Associated backups could also be present in a stopped cluster. STOPPED = 2 # The cluster is empty and has no associated resources. # All instances, associated storage and backups have been deleted. EMPTY = 3 # The cluster is being created. CREATING = 4 # The cluster is being deleted. DELETING = 5 # The creation of the cluster failed. FAILED = 6 # The cluster is bootstrapping with data from some other source. # Direct mutations to the cluster (e.g. adding read pool) are not allowed. BOOTSTRAPPING = 7 # The cluster is under maintenance. AlloyDB regularly performs maintenance # and upgrades on customer clusters. Updates on the cluster are # not allowed while the cluster is in this state. MAINTENANCE = 8 # The cluster is being promoted. PROMOTING = 9 end # Type of Cluster module ClusterType # The type of the cluster is unknown. CLUSTER_TYPE_UNSPECIFIED = 0 # Primary cluster that support read and write operations. PRIMARY = 1 # Secondary cluster that is replicating from another region. # This only supports read. SECONDARY = 2 end end |
#name ⇒ ::String (readonly)
Returns Output only. The name of the cluster resource with the format:
- projects/{project}/locations/{region}/clusters/{cluster_id}
where the cluster ID segment should satisfy the regex expression
[a-z0-9-]+. For more details see https://google.aip.dev/122. The prefix of the cluster resource name is the name of the parent resource: - projects/{project}/locations/{region}.
363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 |
# File 'proto_docs/google/cloud/alloydb/v1/resources.rb', line 363 class Cluster include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Configuration information for the secondary cluster. This should be set # if and only if the cluster is of type SECONDARY. # @!attribute [rw] primary_cluster_name # @return [::String] # The name of the primary cluster name with the format: # * projects/\\{project}/locations/\\{region}/clusters/\\{cluster_id} class SecondaryConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Configuration for the primary cluster. It has the list of clusters that are # replicating from this cluster. This should be set if and only if the # cluster is of type PRIMARY. # @!attribute [r] secondary_cluster_names # @return [::Array<::String>] # Output only. Names of the clusters that are replicating from this # cluster. class PrimaryConfig 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 AnnotationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Cluster State module State # The state of the cluster is unknown. STATE_UNSPECIFIED = 0 # The cluster is active and running. READY = 1 # The cluster is stopped. All instances in the cluster are stopped. # Customers can start a stopped cluster at any point and all their # instances will come back to life with same names and IP resources. In # this state, customer pays for storage. # Associated backups could also be present in a stopped cluster. STOPPED = 2 # The cluster is empty and has no associated resources. # All instances, associated storage and backups have been deleted. EMPTY = 3 # The cluster is being created. CREATING = 4 # The cluster is being deleted. DELETING = 5 # The creation of the cluster failed. FAILED = 6 # The cluster is bootstrapping with data from some other source. # Direct mutations to the cluster (e.g. adding read pool) are not allowed. BOOTSTRAPPING = 7 # The cluster is under maintenance. AlloyDB regularly performs maintenance # and upgrades on customer clusters. Updates on the cluster are # not allowed while the cluster is in this state. MAINTENANCE = 8 # The cluster is being promoted. PROMOTING = 9 end # Type of Cluster module ClusterType # The type of the cluster is unknown. CLUSTER_TYPE_UNSPECIFIED = 0 # Primary cluster that support read and write operations. PRIMARY = 1 # Secondary cluster that is replicating from another region. # This only supports read. SECONDARY = 2 end end |
#network ⇒ ::String
Returns Required. The resource link for the VPC network in which cluster resources are created and from which they are accessible via Private IP. The network must belong to the same project as the cluster. It is specified in the form: "projects/{project_number}/global/networks/{network_id}". This is required to create a cluster. It can be updated, but it cannot be removed.
363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 |
# File 'proto_docs/google/cloud/alloydb/v1/resources.rb', line 363 class Cluster include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Configuration information for the secondary cluster. This should be set # if and only if the cluster is of type SECONDARY. # @!attribute [rw] primary_cluster_name # @return [::String] # The name of the primary cluster name with the format: # * projects/\\{project}/locations/\\{region}/clusters/\\{cluster_id} class SecondaryConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Configuration for the primary cluster. It has the list of clusters that are # replicating from this cluster. This should be set if and only if the # cluster is of type PRIMARY. # @!attribute [r] secondary_cluster_names # @return [::Array<::String>] # Output only. Names of the clusters that are replicating from this # cluster. class PrimaryConfig 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 AnnotationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Cluster State module State # The state of the cluster is unknown. STATE_UNSPECIFIED = 0 # The cluster is active and running. READY = 1 # The cluster is stopped. All instances in the cluster are stopped. # Customers can start a stopped cluster at any point and all their # instances will come back to life with same names and IP resources. In # this state, customer pays for storage. # Associated backups could also be present in a stopped cluster. STOPPED = 2 # The cluster is empty and has no associated resources. # All instances, associated storage and backups have been deleted. EMPTY = 3 # The cluster is being created. CREATING = 4 # The cluster is being deleted. DELETING = 5 # The creation of the cluster failed. FAILED = 6 # The cluster is bootstrapping with data from some other source. # Direct mutations to the cluster (e.g. adding read pool) are not allowed. BOOTSTRAPPING = 7 # The cluster is under maintenance. AlloyDB regularly performs maintenance # and upgrades on customer clusters. Updates on the cluster are # not allowed while the cluster is in this state. MAINTENANCE = 8 # The cluster is being promoted. PROMOTING = 9 end # Type of Cluster module ClusterType # The type of the cluster is unknown. CLUSTER_TYPE_UNSPECIFIED = 0 # Primary cluster that support read and write operations. PRIMARY = 1 # Secondary cluster that is replicating from another region. # This only supports read. SECONDARY = 2 end end |
#primary_config ⇒ ::Google::Cloud::AlloyDB::V1::Cluster::PrimaryConfig (readonly)
Returns Output only. Cross Region replication config specific to PRIMARY cluster.
363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 |
# File 'proto_docs/google/cloud/alloydb/v1/resources.rb', line 363 class Cluster include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Configuration information for the secondary cluster. This should be set # if and only if the cluster is of type SECONDARY. # @!attribute [rw] primary_cluster_name # @return [::String] # The name of the primary cluster name with the format: # * projects/\\{project}/locations/\\{region}/clusters/\\{cluster_id} class SecondaryConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Configuration for the primary cluster. It has the list of clusters that are # replicating from this cluster. This should be set if and only if the # cluster is of type PRIMARY. # @!attribute [r] secondary_cluster_names # @return [::Array<::String>] # Output only. Names of the clusters that are replicating from this # cluster. class PrimaryConfig 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 AnnotationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Cluster State module State # The state of the cluster is unknown. STATE_UNSPECIFIED = 0 # The cluster is active and running. READY = 1 # The cluster is stopped. All instances in the cluster are stopped. # Customers can start a stopped cluster at any point and all their # instances will come back to life with same names and IP resources. In # this state, customer pays for storage. # Associated backups could also be present in a stopped cluster. STOPPED = 2 # The cluster is empty and has no associated resources. # All instances, associated storage and backups have been deleted. EMPTY = 3 # The cluster is being created. CREATING = 4 # The cluster is being deleted. DELETING = 5 # The creation of the cluster failed. FAILED = 6 # The cluster is bootstrapping with data from some other source. # Direct mutations to the cluster (e.g. adding read pool) are not allowed. BOOTSTRAPPING = 7 # The cluster is under maintenance. AlloyDB regularly performs maintenance # and upgrades on customer clusters. Updates on the cluster are # not allowed while the cluster is in this state. MAINTENANCE = 8 # The cluster is being promoted. PROMOTING = 9 end # Type of Cluster module ClusterType # The type of the cluster is unknown. CLUSTER_TYPE_UNSPECIFIED = 0 # Primary cluster that support read and write operations. PRIMARY = 1 # Secondary cluster that is replicating from another region. # This only supports read. SECONDARY = 2 end end |
#reconciling ⇒ ::Boolean (readonly)
Returns Output only. Reconciling (https://google.aip.dev/128#reconciliation). Set to true if the current state of Cluster does not match the user's intended state, and the service is actively updating the resource to reconcile them. This can happen due to user-triggered updates or system actions like failover or maintenance.
363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 |
# File 'proto_docs/google/cloud/alloydb/v1/resources.rb', line 363 class Cluster include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Configuration information for the secondary cluster. This should be set # if and only if the cluster is of type SECONDARY. # @!attribute [rw] primary_cluster_name # @return [::String] # The name of the primary cluster name with the format: # * projects/\\{project}/locations/\\{region}/clusters/\\{cluster_id} class SecondaryConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Configuration for the primary cluster. It has the list of clusters that are # replicating from this cluster. This should be set if and only if the # cluster is of type PRIMARY. # @!attribute [r] secondary_cluster_names # @return [::Array<::String>] # Output only. Names of the clusters that are replicating from this # cluster. class PrimaryConfig 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 AnnotationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Cluster State module State # The state of the cluster is unknown. STATE_UNSPECIFIED = 0 # The cluster is active and running. READY = 1 # The cluster is stopped. All instances in the cluster are stopped. # Customers can start a stopped cluster at any point and all their # instances will come back to life with same names and IP resources. In # this state, customer pays for storage. # Associated backups could also be present in a stopped cluster. STOPPED = 2 # The cluster is empty and has no associated resources. # All instances, associated storage and backups have been deleted. EMPTY = 3 # The cluster is being created. CREATING = 4 # The cluster is being deleted. DELETING = 5 # The creation of the cluster failed. FAILED = 6 # The cluster is bootstrapping with data from some other source. # Direct mutations to the cluster (e.g. adding read pool) are not allowed. BOOTSTRAPPING = 7 # The cluster is under maintenance. AlloyDB regularly performs maintenance # and upgrades on customer clusters. Updates on the cluster are # not allowed while the cluster is in this state. MAINTENANCE = 8 # The cluster is being promoted. PROMOTING = 9 end # Type of Cluster module ClusterType # The type of the cluster is unknown. CLUSTER_TYPE_UNSPECIFIED = 0 # Primary cluster that support read and write operations. PRIMARY = 1 # Secondary cluster that is replicating from another region. # This only supports read. SECONDARY = 2 end end |
#secondary_config ⇒ ::Google::Cloud::AlloyDB::V1::Cluster::SecondaryConfig
Returns Cross Region replication config specific to SECONDARY cluster.
363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 |
# File 'proto_docs/google/cloud/alloydb/v1/resources.rb', line 363 class Cluster include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Configuration information for the secondary cluster. This should be set # if and only if the cluster is of type SECONDARY. # @!attribute [rw] primary_cluster_name # @return [::String] # The name of the primary cluster name with the format: # * projects/\\{project}/locations/\\{region}/clusters/\\{cluster_id} class SecondaryConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Configuration for the primary cluster. It has the list of clusters that are # replicating from this cluster. This should be set if and only if the # cluster is of type PRIMARY. # @!attribute [r] secondary_cluster_names # @return [::Array<::String>] # Output only. Names of the clusters that are replicating from this # cluster. class PrimaryConfig 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 AnnotationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Cluster State module State # The state of the cluster is unknown. STATE_UNSPECIFIED = 0 # The cluster is active and running. READY = 1 # The cluster is stopped. All instances in the cluster are stopped. # Customers can start a stopped cluster at any point and all their # instances will come back to life with same names and IP resources. In # this state, customer pays for storage. # Associated backups could also be present in a stopped cluster. STOPPED = 2 # The cluster is empty and has no associated resources. # All instances, associated storage and backups have been deleted. EMPTY = 3 # The cluster is being created. CREATING = 4 # The cluster is being deleted. DELETING = 5 # The creation of the cluster failed. FAILED = 6 # The cluster is bootstrapping with data from some other source. # Direct mutations to the cluster (e.g. adding read pool) are not allowed. BOOTSTRAPPING = 7 # The cluster is under maintenance. AlloyDB regularly performs maintenance # and upgrades on customer clusters. Updates on the cluster are # not allowed while the cluster is in this state. MAINTENANCE = 8 # The cluster is being promoted. PROMOTING = 9 end # Type of Cluster module ClusterType # The type of the cluster is unknown. CLUSTER_TYPE_UNSPECIFIED = 0 # Primary cluster that support read and write operations. PRIMARY = 1 # Secondary cluster that is replicating from another region. # This only supports read. SECONDARY = 2 end end |
#ssl_config ⇒ ::Google::Cloud::AlloyDB::V1::SslConfig
Returns SSL configuration for this AlloyDB Cluster.
363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 |
# File 'proto_docs/google/cloud/alloydb/v1/resources.rb', line 363 class Cluster include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Configuration information for the secondary cluster. This should be set # if and only if the cluster is of type SECONDARY. # @!attribute [rw] primary_cluster_name # @return [::String] # The name of the primary cluster name with the format: # * projects/\\{project}/locations/\\{region}/clusters/\\{cluster_id} class SecondaryConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Configuration for the primary cluster. It has the list of clusters that are # replicating from this cluster. This should be set if and only if the # cluster is of type PRIMARY. # @!attribute [r] secondary_cluster_names # @return [::Array<::String>] # Output only. Names of the clusters that are replicating from this # cluster. class PrimaryConfig 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 AnnotationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Cluster State module State # The state of the cluster is unknown. STATE_UNSPECIFIED = 0 # The cluster is active and running. READY = 1 # The cluster is stopped. All instances in the cluster are stopped. # Customers can start a stopped cluster at any point and all their # instances will come back to life with same names and IP resources. In # this state, customer pays for storage. # Associated backups could also be present in a stopped cluster. STOPPED = 2 # The cluster is empty and has no associated resources. # All instances, associated storage and backups have been deleted. EMPTY = 3 # The cluster is being created. CREATING = 4 # The cluster is being deleted. DELETING = 5 # The creation of the cluster failed. FAILED = 6 # The cluster is bootstrapping with data from some other source. # Direct mutations to the cluster (e.g. adding read pool) are not allowed. BOOTSTRAPPING = 7 # The cluster is under maintenance. AlloyDB regularly performs maintenance # and upgrades on customer clusters. Updates on the cluster are # not allowed while the cluster is in this state. MAINTENANCE = 8 # The cluster is being promoted. PROMOTING = 9 end # Type of Cluster module ClusterType # The type of the cluster is unknown. CLUSTER_TYPE_UNSPECIFIED = 0 # Primary cluster that support read and write operations. PRIMARY = 1 # Secondary cluster that is replicating from another region. # This only supports read. SECONDARY = 2 end end |
#state ⇒ ::Google::Cloud::AlloyDB::V1::Cluster::State (readonly)
Returns Output only. The current serving state of the cluster.
363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 |
# File 'proto_docs/google/cloud/alloydb/v1/resources.rb', line 363 class Cluster include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Configuration information for the secondary cluster. This should be set # if and only if the cluster is of type SECONDARY. # @!attribute [rw] primary_cluster_name # @return [::String] # The name of the primary cluster name with the format: # * projects/\\{project}/locations/\\{region}/clusters/\\{cluster_id} class SecondaryConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Configuration for the primary cluster. It has the list of clusters that are # replicating from this cluster. This should be set if and only if the # cluster is of type PRIMARY. # @!attribute [r] secondary_cluster_names # @return [::Array<::String>] # Output only. Names of the clusters that are replicating from this # cluster. class PrimaryConfig 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 AnnotationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Cluster State module State # The state of the cluster is unknown. STATE_UNSPECIFIED = 0 # The cluster is active and running. READY = 1 # The cluster is stopped. All instances in the cluster are stopped. # Customers can start a stopped cluster at any point and all their # instances will come back to life with same names and IP resources. In # this state, customer pays for storage. # Associated backups could also be present in a stopped cluster. STOPPED = 2 # The cluster is empty and has no associated resources. # All instances, associated storage and backups have been deleted. EMPTY = 3 # The cluster is being created. CREATING = 4 # The cluster is being deleted. DELETING = 5 # The creation of the cluster failed. FAILED = 6 # The cluster is bootstrapping with data from some other source. # Direct mutations to the cluster (e.g. adding read pool) are not allowed. BOOTSTRAPPING = 7 # The cluster is under maintenance. AlloyDB regularly performs maintenance # and upgrades on customer clusters. Updates on the cluster are # not allowed while the cluster is in this state. MAINTENANCE = 8 # The cluster is being promoted. PROMOTING = 9 end # Type of Cluster module ClusterType # The type of the cluster is unknown. CLUSTER_TYPE_UNSPECIFIED = 0 # Primary cluster that support read and write operations. PRIMARY = 1 # Secondary cluster that is replicating from another region. # This only supports read. SECONDARY = 2 end end |
#uid ⇒ ::String (readonly)
Returns Output only. The system-generated UID of the resource. The UID is assigned when the resource is created, and it is retained until it is deleted.
363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 |
# File 'proto_docs/google/cloud/alloydb/v1/resources.rb', line 363 class Cluster include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Configuration information for the secondary cluster. This should be set # if and only if the cluster is of type SECONDARY. # @!attribute [rw] primary_cluster_name # @return [::String] # The name of the primary cluster name with the format: # * projects/\\{project}/locations/\\{region}/clusters/\\{cluster_id} class SecondaryConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Configuration for the primary cluster. It has the list of clusters that are # replicating from this cluster. This should be set if and only if the # cluster is of type PRIMARY. # @!attribute [r] secondary_cluster_names # @return [::Array<::String>] # Output only. Names of the clusters that are replicating from this # cluster. class PrimaryConfig 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 AnnotationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Cluster State module State # The state of the cluster is unknown. STATE_UNSPECIFIED = 0 # The cluster is active and running. READY = 1 # The cluster is stopped. All instances in the cluster are stopped. # Customers can start a stopped cluster at any point and all their # instances will come back to life with same names and IP resources. In # this state, customer pays for storage. # Associated backups could also be present in a stopped cluster. STOPPED = 2 # The cluster is empty and has no associated resources. # All instances, associated storage and backups have been deleted. EMPTY = 3 # The cluster is being created. CREATING = 4 # The cluster is being deleted. DELETING = 5 # The creation of the cluster failed. FAILED = 6 # The cluster is bootstrapping with data from some other source. # Direct mutations to the cluster (e.g. adding read pool) are not allowed. BOOTSTRAPPING = 7 # The cluster is under maintenance. AlloyDB regularly performs maintenance # and upgrades on customer clusters. Updates on the cluster are # not allowed while the cluster is in this state. MAINTENANCE = 8 # The cluster is being promoted. PROMOTING = 9 end # Type of Cluster module ClusterType # The type of the cluster is unknown. CLUSTER_TYPE_UNSPECIFIED = 0 # Primary cluster that support read and write operations. PRIMARY = 1 # Secondary cluster that is replicating from another region. # This only supports read. SECONDARY = 2 end end |
#update_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. Update time stamp.
363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 |
# File 'proto_docs/google/cloud/alloydb/v1/resources.rb', line 363 class Cluster include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Configuration information for the secondary cluster. This should be set # if and only if the cluster is of type SECONDARY. # @!attribute [rw] primary_cluster_name # @return [::String] # The name of the primary cluster name with the format: # * projects/\\{project}/locations/\\{region}/clusters/\\{cluster_id} class SecondaryConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Configuration for the primary cluster. It has the list of clusters that are # replicating from this cluster. This should be set if and only if the # cluster is of type PRIMARY. # @!attribute [r] secondary_cluster_names # @return [::Array<::String>] # Output only. Names of the clusters that are replicating from this # cluster. class PrimaryConfig 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 AnnotationsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Cluster State module State # The state of the cluster is unknown. STATE_UNSPECIFIED = 0 # The cluster is active and running. READY = 1 # The cluster is stopped. All instances in the cluster are stopped. # Customers can start a stopped cluster at any point and all their # instances will come back to life with same names and IP resources. In # this state, customer pays for storage. # Associated backups could also be present in a stopped cluster. STOPPED = 2 # The cluster is empty and has no associated resources. # All instances, associated storage and backups have been deleted. EMPTY = 3 # The cluster is being created. CREATING = 4 # The cluster is being deleted. DELETING = 5 # The creation of the cluster failed. FAILED = 6 # The cluster is bootstrapping with data from some other source. # Direct mutations to the cluster (e.g. adding read pool) are not allowed. BOOTSTRAPPING = 7 # The cluster is under maintenance. AlloyDB regularly performs maintenance # and upgrades on customer clusters. Updates on the cluster are # not allowed while the cluster is in this state. MAINTENANCE = 8 # The cluster is being promoted. PROMOTING = 9 end # Type of Cluster module ClusterType # The type of the cluster is unknown. CLUSTER_TYPE_UNSPECIFIED = 0 # Primary cluster that support read and write operations. PRIMARY = 1 # Secondary cluster that is replicating from another region. # This only supports read. SECONDARY = 2 end end |