Google Cloud Asset V1 Client - Class Permissions (1.9.2)

Reference documentation and code samples for the Google Cloud Asset V1 Client class Permissions.

IAM permissions

Generated from protobuf message google.cloud.asset.v1.IamPolicySearchResult.Explanation.Permissions

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ permissions array

A list of permissions. A sample permission string: compute.disk.get.

getPermissions

A list of permissions. A sample permission string: compute.disk.get.

Generated from protobuf field repeated string permissions = 1;

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setPermissions

A list of permissions. A sample permission string: compute.disk.get.

Generated from protobuf field repeated string permissions = 1;

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this