@maxim_mazurok/gapi.client.workspaceevents-v1
Advanced tools
Comparing version 0.0.20240215 to 0.0.20240218
@@ -12,3 +12,3 @@ /* Type definitions for non-npm package Google Workspace Events API v1 0.0 */ | ||
// Generated from: https://workspaceevents.googleapis.com/$discovery/rest?version=v1 | ||
// Revision: 20240215 | ||
// Revision: 20240218 | ||
@@ -76,3 +76,3 @@ /// <reference types="gapi.client" /> | ||
etag?: string; | ||
/** Required. Immutable. Unordered list. Input for creating a subscription. Otherwise, output only. One or more types of events to receive about the target resource. Formatted according to the CloudEvents specification. For a list of supported event types, see the following documentation: * [Google Chat events](https://developers.google.com/workspace/events/guides/events-chat) * [Google Meet events](https://developers.google.com/workspace/events/guides/events-meet) By default, you also receive events about the [lifecycle of your subscription](https://developers.google.com/workspace/events/guides/events-lifecycle). You don't need to specify lifecycle events for this field. If you specify an event type that doesn't exist for the target resource, the request returns an HTTP `400 Bad Request` status code. */ | ||
/** Required. Immutable. Unordered list. Input for creating a subscription. Otherwise, output only. One or more types of events to receive about the target resource. Formatted according to the CloudEvents specification. The supported event types depend on the target resource of your subscription. For details, see [Supported Google Workspace events](https://developers.google.com/workspace/events/guides#supported-events). By default, you also receive events about the [lifecycle of your subscription](https://developers.google.com/workspace/events/guides/events-lifecycle). You don't need to specify lifecycle events for this field. If you specify an event type that doesn't exist for the target resource, the request returns an HTTP `400 Bad Request` status code. */ | ||
eventTypes?: string[]; | ||
@@ -93,3 +93,3 @@ /** Non-empty default. The timestamp in UTC when the subscription expires. Always displayed on output, regardless of what was used on input. */ | ||
suspensionReason?: string; | ||
/** Required. Immutable. The Google Workspace resource that's monitored for events, formatted as the [full resource name](https://google.aip.dev/122#full-resource-names). To learn about target resources, see [Supported Google Workspace resources](https://developers.google.com/workspace/events/guides#supported-resources). A user can only authorize your app to create one subscription for a given target resource. If your app tries to create another subscription with the same user credentials, the request returns an `ALREADY_EXISTS` error. */ | ||
/** Required. Immutable. The Google Workspace resource that's monitored for events, formatted as the [full resource name](https://google.aip.dev/122#full-resource-names). To learn about target resources and the events that they support, see [Supported Google Workspace events](https://developers.google.com/workspace/events#supported-events). A user can only authorize your app to create one subscription for a given target resource. If your app tries to create another subscription with the same user credentials, the request returns an `ALREADY_EXISTS` error. */ | ||
targetResource?: string; | ||
@@ -96,0 +96,0 @@ /** Input only. The time-to-live (TTL) or duration for the subscription. If unspecified or set to `0`, uses the maximum possible duration. */ |
{ | ||
"name": "@maxim_mazurok/gapi.client.workspaceevents-v1", | ||
"version": "0.0.20240215", | ||
"version": "0.0.20240218", | ||
"description": "TypeScript typings for Google Workspace Events API v1", | ||
@@ -5,0 +5,0 @@ "repository": { |
33048