Google Cloud Chronicle V1 Client - Class DataAccessLabelReference (0.1.2)

Reference documentation and code samples for the Google Cloud Chronicle V1 Client class DataAccessLabelReference.

Reference object to a data access label.

Generated from protobuf message google.cloud.chronicle.v1.DataAccessLabelReference

Namespace

Google \ Cloud \ Chronicle \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ data_access_label string

The name of the data access label.

↳ log_type string

The name of the log type.

↳ asset_namespace string

The asset namespace configured in the forwarder of the customer's events.

↳ ingestion_label IngestionLabel

The ingestion label configured in the forwarder of the customer's events.

↳ display_name string

Output only. The display name of the label. Data access label and log types's name will match the display name of the resource. The asset namespace will match the namespace itself. The ingestion key value pair will match the key of the tuple.

getDataAccessLabel

The name of the data access label.

Returns
Type Description
string

hasDataAccessLabel

setDataAccessLabel

The name of the data access label.

Parameter
Name Description
var string
Returns
Type Description
$this

getLogType

The name of the log type.

Returns
Type Description
string

hasLogType

setLogType

The name of the log type.

Parameter
Name Description
var string
Returns
Type Description
$this

getAssetNamespace

The asset namespace configured in the forwarder of the customer's events.

Returns
Type Description
string

hasAssetNamespace

setAssetNamespace

The asset namespace configured in the forwarder of the customer's events.

Parameter
Name Description
var string
Returns
Type Description
$this

getIngestionLabel

The ingestion label configured in the forwarder of the customer's events.

Returns
Type Description
IngestionLabel|null

hasIngestionLabel

setIngestionLabel

The ingestion label configured in the forwarder of the customer's events.

Parameter
Name Description
var IngestionLabel
Returns
Type Description
$this

getDisplayName

Output only. The display name of the label.

Data access label and log types's name will match the display name of the resource. The asset namespace will match the namespace itself. The ingestion key value pair will match the key of the tuple.

Returns
Type Description
string

setDisplayName

Output only. The display name of the label.

Data access label and log types's name will match the display name of the resource. The asset namespace will match the namespace itself. The ingestion key value pair will match the key of the tuple.

Parameter
Name Description
var string
Returns
Type Description
$this

getLabel

Returns
Type Description
string