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 | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ permissions |
array
A list of permissions. A sample permission string: |
getPermissions
A list of permissions. A sample permission string: compute.disk.get.
Generated from protobuf field repeated string permissions = 1;
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|