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_emulated_version ⇒ String
The emulated version before the upgrade.
-
#initial_version ⇒ String
The version before the upgrade.
-
#start_time ⇒ String
The start timestamp of the upgrade.
-
#start_type ⇒ String
The start type of the upgrade.
-
#state ⇒ String
Output only.
-
#target_emulated_version ⇒ String
The emulated version after the upgrade.
-
#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.
11582 11583 11584 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 11582 def initialize(**args) update!(**args) end |
Instance Attribute Details
#end_time ⇒ String
The end timestamp of the upgrade.
Corresponds to the JSON property endTime
11545 11546 11547 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 11545 def end_time @end_time end |
#initial_emulated_version ⇒ String
The emulated version before the upgrade.
Corresponds to the JSON property initialEmulatedVersion
11550 11551 11552 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 11550 def initial_emulated_version @initial_emulated_version end |
#initial_version ⇒ String
The version before the upgrade.
Corresponds to the JSON property initialVersion
11555 11556 11557 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 11555 def initial_version @initial_version end |
#start_time ⇒ String
The start timestamp of the upgrade.
Corresponds to the JSON property startTime
11560 11561 11562 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 11560 def start_time @start_time end |
#start_type ⇒ String
The start type of the upgrade.
Corresponds to the JSON property startType
11565 11566 11567 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 11565 def start_type @start_type end |
#state ⇒ String
Output only. The state of the upgrade.
Corresponds to the JSON property state
11570 11571 11572 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 11570 def state @state end |
#target_emulated_version ⇒ String
The emulated version after the upgrade.
Corresponds to the JSON property targetEmulatedVersion
11575 11576 11577 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 11575 def target_emulated_version @target_emulated_version end |
#target_version ⇒ String
The version after the upgrade.
Corresponds to the JSON property targetVersion
11580 11581 11582 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 11580 def target_version @target_version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11587 11588 11589 11590 11591 11592 11593 11594 11595 11596 |
# File 'lib/google/apis/container_v1beta1/classes.rb', line 11587 def update!(**args) @end_time = args[:end_time] if args.key?(:end_time) @initial_emulated_version = args[:initial_emulated_version] if args.key?(:initial_emulated_version) @initial_version = args[:initial_version] if args.key?(:initial_version) @start_time = args[:start_time] if args.key?(:start_time) @start_type = args[:start_type] if args.key?(:start_type) @state = args[:state] if args.key?(:state) @target_emulated_version = args[:target_emulated_version] if args.key?(:target_emulated_version) @target_version = args[:target_version] if args.key?(:target_version) end |