Reference documentation and code samples for the Google Cloud Chronicle Client class DataAccessLabels.
Label used in data access.
Generated from protobuf message google.backstory.DataAccessLabels
Namespace
Google \ BackstoryMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ log_types |
string[]
All the LogType labels. |
↳ ingestion_labels |
string[]
All the ingestion labels. |
↳ namespaces |
string[]
All the namespaces. |
↳ custom_labels |
string[]
All the complex labels (UDM search syntax based). |
↳ ingestion_kv_labels |
array<DataAccessIngestionLabel>
All the ingestion labels (key/value pairs). |
↳ allow_scoped_access |
bool
Are the labels ready for scoped access |
getLogTypes
All the LogType labels.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<string> |
|
setLogTypes
All the LogType labels.
| Parameter | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getIngestionLabels
All the ingestion labels.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<string> |
|
setIngestionLabels
All the ingestion labels.
| Parameter | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getNamespaces
All the namespaces.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<string> |
|
setNamespaces
All the namespaces.
| Parameter | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCustomLabels
All the complex labels (UDM search syntax based).
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<string> |
|
setCustomLabels
All the complex labels (UDM search syntax based).
| Parameter | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getIngestionKvLabels
All the ingestion labels (key/value pairs).
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<DataAccessIngestionLabel> |
|
setIngestionKvLabels
All the ingestion labels (key/value pairs).
| Parameter | |
|---|---|
| Name | Description |
var |
array<DataAccessIngestionLabel>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getAllowScopedAccess
Are the labels ready for scoped access
| Returns | |
|---|---|
| Type | Description |
bool |
|
setAllowScopedAccess
Are the labels ready for scoped access
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|