Google Cloud Asset V1 Client - Class Permissions (1.14.1)

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

Namespace

Google \ Cloud \ Asset \ V1 \ IamPolicySearchResult \ Explanation

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.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setPermissions

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

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this