Google Workspace Events API
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
L'API Google Workspace Eventi ti consente di iscriverti agli eventi e di gestire le notifiche relative alle modifiche nelle applicazioni di Google Workspace.
Servizio: workspaceevents.googleapis.com
Per chiamare questo servizio, ti consigliamo di utilizzare le librerie client fornite da Google. Se l'applicazione deve utilizzare le tue librerie per chiamare questo servizio, usa le seguenti informazioni quando effettui le richieste API.
Documento di rilevamento
Un documento di rilevamento è una specifica leggibile dalle macchine per la descrizione e l'utilizzo delle API REST. Viene utilizzato per creare librerie client, plug-in IDE e altri strumenti che interagiscono con le API di Google. Un servizio può fornire più documenti di rilevamento. Questo servizio fornisce il seguente documento di rilevamento:
Endpoint di servizio
Un endpoint di servizio è un URL di base che specifica l'indirizzo di rete di un servizio API. Un servizio può avere più endpoint di servizio. Questo servizio ha il seguente endpoint di servizio e tutti gli URI seguenti sono relativi a questo endpoint di servizio:
https://workspaceevents.googleapis.com
Metodi |
get |
GET /v1/{name=operations/**}
Recupera lo stato più recente di un'operazione a lunga esecuzione. |
Metodi |
create |
POST /v1/subscriptions
Crea un abbonamento a Google Workspace. |
delete |
DELETE /v1/{name=subscriptions/*}
Elimina un abbonamento a Google Workspace. |
get |
GET /v1/{name=subscriptions/*}
Riceve i dettagli di un abbonamento a Google Workspace. |
list |
GET /v1/subscriptions
Elenca gli abbonamenti a Google Workspace. |
patch |
PATCH /v1/{subscription.name=subscriptions/*}
Aggiorna o rinnova un abbonamento a Google Workspace. |
reactivate |
POST /v1/{name=subscriptions/*}:reactivate
Riattiva un abbonamento a Google Workspace sospeso. |
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2025-07-25 UTC.
[null,null,["Ultimo aggiornamento 2025-07-25 UTC."],[[["\u003cp\u003eThe Google Workspace Events API enables you to subscribe to events and manage change notifications for various Google Workspace applications.\u003c/p\u003e\n"],["\u003cp\u003eYou can utilize the API to create, delete, get, list, patch, and reactivate subscriptions.\u003c/p\u003e\n"],["\u003cp\u003eOperations can be monitored using the API to get their latest status.\u003c/p\u003e\n"],["\u003cp\u003eClient libraries are recommended for interacting with the service, but direct API calls are also supported using the provided service endpoint and discovery document.\u003c/p\u003e\n"]]],["The Google Workspace Events API manages change notifications via subscriptions. It provides two main REST resources: `v1.operations` and `v1.subscriptions`. `v1.operations` allows retrieving the state of long-running tasks with `get`. `v1.subscriptions` allows users to `create`, `delete`, `get`, `list`, `patch`, and `reactivate` subscriptions. Client interaction can be achieved by using Google-provided libraries or user-created ones. A discovery document and service endpoint are available for API interactions.\n"],null,["# Google Workspace Events API\n\nThe Google Workspace Events API lets you subscribe to events and manage change notifications across Google Workspace applications.\n\n- [REST Resource: v1.operations](#v1.operations)\n- [REST Resource: v1.subscriptions](#v1.subscriptions)\n\nService: workspaceevents.googleapis.com\n---------------------------------------\n\nTo call this service, we recommend that you use the Google-provided [client libraries](https://cloud.google.com/apis/docs/client-libraries-explained). If your application needs to use your own libraries to call this service, use the following information when you make the API requests.\n\n### Discovery document\n\nA [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery document:\n\n- \u003chttps://workspaceevents.googleapis.com/$discovery/rest?version=v1\u003e\n\n### Service endpoint\n\nA [service endpoint](https://cloud.google.com/apis/design/glossary#api_service_endpoint) is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:\n\n- `https://workspaceevents.googleapis.com`\n\nREST Resource: [v1.operations](/workspace/events/reference/rest/v1/operations)\n------------------------------------------------------------------------------\n\n| Methods ||\n|-----------------------------------------------------------|-----------------------------------------------------------------------------------|\n| [get](/workspace/events/reference/rest/v1/operations/get) | `GET /v1/{name=operations/**}` Gets the latest state of a long-running operation. |\n\nREST Resource: [v1.subscriptions](/workspace/events/reference/rest/v1/subscriptions)\n------------------------------------------------------------------------------------\n\n| Methods ||\n|----------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------|\n| [create](/workspace/events/reference/rest/v1/subscriptions/create) | `POST /v1/subscriptions` Creates a Google Workspace subscription. |\n| [delete](/workspace/events/reference/rest/v1/subscriptions/delete) | `DELETE /v1/{name=subscriptions/*}` Deletes a Google Workspace subscription. |\n| [get](/workspace/events/reference/rest/v1/subscriptions/get) | `GET /v1/{name=subscriptions/*}` Gets details about a Google Workspace subscription. |\n| [list](/workspace/events/reference/rest/v1/subscriptions/list) | `GET /v1/subscriptions` Lists Google Workspace subscriptions. |\n| [patch](/workspace/events/reference/rest/v1/subscriptions/patch) | `PATCH /v1/{subscription.name=subscriptions/*}` Updates or renews a Google Workspace subscription. |\n| [reactivate](/workspace/events/reference/rest/v1/subscriptions/reactivate) | `POST /v1/{name=subscriptions/*}:reactivate` Reactivates a suspended Google Workspace subscription. |"]]