Class: Google::Apis::CloudassetV1::ResourceSelector

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/cloudasset_v1/classes.rb,
lib/google/apis/cloudasset_v1/representations.rb,
lib/google/apis/cloudasset_v1/representations.rb
more...

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ResourceSelector

Returns a new instance of ResourceSelector.

[View source]

5694
5695
5696
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 5694

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#full_resource_nameString

Required. The full resource name of a resource of supported resource types. Corresponds to the JSON property fullResourceName

Returns:

  • (String)

5692
5693
5694
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 5692

def full_resource_name
  @full_resource_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object

[View source]

5699
5700
5701
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 5699

def update!(**args)
  @full_resource_name = args[:full_resource_name] if args.key?(:full_resource_name)
end