Class: Google::Apis::CloudassetV1p4beta1::ResourceSelector
- Inherits:
-
Object
- Object
- Google::Apis::CloudassetV1p4beta1::ResourceSelector
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- generated/google/apis/cloudasset_v1p4beta1/classes.rb,
generated/google/apis/cloudasset_v1p4beta1/representations.rb,
generated/google/apis/cloudasset_v1p4beta1/representations.rb
Overview
Specifies the resource to analyze for access policies, which may be set directly on the resource, or on ancestors such as organizations, folders or projects.
Instance Attribute Summary collapse
-
#full_resource_name ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ResourceSelector
constructor
A new instance of ResourceSelector.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ResourceSelector
Returns a new instance of ResourceSelector.
837 838 839 |
# File 'generated/google/apis/cloudasset_v1p4beta1/classes.rb', line 837 def initialize(**args) update!(**args) end |
Instance Attribute Details
#full_resource_name ⇒ String
Required. The full resource name of a resource of supported resource types.
Corresponds to the JSON property fullResourceName
835 836 837 |
# File 'generated/google/apis/cloudasset_v1p4beta1/classes.rb', line 835 def full_resource_name @full_resource_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
842 843 844 |
# File 'generated/google/apis/cloudasset_v1p4beta1/classes.rb', line 842 def update!(**args) @full_resource_name = args[:full_resource_name] if args.key?(:full_resource_name) end |