public class DiscoveryEngine.Projects.Locations.Collections.Engines.Assistants extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
DiscoveryEngine.Projects.Locations.Collections.Engines.Assistants.Agents
The "agents" collection of methods.
|
class |
DiscoveryEngine.Projects.Locations.Collections.Engines.Assistants.Create |
class |
DiscoveryEngine.Projects.Locations.Collections.Engines.Assistants.Delete |
class |
DiscoveryEngine.Projects.Locations.Collections.Engines.Assistants.Get |
class |
DiscoveryEngine.Projects.Locations.Collections.Engines.Assistants.List |
class |
DiscoveryEngine.Projects.Locations.Collections.Engines.Assistants.Patch |
class |
DiscoveryEngine.Projects.Locations.Collections.Engines.Assistants.StreamAssist |
| Constructor and Description |
|---|
Assistants() |
public DiscoveryEngine.Projects.Locations.Collections.Engines.Assistants.Create create(String parent, GoogleCloudDiscoveryengineV1Assistant content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Required. The parent resource name. Format:
`projects/{project}/locations/{location}/collections/{collection}/engines/{engine}`content - the GoogleCloudDiscoveryengineV1AssistantIOExceptionpublic DiscoveryEngine.Projects.Locations.Collections.Engines.Assistants.Delete delete(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}` If the caller does not have
permission to delete the Assistant, regardless of whether or not it exists, a
PERMISSION_DENIED error is returned. If the Assistant to delete does not exist, a
NOT_FOUND error is returned.IOExceptionpublic 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.List list(String parent) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Required. The parent resource name. Format:
`projects/{project}/locations/{location}/collections/{collection}/engines/{engine}`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 GoogleCloudDiscoveryengineV1StreamAssistRequestIOExceptionpublic DiscoveryEngine.Projects.Locations.Collections.Engines.Assistants.Agents agents()
The typical use is:
DiscoveryEngine discoveryengine = new DiscoveryEngine(...);DiscoveryEngine.Agents.List request = discoveryengine.agents().list(parameters ...)
Copyright © 2011–2026 Google. All rights reserved.