Class: Google::Apis::ContainerV1beta1::UpgradeDetails
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1beta1::UpgradeDetails
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/container_v1beta1/classes.rb,
lib/google/apis/container_v1beta1/representations.rb,
lib/google/apis/container_v1beta1/representations.rb
Overview
UpgradeDetails contains detailed information of each individual upgrade operation.
Instance Attribute Summary collapse
-
#end_time ⇒ String
The end timestamp of the upgrade.
-
#initial_version ⇒ String
The version before the upgrade.
-
#start_time ⇒ String
The start timestamp of the upgrade.
-
#state ⇒ String
Output only.
-
#target_version ⇒ String
The version after the upgrade.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UpgradeDetails
constructor
A new instance of UpgradeDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ UpgradeDetails
Returns a new instance of UpgradeDetails.
8754 8755 8756 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 8754 def initialize(**args) update!(**args) end |
Instance Attribute Details
#end_time ⇒ String
The end timestamp of the upgrade.
Corresponds to the JSON property endTime
8732 8733 8734 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 8732 def end_time @end_time end |
#initial_version ⇒ String
The version before the upgrade.
Corresponds to the JSON property initialVersion
8737 8738 8739 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 8737 def initial_version @initial_version end |
#start_time ⇒ String
The start timestamp of the upgrade.
Corresponds to the JSON property startTime
8742 8743 8744 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 8742 def start_time @start_time end |
#state ⇒ String
Output only. The state of the upgrade.
Corresponds to the JSON property state
8747 8748 8749 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 8747 def state @state end |
#target_version ⇒ String
The version after the upgrade.
Corresponds to the JSON property targetVersion
8752 8753 8754 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 8752 def target_version @target_version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8759 8760 8761 8762 8763 8764 8765 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 8759 def update!(**args) @end_time = args[:end_time] if args.key?(:end_time) @initial_version = args[:initial_version] if args.key?(:initial_version) @start_time = args[:start_time] if args.key?(:start_time) @state = args[:state] if args.key?(:state) @target_version = args[:target_version] if args.key?(:target_version) end |