Show / Hide Table of Contents

Namespace Google.Apis.WorkspaceEvents.v1.Data

Classes

Artifact

Artifacts are the container for task completed results. These are similar to Messages but are intended to be the product of a task, as opposed to point-to-point communication.

AuthenticationInfo

Defines authentication details, used for push notifications.

CancelTaskRequest

DataPart

DataPart represents a structured blob. This is most commonly a JSON payload.

Empty

A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }

FilePart

FilePart represents the different ways files can be provided. If files are small, directly feeding the bytes is supported via file_with_bytes. If the file is large, the agent should read the content as appropriate directly from the file_with_uri source.

ListSubscriptionsResponse

The response message for SubscriptionsService.ListSubscriptions.

ListTaskPushNotificationConfigResponse

Message

Message is one unit of communication between client and server. It is associated with a context and optionally a task. Since the server is responsible for the context definition, it must always provide a context_id in its messages. The client can optionally provide the context_id if it knows the context to associate the message to. Similarly for task_id, except the server decides if a task is created and whether to include the task_id.

NotificationEndpoint

The endpoint where the subscription delivers events.

Operation

This resource represents a long-running operation that is the result of a network API call.

Part

Part represents a container for a section of communication content. Parts can be purely textual, some sort of file (image, video, etc) or a structured data blob (i.e. JSON).

PayloadOptions

Options about what data to include in the event payload. Only supported for Google Chat and Google Drive events.

PushNotificationConfig

Configuration for setting up push notifications for task updates.

ReactivateSubscriptionRequest

The request message for SubscriptionsService.ReactivateSubscription.

SendMessageConfiguration

Configuration of a send message request.

SendMessageRequest

/////////// Request Messages ///////////

Status

The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC. Each Status message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the API Design Guide.

StreamResponse

The stream response for a message. The stream should be one of the following sequences: If the response is a message, the stream should contain one, and only one, message and then close If the response is a task lifecycle, the first response should be a Task object followed by zero or more TaskStatusUpdateEvents and TaskArtifactUpdateEvents. The stream should complete when the Task if in an interrupted or terminal state. A stream that ends before these conditions are met are

Subscription

A subscription to receive events about a Google Workspace resource. To learn more about subscriptions, see the Google Workspace Events API overview.

Task

Task is the core unit of action for A2A. It has a current status and when results are created for the task they are stored in the artifact. If there are multiple turns for a task, these are stored in history.

TaskArtifactUpdateEvent

TaskArtifactUpdateEvent represents a task delta where an artifact has been generated.

TaskPushNotificationConfig

TaskStatus

A container for the status of a task

TaskStatusUpdateEvent

TaskStatusUpdateEvent is a delta even on a task indicating that a task has changed.

In this article
Back to top Generated by DocFX