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