Class: Google::Apis::ContainerV1::UpgradeDetails
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1::UpgradeDetails
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/container_v1/classes.rb,
lib/google/apis/container_v1/representations.rb,
lib/google/apis/container_v1/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
Output only.
-
#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
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.
10913 10914 10915 |
# File 'lib/google/apis/container_v1/classes.rb', line 10913 def initialize(**args) update!(**args) end |
Instance Attribute Details
#end_time ⇒ String
The end timestamp of the upgrade.
Corresponds to the JSON property endTime
10876 10877 10878 |
# File 'lib/google/apis/container_v1/classes.rb', line 10876 def end_time @end_time end |
#initial_emulated_version ⇒ String
Output only. The emulated version before the upgrade.
Corresponds to the JSON property initialEmulatedVersion
10881 10882 10883 |
# File 'lib/google/apis/container_v1/classes.rb', line 10881 def initial_emulated_version @initial_emulated_version end |
#initial_version ⇒ String
The version before the upgrade.
Corresponds to the JSON property initialVersion
10886 10887 10888 |
# File 'lib/google/apis/container_v1/classes.rb', line 10886 def initial_version @initial_version end |
#start_time ⇒ String
The start timestamp of the upgrade.
Corresponds to the JSON property startTime
10891 10892 10893 |
# File 'lib/google/apis/container_v1/classes.rb', line 10891 def start_time @start_time end |
#start_type ⇒ String
The start type of the upgrade.
Corresponds to the JSON property startType
10896 10897 10898 |
# File 'lib/google/apis/container_v1/classes.rb', line 10896 def start_type @start_type end |
#state ⇒ String
Output only. The state of the upgrade.
Corresponds to the JSON property state
10901 10902 10903 |
# File 'lib/google/apis/container_v1/classes.rb', line 10901 def state @state end |
#target_emulated_version ⇒ String
Output only. The emulated version after the upgrade.
Corresponds to the JSON property targetEmulatedVersion
10906 10907 10908 |
# File 'lib/google/apis/container_v1/classes.rb', line 10906 def target_emulated_version @target_emulated_version end |
#target_version ⇒ String
The version after the upgrade.
Corresponds to the JSON property targetVersion
10911 10912 10913 |
# File 'lib/google/apis/container_v1/classes.rb', line 10911 def target_version @target_version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10918 10919 10920 10921 10922 10923 10924 10925 10926 10927 |
# File 'lib/google/apis/container_v1/classes.rb', line 10918 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 |