public class DiscoveryEngine.Projects.Locations.Collections.Engines.Assistants extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
DiscoveryEngine.Projects.Locations.Collections.Engines.Assistants.Get |
class |
DiscoveryEngine.Projects.Locations.Collections.Engines.Assistants.Patch |
class |
DiscoveryEngine.Projects.Locations.Collections.Engines.Assistants.StreamAssist |
| Constructor and Description |
|---|
Assistants() |
| Modifier and Type | Method and Description |
|---|---|
DiscoveryEngine.Projects.Locations.Collections.Engines.Assistants.Get |
get(String name)
Gets an Assistant.
|
DiscoveryEngine.Projects.Locations.Collections.Engines.Assistants.Patch |
patch(String name,
GoogleCloudDiscoveryengineV1Assistant content)
Updates an Assistant
Create a request for the method "assistants.patch".
|
DiscoveryEngine.Projects.Locations.Collections.Engines.Assistants.StreamAssist |
streamAssist(String name,
GoogleCloudDiscoveryengineV1StreamAssistRequest content)
Assists the user with a query in a streaming fashion.
|
public DiscoveryEngine.Projects.Locations.Collections.Engines.Assistants.Get get(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. Resource name of Assistant. Format: `projects/{project}/locations/{location}/collections/{
collection}/engines/{engine}/assistants/{assistant}`IOExceptionpublic DiscoveryEngine.Projects.Locations.Collections.Engines.Assistants.Patch patch(String name, GoogleCloudDiscoveryengineV1Assistant content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Immutable. Resource name of the assistant. Format: `projects/{project}/locations/{location}/collecti
ons/{collection}/engines/{engine}/assistants/{assistant}` It must be a UTF-8 encoded
string with a length limit of 1024 characters.content - the GoogleCloudDiscoveryengineV1AssistantIOExceptionpublic DiscoveryEngine.Projects.Locations.Collections.Engines.Assistants.StreamAssist streamAssist(String name, GoogleCloudDiscoveryengineV1StreamAssistRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote
operation.name - Required. The resource name of the Assistant. Format: `projects/{project}/locations/{location}/colle
ctions/{collection}/engines/{engine}/assistants/{assistant}`content - the GoogleCloudDiscoveryengineV1StreamAssistRequestIOExceptionCopyright © 2011–2025 Google. All rights reserved.