Reference documentation and code samples for the Google Cloud Chronicle Client class Permission.
System permission for resource access and modification.
Generated from protobuf message google.backstory.Permission
Namespace
Google \ BackstoryMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Name of the permission (e.g. chronicle.analyst.updateRule). |
↳ description |
string
Description of the permission (e.g. 'Ability to update detect rules'). |
↳ type |
int
Type of the permission. |
getName
Name of the permission (e.g. chronicle.analyst.updateRule).
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
Name of the permission (e.g. chronicle.analyst.updateRule).
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDescription
Description of the permission (e.g. 'Ability to update detect rules').
| Returns | |
|---|---|
| Type | Description |
string |
|
setDescription
Description of the permission (e.g. 'Ability to update detect rules').
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getType
Type of the permission.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type PermissionType. |
setType
Type of the permission.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type PermissionType. |
| Returns | |
|---|---|
| Type | Description |
$this |
|