Class: Google::Cloud::AlloyDB::V1alpha::Cluster
- Inherits:
-
Object
- Object
- Google::Cloud::AlloyDB::V1alpha::Cluster
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/alloydb/v1alpha/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, NetworkConfig, PrimaryConfig, PscConfig, SecondaryConfig, TagsEntry, TrialMetadata
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::V1alpha::AutomatedBackupPolicy
The automated backup policy for this cluster.
-
#backup_source ⇒ ::Google::Cloud::AlloyDB::V1alpha::BackupSource
readonly
Output only.
-
#cloudsql_backup_run_source ⇒ ::Google::Cloud::AlloyDB::V1alpha::CloudSQLBackupRunSource
readonly
Output only.
-
#cluster_type ⇒ ::Google::Cloud::AlloyDB::V1alpha::Cluster::ClusterType
readonly
Output only.
-
#continuous_backup_config ⇒ ::Google::Cloud::AlloyDB::V1alpha::ContinuousBackupConfig
Optional.
-
#continuous_backup_info ⇒ ::Google::Cloud::AlloyDB::V1alpha::ContinuousBackupInfo
readonly
Output only.
-
#create_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#database_version ⇒ ::Google::Cloud::AlloyDB::V1alpha::DatabaseVersion
Optional.
-
#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::V1alpha::EncryptionConfig
Optional.
-
#encryption_info ⇒ ::Google::Cloud::AlloyDB::V1alpha::EncryptionInfo
readonly
Output only.
-
#etag ⇒ ::String
For Resource freshness validation (https://google.aip.dev/154).
-
#gemini_config ⇒ ::Google::Cloud::AlloyDB::V1alpha::GeminiClusterConfig
Optional.
-
#initial_user ⇒ ::Google::Cloud::AlloyDB::V1alpha::UserPassword
Input only.
-
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
Labels as key value pairs.
-
#maintenance_schedule ⇒ ::Google::Cloud::AlloyDB::V1alpha::MaintenanceSchedule
readonly
Output only.
-
#maintenance_update_policy ⇒ ::Google::Cloud::AlloyDB::V1alpha::MaintenanceUpdatePolicy
Optional.
-
#migration_source ⇒ ::Google::Cloud::AlloyDB::V1alpha::MigrationSource
readonly
Output only.
-
#name ⇒ ::String
readonly
Output only.
-
#network ⇒ ::String
deprecated
Deprecated.
This field is deprecated and may be removed in the next major version update.
- #network_config ⇒ ::Google::Cloud::AlloyDB::V1alpha::Cluster::NetworkConfig
-
#primary_config ⇒ ::Google::Cloud::AlloyDB::V1alpha::Cluster::PrimaryConfig
readonly
Output only.
-
#psc_config ⇒ ::Google::Cloud::AlloyDB::V1alpha::Cluster::PscConfig
Optional.
-
#reconciling ⇒ ::Boolean
readonly
Output only.
-
#satisfies_pzi ⇒ ::Boolean
readonly
Output only.
-
#satisfies_pzs ⇒ ::Boolean
readonly
Output only.
-
#secondary_config ⇒ ::Google::Cloud::AlloyDB::V1alpha::Cluster::SecondaryConfig
Cross Region replication config specific to SECONDARY cluster.
-
#ssl_config ⇒ ::Google::Cloud::AlloyDB::V1alpha::SslConfig
deprecated
Deprecated.
This field is deprecated and may be removed in the next major version update.
-
#state ⇒ ::Google::Cloud::AlloyDB::V1alpha::Cluster::State
readonly
Output only.
-
#subscription_type ⇒ ::Google::Cloud::AlloyDB::V1alpha::SubscriptionType
Optional.
-
#tags ⇒ ::Google::Protobuf::Map{::String => ::String}
Optional.
-
#trial_metadata ⇒ ::Google::Cloud::AlloyDB::V1alpha::Cluster::TrialMetadata
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.
512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 |
# File 'proto_docs/google/cloud/alloydb/v1alpha/resources.rb', line 512 class Cluster include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Metadata related to network configuration. # @!attribute [rw] network # @return [::String] # Optional. 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. # @!attribute [rw] allocated_ip_range # @return [::String] # Optional. Name of the allocated IP range for the private IP AlloyDB # cluster, for example: "google-managed-services-default". If set, the # instance IPs for this cluster will be created in the allocated range. The # range name must comply with RFC 1035. Specifically, the name must be 1-63 # characters long and match the regular expression # `[a-z]([-a-z0-9]*[a-z0-9])?`. # Field name is intended to be consistent with Cloud SQL. class NetworkConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # 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 # PscConfig contains PSC related configuration at a cluster level. # @!attribute [rw] psc_enabled # @return [::Boolean] # Optional. Create an instance that allows connections from Private Service # Connect endpoints to the instance. # @!attribute [r] service_owned_project_number # @return [::Integer] # Output only. The project number that needs to be allowlisted on the # network attachment to enable outbound connectivity. class PscConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Contains information and all metadata related to TRIAL clusters. # @!attribute [rw] start_time # @return [::Google::Protobuf::Timestamp] # start time of the trial cluster. # @!attribute [rw] end_time # @return [::Google::Protobuf::Timestamp] # End time of the trial cluster. # @!attribute [rw] upgrade_time # @return [::Google::Protobuf::Timestamp] # Upgrade time of trial cluster to Standard cluster. # @!attribute [rw] grace_end_time # @return [::Google::Protobuf::Timestamp] # grace end time of the cluster. class TrialMetadata 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 # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class TagsEntry 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::V1alpha::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.
512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 |
# File 'proto_docs/google/cloud/alloydb/v1alpha/resources.rb', line 512 class Cluster include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Metadata related to network configuration. # @!attribute [rw] network # @return [::String] # Optional. 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. # @!attribute [rw] allocated_ip_range # @return [::String] # Optional. Name of the allocated IP range for the private IP AlloyDB # cluster, for example: "google-managed-services-default". If set, the # instance IPs for this cluster will be created in the allocated range. The # range name must comply with RFC 1035. Specifically, the name must be 1-63 # characters long and match the regular expression # `[a-z]([-a-z0-9]*[a-z0-9])?`. # Field name is intended to be consistent with Cloud SQL. class NetworkConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # 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 # PscConfig contains PSC related configuration at a cluster level. # @!attribute [rw] psc_enabled # @return [::Boolean] # Optional. Create an instance that allows connections from Private Service # Connect endpoints to the instance. # @!attribute [r] service_owned_project_number # @return [::Integer] # Output only. The project number that needs to be allowlisted on the # network attachment to enable outbound connectivity. class PscConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Contains information and all metadata related to TRIAL clusters. # @!attribute [rw] start_time # @return [::Google::Protobuf::Timestamp] # start time of the trial cluster. # @!attribute [rw] end_time # @return [::Google::Protobuf::Timestamp] # End time of the trial cluster. # @!attribute [rw] upgrade_time # @return [::Google::Protobuf::Timestamp] # Upgrade time of trial cluster to Standard cluster. # @!attribute [rw] grace_end_time # @return [::Google::Protobuf::Timestamp] # grace end time of the cluster. class TrialMetadata 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 # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class TagsEntry 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::V1alpha::BackupSource (readonly)
Returns Output only. Cluster created from backup.
512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 |
# File 'proto_docs/google/cloud/alloydb/v1alpha/resources.rb', line 512 class Cluster include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Metadata related to network configuration. # @!attribute [rw] network # @return [::String] # Optional. 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. # @!attribute [rw] allocated_ip_range # @return [::String] # Optional. Name of the allocated IP range for the private IP AlloyDB # cluster, for example: "google-managed-services-default". If set, the # instance IPs for this cluster will be created in the allocated range. The # range name must comply with RFC 1035. Specifically, the name must be 1-63 # characters long and match the regular expression # `[a-z]([-a-z0-9]*[a-z0-9])?`. # Field name is intended to be consistent with Cloud SQL. class NetworkConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # 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 # PscConfig contains PSC related configuration at a cluster level. # @!attribute [rw] psc_enabled # @return [::Boolean] # Optional. Create an instance that allows connections from Private Service # Connect endpoints to the instance. # @!attribute [r] service_owned_project_number # @return [::Integer] # Output only. The project number that needs to be allowlisted on the # network attachment to enable outbound connectivity. class PscConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Contains information and all metadata related to TRIAL clusters. # @!attribute [rw] start_time # @return [::Google::Protobuf::Timestamp] # start time of the trial cluster. # @!attribute [rw] end_time # @return [::Google::Protobuf::Timestamp] # End time of the trial cluster. # @!attribute [rw] upgrade_time # @return [::Google::Protobuf::Timestamp] # Upgrade time of trial cluster to Standard cluster. # @!attribute [rw] grace_end_time # @return [::Google::Protobuf::Timestamp] # grace end time of the cluster. class TrialMetadata 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 # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class TagsEntry 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 |
#cloudsql_backup_run_source ⇒ ::Google::Cloud::AlloyDB::V1alpha::CloudSQLBackupRunSource (readonly)
Returns Output only. Cluster created from CloudSQL snapshot.
512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 |
# File 'proto_docs/google/cloud/alloydb/v1alpha/resources.rb', line 512 class Cluster include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Metadata related to network configuration. # @!attribute [rw] network # @return [::String] # Optional. 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. # @!attribute [rw] allocated_ip_range # @return [::String] # Optional. Name of the allocated IP range for the private IP AlloyDB # cluster, for example: "google-managed-services-default". If set, the # instance IPs for this cluster will be created in the allocated range. The # range name must comply with RFC 1035. Specifically, the name must be 1-63 # characters long and match the regular expression # `[a-z]([-a-z0-9]*[a-z0-9])?`. # Field name is intended to be consistent with Cloud SQL. class NetworkConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # 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 # PscConfig contains PSC related configuration at a cluster level. # @!attribute [rw] psc_enabled # @return [::Boolean] # Optional. Create an instance that allows connections from Private Service # Connect endpoints to the instance. # @!attribute [r] service_owned_project_number # @return [::Integer] # Output only. The project number that needs to be allowlisted on the # network attachment to enable outbound connectivity. class PscConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Contains information and all metadata related to TRIAL clusters. # @!attribute [rw] start_time # @return [::Google::Protobuf::Timestamp] # start time of the trial cluster. # @!attribute [rw] end_time # @return [::Google::Protobuf::Timestamp] # End time of the trial cluster. # @!attribute [rw] upgrade_time # @return [::Google::Protobuf::Timestamp] # Upgrade time of trial cluster to Standard cluster. # @!attribute [rw] grace_end_time # @return [::Google::Protobuf::Timestamp] # grace end time of the cluster. class TrialMetadata 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 # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class TagsEntry 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::V1alpha::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
.
512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 |
# File 'proto_docs/google/cloud/alloydb/v1alpha/resources.rb', line 512 class Cluster include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Metadata related to network configuration. # @!attribute [rw] network # @return [::String] # Optional. 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. # @!attribute [rw] allocated_ip_range # @return [::String] # Optional. Name of the allocated IP range for the private IP AlloyDB # cluster, for example: "google-managed-services-default". If set, the # instance IPs for this cluster will be created in the allocated range. The # range name must comply with RFC 1035. Specifically, the name must be 1-63 # characters long and match the regular expression # `[a-z]([-a-z0-9]*[a-z0-9])?`. # Field name is intended to be consistent with Cloud SQL. class NetworkConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # 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 # PscConfig contains PSC related configuration at a cluster level. # @!attribute [rw] psc_enabled # @return [::Boolean] # Optional. Create an instance that allows connections from Private Service # Connect endpoints to the instance. # @!attribute [r] service_owned_project_number # @return [::Integer] # Output only. The project number that needs to be allowlisted on the # network attachment to enable outbound connectivity. class PscConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Contains information and all metadata related to TRIAL clusters. # @!attribute [rw] start_time # @return [::Google::Protobuf::Timestamp] # start time of the trial cluster. # @!attribute [rw] end_time # @return [::Google::Protobuf::Timestamp] # End time of the trial cluster. # @!attribute [rw] upgrade_time # @return [::Google::Protobuf::Timestamp] # Upgrade time of trial cluster to Standard cluster. # @!attribute [rw] grace_end_time # @return [::Google::Protobuf::Timestamp] # grace end time of the cluster. class TrialMetadata 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 # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class TagsEntry 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 |
#continuous_backup_config ⇒ ::Google::Cloud::AlloyDB::V1alpha::ContinuousBackupConfig
Returns Optional. Continuous backup configuration for this cluster.
512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 |
# File 'proto_docs/google/cloud/alloydb/v1alpha/resources.rb', line 512 class Cluster include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Metadata related to network configuration. # @!attribute [rw] network # @return [::String] # Optional. 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. # @!attribute [rw] allocated_ip_range # @return [::String] # Optional. Name of the allocated IP range for the private IP AlloyDB # cluster, for example: "google-managed-services-default". If set, the # instance IPs for this cluster will be created in the allocated range. The # range name must comply with RFC 1035. Specifically, the name must be 1-63 # characters long and match the regular expression # `[a-z]([-a-z0-9]*[a-z0-9])?`. # Field name is intended to be consistent with Cloud SQL. class NetworkConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # 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 # PscConfig contains PSC related configuration at a cluster level. # @!attribute [rw] psc_enabled # @return [::Boolean] # Optional. Create an instance that allows connections from Private Service # Connect endpoints to the instance. # @!attribute [r] service_owned_project_number # @return [::Integer] # Output only. The project number that needs to be allowlisted on the # network attachment to enable outbound connectivity. class PscConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Contains information and all metadata related to TRIAL clusters. # @!attribute [rw] start_time # @return [::Google::Protobuf::Timestamp] # start time of the trial cluster. # @!attribute [rw] end_time # @return [::Google::Protobuf::Timestamp] # End time of the trial cluster. # @!attribute [rw] upgrade_time # @return [::Google::Protobuf::Timestamp] # Upgrade time of trial cluster to Standard cluster. # @!attribute [rw] grace_end_time # @return [::Google::Protobuf::Timestamp] # grace end time of the cluster. class TrialMetadata 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 # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class TagsEntry 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 |
#continuous_backup_info ⇒ ::Google::Cloud::AlloyDB::V1alpha::ContinuousBackupInfo (readonly)
Returns Output only. Continuous backup properties for this cluster.
512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 |
# File 'proto_docs/google/cloud/alloydb/v1alpha/resources.rb', line 512 class Cluster include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Metadata related to network configuration. # @!attribute [rw] network # @return [::String] # Optional. 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. # @!attribute [rw] allocated_ip_range # @return [::String] # Optional. Name of the allocated IP range for the private IP AlloyDB # cluster, for example: "google-managed-services-default". If set, the # instance IPs for this cluster will be created in the allocated range. The # range name must comply with RFC 1035. Specifically, the name must be 1-63 # characters long and match the regular expression # `[a-z]([-a-z0-9]*[a-z0-9])?`. # Field name is intended to be consistent with Cloud SQL. class NetworkConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # 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 # PscConfig contains PSC related configuration at a cluster level. # @!attribute [rw] psc_enabled # @return [::Boolean] # Optional. Create an instance that allows connections from Private Service # Connect endpoints to the instance. # @!attribute [r] service_owned_project_number # @return [::Integer] # Output only. The project number that needs to be allowlisted on the # network attachment to enable outbound connectivity. class PscConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Contains information and all metadata related to TRIAL clusters. # @!attribute [rw] start_time # @return [::Google::Protobuf::Timestamp] # start time of the trial cluster. # @!attribute [rw] end_time # @return [::Google::Protobuf::Timestamp] # End time of the trial cluster. # @!attribute [rw] upgrade_time # @return [::Google::Protobuf::Timestamp] # Upgrade time of trial cluster to Standard cluster. # @!attribute [rw] grace_end_time # @return [::Google::Protobuf::Timestamp] # grace end time of the cluster. class TrialMetadata 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 # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class TagsEntry 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.
512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 |
# File 'proto_docs/google/cloud/alloydb/v1alpha/resources.rb', line 512 class Cluster include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Metadata related to network configuration. # @!attribute [rw] network # @return [::String] # Optional. 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. # @!attribute [rw] allocated_ip_range # @return [::String] # Optional. Name of the allocated IP range for the private IP AlloyDB # cluster, for example: "google-managed-services-default". If set, the # instance IPs for this cluster will be created in the allocated range. The # range name must comply with RFC 1035. Specifically, the name must be 1-63 # characters long and match the regular expression # `[a-z]([-a-z0-9]*[a-z0-9])?`. # Field name is intended to be consistent with Cloud SQL. class NetworkConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # 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 # PscConfig contains PSC related configuration at a cluster level. # @!attribute [rw] psc_enabled # @return [::Boolean] # Optional. Create an instance that allows connections from Private Service # Connect endpoints to the instance. # @!attribute [r] service_owned_project_number # @return [::Integer] # Output only. The project number that needs to be allowlisted on the # network attachment to enable outbound connectivity. class PscConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Contains information and all metadata related to TRIAL clusters. # @!attribute [rw] start_time # @return [::Google::Protobuf::Timestamp] # start time of the trial cluster. # @!attribute [rw] end_time # @return [::Google::Protobuf::Timestamp] # End time of the trial cluster. # @!attribute [rw] upgrade_time # @return [::Google::Protobuf::Timestamp] # Upgrade time of trial cluster to Standard cluster. # @!attribute [rw] grace_end_time # @return [::Google::Protobuf::Timestamp] # grace end time of the cluster. class TrialMetadata 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 # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class TagsEntry 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::V1alpha::DatabaseVersion
Returns Optional. The database engine major version. This is an optional field and it is populated at the Cluster creation time. If a database version is not supplied at cluster creation time, then a default database version will be used.
512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 |
# File 'proto_docs/google/cloud/alloydb/v1alpha/resources.rb', line 512 class Cluster include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Metadata related to network configuration. # @!attribute [rw] network # @return [::String] # Optional. 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. # @!attribute [rw] allocated_ip_range # @return [::String] # Optional. Name of the allocated IP range for the private IP AlloyDB # cluster, for example: "google-managed-services-default". If set, the # instance IPs for this cluster will be created in the allocated range. The # range name must comply with RFC 1035. Specifically, the name must be 1-63 # characters long and match the regular expression # `[a-z]([-a-z0-9]*[a-z0-9])?`. # Field name is intended to be consistent with Cloud SQL. class NetworkConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # 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 # PscConfig contains PSC related configuration at a cluster level. # @!attribute [rw] psc_enabled # @return [::Boolean] # Optional. Create an instance that allows connections from Private Service # Connect endpoints to the instance. # @!attribute [r] service_owned_project_number # @return [::Integer] # Output only. The project number that needs to be allowlisted on the # network attachment to enable outbound connectivity. class PscConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Contains information and all metadata related to TRIAL clusters. # @!attribute [rw] start_time # @return [::Google::Protobuf::Timestamp] # start time of the trial cluster. # @!attribute [rw] end_time # @return [::Google::Protobuf::Timestamp] # End time of the trial cluster. # @!attribute [rw] upgrade_time # @return [::Google::Protobuf::Timestamp] # Upgrade time of trial cluster to Standard cluster. # @!attribute [rw] grace_end_time # @return [::Google::Protobuf::Timestamp] # grace end time of the cluster. class TrialMetadata 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 # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class TagsEntry 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.
512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 |
# File 'proto_docs/google/cloud/alloydb/v1alpha/resources.rb', line 512 class Cluster include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Metadata related to network configuration. # @!attribute [rw] network # @return [::String] # Optional. 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. # @!attribute [rw] allocated_ip_range # @return [::String] # Optional. Name of the allocated IP range for the private IP AlloyDB # cluster, for example: "google-managed-services-default". If set, the # instance IPs for this cluster will be created in the allocated range. The # range name must comply with RFC 1035. Specifically, the name must be 1-63 # characters long and match the regular expression # `[a-z]([-a-z0-9]*[a-z0-9])?`. # Field name is intended to be consistent with Cloud SQL. class NetworkConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # 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 # PscConfig contains PSC related configuration at a cluster level. # @!attribute [rw] psc_enabled # @return [::Boolean] # Optional. Create an instance that allows connections from Private Service # Connect endpoints to the instance. # @!attribute [r] service_owned_project_number # @return [::Integer] # Output only. The project number that needs to be allowlisted on the # network attachment to enable outbound connectivity. class PscConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Contains information and all metadata related to TRIAL clusters. # @!attribute [rw] start_time # @return [::Google::Protobuf::Timestamp] # start time of the trial cluster. # @!attribute [rw] end_time # @return [::Google::Protobuf::Timestamp] # End time of the trial cluster. # @!attribute [rw] upgrade_time # @return [::Google::Protobuf::Timestamp] # Upgrade time of trial cluster to Standard cluster. # @!attribute [rw] grace_end_time # @return [::Google::Protobuf::Timestamp] # grace end time of the cluster. class TrialMetadata 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 # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class TagsEntry 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.
512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 |
# File 'proto_docs/google/cloud/alloydb/v1alpha/resources.rb', line 512 class Cluster include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Metadata related to network configuration. # @!attribute [rw] network # @return [::String] # Optional. 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. # @!attribute [rw] allocated_ip_range # @return [::String] # Optional. Name of the allocated IP range for the private IP AlloyDB # cluster, for example: "google-managed-services-default". If set, the # instance IPs for this cluster will be created in the allocated range. The # range name must comply with RFC 1035. Specifically, the name must be 1-63 # characters long and match the regular expression # `[a-z]([-a-z0-9]*[a-z0-9])?`. # Field name is intended to be consistent with Cloud SQL. class NetworkConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # 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 # PscConfig contains PSC related configuration at a cluster level. # @!attribute [rw] psc_enabled # @return [::Boolean] # Optional. Create an instance that allows connections from Private Service # Connect endpoints to the instance. # @!attribute [r] service_owned_project_number # @return [::Integer] # Output only. The project number that needs to be allowlisted on the # network attachment to enable outbound connectivity. class PscConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Contains information and all metadata related to TRIAL clusters. # @!attribute [rw] start_time # @return [::Google::Protobuf::Timestamp] # start time of the trial cluster. # @!attribute [rw] end_time # @return [::Google::Protobuf::Timestamp] # End time of the trial cluster. # @!attribute [rw] upgrade_time # @return [::Google::Protobuf::Timestamp] # Upgrade time of trial cluster to Standard cluster. # @!attribute [rw] grace_end_time # @return [::Google::Protobuf::Timestamp] # grace end time of the cluster. class TrialMetadata 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 # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class TagsEntry 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::V1alpha::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.
512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 |
# File 'proto_docs/google/cloud/alloydb/v1alpha/resources.rb', line 512 class Cluster include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Metadata related to network configuration. # @!attribute [rw] network # @return [::String] # Optional. 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. # @!attribute [rw] allocated_ip_range # @return [::String] # Optional. Name of the allocated IP range for the private IP AlloyDB # cluster, for example: "google-managed-services-default". If set, the # instance IPs for this cluster will be created in the allocated range. The # range name must comply with RFC 1035. Specifically, the name must be 1-63 # characters long and match the regular expression # `[a-z]([-a-z0-9]*[a-z0-9])?`. # Field name is intended to be consistent with Cloud SQL. class NetworkConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # 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 # PscConfig contains PSC related configuration at a cluster level. # @!attribute [rw] psc_enabled # @return [::Boolean] # Optional. Create an instance that allows connections from Private Service # Connect endpoints to the instance. # @!attribute [r] service_owned_project_number # @return [::Integer] # Output only. The project number that needs to be allowlisted on the # network attachment to enable outbound connectivity. class PscConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Contains information and all metadata related to TRIAL clusters. # @!attribute [rw] start_time # @return [::Google::Protobuf::Timestamp] # start time of the trial cluster. # @!attribute [rw] end_time # @return [::Google::Protobuf::Timestamp] # End time of the trial cluster. # @!attribute [rw] upgrade_time # @return [::Google::Protobuf::Timestamp] # Upgrade time of trial cluster to Standard cluster. # @!attribute [rw] grace_end_time # @return [::Google::Protobuf::Timestamp] # grace end time of the cluster. class TrialMetadata 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 # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class TagsEntry 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::V1alpha::EncryptionInfo (readonly)
Returns Output only. The encryption information for the cluster.
512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 |
# File 'proto_docs/google/cloud/alloydb/v1alpha/resources.rb', line 512 class Cluster include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Metadata related to network configuration. # @!attribute [rw] network # @return [::String] # Optional. 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. # @!attribute [rw] allocated_ip_range # @return [::String] # Optional. Name of the allocated IP range for the private IP AlloyDB # cluster, for example: "google-managed-services-default". If set, the # instance IPs for this cluster will be created in the allocated range. The # range name must comply with RFC 1035. Specifically, the name must be 1-63 # characters long and match the regular expression # `[a-z]([-a-z0-9]*[a-z0-9])?`. # Field name is intended to be consistent with Cloud SQL. class NetworkConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # 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 # PscConfig contains PSC related configuration at a cluster level. # @!attribute [rw] psc_enabled # @return [::Boolean] # Optional. Create an instance that allows connections from Private Service # Connect endpoints to the instance. # @!attribute [r] service_owned_project_number # @return [::Integer] # Output only. The project number that needs to be allowlisted on the # network attachment to enable outbound connectivity. class PscConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Contains information and all metadata related to TRIAL clusters. # @!attribute [rw] start_time # @return [::Google::Protobuf::Timestamp] # start time of the trial cluster. # @!attribute [rw] end_time # @return [::Google::Protobuf::Timestamp] # End time of the trial cluster. # @!attribute [rw] upgrade_time # @return [::Google::Protobuf::Timestamp] # Upgrade time of trial cluster to Standard cluster. # @!attribute [rw] grace_end_time # @return [::Google::Protobuf::Timestamp] # grace end time of the cluster. class TrialMetadata 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 # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class TagsEntry 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).
512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 |
# File 'proto_docs/google/cloud/alloydb/v1alpha/resources.rb', line 512 class Cluster include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Metadata related to network configuration. # @!attribute [rw] network # @return [::String] # Optional. 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. # @!attribute [rw] allocated_ip_range # @return [::String] # Optional. Name of the allocated IP range for the private IP AlloyDB # cluster, for example: "google-managed-services-default". If set, the # instance IPs for this cluster will be created in the allocated range. The # range name must comply with RFC 1035. Specifically, the name must be 1-63 # characters long and match the regular expression # `[a-z]([-a-z0-9]*[a-z0-9])?`. # Field name is intended to be consistent with Cloud SQL. class NetworkConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # 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 # PscConfig contains PSC related configuration at a cluster level. # @!attribute [rw] psc_enabled # @return [::Boolean] # Optional. Create an instance that allows connections from Private Service # Connect endpoints to the instance. # @!attribute [r] service_owned_project_number # @return [::Integer] # Output only. The project number that needs to be allowlisted on the # network attachment to enable outbound connectivity. class PscConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Contains information and all metadata related to TRIAL clusters. # @!attribute [rw] start_time # @return [::Google::Protobuf::Timestamp] # start time of the trial cluster. # @!attribute [rw] end_time # @return [::Google::Protobuf::Timestamp] # End time of the trial cluster. # @!attribute [rw] upgrade_time # @return [::Google::Protobuf::Timestamp] # Upgrade time of trial cluster to Standard cluster. # @!attribute [rw] grace_end_time # @return [::Google::Protobuf::Timestamp] # grace end time of the cluster. class TrialMetadata 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 # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class TagsEntry 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 |
#gemini_config ⇒ ::Google::Cloud::AlloyDB::V1alpha::GeminiClusterConfig
Returns Optional. Configuration parameters related to the Gemini in Databases add-on.
512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 |
# File 'proto_docs/google/cloud/alloydb/v1alpha/resources.rb', line 512 class Cluster include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Metadata related to network configuration. # @!attribute [rw] network # @return [::String] # Optional. 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. # @!attribute [rw] allocated_ip_range # @return [::String] # Optional. Name of the allocated IP range for the private IP AlloyDB # cluster, for example: "google-managed-services-default". If set, the # instance IPs for this cluster will be created in the allocated range. The # range name must comply with RFC 1035. Specifically, the name must be 1-63 # characters long and match the regular expression # `[a-z]([-a-z0-9]*[a-z0-9])?`. # Field name is intended to be consistent with Cloud SQL. class NetworkConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # 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 # PscConfig contains PSC related configuration at a cluster level. # @!attribute [rw] psc_enabled # @return [::Boolean] # Optional. Create an instance that allows connections from Private Service # Connect endpoints to the instance. # @!attribute [r] service_owned_project_number # @return [::Integer] # Output only. The project number that needs to be allowlisted on the # network attachment to enable outbound connectivity. class PscConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Contains information and all metadata related to TRIAL clusters. # @!attribute [rw] start_time # @return [::Google::Protobuf::Timestamp] # start time of the trial cluster. # @!attribute [rw] end_time # @return [::Google::Protobuf::Timestamp] # End time of the trial cluster. # @!attribute [rw] upgrade_time # @return [::Google::Protobuf::Timestamp] # Upgrade time of trial cluster to Standard cluster. # @!attribute [rw] grace_end_time # @return [::Google::Protobuf::Timestamp] # grace end time of the cluster. class TrialMetadata 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 # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class TagsEntry 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::V1alpha::UserPassword
Returns Input only. Initial user to setup during cluster creation. Required.
If used in RestoreCluster
this is ignored.
512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 |
# File 'proto_docs/google/cloud/alloydb/v1alpha/resources.rb', line 512 class Cluster include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Metadata related to network configuration. # @!attribute [rw] network # @return [::String] # Optional. 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. # @!attribute [rw] allocated_ip_range # @return [::String] # Optional. Name of the allocated IP range for the private IP AlloyDB # cluster, for example: "google-managed-services-default". If set, the # instance IPs for this cluster will be created in the allocated range. The # range name must comply with RFC 1035. Specifically, the name must be 1-63 # characters long and match the regular expression # `[a-z]([-a-z0-9]*[a-z0-9])?`. # Field name is intended to be consistent with Cloud SQL. class NetworkConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # 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 # PscConfig contains PSC related configuration at a cluster level. # @!attribute [rw] psc_enabled # @return [::Boolean] # Optional. Create an instance that allows connections from Private Service # Connect endpoints to the instance. # @!attribute [r] service_owned_project_number # @return [::Integer] # Output only. The project number that needs to be allowlisted on the # network attachment to enable outbound connectivity. class PscConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Contains information and all metadata related to TRIAL clusters. # @!attribute [rw] start_time # @return [::Google::Protobuf::Timestamp] # start time of the trial cluster. # @!attribute [rw] end_time # @return [::Google::Protobuf::Timestamp] # End time of the trial cluster. # @!attribute [rw] upgrade_time # @return [::Google::Protobuf::Timestamp] # Upgrade time of trial cluster to Standard cluster. # @!attribute [rw] grace_end_time # @return [::Google::Protobuf::Timestamp] # grace end time of the cluster. class TrialMetadata 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 # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class TagsEntry 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.
512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 |
# File 'proto_docs/google/cloud/alloydb/v1alpha/resources.rb', line 512 class Cluster include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Metadata related to network configuration. # @!attribute [rw] network # @return [::String] # Optional. 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. # @!attribute [rw] allocated_ip_range # @return [::String] # Optional. Name of the allocated IP range for the private IP AlloyDB # cluster, for example: "google-managed-services-default". If set, the # instance IPs for this cluster will be created in the allocated range. The # range name must comply with RFC 1035. Specifically, the name must be 1-63 # characters long and match the regular expression # `[a-z]([-a-z0-9]*[a-z0-9])?`. # Field name is intended to be consistent with Cloud SQL. class NetworkConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # 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 # PscConfig contains PSC related configuration at a cluster level. # @!attribute [rw] psc_enabled # @return [::Boolean] # Optional. Create an instance that allows connections from Private Service # Connect endpoints to the instance. # @!attribute [r] service_owned_project_number # @return [::Integer] # Output only. The project number that needs to be allowlisted on the # network attachment to enable outbound connectivity. class PscConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Contains information and all metadata related to TRIAL clusters. # @!attribute [rw] start_time # @return [::Google::Protobuf::Timestamp] # start time of the trial cluster. # @!attribute [rw] end_time # @return [::Google::Protobuf::Timestamp] # End time of the trial cluster. # @!attribute [rw] upgrade_time # @return [::Google::Protobuf::Timestamp] # Upgrade time of trial cluster to Standard cluster. # @!attribute [rw] grace_end_time # @return [::Google::Protobuf::Timestamp] # grace end time of the cluster. class TrialMetadata 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 # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class TagsEntry 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 |
#maintenance_schedule ⇒ ::Google::Cloud::AlloyDB::V1alpha::MaintenanceSchedule (readonly)
Returns Output only. The maintenance schedule for the cluster, generated for a specific rollout if a maintenance window is set.
512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 |
# File 'proto_docs/google/cloud/alloydb/v1alpha/resources.rb', line 512 class Cluster include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Metadata related to network configuration. # @!attribute [rw] network # @return [::String] # Optional. 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. # @!attribute [rw] allocated_ip_range # @return [::String] # Optional. Name of the allocated IP range for the private IP AlloyDB # cluster, for example: "google-managed-services-default". If set, the # instance IPs for this cluster will be created in the allocated range. The # range name must comply with RFC 1035. Specifically, the name must be 1-63 # characters long and match the regular expression # `[a-z]([-a-z0-9]*[a-z0-9])?`. # Field name is intended to be consistent with Cloud SQL. class NetworkConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # 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 # PscConfig contains PSC related configuration at a cluster level. # @!attribute [rw] psc_enabled # @return [::Boolean] # Optional. Create an instance that allows connections from Private Service # Connect endpoints to the instance. # @!attribute [r] service_owned_project_number # @return [::Integer] # Output only. The project number that needs to be allowlisted on the # network attachment to enable outbound connectivity. class PscConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Contains information and all metadata related to TRIAL clusters. # @!attribute [rw] start_time # @return [::Google::Protobuf::Timestamp] # start time of the trial cluster. # @!attribute [rw] end_time # @return [::Google::Protobuf::Timestamp] # End time of the trial cluster. # @!attribute [rw] upgrade_time # @return [::Google::Protobuf::Timestamp] # Upgrade time of trial cluster to Standard cluster. # @!attribute [rw] grace_end_time # @return [::Google::Protobuf::Timestamp] # grace end time of the cluster. class TrialMetadata 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 # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class TagsEntry 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 |
#maintenance_update_policy ⇒ ::Google::Cloud::AlloyDB::V1alpha::MaintenanceUpdatePolicy
Returns Optional. The maintenance update policy determines when to allow or deny updates.
512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 |
# File 'proto_docs/google/cloud/alloydb/v1alpha/resources.rb', line 512 class Cluster include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Metadata related to network configuration. # @!attribute [rw] network # @return [::String] # Optional. 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. # @!attribute [rw] allocated_ip_range # @return [::String] # Optional. Name of the allocated IP range for the private IP AlloyDB # cluster, for example: "google-managed-services-default". If set, the # instance IPs for this cluster will be created in the allocated range. The # range name must comply with RFC 1035. Specifically, the name must be 1-63 # characters long and match the regular expression # `[a-z]([-a-z0-9]*[a-z0-9])?`. # Field name is intended to be consistent with Cloud SQL. class NetworkConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # 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 # PscConfig contains PSC related configuration at a cluster level. # @!attribute [rw] psc_enabled # @return [::Boolean] # Optional. Create an instance that allows connections from Private Service # Connect endpoints to the instance. # @!attribute [r] service_owned_project_number # @return [::Integer] # Output only. The project number that needs to be allowlisted on the # network attachment to enable outbound connectivity. class PscConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Contains information and all metadata related to TRIAL clusters. # @!attribute [rw] start_time # @return [::Google::Protobuf::Timestamp] # start time of the trial cluster. # @!attribute [rw] end_time # @return [::Google::Protobuf::Timestamp] # End time of the trial cluster. # @!attribute [rw] upgrade_time # @return [::Google::Protobuf::Timestamp] # Upgrade time of trial cluster to Standard cluster. # @!attribute [rw] grace_end_time # @return [::Google::Protobuf::Timestamp] # grace end time of the cluster. class TrialMetadata 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 # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class TagsEntry 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::V1alpha::MigrationSource (readonly)
Returns Output only. Cluster created via DMS migration.
512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 |
# File 'proto_docs/google/cloud/alloydb/v1alpha/resources.rb', line 512 class Cluster include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Metadata related to network configuration. # @!attribute [rw] network # @return [::String] # Optional. 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. # @!attribute [rw] allocated_ip_range # @return [::String] # Optional. Name of the allocated IP range for the private IP AlloyDB # cluster, for example: "google-managed-services-default". If set, the # instance IPs for this cluster will be created in the allocated range. The # range name must comply with RFC 1035. Specifically, the name must be 1-63 # characters long and match the regular expression # `[a-z]([-a-z0-9]*[a-z0-9])?`. # Field name is intended to be consistent with Cloud SQL. class NetworkConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # 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 # PscConfig contains PSC related configuration at a cluster level. # @!attribute [rw] psc_enabled # @return [::Boolean] # Optional. Create an instance that allows connections from Private Service # Connect endpoints to the instance. # @!attribute [r] service_owned_project_number # @return [::Integer] # Output only. The project number that needs to be allowlisted on the # network attachment to enable outbound connectivity. class PscConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Contains information and all metadata related to TRIAL clusters. # @!attribute [rw] start_time # @return [::Google::Protobuf::Timestamp] # start time of the trial cluster. # @!attribute [rw] end_time # @return [::Google::Protobuf::Timestamp] # End time of the trial cluster. # @!attribute [rw] upgrade_time # @return [::Google::Protobuf::Timestamp] # Upgrade time of trial cluster to Standard cluster. # @!attribute [rw] grace_end_time # @return [::Google::Protobuf::Timestamp] # grace end time of the cluster. class TrialMetadata 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 # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class TagsEntry 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}.
512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 |
# File 'proto_docs/google/cloud/alloydb/v1alpha/resources.rb', line 512 class Cluster include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Metadata related to network configuration. # @!attribute [rw] network # @return [::String] # Optional. 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. # @!attribute [rw] allocated_ip_range # @return [::String] # Optional. Name of the allocated IP range for the private IP AlloyDB # cluster, for example: "google-managed-services-default". If set, the # instance IPs for this cluster will be created in the allocated range. The # range name must comply with RFC 1035. Specifically, the name must be 1-63 # characters long and match the regular expression # `[a-z]([-a-z0-9]*[a-z0-9])?`. # Field name is intended to be consistent with Cloud SQL. class NetworkConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # 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 # PscConfig contains PSC related configuration at a cluster level. # @!attribute [rw] psc_enabled # @return [::Boolean] # Optional. Create an instance that allows connections from Private Service # Connect endpoints to the instance. # @!attribute [r] service_owned_project_number # @return [::Integer] # Output only. The project number that needs to be allowlisted on the # network attachment to enable outbound connectivity. class PscConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Contains information and all metadata related to TRIAL clusters. # @!attribute [rw] start_time # @return [::Google::Protobuf::Timestamp] # start time of the trial cluster. # @!attribute [rw] end_time # @return [::Google::Protobuf::Timestamp] # End time of the trial cluster. # @!attribute [rw] upgrade_time # @return [::Google::Protobuf::Timestamp] # Upgrade time of trial cluster to Standard cluster. # @!attribute [rw] grace_end_time # @return [::Google::Protobuf::Timestamp] # grace end time of the cluster. class TrialMetadata 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 # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class TagsEntry 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
This field is deprecated and may be removed in the next major version update.
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}/global/networks/{network_id}
. This is required
to create a cluster. Deprecated, use network_config.network instead.
512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 |
# File 'proto_docs/google/cloud/alloydb/v1alpha/resources.rb', line 512 class Cluster include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Metadata related to network configuration. # @!attribute [rw] network # @return [::String] # Optional. 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. # @!attribute [rw] allocated_ip_range # @return [::String] # Optional. Name of the allocated IP range for the private IP AlloyDB # cluster, for example: "google-managed-services-default". If set, the # instance IPs for this cluster will be created in the allocated range. The # range name must comply with RFC 1035. Specifically, the name must be 1-63 # characters long and match the regular expression # `[a-z]([-a-z0-9]*[a-z0-9])?`. # Field name is intended to be consistent with Cloud SQL. class NetworkConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # 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 # PscConfig contains PSC related configuration at a cluster level. # @!attribute [rw] psc_enabled # @return [::Boolean] # Optional. Create an instance that allows connections from Private Service # Connect endpoints to the instance. # @!attribute [r] service_owned_project_number # @return [::Integer] # Output only. The project number that needs to be allowlisted on the # network attachment to enable outbound connectivity. class PscConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Contains information and all metadata related to TRIAL clusters. # @!attribute [rw] start_time # @return [::Google::Protobuf::Timestamp] # start time of the trial cluster. # @!attribute [rw] end_time # @return [::Google::Protobuf::Timestamp] # End time of the trial cluster. # @!attribute [rw] upgrade_time # @return [::Google::Protobuf::Timestamp] # Upgrade time of trial cluster to Standard cluster. # @!attribute [rw] grace_end_time # @return [::Google::Protobuf::Timestamp] # grace end time of the cluster. class TrialMetadata 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 # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class TagsEntry 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_config ⇒ ::Google::Cloud::AlloyDB::V1alpha::Cluster::NetworkConfig
512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 |
# File 'proto_docs/google/cloud/alloydb/v1alpha/resources.rb', line 512 class Cluster include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Metadata related to network configuration. # @!attribute [rw] network # @return [::String] # Optional. 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. # @!attribute [rw] allocated_ip_range # @return [::String] # Optional. Name of the allocated IP range for the private IP AlloyDB # cluster, for example: "google-managed-services-default". If set, the # instance IPs for this cluster will be created in the allocated range. The # range name must comply with RFC 1035. Specifically, the name must be 1-63 # characters long and match the regular expression # `[a-z]([-a-z0-9]*[a-z0-9])?`. # Field name is intended to be consistent with Cloud SQL. class NetworkConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # 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 # PscConfig contains PSC related configuration at a cluster level. # @!attribute [rw] psc_enabled # @return [::Boolean] # Optional. Create an instance that allows connections from Private Service # Connect endpoints to the instance. # @!attribute [r] service_owned_project_number # @return [::Integer] # Output only. The project number that needs to be allowlisted on the # network attachment to enable outbound connectivity. class PscConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Contains information and all metadata related to TRIAL clusters. # @!attribute [rw] start_time # @return [::Google::Protobuf::Timestamp] # start time of the trial cluster. # @!attribute [rw] end_time # @return [::Google::Protobuf::Timestamp] # End time of the trial cluster. # @!attribute [rw] upgrade_time # @return [::Google::Protobuf::Timestamp] # Upgrade time of trial cluster to Standard cluster. # @!attribute [rw] grace_end_time # @return [::Google::Protobuf::Timestamp] # grace end time of the cluster. class TrialMetadata 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 # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class TagsEntry 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::V1alpha::Cluster::PrimaryConfig (readonly)
Returns Output only. Cross Region replication config specific to PRIMARY cluster.
512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 |
# File 'proto_docs/google/cloud/alloydb/v1alpha/resources.rb', line 512 class Cluster include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Metadata related to network configuration. # @!attribute [rw] network # @return [::String] # Optional. 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. # @!attribute [rw] allocated_ip_range # @return [::String] # Optional. Name of the allocated IP range for the private IP AlloyDB # cluster, for example: "google-managed-services-default". If set, the # instance IPs for this cluster will be created in the allocated range. The # range name must comply with RFC 1035. Specifically, the name must be 1-63 # characters long and match the regular expression # `[a-z]([-a-z0-9]*[a-z0-9])?`. # Field name is intended to be consistent with Cloud SQL. class NetworkConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # 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 # PscConfig contains PSC related configuration at a cluster level. # @!attribute [rw] psc_enabled # @return [::Boolean] # Optional. Create an instance that allows connections from Private Service # Connect endpoints to the instance. # @!attribute [r] service_owned_project_number # @return [::Integer] # Output only. The project number that needs to be allowlisted on the # network attachment to enable outbound connectivity. class PscConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Contains information and all metadata related to TRIAL clusters. # @!attribute [rw] start_time # @return [::Google::Protobuf::Timestamp] # start time of the trial cluster. # @!attribute [rw] end_time # @return [::Google::Protobuf::Timestamp] # End time of the trial cluster. # @!attribute [rw] upgrade_time # @return [::Google::Protobuf::Timestamp] # Upgrade time of trial cluster to Standard cluster. # @!attribute [rw] grace_end_time # @return [::Google::Protobuf::Timestamp] # grace end time of the cluster. class TrialMetadata 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 # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class TagsEntry 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 |
#psc_config ⇒ ::Google::Cloud::AlloyDB::V1alpha::Cluster::PscConfig
Returns Optional. The configuration for Private Service Connect (PSC) for the cluster.
512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 |
# File 'proto_docs/google/cloud/alloydb/v1alpha/resources.rb', line 512 class Cluster include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Metadata related to network configuration. # @!attribute [rw] network # @return [::String] # Optional. 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. # @!attribute [rw] allocated_ip_range # @return [::String] # Optional. Name of the allocated IP range for the private IP AlloyDB # cluster, for example: "google-managed-services-default". If set, the # instance IPs for this cluster will be created in the allocated range. The # range name must comply with RFC 1035. Specifically, the name must be 1-63 # characters long and match the regular expression # `[a-z]([-a-z0-9]*[a-z0-9])?`. # Field name is intended to be consistent with Cloud SQL. class NetworkConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # 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 # PscConfig contains PSC related configuration at a cluster level. # @!attribute [rw] psc_enabled # @return [::Boolean] # Optional. Create an instance that allows connections from Private Service # Connect endpoints to the instance. # @!attribute [r] service_owned_project_number # @return [::Integer] # Output only. The project number that needs to be allowlisted on the # network attachment to enable outbound connectivity. class PscConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Contains information and all metadata related to TRIAL clusters. # @!attribute [rw] start_time # @return [::Google::Protobuf::Timestamp] # start time of the trial cluster. # @!attribute [rw] end_time # @return [::Google::Protobuf::Timestamp] # End time of the trial cluster. # @!attribute [rw] upgrade_time # @return [::Google::Protobuf::Timestamp] # Upgrade time of trial cluster to Standard cluster. # @!attribute [rw] grace_end_time # @return [::Google::Protobuf::Timestamp] # grace end time of the cluster. class TrialMetadata 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 # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class TagsEntry 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.
512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 |
# File 'proto_docs/google/cloud/alloydb/v1alpha/resources.rb', line 512 class Cluster include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Metadata related to network configuration. # @!attribute [rw] network # @return [::String] # Optional. 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. # @!attribute [rw] allocated_ip_range # @return [::String] # Optional. Name of the allocated IP range for the private IP AlloyDB # cluster, for example: "google-managed-services-default". If set, the # instance IPs for this cluster will be created in the allocated range. The # range name must comply with RFC 1035. Specifically, the name must be 1-63 # characters long and match the regular expression # `[a-z]([-a-z0-9]*[a-z0-9])?`. # Field name is intended to be consistent with Cloud SQL. class NetworkConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # 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 # PscConfig contains PSC related configuration at a cluster level. # @!attribute [rw] psc_enabled # @return [::Boolean] # Optional. Create an instance that allows connections from Private Service # Connect endpoints to the instance. # @!attribute [r] service_owned_project_number # @return [::Integer] # Output only. The project number that needs to be allowlisted on the # network attachment to enable outbound connectivity. class PscConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Contains information and all metadata related to TRIAL clusters. # @!attribute [rw] start_time # @return [::Google::Protobuf::Timestamp] # start time of the trial cluster. # @!attribute [rw] end_time # @return [::Google::Protobuf::Timestamp] # End time of the trial cluster. # @!attribute [rw] upgrade_time # @return [::Google::Protobuf::Timestamp] # Upgrade time of trial cluster to Standard cluster. # @!attribute [rw] grace_end_time # @return [::Google::Protobuf::Timestamp] # grace end time of the cluster. class TrialMetadata 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 # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class TagsEntry 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 |
#satisfies_pzi ⇒ ::Boolean (readonly)
Returns Output only. Reserved for future use.
512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 |
# File 'proto_docs/google/cloud/alloydb/v1alpha/resources.rb', line 512 class Cluster include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Metadata related to network configuration. # @!attribute [rw] network # @return [::String] # Optional. 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. # @!attribute [rw] allocated_ip_range # @return [::String] # Optional. Name of the allocated IP range for the private IP AlloyDB # cluster, for example: "google-managed-services-default". If set, the # instance IPs for this cluster will be created in the allocated range. The # range name must comply with RFC 1035. Specifically, the name must be 1-63 # characters long and match the regular expression # `[a-z]([-a-z0-9]*[a-z0-9])?`. # Field name is intended to be consistent with Cloud SQL. class NetworkConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # 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 # PscConfig contains PSC related configuration at a cluster level. # @!attribute [rw] psc_enabled # @return [::Boolean] # Optional. Create an instance that allows connections from Private Service # Connect endpoints to the instance. # @!attribute [r] service_owned_project_number # @return [::Integer] # Output only. The project number that needs to be allowlisted on the # network attachment to enable outbound connectivity. class PscConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Contains information and all metadata related to TRIAL clusters. # @!attribute [rw] start_time # @return [::Google::Protobuf::Timestamp] # start time of the trial cluster. # @!attribute [rw] end_time # @return [::Google::Protobuf::Timestamp] # End time of the trial cluster. # @!attribute [rw] upgrade_time # @return [::Google::Protobuf::Timestamp] # Upgrade time of trial cluster to Standard cluster. # @!attribute [rw] grace_end_time # @return [::Google::Protobuf::Timestamp] # grace end time of the cluster. class TrialMetadata 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 # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class TagsEntry 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 |
#satisfies_pzs ⇒ ::Boolean (readonly)
Returns Output only. Reserved for future use.
512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 |
# File 'proto_docs/google/cloud/alloydb/v1alpha/resources.rb', line 512 class Cluster include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Metadata related to network configuration. # @!attribute [rw] network # @return [::String] # Optional. 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. # @!attribute [rw] allocated_ip_range # @return [::String] # Optional. Name of the allocated IP range for the private IP AlloyDB # cluster, for example: "google-managed-services-default". If set, the # instance IPs for this cluster will be created in the allocated range. The # range name must comply with RFC 1035. Specifically, the name must be 1-63 # characters long and match the regular expression # `[a-z]([-a-z0-9]*[a-z0-9])?`. # Field name is intended to be consistent with Cloud SQL. class NetworkConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # 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 # PscConfig contains PSC related configuration at a cluster level. # @!attribute [rw] psc_enabled # @return [::Boolean] # Optional. Create an instance that allows connections from Private Service # Connect endpoints to the instance. # @!attribute [r] service_owned_project_number # @return [::Integer] # Output only. The project number that needs to be allowlisted on the # network attachment to enable outbound connectivity. class PscConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Contains information and all metadata related to TRIAL clusters. # @!attribute [rw] start_time # @return [::Google::Protobuf::Timestamp] # start time of the trial cluster. # @!attribute [rw] end_time # @return [::Google::Protobuf::Timestamp] # End time of the trial cluster. # @!attribute [rw] upgrade_time # @return [::Google::Protobuf::Timestamp] # Upgrade time of trial cluster to Standard cluster. # @!attribute [rw] grace_end_time # @return [::Google::Protobuf::Timestamp] # grace end time of the cluster. class TrialMetadata 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 # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class TagsEntry 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::V1alpha::Cluster::SecondaryConfig
Returns Cross Region replication config specific to SECONDARY cluster.
512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 |
# File 'proto_docs/google/cloud/alloydb/v1alpha/resources.rb', line 512 class Cluster include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Metadata related to network configuration. # @!attribute [rw] network # @return [::String] # Optional. 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. # @!attribute [rw] allocated_ip_range # @return [::String] # Optional. Name of the allocated IP range for the private IP AlloyDB # cluster, for example: "google-managed-services-default". If set, the # instance IPs for this cluster will be created in the allocated range. The # range name must comply with RFC 1035. Specifically, the name must be 1-63 # characters long and match the regular expression # `[a-z]([-a-z0-9]*[a-z0-9])?`. # Field name is intended to be consistent with Cloud SQL. class NetworkConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # 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 # PscConfig contains PSC related configuration at a cluster level. # @!attribute [rw] psc_enabled # @return [::Boolean] # Optional. Create an instance that allows connections from Private Service # Connect endpoints to the instance. # @!attribute [r] service_owned_project_number # @return [::Integer] # Output only. The project number that needs to be allowlisted on the # network attachment to enable outbound connectivity. class PscConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Contains information and all metadata related to TRIAL clusters. # @!attribute [rw] start_time # @return [::Google::Protobuf::Timestamp] # start time of the trial cluster. # @!attribute [rw] end_time # @return [::Google::Protobuf::Timestamp] # End time of the trial cluster. # @!attribute [rw] upgrade_time # @return [::Google::Protobuf::Timestamp] # Upgrade time of trial cluster to Standard cluster. # @!attribute [rw] grace_end_time # @return [::Google::Protobuf::Timestamp] # grace end time of the cluster. class TrialMetadata 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 # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class TagsEntry 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::V1alpha::SslConfig
This field is deprecated and may be removed in the next major version update.
Returns SSL configuration for this AlloyDB cluster.
512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 |
# File 'proto_docs/google/cloud/alloydb/v1alpha/resources.rb', line 512 class Cluster include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Metadata related to network configuration. # @!attribute [rw] network # @return [::String] # Optional. 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. # @!attribute [rw] allocated_ip_range # @return [::String] # Optional. Name of the allocated IP range for the private IP AlloyDB # cluster, for example: "google-managed-services-default". If set, the # instance IPs for this cluster will be created in the allocated range. The # range name must comply with RFC 1035. Specifically, the name must be 1-63 # characters long and match the regular expression # `[a-z]([-a-z0-9]*[a-z0-9])?`. # Field name is intended to be consistent with Cloud SQL. class NetworkConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # 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 # PscConfig contains PSC related configuration at a cluster level. # @!attribute [rw] psc_enabled # @return [::Boolean] # Optional. Create an instance that allows connections from Private Service # Connect endpoints to the instance. # @!attribute [r] service_owned_project_number # @return [::Integer] # Output only. The project number that needs to be allowlisted on the # network attachment to enable outbound connectivity. class PscConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Contains information and all metadata related to TRIAL clusters. # @!attribute [rw] start_time # @return [::Google::Protobuf::Timestamp] # start time of the trial cluster. # @!attribute [rw] end_time # @return [::Google::Protobuf::Timestamp] # End time of the trial cluster. # @!attribute [rw] upgrade_time # @return [::Google::Protobuf::Timestamp] # Upgrade time of trial cluster to Standard cluster. # @!attribute [rw] grace_end_time # @return [::Google::Protobuf::Timestamp] # grace end time of the cluster. class TrialMetadata 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 # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class TagsEntry 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::V1alpha::Cluster::State (readonly)
Returns Output only. The current serving state of the cluster.
512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 |
# File 'proto_docs/google/cloud/alloydb/v1alpha/resources.rb', line 512 class Cluster include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Metadata related to network configuration. # @!attribute [rw] network # @return [::String] # Optional. 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. # @!attribute [rw] allocated_ip_range # @return [::String] # Optional. Name of the allocated IP range for the private IP AlloyDB # cluster, for example: "google-managed-services-default". If set, the # instance IPs for this cluster will be created in the allocated range. The # range name must comply with RFC 1035. Specifically, the name must be 1-63 # characters long and match the regular expression # `[a-z]([-a-z0-9]*[a-z0-9])?`. # Field name is intended to be consistent with Cloud SQL. class NetworkConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # 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 # PscConfig contains PSC related configuration at a cluster level. # @!attribute [rw] psc_enabled # @return [::Boolean] # Optional. Create an instance that allows connections from Private Service # Connect endpoints to the instance. # @!attribute [r] service_owned_project_number # @return [::Integer] # Output only. The project number that needs to be allowlisted on the # network attachment to enable outbound connectivity. class PscConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Contains information and all metadata related to TRIAL clusters. # @!attribute [rw] start_time # @return [::Google::Protobuf::Timestamp] # start time of the trial cluster. # @!attribute [rw] end_time # @return [::Google::Protobuf::Timestamp] # End time of the trial cluster. # @!attribute [rw] upgrade_time # @return [::Google::Protobuf::Timestamp] # Upgrade time of trial cluster to Standard cluster. # @!attribute [rw] grace_end_time # @return [::Google::Protobuf::Timestamp] # grace end time of the cluster. class TrialMetadata 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 # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class TagsEntry 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 |
#subscription_type ⇒ ::Google::Cloud::AlloyDB::V1alpha::SubscriptionType
Returns Optional. Subscription type of the cluster.
512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 |
# File 'proto_docs/google/cloud/alloydb/v1alpha/resources.rb', line 512 class Cluster include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Metadata related to network configuration. # @!attribute [rw] network # @return [::String] # Optional. 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. # @!attribute [rw] allocated_ip_range # @return [::String] # Optional. Name of the allocated IP range for the private IP AlloyDB # cluster, for example: "google-managed-services-default". If set, the # instance IPs for this cluster will be created in the allocated range. The # range name must comply with RFC 1035. Specifically, the name must be 1-63 # characters long and match the regular expression # `[a-z]([-a-z0-9]*[a-z0-9])?`. # Field name is intended to be consistent with Cloud SQL. class NetworkConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # 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 # PscConfig contains PSC related configuration at a cluster level. # @!attribute [rw] psc_enabled # @return [::Boolean] # Optional. Create an instance that allows connections from Private Service # Connect endpoints to the instance. # @!attribute [r] service_owned_project_number # @return [::Integer] # Output only. The project number that needs to be allowlisted on the # network attachment to enable outbound connectivity. class PscConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Contains information and all metadata related to TRIAL clusters. # @!attribute [rw] start_time # @return [::Google::Protobuf::Timestamp] # start time of the trial cluster. # @!attribute [rw] end_time # @return [::Google::Protobuf::Timestamp] # End time of the trial cluster. # @!attribute [rw] upgrade_time # @return [::Google::Protobuf::Timestamp] # Upgrade time of trial cluster to Standard cluster. # @!attribute [rw] grace_end_time # @return [::Google::Protobuf::Timestamp] # grace end time of the cluster. class TrialMetadata 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 # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class TagsEntry 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 |
#tags ⇒ ::Google::Protobuf::Map{::String => ::String}
Returns Optional. Input only. Immutable. Tag keys/values directly bound to this resource. For example:
"123/environment": "production",
"123/costCenter": "marketing"
```.
512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 |
# File 'proto_docs/google/cloud/alloydb/v1alpha/resources.rb', line 512 class Cluster include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Metadata related to network configuration. # @!attribute [rw] network # @return [::String] # Optional. 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. # @!attribute [rw] allocated_ip_range # @return [::String] # Optional. Name of the allocated IP range for the private IP AlloyDB # cluster, for example: "google-managed-services-default". If set, the # instance IPs for this cluster will be created in the allocated range. The # range name must comply with RFC 1035. Specifically, the name must be 1-63 # characters long and match the regular expression # `[a-z]([-a-z0-9]*[a-z0-9])?`. # Field name is intended to be consistent with Cloud SQL. class NetworkConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # 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 # PscConfig contains PSC related configuration at a cluster level. # @!attribute [rw] psc_enabled # @return [::Boolean] # Optional. Create an instance that allows connections from Private Service # Connect endpoints to the instance. # @!attribute [r] service_owned_project_number # @return [::Integer] # Output only. The project number that needs to be allowlisted on the # network attachment to enable outbound connectivity. class PscConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Contains information and all metadata related to TRIAL clusters. # @!attribute [rw] start_time # @return [::Google::Protobuf::Timestamp] # start time of the trial cluster. # @!attribute [rw] end_time # @return [::Google::Protobuf::Timestamp] # End time of the trial cluster. # @!attribute [rw] upgrade_time # @return [::Google::Protobuf::Timestamp] # Upgrade time of trial cluster to Standard cluster. # @!attribute [rw] grace_end_time # @return [::Google::Protobuf::Timestamp] # grace end time of the cluster. class TrialMetadata 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 # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class TagsEntry 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 |
#trial_metadata ⇒ ::Google::Cloud::AlloyDB::V1alpha::Cluster::TrialMetadata (readonly)
Returns Output only. Metadata for free trial clusters.
512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 |
# File 'proto_docs/google/cloud/alloydb/v1alpha/resources.rb', line 512 class Cluster include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Metadata related to network configuration. # @!attribute [rw] network # @return [::String] # Optional. 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. # @!attribute [rw] allocated_ip_range # @return [::String] # Optional. Name of the allocated IP range for the private IP AlloyDB # cluster, for example: "google-managed-services-default". If set, the # instance IPs for this cluster will be created in the allocated range. The # range name must comply with RFC 1035. Specifically, the name must be 1-63 # characters long and match the regular expression # `[a-z]([-a-z0-9]*[a-z0-9])?`. # Field name is intended to be consistent with Cloud SQL. class NetworkConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # 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 # PscConfig contains PSC related configuration at a cluster level. # @!attribute [rw] psc_enabled # @return [::Boolean] # Optional. Create an instance that allows connections from Private Service # Connect endpoints to the instance. # @!attribute [r] service_owned_project_number # @return [::Integer] # Output only. The project number that needs to be allowlisted on the # network attachment to enable outbound connectivity. class PscConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Contains information and all metadata related to TRIAL clusters. # @!attribute [rw] start_time # @return [::Google::Protobuf::Timestamp] # start time of the trial cluster. # @!attribute [rw] end_time # @return [::Google::Protobuf::Timestamp] # End time of the trial cluster. # @!attribute [rw] upgrade_time # @return [::Google::Protobuf::Timestamp] # Upgrade time of trial cluster to Standard cluster. # @!attribute [rw] grace_end_time # @return [::Google::Protobuf::Timestamp] # grace end time of the cluster. class TrialMetadata 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 # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class TagsEntry 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.
512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 |
# File 'proto_docs/google/cloud/alloydb/v1alpha/resources.rb', line 512 class Cluster include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Metadata related to network configuration. # @!attribute [rw] network # @return [::String] # Optional. 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. # @!attribute [rw] allocated_ip_range # @return [::String] # Optional. Name of the allocated IP range for the private IP AlloyDB # cluster, for example: "google-managed-services-default". If set, the # instance IPs for this cluster will be created in the allocated range. The # range name must comply with RFC 1035. Specifically, the name must be 1-63 # characters long and match the regular expression # `[a-z]([-a-z0-9]*[a-z0-9])?`. # Field name is intended to be consistent with Cloud SQL. class NetworkConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # 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 # PscConfig contains PSC related configuration at a cluster level. # @!attribute [rw] psc_enabled # @return [::Boolean] # Optional. Create an instance that allows connections from Private Service # Connect endpoints to the instance. # @!attribute [r] service_owned_project_number # @return [::Integer] # Output only. The project number that needs to be allowlisted on the # network attachment to enable outbound connectivity. class PscConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Contains information and all metadata related to TRIAL clusters. # @!attribute [rw] start_time # @return [::Google::Protobuf::Timestamp] # start time of the trial cluster. # @!attribute [rw] end_time # @return [::Google::Protobuf::Timestamp] # End time of the trial cluster. # @!attribute [rw] upgrade_time # @return [::Google::Protobuf::Timestamp] # Upgrade time of trial cluster to Standard cluster. # @!attribute [rw] grace_end_time # @return [::Google::Protobuf::Timestamp] # grace end time of the cluster. class TrialMetadata 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 # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class TagsEntry 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.
512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 |
# File 'proto_docs/google/cloud/alloydb/v1alpha/resources.rb', line 512 class Cluster include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Metadata related to network configuration. # @!attribute [rw] network # @return [::String] # Optional. 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. # @!attribute [rw] allocated_ip_range # @return [::String] # Optional. Name of the allocated IP range for the private IP AlloyDB # cluster, for example: "google-managed-services-default". If set, the # instance IPs for this cluster will be created in the allocated range. The # range name must comply with RFC 1035. Specifically, the name must be 1-63 # characters long and match the regular expression # `[a-z]([-a-z0-9]*[a-z0-9])?`. # Field name is intended to be consistent with Cloud SQL. class NetworkConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # 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 # PscConfig contains PSC related configuration at a cluster level. # @!attribute [rw] psc_enabled # @return [::Boolean] # Optional. Create an instance that allows connections from Private Service # Connect endpoints to the instance. # @!attribute [r] service_owned_project_number # @return [::Integer] # Output only. The project number that needs to be allowlisted on the # network attachment to enable outbound connectivity. class PscConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Contains information and all metadata related to TRIAL clusters. # @!attribute [rw] start_time # @return [::Google::Protobuf::Timestamp] # start time of the trial cluster. # @!attribute [rw] end_time # @return [::Google::Protobuf::Timestamp] # End time of the trial cluster. # @!attribute [rw] upgrade_time # @return [::Google::Protobuf::Timestamp] # Upgrade time of trial cluster to Standard cluster. # @!attribute [rw] grace_end_time # @return [::Google::Protobuf::Timestamp] # grace end time of the cluster. class TrialMetadata 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 # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class TagsEntry 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 |