Google Cloud Asset V1 Client - Class AccessSelector (1.14.1)

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
NameDescription
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
TypeDescription
Google\Protobuf\Internal\RepeatedField

setRoles

Optional. The roles to appear in result.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getPermissions

Optional. The permissions to appear in result.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setPermissions

Optional. The permissions to appear in result.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this