Google Cloud Discovery Engine V1 Client - Class Assistant (1.10.1) Stay organized with collections Save and categorize content based on your preferences.
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 \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data | arrayOptional. Data for populating the Message object. |
↳ name | stringImmutable. Resource name of the assistant. Format: |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
var | string |
| Returns | |
|---|---|
| Type | Description |
$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.