Class: Google::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1ApplyWorkloadUpdateResponse

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

Response for ApplyWorkloadUpdate endpoint.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAssuredworkloadsV1beta1ApplyWorkloadUpdateResponse

Returns a new instance of GoogleCloudAssuredworkloadsV1beta1ApplyWorkloadUpdateResponse.



158
159
160
# File 'lib/google/apis/assuredworkloads_v1beta1/classes.rb', line 158

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

Instance Attribute Details

#applied_updateGoogle::Apis::AssuredworkloadsV1beta1::GoogleCloudAssuredworkloadsV1beta1WorkloadUpdate

A workload update is a change to the workload's compliance configuration. Corresponds to the JSON property appliedUpdate



156
157
158
# File 'lib/google/apis/assuredworkloads_v1beta1/classes.rb', line 156

def applied_update
  @applied_update
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



163
164
165
# File 'lib/google/apis/assuredworkloads_v1beta1/classes.rb', line 163

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