Compute V1 Client - Class TestPermissionsResponse (1.5.0)

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.

Generated from protobuf field repeated string permissions = 59962500;

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setPermissions

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

Generated from protobuf field repeated string permissions = 59962500;

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this