@maxim_mazurok/gapi.client.workspaceevents-v1 0.0.20250412 → 0.0.20250420
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +7 -7
- package/package.json +1 -1
- package/readme.md +6 -6
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://workspaceevents.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20250420
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -127,7 +127,7 @@ declare namespace gapi.client {
|
|
|
127
127
|
}): Request<Operation>;
|
|
128
128
|
}
|
|
129
129
|
interface SubscriptionsResource {
|
|
130
|
-
/**
|
|
130
|
+
/** 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). */
|
|
131
131
|
create(request: {
|
|
132
132
|
/** V1 error format. */
|
|
133
133
|
'$.xgafv'?: string;
|
|
@@ -185,7 +185,7 @@ declare namespace gapi.client {
|
|
|
185
185
|
},
|
|
186
186
|
body: Subscription,
|
|
187
187
|
): Request<Operation>;
|
|
188
|
-
/**
|
|
188
|
+
/** 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). */
|
|
189
189
|
delete(request?: {
|
|
190
190
|
/** V1 error format. */
|
|
191
191
|
'$.xgafv'?: string;
|
|
@@ -218,7 +218,7 @@ declare namespace gapi.client {
|
|
|
218
218
|
/** Optional. If set to `true`, validates and previews the request, but doesn't delete the subscription. */
|
|
219
219
|
validateOnly?: boolean;
|
|
220
220
|
}): Request<Operation>;
|
|
221
|
-
/**
|
|
221
|
+
/** 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). */
|
|
222
222
|
get(request?: {
|
|
223
223
|
/** V1 error format. */
|
|
224
224
|
'$.xgafv'?: string;
|
|
@@ -245,7 +245,7 @@ declare namespace gapi.client {
|
|
|
245
245
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
246
246
|
uploadType?: string;
|
|
247
247
|
}): Request<Subscription>;
|
|
248
|
-
/**
|
|
248
|
+
/** 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). */
|
|
249
249
|
list(request?: {
|
|
250
250
|
/** V1 error format. */
|
|
251
251
|
'$.xgafv'?: string;
|
|
@@ -276,7 +276,7 @@ declare namespace gapi.client {
|
|
|
276
276
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
277
277
|
uploadType?: string;
|
|
278
278
|
}): Request<ListSubscriptionsResponse>;
|
|
279
|
-
/**
|
|
279
|
+
/** 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). */
|
|
280
280
|
patch(request: {
|
|
281
281
|
/** V1 error format. */
|
|
282
282
|
'$.xgafv'?: string;
|
|
@@ -342,7 +342,7 @@ declare namespace gapi.client {
|
|
|
342
342
|
},
|
|
343
343
|
body: Subscription,
|
|
344
344
|
): Request<Operation>;
|
|
345
|
-
/**
|
|
345
|
+
/** 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). */
|
|
346
346
|
reactivate(request: {
|
|
347
347
|
/** V1 error format. */
|
|
348
348
|
'$.xgafv'?: string;
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -120,32 +120,32 @@ Gets the latest state of a long-running operation. Clients can use this method t
|
|
|
120
120
|
await gapi.client.workspaceevents.operations.get({name: 'name'});
|
|
121
121
|
|
|
122
122
|
/*
|
|
123
|
-
|
|
123
|
+
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).
|
|
124
124
|
*/
|
|
125
125
|
await gapi.client.workspaceevents.subscriptions.create({});
|
|
126
126
|
|
|
127
127
|
/*
|
|
128
|
-
|
|
128
|
+
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).
|
|
129
129
|
*/
|
|
130
130
|
await gapi.client.workspaceevents.subscriptions.delete({name: 'name'});
|
|
131
131
|
|
|
132
132
|
/*
|
|
133
|
-
|
|
133
|
+
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).
|
|
134
134
|
*/
|
|
135
135
|
await gapi.client.workspaceevents.subscriptions.get({name: 'name'});
|
|
136
136
|
|
|
137
137
|
/*
|
|
138
|
-
|
|
138
|
+
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).
|
|
139
139
|
*/
|
|
140
140
|
await gapi.client.workspaceevents.subscriptions.list({});
|
|
141
141
|
|
|
142
142
|
/*
|
|
143
|
-
|
|
143
|
+
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).
|
|
144
144
|
*/
|
|
145
145
|
await gapi.client.workspaceevents.subscriptions.patch({name: 'name'});
|
|
146
146
|
|
|
147
147
|
/*
|
|
148
|
-
|
|
148
|
+
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).
|
|
149
149
|
*/
|
|
150
150
|
await gapi.client.workspaceevents.subscriptions.reactivate({name: 'name'});
|
|
151
151
|
```
|