Compute V1 Client - Class TestPermissionsResponse (1.16.2)

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

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

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ permissions array

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

getPermissions

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

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setPermissions

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

Parameter
Name Description
var string[]
Returns
Type Description
$this