Compute V1 Client - Class TestPermissionsRequest (1.5.0)

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

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

Methods

__construct

Constructor.

Parameters
Name
Description
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.

Generated from protobuf field repeated string permissions = 59962500;

Returns
Type
Description
Google\Protobuf\Internal\RepeatedField

setPermissions

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

Generated from protobuf field repeated string permissions = 59962500;

Parameter
Name
Description
var
string[]
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: