Class: Google::Cloud::AlloyDB::V1beta::UpgradeClusterStatus

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/alloydb/v1beta/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.



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
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
# File 'proto_docs/google/cloud/alloydb/v1beta/service.rb', line 1599

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::V1beta::UpgradeClusterStatus::ReadPoolInstancesUpgradeStageStatus]
  #     Read pool instances upgrade metadata.
  # @!attribute [rw] stage
  #   @return [::Google::Cloud::AlloyDB::V1beta::UpgradeClusterResponse::Stage]
  #     Upgrade stage.
  # @!attribute [rw] state
  #   @return [::Google::Cloud::AlloyDB::V1beta::UpgradeClusterResponse::Status]
  #     State of this stage.
  # @!attribute [r] schedule
  #   @return [::Google::Cloud::AlloyDB::V1beta::UpgradeClusterStatus::StageStatus::StageSchedule]
  #     Output only. Timing information for the stage execution.
  class StageStatus
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Timing information for the stage execution.
    # @!attribute [rw] estimated_start_time
    #   @return [::Google::Protobuf::Timestamp]
    #     When the stage is expected to start. Set only if the stage has not
    #     started yet.
    # @!attribute [rw] actual_start_time
    #   @return [::Google::Protobuf::Timestamp]
    #     Actual start time of the stage. Set only if the stage has started.
    # @!attribute [rw] estimated_end_time
    #   @return [::Google::Protobuf::Timestamp]
    #     When the stage is expected to end. Set only if the stage has not
    #     completed yet.
    # @!attribute [rw] actual_end_time
    #   @return [::Google::Protobuf::Timestamp]
    #     Actual end time of the stage. Set only if the stage has completed.
    class StageSchedule
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Read pool instances upgrade specific status.
  # @!attribute [rw] upgrade_stats
  #   @return [::Google::Cloud::AlloyDB::V1beta::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::V1beta::DatabaseVersion

Returns Source database major version.

Returns:



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
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
# File 'proto_docs/google/cloud/alloydb/v1beta/service.rb', line 1599

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::V1beta::UpgradeClusterStatus::ReadPoolInstancesUpgradeStageStatus]
  #     Read pool instances upgrade metadata.
  # @!attribute [rw] stage
  #   @return [::Google::Cloud::AlloyDB::V1beta::UpgradeClusterResponse::Stage]
  #     Upgrade stage.
  # @!attribute [rw] state
  #   @return [::Google::Cloud::AlloyDB::V1beta::UpgradeClusterResponse::Status]
  #     State of this stage.
  # @!attribute [r] schedule
  #   @return [::Google::Cloud::AlloyDB::V1beta::UpgradeClusterStatus::StageStatus::StageSchedule]
  #     Output only. Timing information for the stage execution.
  class StageStatus
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Timing information for the stage execution.
    # @!attribute [rw] estimated_start_time
    #   @return [::Google::Protobuf::Timestamp]
    #     When the stage is expected to start. Set only if the stage has not
    #     started yet.
    # @!attribute [rw] actual_start_time
    #   @return [::Google::Protobuf::Timestamp]
    #     Actual start time of the stage. Set only if the stage has started.
    # @!attribute [rw] estimated_end_time
    #   @return [::Google::Protobuf::Timestamp]
    #     When the stage is expected to end. Set only if the stage has not
    #     completed yet.
    # @!attribute [rw] actual_end_time
    #   @return [::Google::Protobuf::Timestamp]
    #     Actual end time of the stage. Set only if the stage has completed.
    class StageSchedule
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Read pool instances upgrade specific status.
  # @!attribute [rw] upgrade_stats
  #   @return [::Google::Cloud::AlloyDB::V1beta::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::V1beta::UpgradeClusterStatus::StageStatus>

Returns Status of all upgrade stages.

Returns:



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
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
# File 'proto_docs/google/cloud/alloydb/v1beta/service.rb', line 1599

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::V1beta::UpgradeClusterStatus::ReadPoolInstancesUpgradeStageStatus]
  #     Read pool instances upgrade metadata.
  # @!attribute [rw] stage
  #   @return [::Google::Cloud::AlloyDB::V1beta::UpgradeClusterResponse::Stage]
  #     Upgrade stage.
  # @!attribute [rw] state
  #   @return [::Google::Cloud::AlloyDB::V1beta::UpgradeClusterResponse::Status]
  #     State of this stage.
  # @!attribute [r] schedule
  #   @return [::Google::Cloud::AlloyDB::V1beta::UpgradeClusterStatus::StageStatus::StageSchedule]
  #     Output only. Timing information for the stage execution.
  class StageStatus
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Timing information for the stage execution.
    # @!attribute [rw] estimated_start_time
    #   @return [::Google::Protobuf::Timestamp]
    #     When the stage is expected to start. Set only if the stage has not
    #     started yet.
    # @!attribute [rw] actual_start_time
    #   @return [::Google::Protobuf::Timestamp]
    #     Actual start time of the stage. Set only if the stage has started.
    # @!attribute [rw] estimated_end_time
    #   @return [::Google::Protobuf::Timestamp]
    #     When the stage is expected to end. Set only if the stage has not
    #     completed yet.
    # @!attribute [rw] actual_end_time
    #   @return [::Google::Protobuf::Timestamp]
    #     Actual end time of the stage. Set only if the stage has completed.
    class StageSchedule
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Read pool instances upgrade specific status.
  # @!attribute [rw] upgrade_stats
  #   @return [::Google::Cloud::AlloyDB::V1beta::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::V1beta::UpgradeClusterResponse::Status

Returns Cluster Major Version Upgrade state.

Returns:



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
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
# File 'proto_docs/google/cloud/alloydb/v1beta/service.rb', line 1599

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::V1beta::UpgradeClusterStatus::ReadPoolInstancesUpgradeStageStatus]
  #     Read pool instances upgrade metadata.
  # @!attribute [rw] stage
  #   @return [::Google::Cloud::AlloyDB::V1beta::UpgradeClusterResponse::Stage]
  #     Upgrade stage.
  # @!attribute [rw] state
  #   @return [::Google::Cloud::AlloyDB::V1beta::UpgradeClusterResponse::Status]
  #     State of this stage.
  # @!attribute [r] schedule
  #   @return [::Google::Cloud::AlloyDB::V1beta::UpgradeClusterStatus::StageStatus::StageSchedule]
  #     Output only. Timing information for the stage execution.
  class StageStatus
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Timing information for the stage execution.
    # @!attribute [rw] estimated_start_time
    #   @return [::Google::Protobuf::Timestamp]
    #     When the stage is expected to start. Set only if the stage has not
    #     started yet.
    # @!attribute [rw] actual_start_time
    #   @return [::Google::Protobuf::Timestamp]
    #     Actual start time of the stage. Set only if the stage has started.
    # @!attribute [rw] estimated_end_time
    #   @return [::Google::Protobuf::Timestamp]
    #     When the stage is expected to end. Set only if the stage has not
    #     completed yet.
    # @!attribute [rw] actual_end_time
    #   @return [::Google::Protobuf::Timestamp]
    #     Actual end time of the stage. Set only if the stage has completed.
    class StageSchedule
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Read pool instances upgrade specific status.
  # @!attribute [rw] upgrade_stats
  #   @return [::Google::Cloud::AlloyDB::V1beta::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::V1beta::DatabaseVersion

Returns Target database major version.

Returns:



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
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
# File 'proto_docs/google/cloud/alloydb/v1beta/service.rb', line 1599

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::V1beta::UpgradeClusterStatus::ReadPoolInstancesUpgradeStageStatus]
  #     Read pool instances upgrade metadata.
  # @!attribute [rw] stage
  #   @return [::Google::Cloud::AlloyDB::V1beta::UpgradeClusterResponse::Stage]
  #     Upgrade stage.
  # @!attribute [rw] state
  #   @return [::Google::Cloud::AlloyDB::V1beta::UpgradeClusterResponse::Status]
  #     State of this stage.
  # @!attribute [r] schedule
  #   @return [::Google::Cloud::AlloyDB::V1beta::UpgradeClusterStatus::StageStatus::StageSchedule]
  #     Output only. Timing information for the stage execution.
  class StageStatus
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Timing information for the stage execution.
    # @!attribute [rw] estimated_start_time
    #   @return [::Google::Protobuf::Timestamp]
    #     When the stage is expected to start. Set only if the stage has not
    #     started yet.
    # @!attribute [rw] actual_start_time
    #   @return [::Google::Protobuf::Timestamp]
    #     Actual start time of the stage. Set only if the stage has started.
    # @!attribute [rw] estimated_end_time
    #   @return [::Google::Protobuf::Timestamp]
    #     When the stage is expected to end. Set only if the stage has not
    #     completed yet.
    # @!attribute [rw] actual_end_time
    #   @return [::Google::Protobuf::Timestamp]
    #     Actual end time of the stage. Set only if the stage has completed.
    class StageSchedule
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Read pool instances upgrade specific status.
  # @!attribute [rw] upgrade_stats
  #   @return [::Google::Cloud::AlloyDB::V1beta::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