Class: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1ApplyWorkloadUpdateOperationMetadata

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

Overview

Operation metadata to give request details of ApplyWorkloadUpdate.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAssuredworkloadsV1beta1ApplyWorkloadUpdateOperationMetadata

Returns a new instance of GoogleCloudAssuredworkloadsV1beta1ApplyWorkloadUpdateOperationMetadata.



118
119
120
# File 'lib/google/apis/assuredworkloads_v1beta1/classes.rb', line 118

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)


106
107
108
# File 'lib/google/apis/assuredworkloads_v1beta1/classes.rb', line 106

def action
  @action
end

#create_timeString

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

Returns:

  • (String)


111
112
113
# File 'lib/google/apis/assuredworkloads_v1beta1/classes.rb', line 111

def create_time
  @create_time
end

#update_nameString

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

Returns:

  • (String)


116
117
118
# File 'lib/google/apis/assuredworkloads_v1beta1/classes.rb', line 116

def update_name
  @update_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



123
124
125
126
127
# File 'lib/google/apis/assuredworkloads_v1beta1/classes.rb', line 123

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