Class: Google::Apis::GkehubV1beta::ClusterUpgradeUpgradeStatus
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV1beta::ClusterUpgradeUpgradeStatus
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gkehub_v1beta/classes.rb,
lib/google/apis/gkehub_v1beta/representations.rb,
lib/google/apis/gkehub_v1beta/representations.rb
Overview
UpgradeStatus provides status information for each upgrade.
Instance Attribute Summary collapse
-
#code ⇒ String
Status code of the upgrade.
-
#reason ⇒ String
Reason for this status.
-
#update_time ⇒ String
Last timestamp the status was updated.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ClusterUpgradeUpgradeStatus
constructor
A new instance of ClusterUpgradeUpgradeStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ClusterUpgradeUpgradeStatus
Returns a new instance of ClusterUpgradeUpgradeStatus.
732 733 734 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 732 def initialize(**args) update!(**args) end |
Instance Attribute Details
#code ⇒ String
Status code of the upgrade.
Corresponds to the JSON property code
720 721 722 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 720 def code @code end |
#reason ⇒ String
Reason for this status.
Corresponds to the JSON property reason
725 726 727 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 725 def reason @reason end |
#update_time ⇒ String
Last timestamp the status was updated.
Corresponds to the JSON property updateTime
730 731 732 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 730 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
737 738 739 740 741 |
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 737 def update!(**args) @code = args[:code] if args.key?(:code) @reason = args[:reason] if args.key?(:reason) @update_time = args[:update_time] if args.key?(:update_time) end |