Class: Google::Apis::AlloydbV1alpha::UpgradeClusterStatus

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ UpgradeClusterStatus

Returns a new instance of UpgradeClusterStatus.



5797
5798
5799
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 5797

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#cancellableBoolean Also known as: cancellable?

Whether the operation is cancellable. Corresponds to the JSON property cancellable

Returns:

  • (Boolean)


5774
5775
5776
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 5774

def cancellable
  @cancellable
end

#source_versionString

Source database major version. Corresponds to the JSON property sourceVersion

Returns:

  • (String)


5780
5781
5782
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 5780

def source_version
  @source_version
end

#stagesArray<Google::Apis::AlloydbV1alpha::StageStatus>

Status of all upgrade stages. Corresponds to the JSON property stages



5785
5786
5787
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 5785

def stages
  @stages
end

#stateString

Cluster Major Version Upgrade state. Corresponds to the JSON property state

Returns:

  • (String)


5790
5791
5792
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 5790

def state
  @state
end

#target_versionString

Target database major version. Corresponds to the JSON property targetVersion

Returns:

  • (String)


5795
5796
5797
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 5795

def target_version
  @target_version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5802
5803
5804
5805
5806
5807
5808
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 5802

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