Google Cloud Asset V1 Client - Class Permissions (2.1.0)

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
Name Description
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
Type Description
Google\Protobuf\Internal\RepeatedField

setPermissions

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

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