Skip to content

Commit 42edb13

Browse files
yoshi-automationsofisl
authored andcommitted
fix(workspaceevents): update the API
#### workspaceevents:v1 The following keys were changed: - schemas.NotificationEndpoint.properties.pubsubTopic.description - schemas.PayloadOptions.description - schemas.Subscription.properties.payloadOptions.description
1 parent 84dcfe1 commit 42edb13

File tree

3 files changed

+16
-7
lines changed

3 files changed

+16
-7
lines changed

discovery/workspaceevents-v1.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@
486486
}
487487
}
488488
},
489-
"revision": "20250629",
489+
"revision": "20250708",
490490
"rootUrl": "https://workspaceevents.googleapis.com/",
491491
"schemas": {
492492
"ListSubscriptionsResponse": {
@@ -512,7 +512,7 @@
512512
"id": "NotificationEndpoint",
513513
"properties": {
514514
"pubsubTopic": {
515-
"description": "Immutable. The Pub/Sub topic that receives events for the subscription. Format: `projects/{project}/topics/{topic}` You must create the topic in the same Google Cloud project where you create this subscription. Note: The Workspace Events API uses [ordering keys](https://cloud.google.com/pubsub/docs/ordering) for the benefit of sequential events. If the Cloud Pub/Sub topic has a [message storage policy](https://cloud.google.com/pubsub/docs/resource-location-restriction#exceptions) configured to exclude the nearest Google Cloud region, publishing events with ordering keys will fail. When the topic receives events, the events are encoded as Pub/Sub messages. For details, see the [Google Cloud Pub/Sub Protocol Binding for CloudEvents](https://github.com/googleapis/google-cloudevents/blob/main/docs/spec/pubsub.md).",
515+
"description": "Immutable. The Pub/Sub topic that receives events for the subscription. Format: `projects/{project}/topics/{topic}` You must create the topic in the same Google Cloud project where you create this subscription. Note: The Google Workspace Events API uses [ordering keys](https://cloud.google.com/pubsub/docs/ordering) for the benefit of sequential events. If the Cloud Pub/Sub topic has a [message storage policy](https://cloud.google.com/pubsub/docs/resource-location-restriction#exceptions) configured to exclude the nearest Google Cloud region, publishing events with ordering keys will fail. When the topic receives events, the events are encoded as Pub/Sub messages. For details, see the [Google Cloud Pub/Sub Protocol Binding for CloudEvents](https://github.com/googleapis/google-cloudevents/blob/main/docs/spec/pubsub.md).",
516516
"type": "string"
517517
}
518518
},
@@ -554,7 +554,7 @@
554554
"type": "object"
555555
},
556556
"PayloadOptions": {
557-
"description": "Options about what data to include in the event payload. Only supported for Google Chat events.",
557+
"description": "Options about what data to include in the event payload. Only supported for Google Chat and Google Drive events.",
558558
"id": "PayloadOptions",
559559
"properties": {
560560
"fieldMask": {
@@ -643,7 +643,7 @@
643643
},
644644
"payloadOptions": {
645645
"$ref": "PayloadOptions",
646-
"description": "Optional. Options about what data to include in the event payload. Only supported for Google Chat events."
646+
"description": "Optional. Options about what data to include in the event payload. Only supported for Google Chat and Google Drive events."
647647
},
648648
"reconciling": {
649649
"description": "Output only. If `true`, the subscription is in the process of being updated.",

src/apis/workspaceevents/README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,15 @@
44

55
> The Google Workspace Events API lets you subscribe to events and manage change notifications across Google Workspace applications.
66
7+
## Support status
8+
**Note**: Google provides multiple libraries for this service. This library is in
9+
maintenance mode, and will continue to be made available for users who have
10+
existing applications. If you're building a new application, or modernizing a
11+
legacy application, please use [@google-cloud/subscriptions](https://www.npmjs.com/package/@google-cloud/subscriptions) instead.
12+
The [@google-cloud/subscriptions](https://www.npmjs.com/package/@google-cloud/subscriptions) library is faster, easier to use, and better maintained.
13+
14+
To learn more, see [Client Libraries Explained](https://cloud.google.com/apis/docs/client-libraries-explained).
15+
716
## Installation
817

918
```sh

src/apis/workspaceevents/v1.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ export namespace workspaceevents_v1 {
144144
*/
145145
export interface Schema$NotificationEndpoint {
146146
/**
147-
* Immutable. The Pub/Sub topic that receives events for the subscription. Format: `projects/{project\}/topics/{topic\}` You must create the topic in the same Google Cloud project where you create this subscription. Note: The Workspace Events API uses [ordering keys](https://cloud.google.com/pubsub/docs/ordering) for the benefit of sequential events. If the Cloud Pub/Sub topic has a [message storage policy](https://cloud.google.com/pubsub/docs/resource-location-restriction#exceptions) configured to exclude the nearest Google Cloud region, publishing events with ordering keys will fail. When the topic receives events, the events are encoded as Pub/Sub messages. For details, see the [Google Cloud Pub/Sub Protocol Binding for CloudEvents](https://github.com/googleapis/google-cloudevents/blob/main/docs/spec/pubsub.md).
147+
* Immutable. The Pub/Sub topic that receives events for the subscription. Format: `projects/{project\}/topics/{topic\}` You must create the topic in the same Google Cloud project where you create this subscription. Note: The Google Workspace Events API uses [ordering keys](https://cloud.google.com/pubsub/docs/ordering) for the benefit of sequential events. If the Cloud Pub/Sub topic has a [message storage policy](https://cloud.google.com/pubsub/docs/resource-location-restriction#exceptions) configured to exclude the nearest Google Cloud region, publishing events with ordering keys will fail. When the topic receives events, the events are encoded as Pub/Sub messages. For details, see the [Google Cloud Pub/Sub Protocol Binding for CloudEvents](https://github.com/googleapis/google-cloudevents/blob/main/docs/spec/pubsub.md).
148148
*/
149149
pubsubTopic?: string | null;
150150
}
@@ -174,7 +174,7 @@ export namespace workspaceevents_v1 {
174174
response?: {[key: string]: any} | null;
175175
}
176176
/**
177-
* Options about what data to include in the event payload. Only supported for Google Chat events.
177+
* Options about what data to include in the event payload. Only supported for Google Chat and Google Drive events.
178178
*/
179179
export interface Schema$PayloadOptions {
180180
/**
@@ -240,7 +240,7 @@ export namespace workspaceevents_v1 {
240240
*/
241241
notificationEndpoint?: Schema$NotificationEndpoint;
242242
/**
243-
* Optional. Options about what data to include in the event payload. Only supported for Google Chat events.
243+
* Optional. Options about what data to include in the event payload. Only supported for Google Chat and Google Drive events.
244244
*/
245245
payloadOptions?: Schema$PayloadOptions;
246246
/**

0 commit comments

Comments
 (0)