class Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1beta1CreateWorkloadOperationMetadata
Operation metadata to give request details of CreateWorkload.
Attributes
Optional. Compliance controls that should be applied to the resources managed by the workload. Corresponds to the JSON property `complianceRegime` @return [String]
Optional. Time when the operation was created. Corresponds to the JSON property `createTime` @return [String]
Optional. The display name of the workload. Corresponds to the JSON property `displayName` @return [String]
Optional. The parent of the workload. Corresponds to the JSON property `parent` @return [String]
Optional. Resource properties in the input that are used for creating/ customizing workload resources. Corresponds to the JSON property `resourceSettings` @return [Array<Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettings>]
Public Class Methods
# File lib/google/apis/assuredworkloads_v1/classes.rb, line 302 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/assuredworkloads_v1/classes.rb, line 307 def update!(**args) @compliance_regime = args[:compliance_regime] if args.key?(:compliance_regime) @create_time = args[:create_time] if args.key?(:create_time) @display_name = args[:display_name] if args.key?(:display_name) @parent = args[:parent] if args.key?(:parent) @resource_settings = args[:resource_settings] if args.key?(:resource_settings) end