@maxim_mazurok/gapi.client.pubsub-v1beta2 0.0.20230418 → 0.0.20230425
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 +775 -388
- package/package.json +1 -1
- package/tests.ts +1 -1
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://pubsub.googleapis.com/$discovery/rest?version=v1beta2
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230425
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -24,7 +24,8 @@ declare namespace gapi.client {
|
|
|
24
24
|
namespace pubsub {
|
|
25
25
|
interface AcknowledgeRequest {
|
|
26
26
|
/** The acknowledgment ID for the messages being acknowledged that was returned by the Pub/Sub system in the `Pull` response. Must not be empty. */
|
|
27
|
-
ackIds?:
|
|
27
|
+
ackIds?:
|
|
28
|
+
string[];
|
|
28
29
|
}
|
|
29
30
|
interface Binding {
|
|
30
31
|
/**
|
|
@@ -32,7 +33,8 @@ declare namespace gapi.client {
|
|
|
32
33
|
* then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which
|
|
33
34
|
* resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
34
35
|
*/
|
|
35
|
-
condition?:
|
|
36
|
+
condition?:
|
|
37
|
+
Expr;
|
|
36
38
|
/**
|
|
37
39
|
* Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on
|
|
38
40
|
* the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service
|
|
@@ -49,58 +51,74 @@ declare namespace gapi.client {
|
|
|
49
51
|
* has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group
|
|
50
52
|
* retains the role in the binding.
|
|
51
53
|
*/
|
|
52
|
-
members?:
|
|
54
|
+
members?:
|
|
55
|
+
string[];
|
|
53
56
|
/** Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. */
|
|
54
|
-
role?:
|
|
57
|
+
role?:
|
|
58
|
+
string;
|
|
55
59
|
}
|
|
56
60
|
// tslint:disable-next-line:no-empty-interface
|
|
57
61
|
interface Empty {
|
|
58
62
|
}
|
|
59
63
|
interface Expr {
|
|
60
64
|
/** Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. */
|
|
61
|
-
description?:
|
|
65
|
+
description?:
|
|
66
|
+
string;
|
|
62
67
|
/** Textual representation of an expression in Common Expression Language syntax. */
|
|
63
|
-
expression?:
|
|
68
|
+
expression?:
|
|
69
|
+
string;
|
|
64
70
|
/** Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file. */
|
|
65
|
-
location?:
|
|
71
|
+
location?:
|
|
72
|
+
string;
|
|
66
73
|
/** Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression. */
|
|
67
|
-
title?:
|
|
74
|
+
title?:
|
|
75
|
+
string;
|
|
68
76
|
}
|
|
69
77
|
interface ListSubscriptionsResponse {
|
|
70
78
|
/** If not empty, indicates that there may be more subscriptions that match the request; this value should be passed in a new `ListSubscriptionsRequest` to get more subscriptions. */
|
|
71
|
-
nextPageToken?:
|
|
79
|
+
nextPageToken?:
|
|
80
|
+
string;
|
|
72
81
|
/** The subscriptions that match the request. */
|
|
73
|
-
subscriptions?:
|
|
82
|
+
subscriptions?:
|
|
83
|
+
Subscription[];
|
|
74
84
|
}
|
|
75
85
|
interface ListTopicsResponse {
|
|
76
86
|
/** If not empty, indicates that there may be more topics that match the request; this value should be passed in a new `ListTopicsRequest`. */
|
|
77
|
-
nextPageToken?:
|
|
87
|
+
nextPageToken?:
|
|
88
|
+
string;
|
|
78
89
|
/** The resulting topics. */
|
|
79
|
-
topics?:
|
|
90
|
+
topics?:
|
|
91
|
+
Topic[];
|
|
80
92
|
}
|
|
81
93
|
interface ListTopicSubscriptionsResponse {
|
|
82
94
|
/** If not empty, indicates that there may be more subscriptions that match the request; this value should be passed in a new `ListTopicSubscriptionsRequest` to get more subscriptions. */
|
|
83
|
-
nextPageToken?:
|
|
95
|
+
nextPageToken?:
|
|
96
|
+
string;
|
|
84
97
|
/** The names of the subscriptions that match the request. */
|
|
85
|
-
subscriptions?:
|
|
98
|
+
subscriptions?:
|
|
99
|
+
string[];
|
|
86
100
|
}
|
|
87
101
|
interface ModifyAckDeadlineRequest {
|
|
88
102
|
/**
|
|
89
103
|
* The new ack deadline with respect to the time this request was sent to the Pub/Sub system. Must be >= 0. For example, if the value is 10, the new ack deadline will expire 10 seconds
|
|
90
104
|
* after the `ModifyAckDeadline` call was made. Specifying zero may immediately make the message available for another pull request.
|
|
91
105
|
*/
|
|
92
|
-
ackDeadlineSeconds?:
|
|
106
|
+
ackDeadlineSeconds?:
|
|
107
|
+
number;
|
|
93
108
|
/** The acknowledgment ID. Either this or ack_ids must be populated, but not both. */
|
|
94
|
-
ackId?:
|
|
109
|
+
ackId?:
|
|
110
|
+
string;
|
|
95
111
|
/** List of acknowledgment IDs. */
|
|
96
|
-
ackIds?:
|
|
112
|
+
ackIds?:
|
|
113
|
+
string[];
|
|
97
114
|
}
|
|
98
115
|
interface ModifyPushConfigRequest {
|
|
99
116
|
/**
|
|
100
117
|
* The push configuration for future deliveries. An empty `pushConfig` indicates that the Pub/Sub system should stop pushing messages from the given subscription and allow messages to
|
|
101
118
|
* be pulled and acknowledged - effectively pausing the subscription if `Pull` is not called.
|
|
102
119
|
*/
|
|
103
|
-
pushConfig?:
|
|
120
|
+
pushConfig?:
|
|
121
|
+
PushConfig;
|
|
104
122
|
}
|
|
105
123
|
interface OidcToken {
|
|
106
124
|
/**
|
|
@@ -108,12 +126,14 @@ declare namespace gapi.client {
|
|
|
108
126
|
* Having multiple values (array) for the audience field is not supported. More info about the OIDC JWT token audience here: https://tools.ietf.org/html/rfc7519#section-4.1.3 Note: if
|
|
109
127
|
* not specified, the Push endpoint URL will be used.
|
|
110
128
|
*/
|
|
111
|
-
audience?:
|
|
129
|
+
audience?:
|
|
130
|
+
string;
|
|
112
131
|
/**
|
|
113
132
|
* [Service account email](https://cloud.google.com/iam/docs/service-accounts) to be used for generating the OIDC token. The caller (for CreateSubscription, UpdateSubscription, and
|
|
114
133
|
* ModifyPushConfig RPCs) must have the iam.serviceAccounts.actAs permission for the service account.
|
|
115
134
|
*/
|
|
116
|
-
serviceAccountEmail?:
|
|
135
|
+
serviceAccountEmail?:
|
|
136
|
+
string;
|
|
117
137
|
}
|
|
118
138
|
interface Policy {
|
|
119
139
|
/**
|
|
@@ -122,7 +142,8 @@ declare namespace gapi.client {
|
|
|
122
142
|
* principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another
|
|
123
143
|
* 1,450 principals to the `bindings` in the `Policy`.
|
|
124
144
|
*/
|
|
125
|
-
bindings?:
|
|
145
|
+
bindings?:
|
|
146
|
+
Binding[];
|
|
126
147
|
/**
|
|
127
148
|
* `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make
|
|
128
149
|
* use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems
|
|
@@ -130,7 +151,8 @@ declare namespace gapi.client {
|
|
|
130
151
|
* Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1`
|
|
131
152
|
* policy, and all of the conditions in the version `3` policy are lost.
|
|
132
153
|
*/
|
|
133
|
-
etag?:
|
|
154
|
+
etag?:
|
|
155
|
+
string;
|
|
134
156
|
/**
|
|
135
157
|
* Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings
|
|
136
158
|
* must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a
|
|
@@ -139,45 +161,55 @@ declare namespace gapi.client {
|
|
|
139
161
|
* policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave
|
|
140
162
|
* the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
141
163
|
*/
|
|
142
|
-
version?:
|
|
164
|
+
version?:
|
|
165
|
+
number;
|
|
143
166
|
}
|
|
144
167
|
interface PublishRequest {
|
|
145
168
|
/** The messages to publish. */
|
|
146
|
-
messages?:
|
|
169
|
+
messages?:
|
|
170
|
+
PubsubMessage[];
|
|
147
171
|
}
|
|
148
172
|
interface PublishResponse {
|
|
149
173
|
/** The server-assigned ID of each published message, in the same order as the messages in the request. IDs are guaranteed to be unique within the topic. */
|
|
150
|
-
messageIds?:
|
|
174
|
+
messageIds?:
|
|
175
|
+
string[];
|
|
151
176
|
}
|
|
152
177
|
interface PubsubMessage {
|
|
153
178
|
/** Optional attributes for this message. */
|
|
154
|
-
attributes?:
|
|
179
|
+
attributes?:
|
|
180
|
+
{ [P in string]: string };
|
|
155
181
|
/** The message payload. For JSON requests, the value of this field must be [base64-encoded](https://tools.ietf.org/html/rfc4648). */
|
|
156
|
-
data?:
|
|
182
|
+
data?:
|
|
183
|
+
string;
|
|
157
184
|
/**
|
|
158
185
|
* ID of this message, assigned by the server when the message is published. Guaranteed to be unique within the topic. This value may be read by a subscriber that receives a
|
|
159
186
|
* `PubsubMessage` via a `Pull` call or a push delivery. It must not be populated by the publisher in a `Publish` call.
|
|
160
187
|
*/
|
|
161
|
-
messageId?:
|
|
188
|
+
messageId?:
|
|
189
|
+
string;
|
|
162
190
|
/** The time at which the message was published, populated by the server when it receives the `Publish` call. It must not be populated by the publisher in a `Publish` call. */
|
|
163
|
-
publishTime?:
|
|
191
|
+
publishTime?:
|
|
192
|
+
string;
|
|
164
193
|
}
|
|
165
194
|
interface PullRequest {
|
|
166
195
|
/** The maximum number of messages returned for this request. The Pub/Sub system may return fewer than the number specified. */
|
|
167
|
-
maxMessages?:
|
|
196
|
+
maxMessages?:
|
|
197
|
+
number;
|
|
168
198
|
/**
|
|
169
199
|
* Optional. If this is specified as true the system will respond immediately even if it is not able to return a message in the `Pull` response. Otherwise the system is allowed to wait
|
|
170
200
|
* until at least one message is available rather than returning no messages. The client may cancel the request if it does not wish to wait any longer for the response. Warning:
|
|
171
201
|
* setting this field to `true` is discouraged because it adversely impacts the performance of `Pull` operations. We recommend that users do not set this field.
|
|
172
202
|
*/
|
|
173
|
-
returnImmediately?:
|
|
203
|
+
returnImmediately?:
|
|
204
|
+
boolean;
|
|
174
205
|
}
|
|
175
206
|
interface PullResponse {
|
|
176
207
|
/**
|
|
177
208
|
* Received Pub/Sub messages. The Pub/Sub system will return zero messages if there are no more available in the backlog. The Pub/Sub system may return fewer than the `maxMessages`
|
|
178
209
|
* requested even if there are more messages available in the backlog.
|
|
179
210
|
*/
|
|
180
|
-
receivedMessages?:
|
|
211
|
+
receivedMessages?:
|
|
212
|
+
ReceivedMessage[];
|
|
181
213
|
}
|
|
182
214
|
interface PushConfig {
|
|
183
215
|
/**
|
|
@@ -188,24 +220,30 @@ declare namespace gapi.client {
|
|
|
188
220
|
* always return a valid version, even if the subscription was created without this attribute. The possible values for this attribute are: * `v1beta1`: uses the push format defined in
|
|
189
221
|
* the v1beta1 Pub/Sub API. * `v1` or `v1beta2`: uses the push format defined in the v1 Pub/Sub API.
|
|
190
222
|
*/
|
|
191
|
-
attributes?:
|
|
223
|
+
attributes?:
|
|
224
|
+
{ [P in string]: string };
|
|
192
225
|
/** If specified, Pub/Sub will generate and attach an OIDC JWT token as an `Authorization` header in the HTTP request for every pushed message. */
|
|
193
|
-
oidcToken?:
|
|
226
|
+
oidcToken?:
|
|
227
|
+
OidcToken;
|
|
194
228
|
/** A URL locating the endpoint to which messages should be pushed. For example, a Webhook endpoint might use "https://example.com/push". */
|
|
195
|
-
pushEndpoint?:
|
|
229
|
+
pushEndpoint?:
|
|
230
|
+
string;
|
|
196
231
|
}
|
|
197
232
|
interface ReceivedMessage {
|
|
198
233
|
/** This ID can be used to acknowledge the received message. */
|
|
199
|
-
ackId?:
|
|
234
|
+
ackId?:
|
|
235
|
+
string;
|
|
200
236
|
/** The message. */
|
|
201
|
-
message?:
|
|
237
|
+
message?:
|
|
238
|
+
PubsubMessage;
|
|
202
239
|
}
|
|
203
240
|
interface SetIamPolicyRequest {
|
|
204
241
|
/**
|
|
205
242
|
* REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud
|
|
206
243
|
* services (such as Projects) might reject them.
|
|
207
244
|
*/
|
|
208
|
-
policy?:
|
|
245
|
+
policy?:
|
|
246
|
+
Policy;
|
|
209
247
|
}
|
|
210
248
|
interface Subscription {
|
|
211
249
|
/**
|
|
@@ -215,31 +253,37 @@ declare namespace gapi.client {
|
|
|
215
253
|
* custom deadline you can specify is 600 seconds (10 minutes). For push delivery, this value is also used to set the request timeout for the call to the push endpoint. If the
|
|
216
254
|
* subscriber never acknowledges the message, the Pub/Sub system will eventually redeliver the message. If this parameter is 0, a default value of 10 seconds is used.
|
|
217
255
|
*/
|
|
218
|
-
ackDeadlineSeconds?:
|
|
256
|
+
ackDeadlineSeconds?:
|
|
257
|
+
number;
|
|
219
258
|
/**
|
|
220
259
|
* The name of the subscription. It must have the format `"projects/{project}/subscriptions/{subscription}"`. `{subscription}` must start with a letter, and contain only letters
|
|
221
260
|
* (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 and 255 characters in length,
|
|
222
261
|
* and it must not start with `"goog"`.
|
|
223
262
|
*/
|
|
224
|
-
name?:
|
|
263
|
+
name?:
|
|
264
|
+
string;
|
|
225
265
|
/**
|
|
226
266
|
* If push delivery is used with this subscription, this field is used to configure it. An empty `pushConfig` signifies that the subscriber will pull and ack messages using API
|
|
227
267
|
* methods.
|
|
228
268
|
*/
|
|
229
|
-
pushConfig?:
|
|
269
|
+
pushConfig?:
|
|
270
|
+
PushConfig;
|
|
230
271
|
/** The name of the topic from which this subscription is receiving messages. The value of this field will be `_deleted-topic_` if the topic has been deleted. */
|
|
231
|
-
topic?:
|
|
272
|
+
topic?:
|
|
273
|
+
string;
|
|
232
274
|
}
|
|
233
275
|
interface TestIamPermissionsRequest {
|
|
234
276
|
/**
|
|
235
277
|
* The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM
|
|
236
278
|
* Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
|
237
279
|
*/
|
|
238
|
-
permissions?:
|
|
280
|
+
permissions?:
|
|
281
|
+
string[];
|
|
239
282
|
}
|
|
240
283
|
interface TestIamPermissionsResponse {
|
|
241
284
|
/** A subset of `TestPermissionsRequest.permissions` that the caller is allowed. */
|
|
242
|
-
permissions?:
|
|
285
|
+
permissions?:
|
|
286
|
+
string[];
|
|
243
287
|
}
|
|
244
288
|
interface Topic {
|
|
245
289
|
/**
|
|
@@ -247,7 +291,8 @@ declare namespace gapi.client {
|
|
|
247
291
|
* dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 and 255 characters in length, and it must not start with
|
|
248
292
|
* `"goog"`.
|
|
249
293
|
*/
|
|
250
|
-
name?:
|
|
294
|
+
name?:
|
|
295
|
+
string;
|
|
251
296
|
}
|
|
252
297
|
interface SubscriptionsResource {
|
|
253
298
|
/**
|
|
@@ -256,57 +301,82 @@ declare namespace gapi.client {
|
|
|
256
301
|
*/
|
|
257
302
|
acknowledge(request: {
|
|
258
303
|
/** V1 error format. */
|
|
259
|
-
"$.xgafv"?:
|
|
304
|
+
"$.xgafv"?:
|
|
305
|
+
string;
|
|
260
306
|
/** OAuth access token. */
|
|
261
|
-
access_token?:
|
|
307
|
+
access_token?:
|
|
308
|
+
string;
|
|
262
309
|
/** Data format for response. */
|
|
263
|
-
alt?:
|
|
310
|
+
alt?:
|
|
311
|
+
string;
|
|
264
312
|
/** JSONP */
|
|
265
|
-
callback?:
|
|
313
|
+
callback?:
|
|
314
|
+
string;
|
|
266
315
|
/** Selector specifying which fields to include in a partial response. */
|
|
267
|
-
fields?:
|
|
316
|
+
fields?:
|
|
317
|
+
string;
|
|
268
318
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
269
|
-
key?:
|
|
319
|
+
key?:
|
|
320
|
+
string;
|
|
270
321
|
/** OAuth 2.0 token for the current user. */
|
|
271
|
-
oauth_token?:
|
|
322
|
+
oauth_token?:
|
|
323
|
+
string;
|
|
272
324
|
/** Returns response with indentations and line breaks. */
|
|
273
|
-
prettyPrint?:
|
|
325
|
+
prettyPrint?:
|
|
326
|
+
boolean;
|
|
274
327
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
275
|
-
quotaUser?:
|
|
328
|
+
quotaUser?:
|
|
329
|
+
string;
|
|
276
330
|
/** The subscription whose message is being acknowledged. */
|
|
277
|
-
subscription:
|
|
331
|
+
subscription:
|
|
332
|
+
string;
|
|
278
333
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
279
|
-
upload_protocol?:
|
|
334
|
+
upload_protocol?:
|
|
335
|
+
string;
|
|
280
336
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
281
|
-
uploadType?:
|
|
337
|
+
uploadType?:
|
|
338
|
+
string;
|
|
282
339
|
/** Request body */
|
|
283
|
-
resource:
|
|
340
|
+
resource:
|
|
341
|
+
AcknowledgeRequest;
|
|
284
342
|
}): Request<{}>;
|
|
285
343
|
acknowledge(request: {
|
|
286
344
|
/** V1 error format. */
|
|
287
|
-
"$.xgafv"?:
|
|
345
|
+
"$.xgafv"?:
|
|
346
|
+
string;
|
|
288
347
|
/** OAuth access token. */
|
|
289
|
-
access_token?:
|
|
348
|
+
access_token?:
|
|
349
|
+
string;
|
|
290
350
|
/** Data format for response. */
|
|
291
|
-
alt?:
|
|
351
|
+
alt?:
|
|
352
|
+
string;
|
|
292
353
|
/** JSONP */
|
|
293
|
-
callback?:
|
|
354
|
+
callback?:
|
|
355
|
+
string;
|
|
294
356
|
/** Selector specifying which fields to include in a partial response. */
|
|
295
|
-
fields?:
|
|
357
|
+
fields?:
|
|
358
|
+
string;
|
|
296
359
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
297
|
-
key?:
|
|
360
|
+
key?:
|
|
361
|
+
string;
|
|
298
362
|
/** OAuth 2.0 token for the current user. */
|
|
299
|
-
oauth_token?:
|
|
363
|
+
oauth_token?:
|
|
364
|
+
string;
|
|
300
365
|
/** Returns response with indentations and line breaks. */
|
|
301
|
-
prettyPrint?:
|
|
366
|
+
prettyPrint?:
|
|
367
|
+
boolean;
|
|
302
368
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
303
|
-
quotaUser?:
|
|
369
|
+
quotaUser?:
|
|
370
|
+
string;
|
|
304
371
|
/** The subscription whose message is being acknowledged. */
|
|
305
|
-
subscription:
|
|
372
|
+
subscription:
|
|
373
|
+
string;
|
|
306
374
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
307
|
-
upload_protocol?:
|
|
375
|
+
upload_protocol?:
|
|
376
|
+
string;
|
|
308
377
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
309
|
-
uploadType?:
|
|
378
|
+
uploadType?:
|
|
379
|
+
string;
|
|
310
380
|
},
|
|
311
381
|
body: AcknowledgeRequest): Request<{}>;
|
|
312
382
|
/**
|
|
@@ -315,65 +385,90 @@ declare namespace gapi.client {
|
|
|
315
385
|
*/
|
|
316
386
|
create(request: {
|
|
317
387
|
/** V1 error format. */
|
|
318
|
-
"$.xgafv"?:
|
|
388
|
+
"$.xgafv"?:
|
|
389
|
+
string;
|
|
319
390
|
/** OAuth access token. */
|
|
320
|
-
access_token?:
|
|
391
|
+
access_token?:
|
|
392
|
+
string;
|
|
321
393
|
/** Data format for response. */
|
|
322
|
-
alt?:
|
|
394
|
+
alt?:
|
|
395
|
+
string;
|
|
323
396
|
/** JSONP */
|
|
324
|
-
callback?:
|
|
397
|
+
callback?:
|
|
398
|
+
string;
|
|
325
399
|
/** Selector specifying which fields to include in a partial response. */
|
|
326
|
-
fields?:
|
|
400
|
+
fields?:
|
|
401
|
+
string;
|
|
327
402
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
328
|
-
key?:
|
|
403
|
+
key?:
|
|
404
|
+
string;
|
|
329
405
|
/**
|
|
330
406
|
* The name of the subscription. It must have the format `"projects/{project}/subscriptions/{subscription}"`. `{subscription}` must start with a letter, and contain only letters
|
|
331
407
|
* (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 and 255 characters in
|
|
332
408
|
* length, and it must not start with `"goog"`.
|
|
333
409
|
*/
|
|
334
|
-
name:
|
|
410
|
+
name:
|
|
411
|
+
string;
|
|
335
412
|
/** OAuth 2.0 token for the current user. */
|
|
336
|
-
oauth_token?:
|
|
413
|
+
oauth_token?:
|
|
414
|
+
string;
|
|
337
415
|
/** Returns response with indentations and line breaks. */
|
|
338
|
-
prettyPrint?:
|
|
416
|
+
prettyPrint?:
|
|
417
|
+
boolean;
|
|
339
418
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
340
|
-
quotaUser?:
|
|
419
|
+
quotaUser?:
|
|
420
|
+
string;
|
|
341
421
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
342
|
-
upload_protocol?:
|
|
422
|
+
upload_protocol?:
|
|
423
|
+
string;
|
|
343
424
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
344
|
-
uploadType?:
|
|
425
|
+
uploadType?:
|
|
426
|
+
string;
|
|
345
427
|
/** Request body */
|
|
346
|
-
resource:
|
|
428
|
+
resource:
|
|
429
|
+
Subscription;
|
|
347
430
|
}): Request<Subscription>;
|
|
348
431
|
create(request: {
|
|
349
432
|
/** V1 error format. */
|
|
350
|
-
"$.xgafv"?:
|
|
433
|
+
"$.xgafv"?:
|
|
434
|
+
string;
|
|
351
435
|
/** OAuth access token. */
|
|
352
|
-
access_token?:
|
|
436
|
+
access_token?:
|
|
437
|
+
string;
|
|
353
438
|
/** Data format for response. */
|
|
354
|
-
alt?:
|
|
439
|
+
alt?:
|
|
440
|
+
string;
|
|
355
441
|
/** JSONP */
|
|
356
|
-
callback?:
|
|
442
|
+
callback?:
|
|
443
|
+
string;
|
|
357
444
|
/** Selector specifying which fields to include in a partial response. */
|
|
358
|
-
fields?:
|
|
445
|
+
fields?:
|
|
446
|
+
string;
|
|
359
447
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
360
|
-
key?:
|
|
448
|
+
key?:
|
|
449
|
+
string;
|
|
361
450
|
/**
|
|
362
451
|
* The name of the subscription. It must have the format `"projects/{project}/subscriptions/{subscription}"`. `{subscription}` must start with a letter, and contain only letters
|
|
363
452
|
* (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 and 255 characters in
|
|
364
453
|
* length, and it must not start with `"goog"`.
|
|
365
454
|
*/
|
|
366
|
-
name:
|
|
455
|
+
name:
|
|
456
|
+
string;
|
|
367
457
|
/** OAuth 2.0 token for the current user. */
|
|
368
|
-
oauth_token?:
|
|
458
|
+
oauth_token?:
|
|
459
|
+
string;
|
|
369
460
|
/** Returns response with indentations and line breaks. */
|
|
370
|
-
prettyPrint?:
|
|
461
|
+
prettyPrint?:
|
|
462
|
+
boolean;
|
|
371
463
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
372
|
-
quotaUser?:
|
|
464
|
+
quotaUser?:
|
|
465
|
+
string;
|
|
373
466
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
374
|
-
upload_protocol?:
|
|
467
|
+
upload_protocol?:
|
|
468
|
+
string;
|
|
375
469
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
376
|
-
uploadType?:
|
|
470
|
+
uploadType?:
|
|
471
|
+
string;
|
|
377
472
|
},
|
|
378
473
|
body: Subscription): Request<Subscription>;
|
|
379
474
|
/**
|
|
@@ -382,73 +477,104 @@ declare namespace gapi.client {
|
|
|
382
477
|
*/
|
|
383
478
|
delete(request?: {
|
|
384
479
|
/** V1 error format. */
|
|
385
|
-
"$.xgafv"?:
|
|
480
|
+
"$.xgafv"?:
|
|
481
|
+
string;
|
|
386
482
|
/** OAuth access token. */
|
|
387
|
-
access_token?:
|
|
483
|
+
access_token?:
|
|
484
|
+
string;
|
|
388
485
|
/** Data format for response. */
|
|
389
|
-
alt?:
|
|
486
|
+
alt?:
|
|
487
|
+
string;
|
|
390
488
|
/** JSONP */
|
|
391
|
-
callback?:
|
|
489
|
+
callback?:
|
|
490
|
+
string;
|
|
392
491
|
/** Selector specifying which fields to include in a partial response. */
|
|
393
|
-
fields?:
|
|
492
|
+
fields?:
|
|
493
|
+
string;
|
|
394
494
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
395
|
-
key?:
|
|
495
|
+
key?:
|
|
496
|
+
string;
|
|
396
497
|
/** OAuth 2.0 token for the current user. */
|
|
397
|
-
oauth_token?:
|
|
498
|
+
oauth_token?:
|
|
499
|
+
string;
|
|
398
500
|
/** Returns response with indentations and line breaks. */
|
|
399
|
-
prettyPrint?:
|
|
501
|
+
prettyPrint?:
|
|
502
|
+
boolean;
|
|
400
503
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
401
|
-
quotaUser?:
|
|
504
|
+
quotaUser?:
|
|
505
|
+
string;
|
|
402
506
|
/** The subscription to delete. */
|
|
403
|
-
subscription:
|
|
507
|
+
subscription:
|
|
508
|
+
string;
|
|
404
509
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
405
|
-
upload_protocol?:
|
|
510
|
+
upload_protocol?:
|
|
511
|
+
string;
|
|
406
512
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
407
|
-
uploadType?:
|
|
513
|
+
uploadType?:
|
|
514
|
+
string;
|
|
408
515
|
}): Request<{}>;
|
|
409
516
|
/** Gets the configuration details of a subscription. */
|
|
410
517
|
get(request?: {
|
|
411
518
|
/** V1 error format. */
|
|
412
|
-
"$.xgafv"?:
|
|
519
|
+
"$.xgafv"?:
|
|
520
|
+
string;
|
|
413
521
|
/** OAuth access token. */
|
|
414
|
-
access_token?:
|
|
522
|
+
access_token?:
|
|
523
|
+
string;
|
|
415
524
|
/** Data format for response. */
|
|
416
|
-
alt?:
|
|
525
|
+
alt?:
|
|
526
|
+
string;
|
|
417
527
|
/** JSONP */
|
|
418
|
-
callback?:
|
|
528
|
+
callback?:
|
|
529
|
+
string;
|
|
419
530
|
/** Selector specifying which fields to include in a partial response. */
|
|
420
|
-
fields?:
|
|
531
|
+
fields?:
|
|
532
|
+
string;
|
|
421
533
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
422
|
-
key?:
|
|
534
|
+
key?:
|
|
535
|
+
string;
|
|
423
536
|
/** OAuth 2.0 token for the current user. */
|
|
424
|
-
oauth_token?:
|
|
537
|
+
oauth_token?:
|
|
538
|
+
string;
|
|
425
539
|
/** Returns response with indentations and line breaks. */
|
|
426
|
-
prettyPrint?:
|
|
540
|
+
prettyPrint?:
|
|
541
|
+
boolean;
|
|
427
542
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
428
|
-
quotaUser?:
|
|
543
|
+
quotaUser?:
|
|
544
|
+
string;
|
|
429
545
|
/** The name of the subscription to get. */
|
|
430
|
-
subscription:
|
|
546
|
+
subscription:
|
|
547
|
+
string;
|
|
431
548
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
432
|
-
upload_protocol?:
|
|
549
|
+
upload_protocol?:
|
|
550
|
+
string;
|
|
433
551
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
434
|
-
uploadType?:
|
|
552
|
+
uploadType?:
|
|
553
|
+
string;
|
|
435
554
|
}): Request<Subscription>;
|
|
436
555
|
/** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
|
|
437
556
|
getIamPolicy(request?: {
|
|
438
557
|
/** V1 error format. */
|
|
439
|
-
"$.xgafv"?:
|
|
558
|
+
"$.xgafv"?:
|
|
559
|
+
string;
|
|
440
560
|
/** OAuth access token. */
|
|
441
|
-
access_token?:
|
|
561
|
+
access_token?:
|
|
562
|
+
string;
|
|
442
563
|
/** Data format for response. */
|
|
443
|
-
alt?:
|
|
564
|
+
alt?:
|
|
565
|
+
string;
|
|
444
566
|
/** JSONP */
|
|
445
|
-
callback?:
|
|
567
|
+
callback?:
|
|
568
|
+
string;
|
|
446
569
|
/** Selector specifying which fields to include in a partial response. */
|
|
447
|
-
fields?:
|
|
570
|
+
fields?:
|
|
571
|
+
string;
|
|
448
572
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
449
|
-
key?:
|
|
573
|
+
key?:
|
|
574
|
+
string;
|
|
450
575
|
/** OAuth 2.0 token for the current user. */
|
|
451
|
-
oauth_token?:
|
|
576
|
+
oauth_token?:
|
|
577
|
+
string;
|
|
452
578
|
/**
|
|
453
579
|
* Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for
|
|
454
580
|
* policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy
|
|
@@ -456,54 +582,74 @@ declare namespace gapi.client {
|
|
|
456
582
|
* role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM
|
|
457
583
|
* documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
458
584
|
*/
|
|
459
|
-
"options.requestedPolicyVersion"?:
|
|
585
|
+
"options.requestedPolicyVersion"?:
|
|
586
|
+
number;
|
|
460
587
|
/** Returns response with indentations and line breaks. */
|
|
461
|
-
prettyPrint?:
|
|
588
|
+
prettyPrint?:
|
|
589
|
+
boolean;
|
|
462
590
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
463
|
-
quotaUser?:
|
|
591
|
+
quotaUser?:
|
|
592
|
+
string;
|
|
464
593
|
/**
|
|
465
594
|
* REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
|
|
466
595
|
* field.
|
|
467
596
|
*/
|
|
468
|
-
resource:
|
|
597
|
+
resource:
|
|
598
|
+
string;
|
|
469
599
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
470
|
-
upload_protocol?:
|
|
600
|
+
upload_protocol?:
|
|
601
|
+
string;
|
|
471
602
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
472
|
-
uploadType?:
|
|
603
|
+
uploadType?:
|
|
604
|
+
string;
|
|
473
605
|
}): Request<Policy>;
|
|
474
606
|
/** Lists matching subscriptions. */
|
|
475
607
|
list(request?: {
|
|
476
608
|
/** V1 error format. */
|
|
477
|
-
"$.xgafv"?:
|
|
609
|
+
"$.xgafv"?:
|
|
610
|
+
string;
|
|
478
611
|
/** OAuth access token. */
|
|
479
|
-
access_token?:
|
|
612
|
+
access_token?:
|
|
613
|
+
string;
|
|
480
614
|
/** Data format for response. */
|
|
481
|
-
alt?:
|
|
615
|
+
alt?:
|
|
616
|
+
string;
|
|
482
617
|
/** JSONP */
|
|
483
|
-
callback?:
|
|
618
|
+
callback?:
|
|
619
|
+
string;
|
|
484
620
|
/** Selector specifying which fields to include in a partial response. */
|
|
485
|
-
fields?:
|
|
621
|
+
fields?:
|
|
622
|
+
string;
|
|
486
623
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
487
|
-
key?:
|
|
624
|
+
key?:
|
|
625
|
+
string;
|
|
488
626
|
/** OAuth 2.0 token for the current user. */
|
|
489
|
-
oauth_token?:
|
|
627
|
+
oauth_token?:
|
|
628
|
+
string;
|
|
490
629
|
/** Maximum number of subscriptions to return. */
|
|
491
|
-
pageSize?:
|
|
630
|
+
pageSize?:
|
|
631
|
+
number;
|
|
492
632
|
/**
|
|
493
633
|
* The value returned by the last `ListSubscriptionsResponse`; indicates that this is a continuation of a prior `ListSubscriptions` call, and that the system should return the next
|
|
494
634
|
* page of data.
|
|
495
635
|
*/
|
|
496
|
-
pageToken?:
|
|
636
|
+
pageToken?:
|
|
637
|
+
string;
|
|
497
638
|
/** Returns response with indentations and line breaks. */
|
|
498
|
-
prettyPrint?:
|
|
639
|
+
prettyPrint?:
|
|
640
|
+
boolean;
|
|
499
641
|
/** The name of the cloud project that subscriptions belong to. */
|
|
500
|
-
project:
|
|
642
|
+
project:
|
|
643
|
+
string;
|
|
501
644
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
502
|
-
quotaUser?:
|
|
645
|
+
quotaUser?:
|
|
646
|
+
string;
|
|
503
647
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
504
|
-
upload_protocol?:
|
|
648
|
+
upload_protocol?:
|
|
649
|
+
string;
|
|
505
650
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
506
|
-
uploadType?:
|
|
651
|
+
uploadType?:
|
|
652
|
+
string;
|
|
507
653
|
}): Request<ListSubscriptionsResponse>;
|
|
508
654
|
/**
|
|
509
655
|
* Modifies the ack deadline for a specific message. This method is useful to indicate that more time is needed to process a message by the subscriber, or to make the message available
|
|
@@ -511,57 +657,82 @@ declare namespace gapi.client {
|
|
|
511
657
|
*/
|
|
512
658
|
modifyAckDeadline(request: {
|
|
513
659
|
/** V1 error format. */
|
|
514
|
-
"$.xgafv"?:
|
|
660
|
+
"$.xgafv"?:
|
|
661
|
+
string;
|
|
515
662
|
/** OAuth access token. */
|
|
516
|
-
access_token?:
|
|
663
|
+
access_token?:
|
|
664
|
+
string;
|
|
517
665
|
/** Data format for response. */
|
|
518
|
-
alt?:
|
|
666
|
+
alt?:
|
|
667
|
+
string;
|
|
519
668
|
/** JSONP */
|
|
520
|
-
callback?:
|
|
669
|
+
callback?:
|
|
670
|
+
string;
|
|
521
671
|
/** Selector specifying which fields to include in a partial response. */
|
|
522
|
-
fields?:
|
|
672
|
+
fields?:
|
|
673
|
+
string;
|
|
523
674
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
524
|
-
key?:
|
|
675
|
+
key?:
|
|
676
|
+
string;
|
|
525
677
|
/** OAuth 2.0 token for the current user. */
|
|
526
|
-
oauth_token?:
|
|
678
|
+
oauth_token?:
|
|
679
|
+
string;
|
|
527
680
|
/** Returns response with indentations and line breaks. */
|
|
528
|
-
prettyPrint?:
|
|
681
|
+
prettyPrint?:
|
|
682
|
+
boolean;
|
|
529
683
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
530
|
-
quotaUser?:
|
|
684
|
+
quotaUser?:
|
|
685
|
+
string;
|
|
531
686
|
/** The name of the subscription. */
|
|
532
|
-
subscription:
|
|
687
|
+
subscription:
|
|
688
|
+
string;
|
|
533
689
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
534
|
-
upload_protocol?:
|
|
690
|
+
upload_protocol?:
|
|
691
|
+
string;
|
|
535
692
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
536
|
-
uploadType?:
|
|
693
|
+
uploadType?:
|
|
694
|
+
string;
|
|
537
695
|
/** Request body */
|
|
538
|
-
resource:
|
|
696
|
+
resource:
|
|
697
|
+
ModifyAckDeadlineRequest;
|
|
539
698
|
}): Request<{}>;
|
|
540
699
|
modifyAckDeadline(request: {
|
|
541
700
|
/** V1 error format. */
|
|
542
|
-
"$.xgafv"?:
|
|
701
|
+
"$.xgafv"?:
|
|
702
|
+
string;
|
|
543
703
|
/** OAuth access token. */
|
|
544
|
-
access_token?:
|
|
704
|
+
access_token?:
|
|
705
|
+
string;
|
|
545
706
|
/** Data format for response. */
|
|
546
|
-
alt?:
|
|
707
|
+
alt?:
|
|
708
|
+
string;
|
|
547
709
|
/** JSONP */
|
|
548
|
-
callback?:
|
|
710
|
+
callback?:
|
|
711
|
+
string;
|
|
549
712
|
/** Selector specifying which fields to include in a partial response. */
|
|
550
|
-
fields?:
|
|
713
|
+
fields?:
|
|
714
|
+
string;
|
|
551
715
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
552
|
-
key?:
|
|
716
|
+
key?:
|
|
717
|
+
string;
|
|
553
718
|
/** OAuth 2.0 token for the current user. */
|
|
554
|
-
oauth_token?:
|
|
719
|
+
oauth_token?:
|
|
720
|
+
string;
|
|
555
721
|
/** Returns response with indentations and line breaks. */
|
|
556
|
-
prettyPrint?:
|
|
722
|
+
prettyPrint?:
|
|
723
|
+
boolean;
|
|
557
724
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
558
|
-
quotaUser?:
|
|
725
|
+
quotaUser?:
|
|
726
|
+
string;
|
|
559
727
|
/** The name of the subscription. */
|
|
560
|
-
subscription:
|
|
728
|
+
subscription:
|
|
729
|
+
string;
|
|
561
730
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
562
|
-
upload_protocol?:
|
|
731
|
+
upload_protocol?:
|
|
732
|
+
string;
|
|
563
733
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
564
|
-
uploadType?:
|
|
734
|
+
uploadType?:
|
|
735
|
+
string;
|
|
565
736
|
},
|
|
566
737
|
body: ModifyAckDeadlineRequest): Request<{}>;
|
|
567
738
|
/**
|
|
@@ -570,57 +741,82 @@ declare namespace gapi.client {
|
|
|
570
741
|
*/
|
|
571
742
|
modifyPushConfig(request: {
|
|
572
743
|
/** V1 error format. */
|
|
573
|
-
"$.xgafv"?:
|
|
744
|
+
"$.xgafv"?:
|
|
745
|
+
string;
|
|
574
746
|
/** OAuth access token. */
|
|
575
|
-
access_token?:
|
|
747
|
+
access_token?:
|
|
748
|
+
string;
|
|
576
749
|
/** Data format for response. */
|
|
577
|
-
alt?:
|
|
750
|
+
alt?:
|
|
751
|
+
string;
|
|
578
752
|
/** JSONP */
|
|
579
|
-
callback?:
|
|
753
|
+
callback?:
|
|
754
|
+
string;
|
|
580
755
|
/** Selector specifying which fields to include in a partial response. */
|
|
581
|
-
fields?:
|
|
756
|
+
fields?:
|
|
757
|
+
string;
|
|
582
758
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
583
|
-
key?:
|
|
759
|
+
key?:
|
|
760
|
+
string;
|
|
584
761
|
/** OAuth 2.0 token for the current user. */
|
|
585
|
-
oauth_token?:
|
|
762
|
+
oauth_token?:
|
|
763
|
+
string;
|
|
586
764
|
/** Returns response with indentations and line breaks. */
|
|
587
|
-
prettyPrint?:
|
|
765
|
+
prettyPrint?:
|
|
766
|
+
boolean;
|
|
588
767
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
589
|
-
quotaUser?:
|
|
768
|
+
quotaUser?:
|
|
769
|
+
string;
|
|
590
770
|
/** The name of the subscription. */
|
|
591
|
-
subscription:
|
|
771
|
+
subscription:
|
|
772
|
+
string;
|
|
592
773
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
593
|
-
upload_protocol?:
|
|
774
|
+
upload_protocol?:
|
|
775
|
+
string;
|
|
594
776
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
595
|
-
uploadType?:
|
|
777
|
+
uploadType?:
|
|
778
|
+
string;
|
|
596
779
|
/** Request body */
|
|
597
|
-
resource:
|
|
780
|
+
resource:
|
|
781
|
+
ModifyPushConfigRequest;
|
|
598
782
|
}): Request<{}>;
|
|
599
783
|
modifyPushConfig(request: {
|
|
600
784
|
/** V1 error format. */
|
|
601
|
-
"$.xgafv"?:
|
|
785
|
+
"$.xgafv"?:
|
|
786
|
+
string;
|
|
602
787
|
/** OAuth access token. */
|
|
603
|
-
access_token?:
|
|
788
|
+
access_token?:
|
|
789
|
+
string;
|
|
604
790
|
/** Data format for response. */
|
|
605
|
-
alt?:
|
|
791
|
+
alt?:
|
|
792
|
+
string;
|
|
606
793
|
/** JSONP */
|
|
607
|
-
callback?:
|
|
794
|
+
callback?:
|
|
795
|
+
string;
|
|
608
796
|
/** Selector specifying which fields to include in a partial response. */
|
|
609
|
-
fields?:
|
|
797
|
+
fields?:
|
|
798
|
+
string;
|
|
610
799
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
611
|
-
key?:
|
|
800
|
+
key?:
|
|
801
|
+
string;
|
|
612
802
|
/** OAuth 2.0 token for the current user. */
|
|
613
|
-
oauth_token?:
|
|
803
|
+
oauth_token?:
|
|
804
|
+
string;
|
|
614
805
|
/** Returns response with indentations and line breaks. */
|
|
615
|
-
prettyPrint?:
|
|
806
|
+
prettyPrint?:
|
|
807
|
+
boolean;
|
|
616
808
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
617
|
-
quotaUser?:
|
|
809
|
+
quotaUser?:
|
|
810
|
+
string;
|
|
618
811
|
/** The name of the subscription. */
|
|
619
|
-
subscription:
|
|
812
|
+
subscription:
|
|
813
|
+
string;
|
|
620
814
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
621
|
-
upload_protocol?:
|
|
815
|
+
upload_protocol?:
|
|
816
|
+
string;
|
|
622
817
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
623
|
-
uploadType?:
|
|
818
|
+
uploadType?:
|
|
819
|
+
string;
|
|
624
820
|
},
|
|
625
821
|
body: ModifyPushConfigRequest): Request<{}>;
|
|
626
822
|
/**
|
|
@@ -629,88 +825,125 @@ declare namespace gapi.client {
|
|
|
629
825
|
*/
|
|
630
826
|
pull(request: {
|
|
631
827
|
/** V1 error format. */
|
|
632
|
-
"$.xgafv"?:
|
|
828
|
+
"$.xgafv"?:
|
|
829
|
+
string;
|
|
633
830
|
/** OAuth access token. */
|
|
634
|
-
access_token?:
|
|
831
|
+
access_token?:
|
|
832
|
+
string;
|
|
635
833
|
/** Data format for response. */
|
|
636
|
-
alt?:
|
|
834
|
+
alt?:
|
|
835
|
+
string;
|
|
637
836
|
/** JSONP */
|
|
638
|
-
callback?:
|
|
837
|
+
callback?:
|
|
838
|
+
string;
|
|
639
839
|
/** Selector specifying which fields to include in a partial response. */
|
|
640
|
-
fields?:
|
|
840
|
+
fields?:
|
|
841
|
+
string;
|
|
641
842
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
642
|
-
key?:
|
|
843
|
+
key?:
|
|
844
|
+
string;
|
|
643
845
|
/** OAuth 2.0 token for the current user. */
|
|
644
|
-
oauth_token?:
|
|
846
|
+
oauth_token?:
|
|
847
|
+
string;
|
|
645
848
|
/** Returns response with indentations and line breaks. */
|
|
646
|
-
prettyPrint?:
|
|
849
|
+
prettyPrint?:
|
|
850
|
+
boolean;
|
|
647
851
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
648
|
-
quotaUser?:
|
|
852
|
+
quotaUser?:
|
|
853
|
+
string;
|
|
649
854
|
/** The subscription from which messages should be pulled. */
|
|
650
|
-
subscription:
|
|
855
|
+
subscription:
|
|
856
|
+
string;
|
|
651
857
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
652
|
-
upload_protocol?:
|
|
858
|
+
upload_protocol?:
|
|
859
|
+
string;
|
|
653
860
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
654
|
-
uploadType?:
|
|
861
|
+
uploadType?:
|
|
862
|
+
string;
|
|
655
863
|
/** Request body */
|
|
656
|
-
resource:
|
|
864
|
+
resource:
|
|
865
|
+
PullRequest;
|
|
657
866
|
}): Request<PullResponse>;
|
|
658
867
|
pull(request: {
|
|
659
868
|
/** V1 error format. */
|
|
660
|
-
"$.xgafv"?:
|
|
869
|
+
"$.xgafv"?:
|
|
870
|
+
string;
|
|
661
871
|
/** OAuth access token. */
|
|
662
|
-
access_token?:
|
|
872
|
+
access_token?:
|
|
873
|
+
string;
|
|
663
874
|
/** Data format for response. */
|
|
664
|
-
alt?:
|
|
875
|
+
alt?:
|
|
876
|
+
string;
|
|
665
877
|
/** JSONP */
|
|
666
|
-
callback?:
|
|
878
|
+
callback?:
|
|
879
|
+
string;
|
|
667
880
|
/** Selector specifying which fields to include in a partial response. */
|
|
668
|
-
fields?:
|
|
881
|
+
fields?:
|
|
882
|
+
string;
|
|
669
883
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
670
|
-
key?:
|
|
884
|
+
key?:
|
|
885
|
+
string;
|
|
671
886
|
/** OAuth 2.0 token for the current user. */
|
|
672
|
-
oauth_token?:
|
|
887
|
+
oauth_token?:
|
|
888
|
+
string;
|
|
673
889
|
/** Returns response with indentations and line breaks. */
|
|
674
|
-
prettyPrint?:
|
|
890
|
+
prettyPrint?:
|
|
891
|
+
boolean;
|
|
675
892
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
676
|
-
quotaUser?:
|
|
893
|
+
quotaUser?:
|
|
894
|
+
string;
|
|
677
895
|
/** The subscription from which messages should be pulled. */
|
|
678
|
-
subscription:
|
|
896
|
+
subscription:
|
|
897
|
+
string;
|
|
679
898
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
680
|
-
upload_protocol?:
|
|
899
|
+
upload_protocol?:
|
|
900
|
+
string;
|
|
681
901
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
682
|
-
uploadType?:
|
|
902
|
+
uploadType?:
|
|
903
|
+
string;
|
|
683
904
|
},
|
|
684
905
|
body: PullRequest): Request<PullResponse>;
|
|
685
906
|
/** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
|
|
686
907
|
setIamPolicy(request: {
|
|
687
908
|
/** V1 error format. */
|
|
688
|
-
"$.xgafv"?:
|
|
909
|
+
"$.xgafv"?:
|
|
910
|
+
string;
|
|
689
911
|
/** OAuth access token. */
|
|
690
|
-
access_token?:
|
|
912
|
+
access_token?:
|
|
913
|
+
string;
|
|
691
914
|
/** Data format for response. */
|
|
692
|
-
alt?:
|
|
915
|
+
alt?:
|
|
916
|
+
string;
|
|
693
917
|
/** JSONP */
|
|
694
|
-
callback?:
|
|
918
|
+
callback?:
|
|
919
|
+
string;
|
|
695
920
|
/** Selector specifying which fields to include in a partial response. */
|
|
696
|
-
fields?:
|
|
921
|
+
fields?:
|
|
922
|
+
string;
|
|
697
923
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
698
|
-
key?:
|
|
924
|
+
key?:
|
|
925
|
+
string;
|
|
699
926
|
/** OAuth 2.0 token for the current user. */
|
|
700
|
-
oauth_token?:
|
|
927
|
+
oauth_token?:
|
|
928
|
+
string;
|
|
701
929
|
/** Returns response with indentations and line breaks. */
|
|
702
|
-
prettyPrint?:
|
|
930
|
+
prettyPrint?:
|
|
931
|
+
boolean;
|
|
703
932
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
704
|
-
quotaUser?:
|
|
933
|
+
quotaUser?:
|
|
934
|
+
string;
|
|
705
935
|
/**
|
|
706
936
|
* REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
|
|
707
937
|
* field.
|
|
708
938
|
*/
|
|
709
|
-
resource:
|
|
939
|
+
resource:
|
|
940
|
+
string;
|
|
710
941
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
711
|
-
upload_protocol?:
|
|
942
|
+
upload_protocol?:
|
|
943
|
+
string;
|
|
712
944
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
713
|
-
uploadType?:
|
|
945
|
+
uploadType?:
|
|
946
|
+
string;
|
|
714
947
|
},
|
|
715
948
|
body: SetIamPolicyRequest): Request<Policy>;
|
|
716
949
|
/**
|
|
@@ -719,32 +952,44 @@ declare namespace gapi.client {
|
|
|
719
952
|
*/
|
|
720
953
|
testIamPermissions(request: {
|
|
721
954
|
/** V1 error format. */
|
|
722
|
-
"$.xgafv"?:
|
|
955
|
+
"$.xgafv"?:
|
|
956
|
+
string;
|
|
723
957
|
/** OAuth access token. */
|
|
724
|
-
access_token?:
|
|
958
|
+
access_token?:
|
|
959
|
+
string;
|
|
725
960
|
/** Data format for response. */
|
|
726
|
-
alt?:
|
|
961
|
+
alt?:
|
|
962
|
+
string;
|
|
727
963
|
/** JSONP */
|
|
728
|
-
callback?:
|
|
964
|
+
callback?:
|
|
965
|
+
string;
|
|
729
966
|
/** Selector specifying which fields to include in a partial response. */
|
|
730
|
-
fields?:
|
|
967
|
+
fields?:
|
|
968
|
+
string;
|
|
731
969
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
732
|
-
key?:
|
|
970
|
+
key?:
|
|
971
|
+
string;
|
|
733
972
|
/** OAuth 2.0 token for the current user. */
|
|
734
|
-
oauth_token?:
|
|
973
|
+
oauth_token?:
|
|
974
|
+
string;
|
|
735
975
|
/** Returns response with indentations and line breaks. */
|
|
736
|
-
prettyPrint?:
|
|
976
|
+
prettyPrint?:
|
|
977
|
+
boolean;
|
|
737
978
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
738
|
-
quotaUser?:
|
|
979
|
+
quotaUser?:
|
|
980
|
+
string;
|
|
739
981
|
/**
|
|
740
982
|
* REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
|
|
741
983
|
* this field.
|
|
742
984
|
*/
|
|
743
|
-
resource:
|
|
985
|
+
resource:
|
|
986
|
+
string;
|
|
744
987
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
745
|
-
upload_protocol?:
|
|
988
|
+
upload_protocol?:
|
|
989
|
+
string;
|
|
746
990
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
747
|
-
uploadType?:
|
|
991
|
+
uploadType?:
|
|
992
|
+
string;
|
|
748
993
|
},
|
|
749
994
|
body: TestIamPermissionsRequest): Request<TestIamPermissionsResponse>;
|
|
750
995
|
}
|
|
@@ -752,101 +997,140 @@ declare namespace gapi.client {
|
|
|
752
997
|
/** Lists the name of the subscriptions for this topic. */
|
|
753
998
|
list(request?: {
|
|
754
999
|
/** V1 error format. */
|
|
755
|
-
"$.xgafv"?:
|
|
1000
|
+
"$.xgafv"?:
|
|
1001
|
+
string;
|
|
756
1002
|
/** OAuth access token. */
|
|
757
|
-
access_token?:
|
|
1003
|
+
access_token?:
|
|
1004
|
+
string;
|
|
758
1005
|
/** Data format for response. */
|
|
759
|
-
alt?:
|
|
1006
|
+
alt?:
|
|
1007
|
+
string;
|
|
760
1008
|
/** JSONP */
|
|
761
|
-
callback?:
|
|
1009
|
+
callback?:
|
|
1010
|
+
string;
|
|
762
1011
|
/** Selector specifying which fields to include in a partial response. */
|
|
763
|
-
fields?:
|
|
1012
|
+
fields?:
|
|
1013
|
+
string;
|
|
764
1014
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
765
|
-
key?:
|
|
1015
|
+
key?:
|
|
1016
|
+
string;
|
|
766
1017
|
/** OAuth 2.0 token for the current user. */
|
|
767
|
-
oauth_token?:
|
|
1018
|
+
oauth_token?:
|
|
1019
|
+
string;
|
|
768
1020
|
/** Maximum number of subscription names to return. */
|
|
769
|
-
pageSize?:
|
|
1021
|
+
pageSize?:
|
|
1022
|
+
number;
|
|
770
1023
|
/**
|
|
771
1024
|
* The value returned by the last `ListTopicSubscriptionsResponse`; indicates that this is a continuation of a prior `ListTopicSubscriptions` call, and that the system should
|
|
772
1025
|
* return the next page of data.
|
|
773
1026
|
*/
|
|
774
|
-
pageToken?:
|
|
1027
|
+
pageToken?:
|
|
1028
|
+
string;
|
|
775
1029
|
/** Returns response with indentations and line breaks. */
|
|
776
|
-
prettyPrint?:
|
|
1030
|
+
prettyPrint?:
|
|
1031
|
+
boolean;
|
|
777
1032
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
778
|
-
quotaUser?:
|
|
1033
|
+
quotaUser?:
|
|
1034
|
+
string;
|
|
779
1035
|
/** The name of the topic that subscriptions are attached to. */
|
|
780
|
-
topic:
|
|
1036
|
+
topic:
|
|
1037
|
+
string;
|
|
781
1038
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
782
|
-
upload_protocol?:
|
|
1039
|
+
upload_protocol?:
|
|
1040
|
+
string;
|
|
783
1041
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
784
|
-
uploadType?:
|
|
1042
|
+
uploadType?:
|
|
1043
|
+
string;
|
|
785
1044
|
}): Request<ListTopicSubscriptionsResponse>;
|
|
786
1045
|
}
|
|
787
1046
|
interface TopicsResource {
|
|
788
1047
|
/** Creates the given topic with the given name. */
|
|
789
1048
|
create(request: {
|
|
790
1049
|
/** V1 error format. */
|
|
791
|
-
"$.xgafv"?:
|
|
1050
|
+
"$.xgafv"?:
|
|
1051
|
+
string;
|
|
792
1052
|
/** OAuth access token. */
|
|
793
|
-
access_token?:
|
|
1053
|
+
access_token?:
|
|
1054
|
+
string;
|
|
794
1055
|
/** Data format for response. */
|
|
795
|
-
alt?:
|
|
1056
|
+
alt?:
|
|
1057
|
+
string;
|
|
796
1058
|
/** JSONP */
|
|
797
|
-
callback?:
|
|
1059
|
+
callback?:
|
|
1060
|
+
string;
|
|
798
1061
|
/** Selector specifying which fields to include in a partial response. */
|
|
799
|
-
fields?:
|
|
1062
|
+
fields?:
|
|
1063
|
+
string;
|
|
800
1064
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
801
|
-
key?:
|
|
1065
|
+
key?:
|
|
1066
|
+
string;
|
|
802
1067
|
/**
|
|
803
1068
|
* The name of the topic. It must have the format `"projects/{project}/topics/{topic}"`. `{topic}` must start with a letter, and contain only letters (`[A-Za-z]`), numbers
|
|
804
1069
|
* (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 and 255 characters in length, and it must not
|
|
805
1070
|
* start with `"goog"`.
|
|
806
1071
|
*/
|
|
807
|
-
name:
|
|
1072
|
+
name:
|
|
1073
|
+
string;
|
|
808
1074
|
/** OAuth 2.0 token for the current user. */
|
|
809
|
-
oauth_token?:
|
|
1075
|
+
oauth_token?:
|
|
1076
|
+
string;
|
|
810
1077
|
/** Returns response with indentations and line breaks. */
|
|
811
|
-
prettyPrint?:
|
|
1078
|
+
prettyPrint?:
|
|
1079
|
+
boolean;
|
|
812
1080
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
813
|
-
quotaUser?:
|
|
1081
|
+
quotaUser?:
|
|
1082
|
+
string;
|
|
814
1083
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
815
|
-
upload_protocol?:
|
|
1084
|
+
upload_protocol?:
|
|
1085
|
+
string;
|
|
816
1086
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
817
|
-
uploadType?:
|
|
1087
|
+
uploadType?:
|
|
1088
|
+
string;
|
|
818
1089
|
/** Request body */
|
|
819
|
-
resource:
|
|
1090
|
+
resource:
|
|
1091
|
+
Topic;
|
|
820
1092
|
}): Request<Topic>;
|
|
821
1093
|
create(request: {
|
|
822
1094
|
/** V1 error format. */
|
|
823
|
-
"$.xgafv"?:
|
|
1095
|
+
"$.xgafv"?:
|
|
1096
|
+
string;
|
|
824
1097
|
/** OAuth access token. */
|
|
825
|
-
access_token?:
|
|
1098
|
+
access_token?:
|
|
1099
|
+
string;
|
|
826
1100
|
/** Data format for response. */
|
|
827
|
-
alt?:
|
|
1101
|
+
alt?:
|
|
1102
|
+
string;
|
|
828
1103
|
/** JSONP */
|
|
829
|
-
callback?:
|
|
1104
|
+
callback?:
|
|
1105
|
+
string;
|
|
830
1106
|
/** Selector specifying which fields to include in a partial response. */
|
|
831
|
-
fields?:
|
|
1107
|
+
fields?:
|
|
1108
|
+
string;
|
|
832
1109
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
833
|
-
key?:
|
|
1110
|
+
key?:
|
|
1111
|
+
string;
|
|
834
1112
|
/**
|
|
835
1113
|
* The name of the topic. It must have the format `"projects/{project}/topics/{topic}"`. `{topic}` must start with a letter, and contain only letters (`[A-Za-z]`), numbers
|
|
836
1114
|
* (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3 and 255 characters in length, and it must not
|
|
837
1115
|
* start with `"goog"`.
|
|
838
1116
|
*/
|
|
839
|
-
name:
|
|
1117
|
+
name:
|
|
1118
|
+
string;
|
|
840
1119
|
/** OAuth 2.0 token for the current user. */
|
|
841
|
-
oauth_token?:
|
|
1120
|
+
oauth_token?:
|
|
1121
|
+
string;
|
|
842
1122
|
/** Returns response with indentations and line breaks. */
|
|
843
|
-
prettyPrint?:
|
|
1123
|
+
prettyPrint?:
|
|
1124
|
+
boolean;
|
|
844
1125
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
845
|
-
quotaUser?:
|
|
1126
|
+
quotaUser?:
|
|
1127
|
+
string;
|
|
846
1128
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
847
|
-
upload_protocol?:
|
|
1129
|
+
upload_protocol?:
|
|
1130
|
+
string;
|
|
848
1131
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
849
|
-
uploadType?:
|
|
1132
|
+
uploadType?:
|
|
1133
|
+
string;
|
|
850
1134
|
},
|
|
851
1135
|
body: Topic): Request<Topic>;
|
|
852
1136
|
/**
|
|
@@ -855,73 +1139,104 @@ declare namespace gapi.client {
|
|
|
855
1139
|
*/
|
|
856
1140
|
delete(request?: {
|
|
857
1141
|
/** V1 error format. */
|
|
858
|
-
"$.xgafv"?:
|
|
1142
|
+
"$.xgafv"?:
|
|
1143
|
+
string;
|
|
859
1144
|
/** OAuth access token. */
|
|
860
|
-
access_token?:
|
|
1145
|
+
access_token?:
|
|
1146
|
+
string;
|
|
861
1147
|
/** Data format for response. */
|
|
862
|
-
alt?:
|
|
1148
|
+
alt?:
|
|
1149
|
+
string;
|
|
863
1150
|
/** JSONP */
|
|
864
|
-
callback?:
|
|
1151
|
+
callback?:
|
|
1152
|
+
string;
|
|
865
1153
|
/** Selector specifying which fields to include in a partial response. */
|
|
866
|
-
fields?:
|
|
1154
|
+
fields?:
|
|
1155
|
+
string;
|
|
867
1156
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
868
|
-
key?:
|
|
1157
|
+
key?:
|
|
1158
|
+
string;
|
|
869
1159
|
/** OAuth 2.0 token for the current user. */
|
|
870
|
-
oauth_token?:
|
|
1160
|
+
oauth_token?:
|
|
1161
|
+
string;
|
|
871
1162
|
/** Returns response with indentations and line breaks. */
|
|
872
|
-
prettyPrint?:
|
|
1163
|
+
prettyPrint?:
|
|
1164
|
+
boolean;
|
|
873
1165
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
874
|
-
quotaUser?:
|
|
1166
|
+
quotaUser?:
|
|
1167
|
+
string;
|
|
875
1168
|
/** Name of the topic to delete. */
|
|
876
|
-
topic:
|
|
1169
|
+
topic:
|
|
1170
|
+
string;
|
|
877
1171
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
878
|
-
upload_protocol?:
|
|
1172
|
+
upload_protocol?:
|
|
1173
|
+
string;
|
|
879
1174
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
880
|
-
uploadType?:
|
|
1175
|
+
uploadType?:
|
|
1176
|
+
string;
|
|
881
1177
|
}): Request<{}>;
|
|
882
1178
|
/** Gets the configuration of a topic. */
|
|
883
1179
|
get(request?: {
|
|
884
1180
|
/** V1 error format. */
|
|
885
|
-
"$.xgafv"?:
|
|
1181
|
+
"$.xgafv"?:
|
|
1182
|
+
string;
|
|
886
1183
|
/** OAuth access token. */
|
|
887
|
-
access_token?:
|
|
1184
|
+
access_token?:
|
|
1185
|
+
string;
|
|
888
1186
|
/** Data format for response. */
|
|
889
|
-
alt?:
|
|
1187
|
+
alt?:
|
|
1188
|
+
string;
|
|
890
1189
|
/** JSONP */
|
|
891
|
-
callback?:
|
|
1190
|
+
callback?:
|
|
1191
|
+
string;
|
|
892
1192
|
/** Selector specifying which fields to include in a partial response. */
|
|
893
|
-
fields?:
|
|
1193
|
+
fields?:
|
|
1194
|
+
string;
|
|
894
1195
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
895
|
-
key?:
|
|
1196
|
+
key?:
|
|
1197
|
+
string;
|
|
896
1198
|
/** OAuth 2.0 token for the current user. */
|
|
897
|
-
oauth_token?:
|
|
1199
|
+
oauth_token?:
|
|
1200
|
+
string;
|
|
898
1201
|
/** Returns response with indentations and line breaks. */
|
|
899
|
-
prettyPrint?:
|
|
1202
|
+
prettyPrint?:
|
|
1203
|
+
boolean;
|
|
900
1204
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
901
|
-
quotaUser?:
|
|
1205
|
+
quotaUser?:
|
|
1206
|
+
string;
|
|
902
1207
|
/** The name of the topic to get. */
|
|
903
|
-
topic:
|
|
1208
|
+
topic:
|
|
1209
|
+
string;
|
|
904
1210
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
905
|
-
upload_protocol?:
|
|
1211
|
+
upload_protocol?:
|
|
1212
|
+
string;
|
|
906
1213
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
907
|
-
uploadType?:
|
|
1214
|
+
uploadType?:
|
|
1215
|
+
string;
|
|
908
1216
|
}): Request<Topic>;
|
|
909
1217
|
/** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
|
|
910
1218
|
getIamPolicy(request?: {
|
|
911
1219
|
/** V1 error format. */
|
|
912
|
-
"$.xgafv"?:
|
|
1220
|
+
"$.xgafv"?:
|
|
1221
|
+
string;
|
|
913
1222
|
/** OAuth access token. */
|
|
914
|
-
access_token?:
|
|
1223
|
+
access_token?:
|
|
1224
|
+
string;
|
|
915
1225
|
/** Data format for response. */
|
|
916
|
-
alt?:
|
|
1226
|
+
alt?:
|
|
1227
|
+
string;
|
|
917
1228
|
/** JSONP */
|
|
918
|
-
callback?:
|
|
1229
|
+
callback?:
|
|
1230
|
+
string;
|
|
919
1231
|
/** Selector specifying which fields to include in a partial response. */
|
|
920
|
-
fields?:
|
|
1232
|
+
fields?:
|
|
1233
|
+
string;
|
|
921
1234
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
922
|
-
key?:
|
|
1235
|
+
key?:
|
|
1236
|
+
string;
|
|
923
1237
|
/** OAuth 2.0 token for the current user. */
|
|
924
|
-
oauth_token?:
|
|
1238
|
+
oauth_token?:
|
|
1239
|
+
string;
|
|
925
1240
|
/**
|
|
926
1241
|
* Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for
|
|
927
1242
|
* policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy
|
|
@@ -929,51 +1244,71 @@ declare namespace gapi.client {
|
|
|
929
1244
|
* role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM
|
|
930
1245
|
* documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
931
1246
|
*/
|
|
932
|
-
"options.requestedPolicyVersion"?:
|
|
1247
|
+
"options.requestedPolicyVersion"?:
|
|
1248
|
+
number;
|
|
933
1249
|
/** Returns response with indentations and line breaks. */
|
|
934
|
-
prettyPrint?:
|
|
1250
|
+
prettyPrint?:
|
|
1251
|
+
boolean;
|
|
935
1252
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
936
|
-
quotaUser?:
|
|
1253
|
+
quotaUser?:
|
|
1254
|
+
string;
|
|
937
1255
|
/**
|
|
938
1256
|
* REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
|
|
939
1257
|
* field.
|
|
940
1258
|
*/
|
|
941
|
-
resource:
|
|
1259
|
+
resource:
|
|
1260
|
+
string;
|
|
942
1261
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
943
|
-
upload_protocol?:
|
|
1262
|
+
upload_protocol?:
|
|
1263
|
+
string;
|
|
944
1264
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
945
|
-
uploadType?:
|
|
1265
|
+
uploadType?:
|
|
1266
|
+
string;
|
|
946
1267
|
}): Request<Policy>;
|
|
947
1268
|
/** Lists matching topics. */
|
|
948
1269
|
list(request?: {
|
|
949
1270
|
/** V1 error format. */
|
|
950
|
-
"$.xgafv"?:
|
|
1271
|
+
"$.xgafv"?:
|
|
1272
|
+
string;
|
|
951
1273
|
/** OAuth access token. */
|
|
952
|
-
access_token?:
|
|
1274
|
+
access_token?:
|
|
1275
|
+
string;
|
|
953
1276
|
/** Data format for response. */
|
|
954
|
-
alt?:
|
|
1277
|
+
alt?:
|
|
1278
|
+
string;
|
|
955
1279
|
/** JSONP */
|
|
956
|
-
callback?:
|
|
1280
|
+
callback?:
|
|
1281
|
+
string;
|
|
957
1282
|
/** Selector specifying which fields to include in a partial response. */
|
|
958
|
-
fields?:
|
|
1283
|
+
fields?:
|
|
1284
|
+
string;
|
|
959
1285
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
960
|
-
key?:
|
|
1286
|
+
key?:
|
|
1287
|
+
string;
|
|
961
1288
|
/** OAuth 2.0 token for the current user. */
|
|
962
|
-
oauth_token?:
|
|
1289
|
+
oauth_token?:
|
|
1290
|
+
string;
|
|
963
1291
|
/** Maximum number of topics to return. */
|
|
964
|
-
pageSize?:
|
|
1292
|
+
pageSize?:
|
|
1293
|
+
number;
|
|
965
1294
|
/** The value returned by the last `ListTopicsResponse`; indicates that this is a continuation of a prior `ListTopics` call, and that the system should return the next page of data. */
|
|
966
|
-
pageToken?:
|
|
1295
|
+
pageToken?:
|
|
1296
|
+
string;
|
|
967
1297
|
/** Returns response with indentations and line breaks. */
|
|
968
|
-
prettyPrint?:
|
|
1298
|
+
prettyPrint?:
|
|
1299
|
+
boolean;
|
|
969
1300
|
/** The name of the cloud project that topics belong to. */
|
|
970
|
-
project:
|
|
1301
|
+
project:
|
|
1302
|
+
string;
|
|
971
1303
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
972
|
-
quotaUser?:
|
|
1304
|
+
quotaUser?:
|
|
1305
|
+
string;
|
|
973
1306
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
974
|
-
upload_protocol?:
|
|
1307
|
+
upload_protocol?:
|
|
1308
|
+
string;
|
|
975
1309
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
976
|
-
uploadType?:
|
|
1310
|
+
uploadType?:
|
|
1311
|
+
string;
|
|
977
1312
|
}): Request<ListTopicsResponse>;
|
|
978
1313
|
/**
|
|
979
1314
|
* Adds one or more messages to the topic. Returns `NOT_FOUND` if the topic does not exist. The message payload must not be empty; it must contain either a non-empty data field, or at
|
|
@@ -981,88 +1316,125 @@ declare namespace gapi.client {
|
|
|
981
1316
|
*/
|
|
982
1317
|
publish(request: {
|
|
983
1318
|
/** V1 error format. */
|
|
984
|
-
"$.xgafv"?:
|
|
1319
|
+
"$.xgafv"?:
|
|
1320
|
+
string;
|
|
985
1321
|
/** OAuth access token. */
|
|
986
|
-
access_token?:
|
|
1322
|
+
access_token?:
|
|
1323
|
+
string;
|
|
987
1324
|
/** Data format for response. */
|
|
988
|
-
alt?:
|
|
1325
|
+
alt?:
|
|
1326
|
+
string;
|
|
989
1327
|
/** JSONP */
|
|
990
|
-
callback?:
|
|
1328
|
+
callback?:
|
|
1329
|
+
string;
|
|
991
1330
|
/** Selector specifying which fields to include in a partial response. */
|
|
992
|
-
fields?:
|
|
1331
|
+
fields?:
|
|
1332
|
+
string;
|
|
993
1333
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
994
|
-
key?:
|
|
1334
|
+
key?:
|
|
1335
|
+
string;
|
|
995
1336
|
/** OAuth 2.0 token for the current user. */
|
|
996
|
-
oauth_token?:
|
|
1337
|
+
oauth_token?:
|
|
1338
|
+
string;
|
|
997
1339
|
/** Returns response with indentations and line breaks. */
|
|
998
|
-
prettyPrint?:
|
|
1340
|
+
prettyPrint?:
|
|
1341
|
+
boolean;
|
|
999
1342
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1000
|
-
quotaUser?:
|
|
1343
|
+
quotaUser?:
|
|
1344
|
+
string;
|
|
1001
1345
|
/** The messages in the request will be published on this topic. */
|
|
1002
|
-
topic:
|
|
1346
|
+
topic:
|
|
1347
|
+
string;
|
|
1003
1348
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1004
|
-
upload_protocol?:
|
|
1349
|
+
upload_protocol?:
|
|
1350
|
+
string;
|
|
1005
1351
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1006
|
-
uploadType?:
|
|
1352
|
+
uploadType?:
|
|
1353
|
+
string;
|
|
1007
1354
|
/** Request body */
|
|
1008
|
-
resource:
|
|
1355
|
+
resource:
|
|
1356
|
+
PublishRequest;
|
|
1009
1357
|
}): Request<PublishResponse>;
|
|
1010
1358
|
publish(request: {
|
|
1011
1359
|
/** V1 error format. */
|
|
1012
|
-
"$.xgafv"?:
|
|
1360
|
+
"$.xgafv"?:
|
|
1361
|
+
string;
|
|
1013
1362
|
/** OAuth access token. */
|
|
1014
|
-
access_token?:
|
|
1363
|
+
access_token?:
|
|
1364
|
+
string;
|
|
1015
1365
|
/** Data format for response. */
|
|
1016
|
-
alt?:
|
|
1366
|
+
alt?:
|
|
1367
|
+
string;
|
|
1017
1368
|
/** JSONP */
|
|
1018
|
-
callback?:
|
|
1369
|
+
callback?:
|
|
1370
|
+
string;
|
|
1019
1371
|
/** Selector specifying which fields to include in a partial response. */
|
|
1020
|
-
fields?:
|
|
1372
|
+
fields?:
|
|
1373
|
+
string;
|
|
1021
1374
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1022
|
-
key?:
|
|
1375
|
+
key?:
|
|
1376
|
+
string;
|
|
1023
1377
|
/** OAuth 2.0 token for the current user. */
|
|
1024
|
-
oauth_token?:
|
|
1378
|
+
oauth_token?:
|
|
1379
|
+
string;
|
|
1025
1380
|
/** Returns response with indentations and line breaks. */
|
|
1026
|
-
prettyPrint?:
|
|
1381
|
+
prettyPrint?:
|
|
1382
|
+
boolean;
|
|
1027
1383
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1028
|
-
quotaUser?:
|
|
1384
|
+
quotaUser?:
|
|
1385
|
+
string;
|
|
1029
1386
|
/** The messages in the request will be published on this topic. */
|
|
1030
|
-
topic:
|
|
1387
|
+
topic:
|
|
1388
|
+
string;
|
|
1031
1389
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1032
|
-
upload_protocol?:
|
|
1390
|
+
upload_protocol?:
|
|
1391
|
+
string;
|
|
1033
1392
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1034
|
-
uploadType?:
|
|
1393
|
+
uploadType?:
|
|
1394
|
+
string;
|
|
1035
1395
|
},
|
|
1036
1396
|
body: PublishRequest): Request<PublishResponse>;
|
|
1037
1397
|
/** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
|
|
1038
1398
|
setIamPolicy(request: {
|
|
1039
1399
|
/** V1 error format. */
|
|
1040
|
-
"$.xgafv"?:
|
|
1400
|
+
"$.xgafv"?:
|
|
1401
|
+
string;
|
|
1041
1402
|
/** OAuth access token. */
|
|
1042
|
-
access_token?:
|
|
1403
|
+
access_token?:
|
|
1404
|
+
string;
|
|
1043
1405
|
/** Data format for response. */
|
|
1044
|
-
alt?:
|
|
1406
|
+
alt?:
|
|
1407
|
+
string;
|
|
1045
1408
|
/** JSONP */
|
|
1046
|
-
callback?:
|
|
1409
|
+
callback?:
|
|
1410
|
+
string;
|
|
1047
1411
|
/** Selector specifying which fields to include in a partial response. */
|
|
1048
|
-
fields?:
|
|
1412
|
+
fields?:
|
|
1413
|
+
string;
|
|
1049
1414
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1050
|
-
key?:
|
|
1415
|
+
key?:
|
|
1416
|
+
string;
|
|
1051
1417
|
/** OAuth 2.0 token for the current user. */
|
|
1052
|
-
oauth_token?:
|
|
1418
|
+
oauth_token?:
|
|
1419
|
+
string;
|
|
1053
1420
|
/** Returns response with indentations and line breaks. */
|
|
1054
|
-
prettyPrint?:
|
|
1421
|
+
prettyPrint?:
|
|
1422
|
+
boolean;
|
|
1055
1423
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1056
|
-
quotaUser?:
|
|
1424
|
+
quotaUser?:
|
|
1425
|
+
string;
|
|
1057
1426
|
/**
|
|
1058
1427
|
* REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
|
|
1059
1428
|
* field.
|
|
1060
1429
|
*/
|
|
1061
|
-
resource:
|
|
1430
|
+
resource:
|
|
1431
|
+
string;
|
|
1062
1432
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1063
|
-
upload_protocol?:
|
|
1433
|
+
upload_protocol?:
|
|
1434
|
+
string;
|
|
1064
1435
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1065
|
-
uploadType?:
|
|
1436
|
+
uploadType?:
|
|
1437
|
+
string;
|
|
1066
1438
|
},
|
|
1067
1439
|
body: SetIamPolicyRequest): Request<Policy>;
|
|
1068
1440
|
/**
|
|
@@ -1071,39 +1443,54 @@ declare namespace gapi.client {
|
|
|
1071
1443
|
*/
|
|
1072
1444
|
testIamPermissions(request: {
|
|
1073
1445
|
/** V1 error format. */
|
|
1074
|
-
"$.xgafv"?:
|
|
1446
|
+
"$.xgafv"?:
|
|
1447
|
+
string;
|
|
1075
1448
|
/** OAuth access token. */
|
|
1076
|
-
access_token?:
|
|
1449
|
+
access_token?:
|
|
1450
|
+
string;
|
|
1077
1451
|
/** Data format for response. */
|
|
1078
|
-
alt?:
|
|
1452
|
+
alt?:
|
|
1453
|
+
string;
|
|
1079
1454
|
/** JSONP */
|
|
1080
|
-
callback?:
|
|
1455
|
+
callback?:
|
|
1456
|
+
string;
|
|
1081
1457
|
/** Selector specifying which fields to include in a partial response. */
|
|
1082
|
-
fields?:
|
|
1458
|
+
fields?:
|
|
1459
|
+
string;
|
|
1083
1460
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1084
|
-
key?:
|
|
1461
|
+
key?:
|
|
1462
|
+
string;
|
|
1085
1463
|
/** OAuth 2.0 token for the current user. */
|
|
1086
|
-
oauth_token?:
|
|
1464
|
+
oauth_token?:
|
|
1465
|
+
string;
|
|
1087
1466
|
/** Returns response with indentations and line breaks. */
|
|
1088
|
-
prettyPrint?:
|
|
1467
|
+
prettyPrint?:
|
|
1468
|
+
boolean;
|
|
1089
1469
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1090
|
-
quotaUser?:
|
|
1470
|
+
quotaUser?:
|
|
1471
|
+
string;
|
|
1091
1472
|
/**
|
|
1092
1473
|
* REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
|
|
1093
1474
|
* this field.
|
|
1094
1475
|
*/
|
|
1095
|
-
resource:
|
|
1476
|
+
resource:
|
|
1477
|
+
string;
|
|
1096
1478
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1097
|
-
upload_protocol?:
|
|
1479
|
+
upload_protocol?:
|
|
1480
|
+
string;
|
|
1098
1481
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1099
|
-
uploadType?:
|
|
1482
|
+
uploadType?:
|
|
1483
|
+
string;
|
|
1100
1484
|
},
|
|
1101
1485
|
body: TestIamPermissionsRequest): Request<TestIamPermissionsResponse>;
|
|
1102
|
-
subscriptions:
|
|
1486
|
+
subscriptions:
|
|
1487
|
+
SubscriptionsResource;
|
|
1103
1488
|
}
|
|
1104
1489
|
interface ProjectsResource {
|
|
1105
|
-
subscriptions:
|
|
1106
|
-
|
|
1490
|
+
subscriptions:
|
|
1491
|
+
SubscriptionsResource;
|
|
1492
|
+
topics:
|
|
1493
|
+
TopicsResource;
|
|
1107
1494
|
}
|
|
1108
1495
|
|
|
1109
1496
|
const projects: ProjectsResource;
|