Google Cloud Asset V1 Client - Class AccessSelector (2.1.2)

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

Generated from protobuf message google.cloud.asset.v1.IamPolicyAnalysisQuery.AccessSelector

Namespace

Google \ Cloud \ Asset \ V1 \ IamPolicyAnalysisQuery

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ roles array

Optional. The roles to appear in result.

↳ permissions array

Optional. The permissions to appear in result.

getRoles

Optional. The roles to appear in result.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setRoles

Optional. The roles to appear in result.

Parameter
Name Description
var string[]
Returns
Type Description
$this

getPermissions

Optional. The permissions to appear in result.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setPermissions

Optional. The permissions to appear in result.

Parameter
Name Description
var string[]
Returns
Type Description
$this