class Google::Apis::ServicecontrolV1::ResourceInfo
Describes a resource associated with this operation.
Attributes
resource_container[RW]
The identifier of the parent of this resource instance. Must be in one of the following formats: - `projects/` - `folders/` - `organizations/` Corresponds to the JSON property `resourceContainer` @return [String]
resource_location[RW]
The location of the resource. If not empty, the resource will be checked against location policy. The value must be a valid zone, region or multiregion. For example: “europe-west4” or “northamerica-northeast1-a” Corresponds to the JSON property `resourceLocation` @return [String]
resource_name[RW]
Name of the resource. This is used for auditing purposes. Corresponds to the JSON property `resourceName` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/servicecontrol_v1/classes.rb, line 2145 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/servicecontrol_v1/classes.rb, line 2150 def update!(**args) @resource_container = args[:resource_container] if args.key?(:resource_container) @resource_location = args[:resource_location] if args.key?(:resource_location) @resource_name = args[:resource_name] if args.key?(:resource_name) end