class Google::Apis::CloudassetV1::AccessSelector

Specifies roles and/or permissions to analyze, to determine both the identities possessing them and the resources they control. If multiple values are specified, results will include roles or permissions matching any of them. The total number of roles and permissions should be equal or less than 10.

Attributes

permissions[RW]

Optional. The permissions to appear in result. Corresponds to the JSON property `permissions` @return [Array<String>]

roles[RW]

Optional. The roles to appear in result. Corresponds to the JSON property `roles` @return [Array<String>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/cloudasset_v1/classes.rb, line 42
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/cloudasset_v1/classes.rb, line 47
def update!(**args)
  @permissions = args[:permissions] if args.key?(:permissions)
  @roles = args[:roles] if args.key?(:roles)
end