Reference documentation and code samples for the Google Cloud Chronicle Client class Label.
Key value labels.
Generated from protobuf message google.backstory.Label
Namespace
Google \ BackstoryMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ key |
string
The key. |
↳ value |
string
The value. |
↳ source |
string
Where the label is derived from. |
↳ rbac_enabled |
bool
Indicates whether this label can be used for Data RBAC |
getKey
The key.
| Returns | |
|---|---|
| Type | Description |
string |
|
setKey
The key.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getValue
The value.
| Returns | |
|---|---|
| Type | Description |
string |
|
setValue
The value.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSource
Where the label is derived from.
| Returns | |
|---|---|
| Type | Description |
string |
|
setSource
Where the label is derived from.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getRbacEnabled
Indicates whether this label can be used for Data RBAC
| Returns | |
|---|---|
| Type | Description |
bool |
|
setRbacEnabled
Indicates whether this label can be used for Data RBAC
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|