Skip to content

Commit a682eea

Browse files
fix(workspaceevents): update the API
#### workspaceevents:v1 The following keys were changed: - resources.subscriptions.methods.create.description - resources.subscriptions.methods.delete.description - resources.subscriptions.methods.get.description - resources.subscriptions.methods.list.description - resources.subscriptions.methods.patch.description - resources.subscriptions.methods.reactivate.description - schemas.NotificationEndpoint.properties.pubsubTopic.description - schemas.Subscription.description
1 parent e63df22 commit a682eea

File tree

2 files changed

+17
-17
lines changed

2 files changed

+17
-17
lines changed

discovery/workspaceevents-v1.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@
197197
"subscriptions": {
198198
"methods": {
199199
"create": {
200-
"description": "[Developer Preview](https://developers.google.com/workspace/preview): Creates a Google Workspace subscription. To learn how to use this method, see [Create a Google Workspace subscription](https://developers.google.com/workspace/events/guides/create-subscription).",
200+
"description": "Creates a Google Workspace subscription. To learn how to use this method, see [Create a Google Workspace subscription](https://developers.google.com/workspace/events/guides/create-subscription). ",
201201
"flatPath": "v1/subscriptions",
202202
"httpMethod": "POST",
203203
"id": "workspaceevents.subscriptions.create",
@@ -235,7 +235,7 @@
235235
]
236236
},
237237
"delete": {
238-
"description": "[Developer Preview](https://developers.google.com/workspace/preview): Deletes a Google Workspace subscription. To learn how to use this method, see [Delete a Google Workspace subscription](https://developers.google.com/workspace/events/guides/delete-subscription).",
238+
"description": "Deletes a Google Workspace subscription. To learn how to use this method, see [Delete a Google Workspace subscription](https://developers.google.com/workspace/events/guides/delete-subscription).",
239239
"flatPath": "v1/subscriptions/{subscriptionsId}",
240240
"httpMethod": "DELETE",
241241
"id": "workspaceevents.subscriptions.delete",
@@ -290,7 +290,7 @@
290290
]
291291
},
292292
"get": {
293-
"description": "[Developer Preview](https://developers.google.com/workspace/preview): Gets details about a Google Workspace subscription. To learn how to use this method, see [Get details about a Google Workspace subscription](https://developers.google.com/workspace/events/guides/get-subscription).",
293+
"description": "Gets details about a Google Workspace subscription. To learn how to use this method, see [Get details about a Google Workspace subscription](https://developers.google.com/workspace/events/guides/get-subscription).",
294294
"flatPath": "v1/subscriptions/{subscriptionsId}",
295295
"httpMethod": "GET",
296296
"id": "workspaceevents.subscriptions.get",
@@ -330,7 +330,7 @@
330330
]
331331
},
332332
"list": {
333-
"description": "[Developer Preview](https://developers.google.com/workspace/preview): Lists Google Workspace subscriptions. To learn how to use this method, see [List Google Workspace subscriptions](https://developers.google.com/workspace/events/guides/list-subscriptions).",
333+
"description": "Lists Google Workspace subscriptions. To learn how to use this method, see [List Google Workspace subscriptions](https://developers.google.com/workspace/events/guides/list-subscriptions).",
334334
"flatPath": "v1/subscriptions",
335335
"httpMethod": "GET",
336336
"id": "workspaceevents.subscriptions.list",
@@ -377,7 +377,7 @@
377377
]
378378
},
379379
"patch": {
380-
"description": "[Developer Preview](https://developers.google.com/workspace/preview): Updates or renews a Google Workspace subscription. To learn how to use this method, see [Update or renew a Google Workspace subscription](https://developers.google.com/workspace/events/guides/update-subscription).",
380+
"description": "Updates or renews a Google Workspace subscription. To learn how to use this method, see [Update or renew a Google Workspace subscription](https://developers.google.com/workspace/events/guides/update-subscription).",
381381
"flatPath": "v1/subscriptions/{subscriptionsId}",
382382
"httpMethod": "PATCH",
383383
"id": "workspaceevents.subscriptions.patch",
@@ -430,7 +430,7 @@
430430
]
431431
},
432432
"reactivate": {
433-
"description": "[Developer Preview](https://developers.google.com/workspace/preview): Reactivates a suspended Google Workspace subscription. This method resets your subscription's `State` field to `ACTIVE`. Before you use this method, you must fix the error that suspended the subscription. This method will ignore or reject any subscription that isn't currently in a suspended state. To learn how to use this method, see [Reactivate a Google Workspace subscription](https://developers.google.com/workspace/events/guides/reactivate-subscription).",
433+
"description": "Reactivates a suspended Google Workspace subscription. This method resets your subscription's `State` field to `ACTIVE`. Before you use this method, you must fix the error that suspended the subscription. This method will ignore or reject any subscription that isn't currently in a suspended state. To learn how to use this method, see [Reactivate a Google Workspace subscription](https://developers.google.com/workspace/events/guides/reactivate-subscription).",
434434
"flatPath": "v1/subscriptions/{subscriptionsId}:reactivate",
435435
"httpMethod": "POST",
436436
"id": "workspaceevents.subscriptions.reactivate",
@@ -474,7 +474,7 @@
474474
}
475475
}
476476
},
477-
"revision": "20250225",
477+
"revision": "20250427",
478478
"rootUrl": "https://workspaceevents.googleapis.com/",
479479
"schemas": {
480480
"ListSubscriptionsResponse": {
@@ -500,7 +500,7 @@
500500
"id": "NotificationEndpoint",
501501
"properties": {
502502
"pubsubTopic": {
503-
"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. 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).",
503+
"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).",
504504
"type": "string"
505505
}
506506
},
@@ -591,7 +591,7 @@
591591
"type": "object"
592592
},
593593
"Subscription": {
594-
"description": "[Developer Preview](https://developers.google.com/workspace/preview). A subscription to receive events about a Google Workspace resource. To learn more about subscriptions, see the [Google Workspace Events API overview](https://developers.google.com/workspace/events).",
594+
"description": "A subscription to receive events about a Google Workspace resource. To learn more about subscriptions, see the [Google Workspace Events API overview](https://developers.google.com/workspace/events).",
595595
"id": "Subscription",
596596
"properties": {
597597
"authority": {

src/apis/workspaceevents/v1.ts

Lines changed: 8 additions & 8 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. 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 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
}
@@ -208,7 +208,7 @@ export namespace workspaceevents_v1 {
208208
message?: string | null;
209209
}
210210
/**
211-
* [Developer Preview](https://developers.google.com/workspace/preview). A subscription to receive events about a Google Workspace resource. To learn more about subscriptions, see the [Google Workspace Events API overview](https://developers.google.com/workspace/events).
211+
* A subscription to receive events about a Google Workspace resource. To learn more about subscriptions, see the [Google Workspace Events API overview](https://developers.google.com/workspace/events).
212212
*/
213213
export interface Schema$Subscription {
214214
/**
@@ -379,7 +379,7 @@ export namespace workspaceevents_v1 {
379379
}
380380

381381
/**
382-
* [Developer Preview](https://developers.google.com/workspace/preview): Creates a Google Workspace subscription. To learn how to use this method, see [Create a Google Workspace subscription](https://developers.google.com/workspace/events/guides/create-subscription).
382+
* Creates a Google Workspace subscription. To learn how to use this method, see [Create a Google Workspace subscription](https://developers.google.com/workspace/events/guides/create-subscription).
383383
*
384384
* @param params - Parameters for request
385385
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -465,7 +465,7 @@ export namespace workspaceevents_v1 {
465465
}
466466

467467
/**
468-
* [Developer Preview](https://developers.google.com/workspace/preview): Deletes a Google Workspace subscription. To learn how to use this method, see [Delete a Google Workspace subscription](https://developers.google.com/workspace/events/guides/delete-subscription).
468+
* Deletes a Google Workspace subscription. To learn how to use this method, see [Delete a Google Workspace subscription](https://developers.google.com/workspace/events/guides/delete-subscription).
469469
*
470470
* @param params - Parameters for request
471471
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -551,7 +551,7 @@ export namespace workspaceevents_v1 {
551551
}
552552

553553
/**
554-
* [Developer Preview](https://developers.google.com/workspace/preview): Gets details about a Google Workspace subscription. To learn how to use this method, see [Get details about a Google Workspace subscription](https://developers.google.com/workspace/events/guides/get-subscription).
554+
* Gets details about a Google Workspace subscription. To learn how to use this method, see [Get details about a Google Workspace subscription](https://developers.google.com/workspace/events/guides/get-subscription).
555555
*
556556
* @param params - Parameters for request
557557
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -637,7 +637,7 @@ export namespace workspaceevents_v1 {
637637
}
638638

639639
/**
640-
* [Developer Preview](https://developers.google.com/workspace/preview): Lists Google Workspace subscriptions. To learn how to use this method, see [List Google Workspace subscriptions](https://developers.google.com/workspace/events/guides/list-subscriptions).
640+
* Lists Google Workspace subscriptions. To learn how to use this method, see [List Google Workspace subscriptions](https://developers.google.com/workspace/events/guides/list-subscriptions).
641641
*
642642
* @param params - Parameters for request
643643
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -730,7 +730,7 @@ export namespace workspaceevents_v1 {
730730
}
731731

732732
/**
733-
* [Developer Preview](https://developers.google.com/workspace/preview): Updates or renews a Google Workspace subscription. To learn how to use this method, see [Update or renew a Google Workspace subscription](https://developers.google.com/workspace/events/guides/update-subscription).
733+
* Updates or renews a Google Workspace subscription. To learn how to use this method, see [Update or renew a Google Workspace subscription](https://developers.google.com/workspace/events/guides/update-subscription).
734734
*
735735
* @param params - Parameters for request
736736
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -816,7 +816,7 @@ export namespace workspaceevents_v1 {
816816
}
817817

818818
/**
819-
* [Developer Preview](https://developers.google.com/workspace/preview): Reactivates a suspended Google Workspace subscription. This method resets your subscription's `State` field to `ACTIVE`. Before you use this method, you must fix the error that suspended the subscription. This method will ignore or reject any subscription that isn't currently in a suspended state. To learn how to use this method, see [Reactivate a Google Workspace subscription](https://developers.google.com/workspace/events/guides/reactivate-subscription).
819+
* Reactivates a suspended Google Workspace subscription. This method resets your subscription's `State` field to `ACTIVE`. Before you use this method, you must fix the error that suspended the subscription. This method will ignore or reject any subscription that isn't currently in a suspended state. To learn how to use this method, see [Reactivate a Google Workspace subscription](https://developers.google.com/workspace/events/guides/reactivate-subscription).
820820
*
821821
* @param params - Parameters for request
822822
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.

0 commit comments

Comments
 (0)