Class: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1ApplyWorkloadUpdateOperationMetadata

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/assuredworkloads_v1/classes.rb,
lib/google/apis/assuredworkloads_v1/representations.rb,
lib/google/apis/assuredworkloads_v1/representations.rb

Overview

Operation metadata to give request details of ApplyWorkloadUpdate.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAssuredworkloadsV1ApplyWorkloadUpdateOperationMetadata

Returns a new instance of GoogleCloudAssuredworkloadsV1ApplyWorkloadUpdateOperationMetadata.



162
163
164
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 162

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

Instance Attribute Details

#actionString

Optional. The time the operation was created. Corresponds to the JSON property action

Returns:

  • (String)


150
151
152
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 150

def action
  @action
end

#create_timeString

Optional. Output only. The time the operation was created. Corresponds to the JSON property createTime

Returns:

  • (String)


155
156
157
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 155

def create_time
  @create_time
end

#update_nameString

Required. The resource name of the update Corresponds to the JSON property updateName

Returns:

  • (String)


160
161
162
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 160

def update_name
  @update_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



167
168
169
170
171
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 167

def update!(**args)
  @action = args[:action] if args.key?(:action)
  @create_time = args[:create_time] if args.key?(:create_time)
  @update_name = args[:update_name] if args.key?(:update_name)
end