class Google::Apis::AssuredworkloadsV1::GoogleCloudAssuredworkloadsV1WorkloadResourceInfo
Represent the resources that are children of this Workload.
Attributes
resource_id[RW]
Resource identifier. For a project this represents project_number. Corresponds to the JSON property `resourceId` @return [Fixnum]
resource_type[RW]
Indicates the type of resource. Corresponds to the JSON property `resourceType` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/assuredworkloads_v1/classes.rb, line 226 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 231 def update!(**args) @resource_id = args[:resource_id] if args.key?(:resource_id) @resource_type = args[:resource_type] if args.key?(:resource_type) end