Google API Common Protos V1 Client - Class TestIamPermissionsResponse (4.8.2)

Reference documentation and code samples for the Google API Common Protos V1 Client class TestIamPermissionsResponse.

Response message for TestIamPermissions method.

Generated from protobuf message google.iam.v1.TestIamPermissionsResponse

Namespace

Google \ Cloud \ Iam \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ permissions array

A subset of TestPermissionsRequest.permissions that the caller is allowed.

getPermissions

A subset of TestPermissionsRequest.permissions that the caller is allowed.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setPermissions

A subset of TestPermissionsRequest.permissions that the caller is allowed.

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