class TestIamPermissionsResponse extends Message

Response message for TestIamPermissions method.

Generated from protobuf message google.iam.v1.TestIamPermissionsResponse

Methods

__construct(array $data = NULL)

Constructor.

RepeatedField
getPermissions()

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

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

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

Details

at line 37
__construct(array $data = NULL)

Constructor.

Parameters

array $data { Optional. Data for populating the Message object.

@type string[]|\Google\Protobuf\Internal\RepeatedField $permissions
      A subset of `TestPermissionsRequest.permissions` that the caller is
      allowed.

}

at line 49
RepeatedField getPermissions()

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

Generated from protobuf field repeated string permissions = 1;

Return Value

RepeatedField

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

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

Generated from protobuf field repeated string permissions = 1;

Parameters

string[]|RepeatedField $var

Return Value

$this