Google Cloud Discovery Engine V1 Client - Class Assistant (1.10.1)

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

Discovery Engine Assistant resource.

Generated from protobuf messagegoogle.cloud.discoveryengine.v1.Assistant

Namespace

Google \ Cloud \ DiscoveryEngine \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ namestring

Immutable. Resource name of the assistant. Format:projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant} It must be a UTF-8 encoded string with a length limit of 1024 characters.

getName

Immutable. Resource name of the assistant.

Format:projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}It must be a UTF-8 encoded string with a length limit of 1024 characters.

Returns
TypeDescription
string

setName

Immutable. Resource name of the assistant.

Format:projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}It must be a UTF-8 encoded string with a length limit of 1024 characters.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026-01-24 UTC.