Class: Google::Cloud::AlloyDB::V1alpha::UpgradeClusterStatus

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

Overview

Message for current status of the Major Version Upgrade operation.

Defined Under Namespace

Classes: ReadPoolInstancesUpgradeStageStatus, StageStatus

Instance Attribute Summary collapse

Instance Attribute Details

#cancellable::Boolean

Returns Whether the operation is cancellable.

Returns:

  • (::Boolean)

    Whether the operation is cancellable.



1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
# File 'proto_docs/google/cloud/alloydb/v1alpha/service.rb', line 1595

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

  # Status of an upgrade stage.
  # @!attribute [rw] read_pool_instances_upgrade
  #   @return [::Google::Cloud::AlloyDB::V1alpha::UpgradeClusterStatus::ReadPoolInstancesUpgradeStageStatus]
  #     Read pool instances upgrade metadata.
  # @!attribute [rw] stage
  #   @return [::Google::Cloud::AlloyDB::V1alpha::UpgradeClusterResponse::Stage]
  #     Upgrade stage.
  # @!attribute [rw] state
  #   @return [::Google::Cloud::AlloyDB::V1alpha::UpgradeClusterResponse::Status]
  #     State of this stage.
  class StageStatus
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Read pool instances upgrade specific status.
  # @!attribute [rw] upgrade_stats
  #   @return [::Google::Cloud::AlloyDB::V1alpha::UpgradeClusterStatus::ReadPoolInstancesUpgradeStageStatus::Stats]
  #     Read pool instances upgrade statistics.
  class ReadPoolInstancesUpgradeStageStatus
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Upgrade stats for read pool instances.
    # @!attribute [rw] not_started
    #   @return [::Integer]
    #     Number of read pool instances for which upgrade has not started.
    # @!attribute [rw] ongoing
    #   @return [::Integer]
    #     Number of read pool instances undergoing upgrade.
    # @!attribute [rw] success
    #   @return [::Integer]
    #     Number of read pool instances successfully upgraded.
    # @!attribute [rw] failed
    #   @return [::Integer]
    #     Number of read pool instances which failed to upgrade.
    class Stats
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end
end

#source_version::Google::Cloud::AlloyDB::V1alpha::DatabaseVersion

Returns Source database major version.

Returns:



1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
# File 'proto_docs/google/cloud/alloydb/v1alpha/service.rb', line 1595

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

  # Status of an upgrade stage.
  # @!attribute [rw] read_pool_instances_upgrade
  #   @return [::Google::Cloud::AlloyDB::V1alpha::UpgradeClusterStatus::ReadPoolInstancesUpgradeStageStatus]
  #     Read pool instances upgrade metadata.
  # @!attribute [rw] stage
  #   @return [::Google::Cloud::AlloyDB::V1alpha::UpgradeClusterResponse::Stage]
  #     Upgrade stage.
  # @!attribute [rw] state
  #   @return [::Google::Cloud::AlloyDB::V1alpha::UpgradeClusterResponse::Status]
  #     State of this stage.
  class StageStatus
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Read pool instances upgrade specific status.
  # @!attribute [rw] upgrade_stats
  #   @return [::Google::Cloud::AlloyDB::V1alpha::UpgradeClusterStatus::ReadPoolInstancesUpgradeStageStatus::Stats]
  #     Read pool instances upgrade statistics.
  class ReadPoolInstancesUpgradeStageStatus
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Upgrade stats for read pool instances.
    # @!attribute [rw] not_started
    #   @return [::Integer]
    #     Number of read pool instances for which upgrade has not started.
    # @!attribute [rw] ongoing
    #   @return [::Integer]
    #     Number of read pool instances undergoing upgrade.
    # @!attribute [rw] success
    #   @return [::Integer]
    #     Number of read pool instances successfully upgraded.
    # @!attribute [rw] failed
    #   @return [::Integer]
    #     Number of read pool instances which failed to upgrade.
    class Stats
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end
end

#stages::Array<::Google::Cloud::AlloyDB::V1alpha::UpgradeClusterStatus::StageStatus>

Returns Status of all upgrade stages.

Returns:



1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
# File 'proto_docs/google/cloud/alloydb/v1alpha/service.rb', line 1595

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

  # Status of an upgrade stage.
  # @!attribute [rw] read_pool_instances_upgrade
  #   @return [::Google::Cloud::AlloyDB::V1alpha::UpgradeClusterStatus::ReadPoolInstancesUpgradeStageStatus]
  #     Read pool instances upgrade metadata.
  # @!attribute [rw] stage
  #   @return [::Google::Cloud::AlloyDB::V1alpha::UpgradeClusterResponse::Stage]
  #     Upgrade stage.
  # @!attribute [rw] state
  #   @return [::Google::Cloud::AlloyDB::V1alpha::UpgradeClusterResponse::Status]
  #     State of this stage.
  class StageStatus
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Read pool instances upgrade specific status.
  # @!attribute [rw] upgrade_stats
  #   @return [::Google::Cloud::AlloyDB::V1alpha::UpgradeClusterStatus::ReadPoolInstancesUpgradeStageStatus::Stats]
  #     Read pool instances upgrade statistics.
  class ReadPoolInstancesUpgradeStageStatus
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Upgrade stats for read pool instances.
    # @!attribute [rw] not_started
    #   @return [::Integer]
    #     Number of read pool instances for which upgrade has not started.
    # @!attribute [rw] ongoing
    #   @return [::Integer]
    #     Number of read pool instances undergoing upgrade.
    # @!attribute [rw] success
    #   @return [::Integer]
    #     Number of read pool instances successfully upgraded.
    # @!attribute [rw] failed
    #   @return [::Integer]
    #     Number of read pool instances which failed to upgrade.
    class Stats
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end
end

#state::Google::Cloud::AlloyDB::V1alpha::UpgradeClusterResponse::Status

Returns Cluster Major Version Upgrade state.

Returns:



1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
# File 'proto_docs/google/cloud/alloydb/v1alpha/service.rb', line 1595

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

  # Status of an upgrade stage.
  # @!attribute [rw] read_pool_instances_upgrade
  #   @return [::Google::Cloud::AlloyDB::V1alpha::UpgradeClusterStatus::ReadPoolInstancesUpgradeStageStatus]
  #     Read pool instances upgrade metadata.
  # @!attribute [rw] stage
  #   @return [::Google::Cloud::AlloyDB::V1alpha::UpgradeClusterResponse::Stage]
  #     Upgrade stage.
  # @!attribute [rw] state
  #   @return [::Google::Cloud::AlloyDB::V1alpha::UpgradeClusterResponse::Status]
  #     State of this stage.
  class StageStatus
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Read pool instances upgrade specific status.
  # @!attribute [rw] upgrade_stats
  #   @return [::Google::Cloud::AlloyDB::V1alpha::UpgradeClusterStatus::ReadPoolInstancesUpgradeStageStatus::Stats]
  #     Read pool instances upgrade statistics.
  class ReadPoolInstancesUpgradeStageStatus
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Upgrade stats for read pool instances.
    # @!attribute [rw] not_started
    #   @return [::Integer]
    #     Number of read pool instances for which upgrade has not started.
    # @!attribute [rw] ongoing
    #   @return [::Integer]
    #     Number of read pool instances undergoing upgrade.
    # @!attribute [rw] success
    #   @return [::Integer]
    #     Number of read pool instances successfully upgraded.
    # @!attribute [rw] failed
    #   @return [::Integer]
    #     Number of read pool instances which failed to upgrade.
    class Stats
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end
end

#target_version::Google::Cloud::AlloyDB::V1alpha::DatabaseVersion

Returns Target database major version.

Returns:



1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
# File 'proto_docs/google/cloud/alloydb/v1alpha/service.rb', line 1595

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

  # Status of an upgrade stage.
  # @!attribute [rw] read_pool_instances_upgrade
  #   @return [::Google::Cloud::AlloyDB::V1alpha::UpgradeClusterStatus::ReadPoolInstancesUpgradeStageStatus]
  #     Read pool instances upgrade metadata.
  # @!attribute [rw] stage
  #   @return [::Google::Cloud::AlloyDB::V1alpha::UpgradeClusterResponse::Stage]
  #     Upgrade stage.
  # @!attribute [rw] state
  #   @return [::Google::Cloud::AlloyDB::V1alpha::UpgradeClusterResponse::Status]
  #     State of this stage.
  class StageStatus
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Read pool instances upgrade specific status.
  # @!attribute [rw] upgrade_stats
  #   @return [::Google::Cloud::AlloyDB::V1alpha::UpgradeClusterStatus::ReadPoolInstancesUpgradeStageStatus::Stats]
  #     Read pool instances upgrade statistics.
  class ReadPoolInstancesUpgradeStageStatus
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Upgrade stats for read pool instances.
    # @!attribute [rw] not_started
    #   @return [::Integer]
    #     Number of read pool instances for which upgrade has not started.
    # @!attribute [rw] ongoing
    #   @return [::Integer]
    #     Number of read pool instances undergoing upgrade.
    # @!attribute [rw] success
    #   @return [::Integer]
    #     Number of read pool instances successfully upgraded.
    # @!attribute [rw] failed
    #   @return [::Integer]
    #     Number of read pool instances which failed to upgrade.
    class Stats
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end
end