@maxim_mazurok/gapi.client.workspaceevents-v1
Advanced tools
Comparing version
@@ -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: 20250415 | ||
// Revision: 20250420 | ||
@@ -131,3 +131,3 @@ /// <reference types="gapi.client" /> | ||
interface SubscriptionsResource { | ||
/** [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). */ | ||
/** 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). */ | ||
create(request: { | ||
@@ -190,3 +190,3 @@ /** V1 error format. */ | ||
): Request<Operation>; | ||
/** [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). */ | ||
/** 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). */ | ||
delete(request?: { | ||
@@ -224,3 +224,3 @@ /** V1 error format. */ | ||
}): Request<Operation>; | ||
/** [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). */ | ||
/** 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). */ | ||
get(request?: { | ||
@@ -252,3 +252,3 @@ /** V1 error format. */ | ||
}): Request<Subscription>; | ||
/** [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). */ | ||
/** 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). */ | ||
list(request?: { | ||
@@ -284,3 +284,3 @@ /** V1 error format. */ | ||
}): Request<ListSubscriptionsResponse>; | ||
/** [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). */ | ||
/** 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). */ | ||
patch(request: { | ||
@@ -351,3 +351,3 @@ /** V1 error format. */ | ||
): Request<Operation>; | ||
/** [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). */ | ||
/** 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). */ | ||
reactivate(request: { | ||
@@ -354,0 +354,0 @@ /** V1 error format. */ |
{ | ||
"name": "@maxim_mazurok/gapi.client.workspaceevents-v1", | ||
"version": "0.0.20250415", | ||
"version": "0.0.20250420", | ||
"description": "TypeScript typings for Google Workspace Events API v1", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -123,3 +123,3 @@ # TypeScript typings for Google Workspace Events API v1 | ||
/* | ||
[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). | ||
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). | ||
*/ | ||
@@ -129,3 +129,3 @@ await gapi.client.workspaceevents.subscriptions.create({}); | ||
/* | ||
[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). | ||
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). | ||
*/ | ||
@@ -135,3 +135,3 @@ await gapi.client.workspaceevents.subscriptions.delete({name: 'name'}); | ||
/* | ||
[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). | ||
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). | ||
*/ | ||
@@ -141,3 +141,3 @@ await gapi.client.workspaceevents.subscriptions.get({name: 'name'}); | ||
/* | ||
[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). | ||
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). | ||
*/ | ||
@@ -147,3 +147,3 @@ await gapi.client.workspaceevents.subscriptions.list({}); | ||
/* | ||
[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). | ||
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). | ||
*/ | ||
@@ -153,5 +153,5 @@ await gapi.client.workspaceevents.subscriptions.patch({name: 'name'}); | ||
/* | ||
[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). | ||
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). | ||
*/ | ||
await gapi.client.workspaceevents.subscriptions.reactivate({name: 'name'}); | ||
``` |
33845
-2.42%417
-0.48%