Compute V1 Client - Class TestPermissionsRequest (1.9.1)

Reference documentation and code samples for the Compute V1 Client class TestPermissionsRequest.

Generated from protobuf message google.cloud.compute.v1.TestPermissionsRequest

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ permissions array

The set of permissions to check for the 'resource'. Permissions with wildcards (such as '' or 'storage.') are not allowed.

getPermissions

The set of permissions to check for the 'resource'. Permissions with wildcards (such as '' or 'storage.') are not allowed.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setPermissions

The set of permissions to check for the 'resource'. Permissions with wildcards (such as '' or 'storage.') are not allowed.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this