class Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1CreateWorkloadOperationMetadata

Operation metadata to give request details of CreateWorkload.

Attributes

compliance_regime[RW]

Optional. Compliance controls that should be applied to the resources managed by the workload. Corresponds to the JSON property `complianceRegime` @return [String]

create_time[RW]

Optional. Time when the operation was created. Corresponds to the JSON property `createTime` @return [String]

display_name[RW]

Optional. The display name of the workload. Corresponds to the JSON property `displayName` @return [String]

parent[RW]

Optional. The parent of the workload. Corresponds to the JSON property `parent` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/assuredworkloads_v1/classes.rb, line 50
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/assuredworkloads_v1/classes.rb, line 55
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)
end