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.



1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
# File 'proto_docs/google/cloud/alloydb/v1beta/service.rb', line 1406

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.
  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::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:



1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
# File 'proto_docs/google/cloud/alloydb/v1beta/service.rb', line 1406

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.
  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::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:



1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
# File 'proto_docs/google/cloud/alloydb/v1beta/service.rb', line 1406

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.
  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::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:



1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
# File 'proto_docs/google/cloud/alloydb/v1beta/service.rb', line 1406

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.
  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::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:



1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
# File 'proto_docs/google/cloud/alloydb/v1beta/service.rb', line 1406

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.
  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::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