Class: Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1ApplyWorkloadUpdateOperationMetadata
- Inherits:
-
Object
- Object
- Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1ApplyWorkloadUpdateOperationMetadata
- 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
-
#action ⇒ String
Optional.
-
#create_time ⇒ String
Optional.
-
#update_name ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAssuredworkloadsV1ApplyWorkloadUpdateOperationMetadata
constructor
A new instance of GoogleCloudAssuredworkloadsV1ApplyWorkloadUpdateOperationMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#action ⇒ String
Optional. The time the operation was created.
Corresponds to the JSON property action
150 151 152 |
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 150 def action @action end |
#create_time ⇒ String
Optional. Output only. The time the operation was created.
Corresponds to the JSON property createTime
155 156 157 |
# File 'lib/google/apis/assuredworkloads_v1/classes.rb', line 155 def create_time @create_time end |
#update_name ⇒ String
Required. The resource name of the update
Corresponds to the JSON property updateName
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 |