class TestIamPermissionsRequest extends Message

Request message for TestIamPermissions method.

Protobuf type Google\Iam\V1\TestIamPermissionsRequest

Methods

__construct()

No description

string
getResource()

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

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.

setPermissions(array|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 62
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

at line 77
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 91
setPermissions(array|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

array|RepeatedField $var