Google Cloud Discovery Engine V1 Client - Class CreateAssistantRequest (1.17.0)

Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class CreateAssistantRequest.

Request for the AssistantService.CreateAssistant method.

Generated from protobuf message google.cloud.discoveryengine.v1.CreateAssistantRequest

Namespace

Google \ Cloud \ DiscoveryEngine \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The parent resource name. Format: projects/{project}/locations/{location}/collections/{collection}/engines/{engine}

↳ assistant Assistant

Required. The Assistant to create.

↳ assistant_id string

Required. The ID to use for the Assistant, which will become the final component of the Assistant's resource name. This field must conform to RFC-1034 with a length limit of 63 characters.

getParent

Required. The parent resource name.

Format: projects/{project}/locations/{location}/collections/{collection}/engines/{engine}

Returns
Type Description
string

setParent

Required. The parent resource name.

Format: projects/{project}/locations/{location}/collections/{collection}/engines/{engine}

Parameter
Name Description
var string
Returns
Type Description
$this

getAssistant

Required. The Assistant to create.

Returns
Type Description
Assistant|null

hasAssistant

clearAssistant

setAssistant

Required. The Assistant to create.

Parameter
Name Description
var Assistant
Returns
Type Description
$this

getAssistantId

Required. The ID to use for the Assistant, which will become the final component of the Assistant's resource name.

This field must conform to RFC-1034 with a length limit of 63 characters.

Returns
Type Description
string

setAssistantId

Required. The ID to use for the Assistant, which will become the final component of the Assistant's resource name.

This field must conform to RFC-1034 with a length limit of 63 characters.

Parameter
Name Description
var string
Returns
Type Description
$this