Google Cloud Chronicle V1 Client - Class CreateReferenceListRequest (0.1.2)

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

A request to create a reference list.

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

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 reference list will be created. Format: projects/{project}/locations/{location}/instances/{instance}

↳ reference_list
ReferenceList

Required. The reference list to create.

↳ reference_list_id
string

Required. The ID to use for the reference list. This is also the display name for the reference list. It must satisfy the following requirements: - Starts with letter. - Contains only letters, numbers and underscore. - Has length less than 256. - Must be unique.

getParent

Required. The parent resource where this reference list will be created.

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

Returns
Type
Description
string

setParent

Required. The parent resource where this reference list will be created.

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

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getReferenceList

Required. The reference list to create.

Returns
Type
Description

hasReferenceList

clearReferenceList

setReferenceList

Required. The reference list to create.

Parameter
Name
Description
Returns
Type
Description
$this

getReferenceListId

Required. The ID to use for the reference list. This is also the display name for the reference list. It must satisfy the following requirements:

  • Starts with letter.

  • Contains only letters, numbers and underscore.

  • Has length less than 256.
  • Must be unique.
Returns
Type
Description
string

setReferenceListId

Required. The ID to use for the reference list. This is also the display name for the reference list. It must satisfy the following requirements:

  • Starts with letter.

  • Contains only letters, numbers and underscore.

  • Has length less than 256.
  • Must be unique.
Parameter
Name
Description
var
string
Returns
Type
Description
$this

static::build

Parameters
Name
Description
parent
string

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

referenceList
ReferenceList

Required. The reference list to create.

referenceListId
string

Required. The ID to use for the reference list. This is also the display name for the reference list. It must satisfy the following requirements:

  • Starts with letter.
  • Contains only letters, numbers and underscore.
  • Has length less than 256.
  • Must be unique.
Returns
Type
Description
Create a Mobile Website
View Site in Mobile | Classic
Share by: