Class: Google::Apis::AlloydbV1alpha::UpgradeClusterStatus
- Inherits:
-
Object
- Object
- Google::Apis::AlloydbV1alpha::UpgradeClusterStatus
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/alloydb_v1alpha/classes.rb,
lib/google/apis/alloydb_v1alpha/representations.rb,
lib/google/apis/alloydb_v1alpha/representations.rb
Overview
Message for current status of the Major Version Upgrade operation.
Instance Attribute Summary collapse
-
#cancellable ⇒ Boolean
(also: #cancellable?)
Whether the operation is cancellable.
-
#source_version ⇒ String
Source database major version.
-
#stages ⇒ Array<Google::Apis::AlloydbV1alpha::StageStatus>
Status of all upgrade stages.
-
#state ⇒ String
Cluster Major Version Upgrade state.
-
#target_version ⇒ String
Target database major version.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UpgradeClusterStatus
constructor
A new instance of UpgradeClusterStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ UpgradeClusterStatus
Returns a new instance of UpgradeClusterStatus.
5773 5774 5775 |
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 5773 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cancellable ⇒ Boolean Also known as: cancellable?
Whether the operation is cancellable.
Corresponds to the JSON property cancellable
5750 5751 5752 |
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 5750 def cancellable @cancellable end |
#source_version ⇒ String
Source database major version.
Corresponds to the JSON property sourceVersion
5756 5757 5758 |
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 5756 def source_version @source_version end |
#stages ⇒ Array<Google::Apis::AlloydbV1alpha::StageStatus>
Status of all upgrade stages.
Corresponds to the JSON property stages
5761 5762 5763 |
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 5761 def stages @stages end |
#state ⇒ String
Cluster Major Version Upgrade state.
Corresponds to the JSON property state
5766 5767 5768 |
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 5766 def state @state end |
#target_version ⇒ String
Target database major version.
Corresponds to the JSON property targetVersion
5771 5772 5773 |
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 5771 def target_version @target_version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5778 5779 5780 5781 5782 5783 5784 |
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 5778 def update!(**args) @cancellable = args[:cancellable] if args.key?(:cancellable) @source_version = args[:source_version] if args.key?(:source_version) @stages = args[:stages] if args.key?(:stages) @state = args[:state] if args.key?(:state) @target_version = args[:target_version] if args.key?(:target_version) end |