Cloud Asset V1 API - Class Google::Cloud::Asset::V1::IamPolicyAnalysisQuery::AccessSelector (v0.28.0)

Reference documentation and code samples for the Cloud Asset V1 API class Google::Cloud::Asset::V1::IamPolicyAnalysisQuery::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.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#permissions

def permissions() -> ::Array<::String>
Returns
  • (::Array<::String>) — Optional. The permissions to appear in result.

#permissions=

def permissions=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — Optional. The permissions to appear in result.
Returns
  • (::Array<::String>) — Optional. The permissions to appear in result.

#roles

def roles() -> ::Array<::String>
Returns
  • (::Array<::String>) — Optional. The roles to appear in result.

#roles=

def roles=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — Optional. The roles to appear in result.
Returns
  • (::Array<::String>) — Optional. The roles to appear in result.