class TestIamPermissionsRequest extends Message

Request message for TestIamPermissions method.

Generated from protobuf message google.iam.v1.TestIamPermissionsRequest

Methods

__construct()

No description

string
getResource()

REQUIRED: The resource for which the policy detail is being requested.

$this
setResource(string $var)

REQUIRED: The resource for which the policy detail is being requested.

RepeatedField
getPermissions()

The set of permissions to check for the resource. Permissions with wildcards (such as '' or 'storage.') are not allowed. For more information see IAM Overview.

$this
setPermissions(string[]|RepeatedField $var)

The set of permissions to check for the resource. Permissions with wildcards (such as '' or 'storage.') are not allowed. For more information see IAM Overview.

Details

at line 36
__construct()

at line 49
string getResource()

REQUIRED: The resource for which the policy detail is being requested.

resource is usually specified as a path. For example, a Project resource is specified as projects/{project}.

Generated from protobuf field string resource = 1;

Return Value

string

at line 63
$this setResource(string $var)

REQUIRED: The resource for which the policy detail is being requested.

resource is usually specified as a path. For example, a Project resource is specified as projects/{project}.

Generated from protobuf field string resource = 1;

Parameters

string $var

Return Value

$this

at line 80
RepeatedField getPermissions()

The set of permissions to check for the resource. Permissions with wildcards (such as '' or 'storage.') are not allowed. For more information see IAM Overview.

Generated from protobuf field repeated string permissions = 2;

Return Value

RepeatedField

at line 95
$this setPermissions(string[]|RepeatedField $var)

The set of permissions to check for the resource. Permissions with wildcards (such as '' or 'storage.') are not allowed. For more information see IAM Overview.

Generated from protobuf field repeated string permissions = 2;

Parameters

string[]|RepeatedField $var

Return Value

$this