Class: Google::Apis::ContainerV1::UpgradeDetails

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ UpgradeDetails

Returns a new instance of UpgradeDetails.



9155
9156
9157
# File 'lib/google/apis/container_v1/classes.rb', line 9155

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)


9128
9129
9130
# File 'lib/google/apis/container_v1/classes.rb', line 9128

def end_time
  @end_time
end

#initial_versionString

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

Returns:

  • (String)


9133
9134
9135
# File 'lib/google/apis/container_v1/classes.rb', line 9133

def initial_version
  @initial_version
end

#start_timeString

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

Returns:

  • (String)


9138
9139
9140
# File 'lib/google/apis/container_v1/classes.rb', line 9138

def start_time
  @start_time
end

#start_typeString

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

Returns:

  • (String)


9143
9144
9145
# File 'lib/google/apis/container_v1/classes.rb', line 9143

def start_type
  @start_type
end

#stateString

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

Returns:

  • (String)


9148
9149
9150
# File 'lib/google/apis/container_v1/classes.rb', line 9148

def state
  @state
end

#target_versionString

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

Returns:

  • (String)


9153
9154
9155
# File 'lib/google/apis/container_v1/classes.rb', line 9153

def target_version
  @target_version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9160
9161
9162
9163
9164
9165
9166
9167
# File 'lib/google/apis/container_v1/classes.rb', line 9160

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)
  @start_type = args[:start_type] if args.key?(:start_type)
  @state = args[:state] if args.key?(:state)
  @target_version = args[:target_version] if args.key?(:target_version)
end