Class: Google::Cloud::AlloyDB::V1::UpgradeClusterStatus

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



1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
# File 'proto_docs/google/cloud/alloydb/v1/service.rb', line 1550

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::V1::UpgradeClusterStatus::ReadPoolInstancesUpgradeStageStatus]
  #     Read pool instances upgrade metadata.
  # @!attribute [rw] stage
  #   @return [::Google::Cloud::AlloyDB::V1::UpgradeClusterResponse::Stage]
  #     Upgrade stage.
  # @!attribute [rw] state
  #   @return [::Google::Cloud::AlloyDB::V1::UpgradeClusterResponse::Status]
  #     State of this stage.
  # @!attribute [r] schedule
  #   @return [::Google::Cloud::AlloyDB::V1::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::V1::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::V1::DatabaseVersion

Returns Source database major version.

Returns:



1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
# File 'proto_docs/google/cloud/alloydb/v1/service.rb', line 1550

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::V1::UpgradeClusterStatus::ReadPoolInstancesUpgradeStageStatus]
  #     Read pool instances upgrade metadata.
  # @!attribute [rw] stage
  #   @return [::Google::Cloud::AlloyDB::V1::UpgradeClusterResponse::Stage]
  #     Upgrade stage.
  # @!attribute [rw] state
  #   @return [::Google::Cloud::AlloyDB::V1::UpgradeClusterResponse::Status]
  #     State of this stage.
  # @!attribute [r] schedule
  #   @return [::Google::Cloud::AlloyDB::V1::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::V1::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::V1::UpgradeClusterStatus::StageStatus>

Returns Status of all upgrade stages.

Returns:



1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
# File 'proto_docs/google/cloud/alloydb/v1/service.rb', line 1550

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::V1::UpgradeClusterStatus::ReadPoolInstancesUpgradeStageStatus]
  #     Read pool instances upgrade metadata.
  # @!attribute [rw] stage
  #   @return [::Google::Cloud::AlloyDB::V1::UpgradeClusterResponse::Stage]
  #     Upgrade stage.
  # @!attribute [rw] state
  #   @return [::Google::Cloud::AlloyDB::V1::UpgradeClusterResponse::Status]
  #     State of this stage.
  # @!attribute [r] schedule
  #   @return [::Google::Cloud::AlloyDB::V1::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::V1::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::V1::UpgradeClusterResponse::Status

Returns Cluster Major Version Upgrade state.

Returns:



1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
# File 'proto_docs/google/cloud/alloydb/v1/service.rb', line 1550

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::V1::UpgradeClusterStatus::ReadPoolInstancesUpgradeStageStatus]
  #     Read pool instances upgrade metadata.
  # @!attribute [rw] stage
  #   @return [::Google::Cloud::AlloyDB::V1::UpgradeClusterResponse::Stage]
  #     Upgrade stage.
  # @!attribute [rw] state
  #   @return [::Google::Cloud::AlloyDB::V1::UpgradeClusterResponse::Status]
  #     State of this stage.
  # @!attribute [r] schedule
  #   @return [::Google::Cloud::AlloyDB::V1::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::V1::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::V1::DatabaseVersion

Returns Target database major version.

Returns:



1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
# File 'proto_docs/google/cloud/alloydb/v1/service.rb', line 1550

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::V1::UpgradeClusterStatus::ReadPoolInstancesUpgradeStageStatus]
  #     Read pool instances upgrade metadata.
  # @!attribute [rw] stage
  #   @return [::Google::Cloud::AlloyDB::V1::UpgradeClusterResponse::Stage]
  #     Upgrade stage.
  # @!attribute [rw] state
  #   @return [::Google::Cloud::AlloyDB::V1::UpgradeClusterResponse::Status]
  #     State of this stage.
  # @!attribute [r] schedule
  #   @return [::Google::Cloud::AlloyDB::V1::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::V1::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