workspaceevents/v1 library

Google Workspace Events API - v1

The Google Workspace Events API lets you subscribe to events and manage change notifications across Google Workspace applications.

For more information, see developers.google.com/workspace/events

Create an instance of WorkspaceEventsApi to access these resources:

Classes

Artifact
Artifacts are the container for task completed results.
AuthenticationInfo
Defines authentication details, used for push notifications.
CancelTaskRequest
DataPart
DataPart represents a structured blob.
FilePart
FilePart represents the different ways files can be provided.
ListSubscriptionsResponse
The response message for SubscriptionsService.ListSubscriptions.
ListTaskPushNotificationConfigResponse
Message
Message is one unit of communication between client and server.
MessageResource
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.
OperationsResource
Part
Part represents a container for a section of communication content.
PayloadOptions
Options about what data to include in the event payload.
PushNotificationConfig
Configuration for setting up push notifications for task updates.
SendMessageConfiguration
Configuration of a send message request.
SendMessageRequest
/////////// Request Messages ///////////
StreamResponse
The stream response for a message.
Subscription
A subscription to receive events about a Google Workspace resource.
SubscriptionsResource
Task
Task is the core unit of action for A2A.
TaskArtifactUpdateEvent
TaskArtifactUpdateEvent represents a task delta where an artifact has been generated.
TaskPushNotificationConfig
TasksPushNotificationConfigsResource
TasksResource
TaskStatus
A container for the status of a task
TaskStatusUpdateEvent
TaskStatusUpdateEvent is a delta even on a task indicating that a task has changed.
WorkspaceEventsApi
The Google Workspace Events API lets you subscribe to events and manage change notifications across Google Workspace applications.

Typedefs

Empty = $Empty
A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs.
ReactivateSubscriptionRequest = $Empty
The request message for SubscriptionsService.ReactivateSubscription.
Status = $Status00
The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs.

Exceptions / Errors

ApiRequestError
Represents a general error reported by the API endpoint.
DetailedApiRequestError
Represents a specific error reported by the API endpoint.