Class: Google::Apis::PrivatecaV1beta1::GoogleApiServicecontrolV1ResourceInfo
- Inherits:
-
Object
- Object
- Google::Apis::PrivatecaV1beta1::GoogleApiServicecontrolV1ResourceInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/privateca_v1beta1/classes.rb,
lib/google/apis/privateca_v1beta1/representations.rb,
lib/google/apis/privateca_v1beta1/representations.rb
Overview
Describes a resource associated with this operation.
Instance Attribute Summary collapse
-
#resource_container ⇒ String
The identifier of the parent of this resource instance.
-
#resource_location ⇒ String
The location of the resource.
-
#resource_name ⇒ String
Name of the resource.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleApiServicecontrolV1ResourceInfo
constructor
A new instance of GoogleApiServicecontrolV1ResourceInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleApiServicecontrolV1ResourceInfo
Returns a new instance of GoogleApiServicecontrolV1ResourceInfo.
1982 1983 1984 |
# File 'lib/google/apis/privateca_v1beta1/classes.rb', line 1982 def initialize(**args) update!(**args) end |
Instance Attribute Details
#resource_container ⇒ String
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
1968 1969 1970 |
# File 'lib/google/apis/privateca_v1beta1/classes.rb', line 1968 def resource_container @resource_container end |
#resource_location ⇒ String
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
1975 1976 1977 |
# File 'lib/google/apis/privateca_v1beta1/classes.rb', line 1975 def resource_location @resource_location end |
#resource_name ⇒ String
Name of the resource. This is used for auditing purposes.
Corresponds to the JSON property resourceName
1980 1981 1982 |
# File 'lib/google/apis/privateca_v1beta1/classes.rb', line 1980 def resource_name @resource_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1987 1988 1989 1990 1991 |
# File 'lib/google/apis/privateca_v1beta1/classes.rb', line 1987 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 |