public class DiscoveryEngine.Projects.Locations.Collections.Engines.Assistants.Agents.A2a.V1.Tasks extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
DiscoveryEngine.Projects.Locations.Collections.Engines.Assistants.Agents.A2a.V1.Tasks.Cancel |
class |
DiscoveryEngine.Projects.Locations.Collections.Engines.Assistants.Agents.A2a.V1.Tasks.Get |
class |
DiscoveryEngine.Projects.Locations.Collections.Engines.Assistants.Agents.A2a.V1.Tasks.PushNotificationConfigs
The "pushNotificationConfigs" collection of methods.
|
class |
DiscoveryEngine.Projects.Locations.Collections.Engines.Assistants.Agents.A2a.V1.Tasks.Subscribe |
| Constructor and Description |
|---|
Tasks() |
| Modifier and Type | Method and Description |
|---|---|
DiscoveryEngine.Projects.Locations.Collections.Engines.Assistants.Agents.A2a.V1.Tasks.Cancel |
cancel(String tenant,
String name,
A2aV1CancelTaskRequest content)
Cancel a task from the agent.
|
DiscoveryEngine.Projects.Locations.Collections.Engines.Assistants.Agents.A2a.V1.Tasks.Get |
get(String tenant,
String name)
Get the current state of a task from the agent.
|
DiscoveryEngine.Projects.Locations.Collections.Engines.Assistants.Agents.A2a.V1.Tasks.PushNotificationConfigs |
pushNotificationConfigs()
An accessor for creating requests from the PushNotificationConfigs collection.
|
DiscoveryEngine.Projects.Locations.Collections.Engines.Assistants.Agents.A2a.V1.Tasks.Subscribe |
subscribe(String tenant,
String name)
TaskSubscription is a streaming call that will return a stream of task update events.
|
public DiscoveryEngine.Projects.Locations.Collections.Engines.Assistants.Agents.A2a.V1.Tasks.Cancel cancel(String tenant, String name, A2aV1CancelTaskRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.tenant - Optional tenant, provided as a path parameter. Experimental, might still change for 1.0 release.name - The resource name of the task to cancel. Format: tasks/{task_id}content - the A2aV1CancelTaskRequestIOExceptionpublic DiscoveryEngine.Projects.Locations.Collections.Engines.Assistants.Agents.A2a.V1.Tasks.Get get(String tenant, String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.tenant - Optional tenant, provided as a path parameter. Experimental, might still change for 1.0 release.name - Required. The resource name of the task. Format: tasks/{task_id}IOExceptionpublic DiscoveryEngine.Projects.Locations.Collections.Engines.Assistants.Agents.A2a.V1.Tasks.Subscribe subscribe(String tenant, String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.tenant - Optional tenant, provided as a path parameter. Experimental, might still change for 1.0 release.name - The resource name of the task to subscribe to. Format: tasks/{task_id}IOExceptionpublic DiscoveryEngine.Projects.Locations.Collections.Engines.Assistants.Agents.A2a.V1.Tasks.PushNotificationConfigs pushNotificationConfigs()
The typical use is:
DiscoveryEngine discoveryengine = new DiscoveryEngine(...);DiscoveryEngine.PushNotificationConfigs.List request = discoveryengine.pushNotificationConfigs().list(parameters ...)
Copyright © 2011–2026 Google. All rights reserved.