Compute V1 Client - Class TestPermissionsResponse (1.6.1)

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

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

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
Google\Protobuf\Internal\RepeatedField

setPermissions

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

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this