Google Cloud Chronicle V1 Client - Class CreateDataAccessLabelRequest (0.1.2)

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

Request message for CreateDataAccessLabel.

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

Namespace

Google \ Cloud \ Chronicle \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The parent resource where this Data Access Label will be created. Format: projects/{project}/locations/{location}/instances/{instance}

↳ data_access_label DataAccessLabel

Required. Data access label to create.

↳ data_access_label_id string

Required. The ID to use for the data access label, which will become the label's display name and the final component of the label's resource name. The maximum number of characters should be 63. Regex pattern is as per AIP: https://google.aip.dev/122#resource-id-segments

getParent

Required. The parent resource where this Data Access Label will be created.

Format: projects/{project}/locations/{location}/instances/{instance}

Returns
Type Description
string

setParent

Required. The parent resource where this Data Access Label will be created.

Format: projects/{project}/locations/{location}/instances/{instance}

Parameter
Name Description
var string
Returns
Type Description
$this

getDataAccessLabel

Required. Data access label to create.

Returns
Type Description
DataAccessLabel|null

hasDataAccessLabel

clearDataAccessLabel

setDataAccessLabel

Required. Data access label to create.

Parameter
Name Description
var DataAccessLabel
Returns
Type Description
$this

getDataAccessLabelId

Required. The ID to use for the data access label, which will become the label's display name and the final component of the label's resource name.

The maximum number of characters should be 63. Regex pattern is as per AIP: https://google.aip.dev/122#resource-id-segments

Returns
Type Description
string

setDataAccessLabelId

Required. The ID to use for the data access label, which will become the label's display name and the final component of the label's resource name.

The maximum number of characters should be 63. Regex pattern is as per AIP: https://google.aip.dev/122#resource-id-segments

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. The parent resource where this Data Access Label will be created. Format: projects/{project}/locations/{location}/instances/{instance} Please see DataAccessControlServiceClient::instanceName() for help formatting this field.

dataAccessLabel DataAccessLabel

Required. Data access label to create.

dataAccessLabelId string

Required. The ID to use for the data access label, which will become the label's display name and the final component of the label's resource name. The maximum number of characters should be 63. Regex pattern is as per AIP: https://google.aip.dev/122#resource-id-segments

Returns
Type Description
CreateDataAccessLabelRequest