Class: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1ApplyWorkloadUpdateRequest
- Inherits:
-
Object
- Object
- Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1ApplyWorkloadUpdateRequest
- 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
Request to apply update to a workload.
Instance Attribute Summary collapse
-
#action ⇒ String
The action to be performed on the update.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAssuredworkloadsV1beta1ApplyWorkloadUpdateRequest
constructor
A new instance of GoogleCloudAssuredworkloadsV1beta1ApplyWorkloadUpdateRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAssuredworkloadsV1beta1ApplyWorkloadUpdateRequest
Returns a new instance of GoogleCloudAssuredworkloadsV1beta1ApplyWorkloadUpdateRequest.
139 140 141 |
# File 'lib/google/apis/assuredworkloads_v1beta1/classes.rb', line 139 def initialize(**args) update!(**args) end |
Instance Attribute Details
#action ⇒ String
The action to be performed on the update.
Corresponds to the JSON property action
137 138 139 |
# File 'lib/google/apis/assuredworkloads_v1beta1/classes.rb', line 137 def action @action end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
144 145 146 |
# File 'lib/google/apis/assuredworkloads_v1beta1/classes.rb', line 144 def update!(**args) @action = args[:action] if args.key?(:action) end |