Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class Assistant.
Discovery Engine Assistant resource.
Generated from protobuf message google.cloud.discoveryengine.v1.Assistant
Namespace
Google \ Cloud \ DiscoveryEngine \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Immutable. 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 |
|