Class: Google::Apis::ContainerV1beta1::UpgradeDetails

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ UpgradeDetails

Returns a new instance of UpgradeDetails.



10495
10496
10497
# File 'lib/google/apis/container_v1beta1/classes.rb', line 10495

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

Instance Attribute Details

#end_timeString

The end timestamp of the upgrade. Corresponds to the JSON property endTime

Returns:

  • (String)


10458
10459
10460
# File 'lib/google/apis/container_v1beta1/classes.rb', line 10458

def end_time
  @end_time
end

#initial_emulated_versionString

The emulated version before the upgrade. Corresponds to the JSON property initialEmulatedVersion

Returns:

  • (String)


10463
10464
10465
# File 'lib/google/apis/container_v1beta1/classes.rb', line 10463

def initial_emulated_version
  @initial_emulated_version
end

#initial_versionString

The version before the upgrade. Corresponds to the JSON property initialVersion

Returns:

  • (String)


10468
10469
10470
# File 'lib/google/apis/container_v1beta1/classes.rb', line 10468

def initial_version
  @initial_version
end

#start_timeString

The start timestamp of the upgrade. Corresponds to the JSON property startTime

Returns:

  • (String)


10473
10474
10475
# File 'lib/google/apis/container_v1beta1/classes.rb', line 10473

def start_time
  @start_time
end

#start_typeString

The start type of the upgrade. Corresponds to the JSON property startType

Returns:

  • (String)


10478
10479
10480
# File 'lib/google/apis/container_v1beta1/classes.rb', line 10478

def start_type
  @start_type
end

#stateString

Output only. The state of the upgrade. Corresponds to the JSON property state

Returns:

  • (String)


10483
10484
10485
# File 'lib/google/apis/container_v1beta1/classes.rb', line 10483

def state
  @state
end

#target_emulated_versionString

The emulated version after the upgrade. Corresponds to the JSON property targetEmulatedVersion

Returns:

  • (String)


10488
10489
10490
# File 'lib/google/apis/container_v1beta1/classes.rb', line 10488

def target_emulated_version
  @target_emulated_version
end

#target_versionString

The version after the upgrade. Corresponds to the JSON property targetVersion

Returns:

  • (String)


10493
10494
10495
# File 'lib/google/apis/container_v1beta1/classes.rb', line 10493

def target_version
  @target_version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
# File 'lib/google/apis/container_v1beta1/classes.rb', line 10500

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