@maxim_mazurok/gapi.client.cloudfunctions-v2beta 0.0.20230415 → 0.0.20230427
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 +860 -448
- 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://cloudfunctions.googleapis.com/$discovery/rest?version=v2beta
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230427
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -24,18 +24,22 @@ declare namespace gapi.client {
|
|
|
24
24
|
namespace cloudfunctions {
|
|
25
25
|
interface AuditConfig {
|
|
26
26
|
/** The configuration for logging of each type of permission. */
|
|
27
|
-
auditLogConfigs?:
|
|
27
|
+
auditLogConfigs?:
|
|
28
|
+
AuditLogConfig[];
|
|
28
29
|
/**
|
|
29
30
|
* Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all
|
|
30
31
|
* services.
|
|
31
32
|
*/
|
|
32
|
-
service?:
|
|
33
|
+
service?:
|
|
34
|
+
string;
|
|
33
35
|
}
|
|
34
36
|
interface AuditLogConfig {
|
|
35
37
|
/** Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. */
|
|
36
|
-
exemptedMembers?:
|
|
38
|
+
exemptedMembers?:
|
|
39
|
+
string[];
|
|
37
40
|
/** The log type that this config enables. */
|
|
38
|
-
logType?:
|
|
41
|
+
logType?:
|
|
42
|
+
string;
|
|
39
43
|
}
|
|
40
44
|
interface Binding {
|
|
41
45
|
/**
|
|
@@ -43,7 +47,8 @@ declare namespace gapi.client {
|
|
|
43
47
|
* 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
|
|
44
48
|
* resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
45
49
|
*/
|
|
46
|
-
condition?:
|
|
50
|
+
condition?:
|
|
51
|
+
Expr;
|
|
47
52
|
/**
|
|
48
53
|
* 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
|
|
49
54
|
* 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
|
|
@@ -60,134 +65,172 @@ declare namespace gapi.client {
|
|
|
60
65
|
* 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
|
|
61
66
|
* retains the role in the binding.
|
|
62
67
|
*/
|
|
63
|
-
members?:
|
|
68
|
+
members?:
|
|
69
|
+
string[];
|
|
64
70
|
/** Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. */
|
|
65
|
-
role?:
|
|
71
|
+
role?:
|
|
72
|
+
string;
|
|
66
73
|
}
|
|
67
74
|
interface BuildConfig {
|
|
68
75
|
/** Output only. The Cloud Build name of the latest successful deployment of the function. */
|
|
69
|
-
build?:
|
|
76
|
+
build?:
|
|
77
|
+
string;
|
|
70
78
|
/**
|
|
71
79
|
* Docker Registry to use for this deployment. This configuration is only applicable to 1st Gen functions, 2nd Gen functions can only use Artifact Registry. If `docker_repository`
|
|
72
80
|
* field is specified, this field will be automatically set as `ARTIFACT_REGISTRY`. If unspecified, it currently defaults to `CONTAINER_REGISTRY`. This field may be overridden by the
|
|
73
81
|
* backend for eligible deployments.
|
|
74
82
|
*/
|
|
75
|
-
dockerRegistry?:
|
|
83
|
+
dockerRegistry?:
|
|
84
|
+
string;
|
|
76
85
|
/**
|
|
77
86
|
* User managed repository created in Artifact Registry optionally with a customer managed encryption key. This is the repository to which the function docker image will be pushed
|
|
78
87
|
* after it is built by Cloud Build. If unspecified, GCF will create and use a repository named 'gcf-artifacts' for every deployed region. It must match the pattern
|
|
79
88
|
* `projects/{project}/locations/{location}/repositories/{repository}`. Cross-project repositories are not supported. Cross-location repositories are not supported. Repository format
|
|
80
89
|
* must be 'DOCKER'.
|
|
81
90
|
*/
|
|
82
|
-
dockerRepository?:
|
|
91
|
+
dockerRepository?:
|
|
92
|
+
string;
|
|
83
93
|
/**
|
|
84
94
|
* The name of the function (as defined in source code) that will be executed. Defaults to the resource name suffix, if not specified. For backward compatibility, if function with
|
|
85
95
|
* given name is not found, then the system will try to use function named "function". For Node.js this is name of a function exported by the module specified in `source_location`.
|
|
86
96
|
*/
|
|
87
|
-
entryPoint?:
|
|
97
|
+
entryPoint?:
|
|
98
|
+
string;
|
|
88
99
|
/** User-provided build-time environment variables for the function */
|
|
89
|
-
environmentVariables?:
|
|
100
|
+
environmentVariables?:
|
|
101
|
+
{ [P in string]: string };
|
|
90
102
|
/**
|
|
91
103
|
* The runtime in which to run the function. Required when deploying a new function, optional when updating an existing function. For a complete list of possible choices, see the
|
|
92
104
|
* [`gcloud` command reference](https://cloud.google.com/sdk/gcloud/reference/functions/deploy#--runtime).
|
|
93
105
|
*/
|
|
94
|
-
runtime?:
|
|
106
|
+
runtime?:
|
|
107
|
+
string;
|
|
95
108
|
/** The location of the function source code. */
|
|
96
|
-
source?:
|
|
109
|
+
source?:
|
|
110
|
+
Source;
|
|
97
111
|
/** Output only. A permanent fixed identifier for source. */
|
|
98
|
-
sourceProvenance?:
|
|
112
|
+
sourceProvenance?:
|
|
113
|
+
SourceProvenance;
|
|
99
114
|
/**
|
|
100
115
|
* Name of the Cloud Build Custom Worker Pool that should be used to build the function. The format of this field is `projects/{project}/locations/{region}/workerPools/{workerPool}`
|
|
101
116
|
* where {project} and {region} are the project id and region respectively where the worker pool is defined and {workerPool} is the short name of the worker pool. If the project id is
|
|
102
117
|
* not the same as the function, then the Cloud Functions Service Agent (service-@gcf-admin-robot.iam.gserviceaccount.com) must be granted the role Cloud Build Custom Workers Builder
|
|
103
118
|
* (roles/cloudbuild.customworkers.builder) in the project.
|
|
104
119
|
*/
|
|
105
|
-
workerPool?:
|
|
120
|
+
workerPool?:
|
|
121
|
+
string;
|
|
106
122
|
}
|
|
107
123
|
interface EventFilter {
|
|
108
124
|
/** Required. The name of a CloudEvents attribute. */
|
|
109
|
-
attribute?:
|
|
125
|
+
attribute?:
|
|
126
|
+
string;
|
|
110
127
|
/**
|
|
111
128
|
* Optional. The operator used for matching the events with the value of the filter. If not specified, only events that have an exact key-value pair specified in the filter are
|
|
112
129
|
* matched. The only allowed value is `match-path-pattern`.
|
|
113
130
|
*/
|
|
114
|
-
operator?:
|
|
131
|
+
operator?:
|
|
132
|
+
string;
|
|
115
133
|
/** Required. The value for the attribute. */
|
|
116
|
-
value?:
|
|
134
|
+
value?:
|
|
135
|
+
string;
|
|
117
136
|
}
|
|
118
137
|
interface EventTrigger {
|
|
119
138
|
/**
|
|
120
139
|
* Optional. The name of the channel associated with the trigger in `projects/{project}/locations/{location}/channels/{channel}` format. You must provide a channel to receive events
|
|
121
140
|
* from Eventarc SaaS partners.
|
|
122
141
|
*/
|
|
123
|
-
channel?:
|
|
142
|
+
channel?:
|
|
143
|
+
string;
|
|
124
144
|
/** Criteria used to filter events. */
|
|
125
|
-
eventFilters?:
|
|
145
|
+
eventFilters?:
|
|
146
|
+
EventFilter[];
|
|
126
147
|
/** Required. The type of event to observe. For example: `google.cloud.audit.log.v1.written` or `google.cloud.pubsub.topic.v1.messagePublished`. */
|
|
127
|
-
eventType?:
|
|
148
|
+
eventType?:
|
|
149
|
+
string;
|
|
128
150
|
/**
|
|
129
151
|
* Optional. The name of a Pub/Sub topic in the same project that will be used as the transport topic for the event delivery. Format: `projects/{project}/topics/{topic}`. This is only
|
|
130
152
|
* valid for events of type `google.cloud.pubsub.topic.v1.messagePublished`. The topic provided here will not be deleted at function deletion.
|
|
131
153
|
*/
|
|
132
|
-
pubsubTopic?:
|
|
154
|
+
pubsubTopic?:
|
|
155
|
+
string;
|
|
133
156
|
/** Optional. If unset, then defaults to ignoring failures (i.e. not retrying them). */
|
|
134
|
-
retryPolicy?:
|
|
157
|
+
retryPolicy?:
|
|
158
|
+
string;
|
|
135
159
|
/**
|
|
136
160
|
* Optional. The email of the trigger's service account. The service account must have permission to invoke Cloud Run services, the permission is `run.routes.invoke`. If empty,
|
|
137
161
|
* defaults to the Compute Engine default service account: `{project_number}-compute@developer.gserviceaccount.com`.
|
|
138
162
|
*/
|
|
139
|
-
serviceAccountEmail?:
|
|
163
|
+
serviceAccountEmail?:
|
|
164
|
+
string;
|
|
140
165
|
/** Output only. The resource name of the Eventarc trigger. The format of this field is `projects/{project}/locations/{region}/triggers/{trigger}`. */
|
|
141
|
-
trigger?:
|
|
166
|
+
trigger?:
|
|
167
|
+
string;
|
|
142
168
|
/**
|
|
143
169
|
* The region that the trigger will be in. The trigger will only receive events originating in this region. It can be the same region as the function, a different region or
|
|
144
170
|
* multi-region, or the global region. If not provided, defaults to the same region as the function.
|
|
145
171
|
*/
|
|
146
|
-
triggerRegion?:
|
|
172
|
+
triggerRegion?:
|
|
173
|
+
string;
|
|
147
174
|
}
|
|
148
175
|
interface Expr {
|
|
149
176
|
/** Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. */
|
|
150
|
-
description?:
|
|
177
|
+
description?:
|
|
178
|
+
string;
|
|
151
179
|
/** Textual representation of an expression in Common Expression Language syntax. */
|
|
152
|
-
expression?:
|
|
180
|
+
expression?:
|
|
181
|
+
string;
|
|
153
182
|
/** Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file. */
|
|
154
|
-
location?:
|
|
183
|
+
location?:
|
|
184
|
+
string;
|
|
155
185
|
/** 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. */
|
|
156
|
-
title?:
|
|
186
|
+
title?:
|
|
187
|
+
string;
|
|
157
188
|
}
|
|
158
189
|
interface Function {
|
|
159
190
|
/** Describes the Build step of the function that builds a container from the given source. */
|
|
160
|
-
buildConfig?:
|
|
191
|
+
buildConfig?:
|
|
192
|
+
BuildConfig;
|
|
161
193
|
/** User-provided description of a function. */
|
|
162
|
-
description?:
|
|
194
|
+
description?:
|
|
195
|
+
string;
|
|
163
196
|
/** Describe whether the function is 1st Gen or 2nd Gen. */
|
|
164
|
-
environment?:
|
|
197
|
+
environment?:
|
|
198
|
+
string;
|
|
165
199
|
/** An Eventarc trigger managed by Google Cloud Functions that fires events in response to a condition in another service. */
|
|
166
|
-
eventTrigger?:
|
|
200
|
+
eventTrigger?:
|
|
201
|
+
EventTrigger;
|
|
167
202
|
/**
|
|
168
203
|
* [Preview] Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt function resources. It must match the pattern
|
|
169
204
|
* `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`.
|
|
170
205
|
*/
|
|
171
|
-
kmsKeyName?:
|
|
206
|
+
kmsKeyName?:
|
|
207
|
+
string;
|
|
172
208
|
/** Labels associated with this Cloud Function. */
|
|
173
|
-
labels?:
|
|
209
|
+
labels?:
|
|
210
|
+
{ [P in string]: string };
|
|
174
211
|
/** A user-defined name of the function. Function names must be unique globally and match pattern `projects/*/locations/*/functions/*` */
|
|
175
|
-
name?:
|
|
212
|
+
name?:
|
|
213
|
+
string;
|
|
176
214
|
/** Describes the Service being deployed. Currently deploys services to Cloud Run (fully managed). */
|
|
177
|
-
serviceConfig?:
|
|
215
|
+
serviceConfig?:
|
|
216
|
+
ServiceConfig;
|
|
178
217
|
/** Output only. State of the function. */
|
|
179
|
-
state?:
|
|
218
|
+
state?:
|
|
219
|
+
string;
|
|
180
220
|
/** Output only. State Messages for this Cloud Function. */
|
|
181
|
-
stateMessages?:
|
|
221
|
+
stateMessages?:
|
|
222
|
+
GoogleCloudFunctionsV2betaStateMessage[];
|
|
182
223
|
/** Output only. The last update timestamp of a Cloud Function. */
|
|
183
|
-
updateTime?:
|
|
224
|
+
updateTime?:
|
|
225
|
+
string;
|
|
184
226
|
}
|
|
185
227
|
// tslint:disable-next-line:no-empty-interface
|
|
186
228
|
interface GenerateDownloadUrlRequest {
|
|
187
229
|
}
|
|
188
230
|
interface GenerateDownloadUrlResponse {
|
|
189
231
|
/** The generated Google Cloud Storage signed URL that should be used for function source code download. */
|
|
190
|
-
downloadUrl?:
|
|
232
|
+
downloadUrl?:
|
|
233
|
+
string;
|
|
191
234
|
}
|
|
192
235
|
interface GenerateUploadUrlRequest {
|
|
193
236
|
/**
|
|
@@ -197,237 +240,324 @@ declare namespace gapi.client {
|
|
|
197
240
|
* Functions service account (service-{project_number}@gcf-admin-robot.iam.gserviceaccount.com) must be granted the role 'Cloud KMS CryptoKey Encrypter/Decrypter
|
|
198
241
|
* (roles/cloudkms.cryptoKeyEncrypterDecrypter)' on the Key/KeyRing/Project/Organization (least access preferred).
|
|
199
242
|
*/
|
|
200
|
-
kmsKeyName?:
|
|
243
|
+
kmsKeyName?:
|
|
244
|
+
string;
|
|
201
245
|
}
|
|
202
246
|
interface GenerateUploadUrlResponse {
|
|
203
247
|
/**
|
|
204
248
|
* The location of the source code in the upload bucket. Once the archive is uploaded using the `upload_url` use this field to set the `function.build_config.source.storage_source`
|
|
205
249
|
* during CreateFunction and UpdateFunction. Generation defaults to 0, as Cloud Storage provides a new generation only upon uploading a new object or version of an object.
|
|
206
250
|
*/
|
|
207
|
-
storageSource?:
|
|
251
|
+
storageSource?:
|
|
252
|
+
StorageSource;
|
|
208
253
|
/** The generated Google Cloud Storage signed URL that should be used for a function source code upload. The uploaded file should be a zip archive which contains a function. */
|
|
209
|
-
uploadUrl?:
|
|
210
|
-
|
|
211
|
-
interface GoogleCloudFunctionsV2alphaLocationMetadata {
|
|
212
|
-
/** The Cloud Function environments this location supports. */
|
|
213
|
-
environments?: string[];
|
|
254
|
+
uploadUrl?:
|
|
255
|
+
string;
|
|
214
256
|
}
|
|
215
257
|
interface GoogleCloudFunctionsV2alphaOperationMetadata {
|
|
216
258
|
/** API version used to start the operation. */
|
|
217
|
-
apiVersion?:
|
|
259
|
+
apiVersion?:
|
|
260
|
+
string;
|
|
218
261
|
/**
|
|
219
262
|
* Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of
|
|
220
263
|
* 1, corresponding to `Code.CANCELLED`.
|
|
221
264
|
*/
|
|
222
|
-
cancelRequested?:
|
|
265
|
+
cancelRequested?:
|
|
266
|
+
boolean;
|
|
223
267
|
/** The time the operation was created. */
|
|
224
|
-
createTime?:
|
|
268
|
+
createTime?:
|
|
269
|
+
string;
|
|
225
270
|
/** The time the operation finished running. */
|
|
226
|
-
endTime?:
|
|
271
|
+
endTime?:
|
|
272
|
+
string;
|
|
227
273
|
/** The original request that started the operation. */
|
|
228
|
-
requestResource?:
|
|
274
|
+
requestResource?:
|
|
275
|
+
{ [P in string]: any };
|
|
229
276
|
/** Mechanism for reporting in-progress stages */
|
|
230
|
-
stages?:
|
|
277
|
+
stages?:
|
|
278
|
+
GoogleCloudFunctionsV2alphaStage[];
|
|
231
279
|
/** Human-readable status of the operation, if any. */
|
|
232
|
-
statusDetail?:
|
|
280
|
+
statusDetail?:
|
|
281
|
+
string;
|
|
233
282
|
/** Server-defined resource path for the target of the operation. */
|
|
234
|
-
target?:
|
|
283
|
+
target?:
|
|
284
|
+
string;
|
|
235
285
|
/** Name of the verb executed by the operation. */
|
|
236
|
-
verb?:
|
|
286
|
+
verb?:
|
|
287
|
+
string;
|
|
288
|
+
}
|
|
289
|
+
interface GoogleCloudFunctionsV2alphaStage {
|
|
290
|
+
/** Message describing the Stage */
|
|
291
|
+
message?:
|
|
292
|
+
string;
|
|
293
|
+
/** Name of the Stage. This will be unique for each Stage. */
|
|
294
|
+
name?:
|
|
295
|
+
string;
|
|
296
|
+
/** Resource of the Stage */
|
|
297
|
+
resource?:
|
|
298
|
+
string;
|
|
299
|
+
/** Link to the current Stage resource */
|
|
300
|
+
resourceUri?:
|
|
301
|
+
string;
|
|
302
|
+
/** Current state of the Stage */
|
|
303
|
+
state?:
|
|
304
|
+
string;
|
|
305
|
+
/** State messages from the current Stage. */
|
|
306
|
+
stateMessages?:
|
|
307
|
+
GoogleCloudFunctionsV2alphaStateMessage[];
|
|
237
308
|
}
|
|
238
309
|
interface GoogleCloudFunctionsV2alphaStateMessage {
|
|
239
310
|
/** The message. */
|
|
240
|
-
message?:
|
|
311
|
+
message?:
|
|
312
|
+
string;
|
|
241
313
|
/** Severity of the state message. */
|
|
242
|
-
severity?:
|
|
314
|
+
severity?:
|
|
315
|
+
string;
|
|
243
316
|
/** One-word CamelCase type of the state message. */
|
|
244
|
-
type?:
|
|
245
|
-
|
|
246
|
-
interface GoogleCloudFunctionsV2betaLocationMetadata {
|
|
247
|
-
/** The Cloud Function environments this location supports. */
|
|
248
|
-
environments?: string[];
|
|
317
|
+
type?:
|
|
318
|
+
string;
|
|
249
319
|
}
|
|
250
320
|
interface GoogleCloudFunctionsV2betaOperationMetadata {
|
|
251
321
|
/** API version used to start the operation. */
|
|
252
|
-
apiVersion?:
|
|
322
|
+
apiVersion?:
|
|
323
|
+
string;
|
|
253
324
|
/**
|
|
254
325
|
* Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of
|
|
255
326
|
* 1, corresponding to `Code.CANCELLED`.
|
|
256
327
|
*/
|
|
257
|
-
cancelRequested?:
|
|
328
|
+
cancelRequested?:
|
|
329
|
+
boolean;
|
|
258
330
|
/** The time the operation was created. */
|
|
259
|
-
createTime?:
|
|
331
|
+
createTime?:
|
|
332
|
+
string;
|
|
260
333
|
/** The time the operation finished running. */
|
|
261
|
-
endTime?:
|
|
334
|
+
endTime?:
|
|
335
|
+
string;
|
|
262
336
|
/** The original request that started the operation. */
|
|
263
|
-
requestResource?:
|
|
337
|
+
requestResource?:
|
|
338
|
+
{ [P in string]: any };
|
|
264
339
|
/** Mechanism for reporting in-progress stages */
|
|
265
|
-
stages?:
|
|
340
|
+
stages?:
|
|
341
|
+
GoogleCloudFunctionsV2betaStage[];
|
|
266
342
|
/** Human-readable status of the operation, if any. */
|
|
267
|
-
statusDetail?:
|
|
343
|
+
statusDetail?:
|
|
344
|
+
string;
|
|
268
345
|
/** Server-defined resource path for the target of the operation. */
|
|
269
|
-
target?:
|
|
346
|
+
target?:
|
|
347
|
+
string;
|
|
270
348
|
/** Name of the verb executed by the operation. */
|
|
271
|
-
verb?:
|
|
349
|
+
verb?:
|
|
350
|
+
string;
|
|
272
351
|
}
|
|
273
352
|
interface GoogleCloudFunctionsV2betaStage {
|
|
274
353
|
/** Message describing the Stage */
|
|
275
|
-
message?:
|
|
354
|
+
message?:
|
|
355
|
+
string;
|
|
276
356
|
/** Name of the Stage. This will be unique for each Stage. */
|
|
277
|
-
name?:
|
|
357
|
+
name?:
|
|
358
|
+
string;
|
|
278
359
|
/** Resource of the Stage */
|
|
279
|
-
resource?:
|
|
360
|
+
resource?:
|
|
361
|
+
string;
|
|
280
362
|
/** Link to the current Stage resource */
|
|
281
|
-
resourceUri?:
|
|
363
|
+
resourceUri?:
|
|
364
|
+
string;
|
|
282
365
|
/** Current state of the Stage */
|
|
283
|
-
state?:
|
|
366
|
+
state?:
|
|
367
|
+
string;
|
|
284
368
|
/** State messages from the current Stage. */
|
|
285
|
-
stateMessages?:
|
|
369
|
+
stateMessages?:
|
|
370
|
+
GoogleCloudFunctionsV2betaStateMessage[];
|
|
286
371
|
}
|
|
287
372
|
interface GoogleCloudFunctionsV2betaStateMessage {
|
|
288
373
|
/** The message. */
|
|
289
|
-
message?:
|
|
374
|
+
message?:
|
|
375
|
+
string;
|
|
290
376
|
/** Severity of the state message. */
|
|
291
|
-
severity?:
|
|
377
|
+
severity?:
|
|
378
|
+
string;
|
|
292
379
|
/** One-word CamelCase type of the state message. */
|
|
293
|
-
type?:
|
|
380
|
+
type?:
|
|
381
|
+
string;
|
|
294
382
|
}
|
|
295
383
|
interface GoogleCloudFunctionsV2OperationMetadata {
|
|
296
384
|
/** API version used to start the operation. */
|
|
297
|
-
apiVersion?:
|
|
385
|
+
apiVersion?:
|
|
386
|
+
string;
|
|
298
387
|
/**
|
|
299
388
|
* Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of
|
|
300
389
|
* 1, corresponding to `Code.CANCELLED`.
|
|
301
390
|
*/
|
|
302
|
-
cancelRequested?:
|
|
391
|
+
cancelRequested?:
|
|
392
|
+
boolean;
|
|
303
393
|
/** The time the operation was created. */
|
|
304
|
-
createTime?:
|
|
394
|
+
createTime?:
|
|
395
|
+
string;
|
|
305
396
|
/** The time the operation finished running. */
|
|
306
|
-
endTime?:
|
|
397
|
+
endTime?:
|
|
398
|
+
string;
|
|
307
399
|
/** The original request that started the operation. */
|
|
308
|
-
requestResource?:
|
|
400
|
+
requestResource?:
|
|
401
|
+
{ [P in string]: any };
|
|
309
402
|
/** Mechanism for reporting in-progress stages */
|
|
310
|
-
stages?:
|
|
403
|
+
stages?:
|
|
404
|
+
GoogleCloudFunctionsV2Stage[];
|
|
311
405
|
/** Human-readable status of the operation, if any. */
|
|
312
|
-
statusDetail?:
|
|
406
|
+
statusDetail?:
|
|
407
|
+
string;
|
|
313
408
|
/** Server-defined resource path for the target of the operation. */
|
|
314
|
-
target?:
|
|
409
|
+
target?:
|
|
410
|
+
string;
|
|
315
411
|
/** Name of the verb executed by the operation. */
|
|
316
|
-
verb?:
|
|
412
|
+
verb?:
|
|
413
|
+
string;
|
|
317
414
|
}
|
|
318
415
|
interface GoogleCloudFunctionsV2Stage {
|
|
319
416
|
/** Message describing the Stage */
|
|
320
|
-
message?:
|
|
417
|
+
message?:
|
|
418
|
+
string;
|
|
321
419
|
/** Name of the Stage. This will be unique for each Stage. */
|
|
322
|
-
name?:
|
|
420
|
+
name?:
|
|
421
|
+
string;
|
|
323
422
|
/** Resource of the Stage */
|
|
324
|
-
resource?:
|
|
423
|
+
resource?:
|
|
424
|
+
string;
|
|
325
425
|
/** Link to the current Stage resource */
|
|
326
|
-
resourceUri?:
|
|
426
|
+
resourceUri?:
|
|
427
|
+
string;
|
|
327
428
|
/** Current state of the Stage */
|
|
328
|
-
state?:
|
|
429
|
+
state?:
|
|
430
|
+
string;
|
|
329
431
|
/** State messages from the current Stage. */
|
|
330
|
-
stateMessages?:
|
|
432
|
+
stateMessages?:
|
|
433
|
+
GoogleCloudFunctionsV2StateMessage[];
|
|
331
434
|
}
|
|
332
435
|
interface GoogleCloudFunctionsV2StateMessage {
|
|
333
436
|
/** The message. */
|
|
334
|
-
message?:
|
|
437
|
+
message?:
|
|
438
|
+
string;
|
|
335
439
|
/** Severity of the state message. */
|
|
336
|
-
severity?:
|
|
440
|
+
severity?:
|
|
441
|
+
string;
|
|
337
442
|
/** One-word CamelCase type of the state message. */
|
|
338
|
-
type?:
|
|
443
|
+
type?:
|
|
444
|
+
string;
|
|
339
445
|
}
|
|
340
446
|
interface ListFunctionsResponse {
|
|
341
447
|
/** The functions that match the request. */
|
|
342
|
-
|
|
343
|
-
|
|
448
|
+
functions?:
|
|
449
|
+
// tslint:disable-next-line:ban-types
|
|
450
|
+
Function[];
|
|
344
451
|
/** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
345
|
-
nextPageToken?:
|
|
452
|
+
nextPageToken?:
|
|
453
|
+
string;
|
|
346
454
|
/** Locations that could not be reached. The response does not include any functions from these locations. */
|
|
347
|
-
unreachable?:
|
|
455
|
+
unreachable?:
|
|
456
|
+
string[];
|
|
348
457
|
}
|
|
349
458
|
interface ListLocationsResponse {
|
|
350
459
|
/** A list of locations that matches the specified filter in the request. */
|
|
351
|
-
locations?:
|
|
460
|
+
locations?:
|
|
461
|
+
Location[];
|
|
352
462
|
/** The standard List next-page token. */
|
|
353
|
-
nextPageToken?:
|
|
463
|
+
nextPageToken?:
|
|
464
|
+
string;
|
|
354
465
|
}
|
|
355
466
|
interface ListOperationsResponse {
|
|
356
467
|
/** The standard List next-page token. */
|
|
357
|
-
nextPageToken?:
|
|
468
|
+
nextPageToken?:
|
|
469
|
+
string;
|
|
358
470
|
/** A list of operations that matches the specified filter in the request. */
|
|
359
|
-
operations?:
|
|
471
|
+
operations?:
|
|
472
|
+
Operation[];
|
|
360
473
|
}
|
|
361
474
|
interface ListRuntimesResponse {
|
|
362
475
|
/** The runtimes that match the request. */
|
|
363
|
-
runtimes?:
|
|
476
|
+
runtimes?:
|
|
477
|
+
Runtime[];
|
|
364
478
|
}
|
|
365
479
|
interface Location {
|
|
366
480
|
/** The friendly name for this location, typically a nearby city name. For example, "Tokyo". */
|
|
367
|
-
displayName?:
|
|
481
|
+
displayName?:
|
|
482
|
+
string;
|
|
368
483
|
/** Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"} */
|
|
369
|
-
labels?:
|
|
484
|
+
labels?:
|
|
485
|
+
{ [P in string]: string };
|
|
370
486
|
/** The canonical id for this location. For example: `"us-east1"`. */
|
|
371
|
-
locationId?:
|
|
487
|
+
locationId?:
|
|
488
|
+
string;
|
|
372
489
|
/** Service-specific metadata. For example the available capacity at the given location. */
|
|
373
|
-
metadata?:
|
|
490
|
+
metadata?:
|
|
491
|
+
{ [P in string]: any };
|
|
374
492
|
/** Resource name for the location, which may vary between implementations. For example: `"projects/example-project/locations/us-east1"` */
|
|
375
|
-
name?:
|
|
376
|
-
|
|
377
|
-
interface LocationMetadata {
|
|
378
|
-
/** The Cloud Function environments this location supports. */
|
|
379
|
-
environments?: string[];
|
|
493
|
+
name?:
|
|
494
|
+
string;
|
|
380
495
|
}
|
|
381
496
|
interface Operation {
|
|
382
497
|
/** If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available. */
|
|
383
|
-
done?:
|
|
498
|
+
done?:
|
|
499
|
+
boolean;
|
|
384
500
|
/** The error result of the operation in case of failure or cancellation. */
|
|
385
|
-
error?:
|
|
501
|
+
error?:
|
|
502
|
+
Status;
|
|
386
503
|
/**
|
|
387
504
|
* Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such
|
|
388
505
|
* metadata. Any method that returns a long-running operation should document the metadata type, if any.
|
|
389
506
|
*/
|
|
390
|
-
metadata?:
|
|
507
|
+
metadata?:
|
|
508
|
+
{ [P in string]: any };
|
|
391
509
|
/**
|
|
392
510
|
* The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending
|
|
393
511
|
* with `operations/{unique_id}`.
|
|
394
512
|
*/
|
|
395
|
-
name?:
|
|
513
|
+
name?:
|
|
514
|
+
string;
|
|
396
515
|
/**
|
|
397
516
|
* The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the
|
|
398
517
|
* original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the
|
|
399
518
|
* original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
|
|
400
519
|
*/
|
|
401
|
-
response?:
|
|
520
|
+
response?:
|
|
521
|
+
{ [P in string]: any };
|
|
402
522
|
}
|
|
403
523
|
interface OperationMetadataV1 {
|
|
404
524
|
/** The Cloud Build ID of the function created or updated by an API call. This field is only populated for Create and Update operations. */
|
|
405
|
-
buildId?:
|
|
525
|
+
buildId?:
|
|
526
|
+
string;
|
|
406
527
|
/** The Cloud Build Name of the function deployment. This field is only populated for Create and Update operations. `projects//locations//builds/`. */
|
|
407
|
-
buildName?:
|
|
528
|
+
buildName?:
|
|
529
|
+
string;
|
|
408
530
|
/** The original request that started the operation. */
|
|
409
|
-
request?:
|
|
531
|
+
request?:
|
|
532
|
+
{ [P in string]: any };
|
|
410
533
|
/** An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments. */
|
|
411
|
-
sourceToken?:
|
|
534
|
+
sourceToken?:
|
|
535
|
+
string;
|
|
412
536
|
/** Target of the operation - for example `projects/project-1/locations/region-1/functions/function-1` */
|
|
413
|
-
target?:
|
|
537
|
+
target?:
|
|
538
|
+
string;
|
|
414
539
|
/** Type of operation. */
|
|
415
|
-
type?:
|
|
540
|
+
type?:
|
|
541
|
+
string;
|
|
416
542
|
/** The last update timestamp of the operation. */
|
|
417
|
-
updateTime?:
|
|
543
|
+
updateTime?:
|
|
544
|
+
string;
|
|
418
545
|
/** Version id of the function created or updated by an API call. This field is only populated for Create and Update operations. */
|
|
419
|
-
versionId?:
|
|
546
|
+
versionId?:
|
|
547
|
+
string;
|
|
420
548
|
}
|
|
421
549
|
interface Policy {
|
|
422
550
|
/** Specifies cloud audit logging configuration for this policy. */
|
|
423
|
-
auditConfigs?:
|
|
551
|
+
auditConfigs?:
|
|
552
|
+
AuditConfig[];
|
|
424
553
|
/**
|
|
425
554
|
* Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings`
|
|
426
555
|
* must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a
|
|
427
556
|
* 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
|
|
428
557
|
* 1,450 principals to the `bindings` in the `Policy`.
|
|
429
558
|
*/
|
|
430
|
-
bindings?:
|
|
559
|
+
bindings?:
|
|
560
|
+
Binding[];
|
|
431
561
|
/**
|
|
432
562
|
* `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
|
|
433
563
|
* 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
|
|
@@ -435,7 +565,8 @@ declare namespace gapi.client {
|
|
|
435
565
|
* 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`
|
|
436
566
|
* policy, and all of the conditions in the version `3` policy are lost.
|
|
437
567
|
*/
|
|
438
|
-
etag?:
|
|
568
|
+
etag?:
|
|
569
|
+
string;
|
|
439
570
|
/**
|
|
440
571
|
* 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
|
|
441
572
|
* 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
|
|
@@ -444,295 +575,375 @@ declare namespace gapi.client {
|
|
|
444
575
|
* 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
|
|
445
576
|
* 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).
|
|
446
577
|
*/
|
|
447
|
-
version?:
|
|
578
|
+
version?:
|
|
579
|
+
number;
|
|
448
580
|
}
|
|
449
581
|
interface RepoSource {
|
|
450
582
|
/** Regex matching branches to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax */
|
|
451
|
-
branchName?:
|
|
583
|
+
branchName?:
|
|
584
|
+
string;
|
|
452
585
|
/** Explicit commit SHA to build. */
|
|
453
|
-
commitSha?:
|
|
586
|
+
commitSha?:
|
|
587
|
+
string;
|
|
454
588
|
/**
|
|
455
589
|
* Directory, relative to the source root, in which to run the build. This must be a relative path. If a step's `dir` is specified and is an absolute path, this value is ignored for
|
|
456
590
|
* that step's execution. eg. helloworld (no leading slash allowed)
|
|
457
591
|
*/
|
|
458
|
-
dir?:
|
|
592
|
+
dir?:
|
|
593
|
+
string;
|
|
459
594
|
/** Only trigger a build if the revision regex does NOT match the revision regex. */
|
|
460
|
-
invertRegex?:
|
|
595
|
+
invertRegex?:
|
|
596
|
+
boolean;
|
|
461
597
|
/** ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed. */
|
|
462
|
-
projectId?:
|
|
598
|
+
projectId?:
|
|
599
|
+
string;
|
|
463
600
|
/** Name of the Cloud Source Repository. */
|
|
464
|
-
repoName?:
|
|
601
|
+
repoName?:
|
|
602
|
+
string;
|
|
465
603
|
/** Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax */
|
|
466
|
-
tagName?:
|
|
604
|
+
tagName?:
|
|
605
|
+
string;
|
|
467
606
|
}
|
|
468
607
|
interface Runtime {
|
|
469
608
|
/** The user facing name, eg 'Go 1.13', 'Node.js 12', etc. */
|
|
470
|
-
displayName?:
|
|
609
|
+
displayName?:
|
|
610
|
+
string;
|
|
471
611
|
/** The environment for the runtime. */
|
|
472
|
-
environment?:
|
|
612
|
+
environment?:
|
|
613
|
+
string;
|
|
473
614
|
/** The name of the runtime, e.g., 'go113', 'nodejs12', etc. */
|
|
474
|
-
name?:
|
|
615
|
+
name?:
|
|
616
|
+
string;
|
|
475
617
|
/** The stage of life this runtime is in, e.g., BETA, GA, etc. */
|
|
476
|
-
stage?:
|
|
618
|
+
stage?:
|
|
619
|
+
string;
|
|
477
620
|
/** Warning messages, e.g., a deprecation warning. */
|
|
478
|
-
warnings?:
|
|
621
|
+
warnings?:
|
|
622
|
+
string[];
|
|
479
623
|
}
|
|
480
624
|
interface SecretEnvVar {
|
|
481
625
|
/** Name of the environment variable. */
|
|
482
|
-
key?:
|
|
626
|
+
key?:
|
|
627
|
+
string;
|
|
483
628
|
/**
|
|
484
629
|
* Project identifier (preferably project number but can also be the project ID) of the project that contains the secret. If not set, it is assumed that the secret is in the same
|
|
485
630
|
* project as the function.
|
|
486
631
|
*/
|
|
487
|
-
projectId?:
|
|
632
|
+
projectId?:
|
|
633
|
+
string;
|
|
488
634
|
/** Name of the secret in secret manager (not the full resource name). */
|
|
489
|
-
secret?:
|
|
635
|
+
secret?:
|
|
636
|
+
string;
|
|
490
637
|
/**
|
|
491
638
|
* Version of the secret (version number or the string 'latest'). It is recommended to use a numeric version for secret environment variables as any updates to the secret value is not
|
|
492
639
|
* reflected until new instances start.
|
|
493
640
|
*/
|
|
494
|
-
version?:
|
|
641
|
+
version?:
|
|
642
|
+
string;
|
|
495
643
|
}
|
|
496
644
|
interface SecretVersion {
|
|
497
645
|
/**
|
|
498
646
|
* Relative path of the file under the mount path where the secret value for this version will be fetched and made available. For example, setting the mount_path as '/etc/secrets' and
|
|
499
647
|
* path as `secret_foo` would mount the secret value file at `/etc/secrets/secret_foo`.
|
|
500
648
|
*/
|
|
501
|
-
path?:
|
|
649
|
+
path?:
|
|
650
|
+
string;
|
|
502
651
|
/** Version of the secret (version number or the string 'latest'). It is preferable to use `latest` version with secret volumes as secret value changes are reflected immediately. */
|
|
503
|
-
version?:
|
|
652
|
+
version?:
|
|
653
|
+
string;
|
|
504
654
|
}
|
|
505
655
|
interface SecretVolume {
|
|
506
656
|
/**
|
|
507
657
|
* The path within the container to mount the secret volume. For example, setting the mount_path as `/etc/secrets` would mount the secret value files under the `/etc/secrets`
|
|
508
658
|
* directory. This directory will also be completely shadowed and unavailable to mount any other secrets. Recommended mount path: /etc/secrets
|
|
509
659
|
*/
|
|
510
|
-
mountPath?:
|
|
660
|
+
mountPath?:
|
|
661
|
+
string;
|
|
511
662
|
/**
|
|
512
663
|
* Project identifier (preferably project number but can also be the project ID) of the project that contains the secret. If not set, it is assumed that the secret is in the same
|
|
513
664
|
* project as the function.
|
|
514
665
|
*/
|
|
515
|
-
projectId?:
|
|
666
|
+
projectId?:
|
|
667
|
+
string;
|
|
516
668
|
/** Name of the secret in secret manager (not the full resource name). */
|
|
517
|
-
secret?:
|
|
669
|
+
secret?:
|
|
670
|
+
string;
|
|
518
671
|
/** List of secret versions to mount for this secret. If empty, the `latest` version of the secret will be made available in a file named after the secret under the mount point. */
|
|
519
|
-
versions?:
|
|
672
|
+
versions?:
|
|
673
|
+
SecretVersion[];
|
|
520
674
|
}
|
|
521
675
|
interface ServiceConfig {
|
|
522
676
|
/**
|
|
523
677
|
* Whether 100% of traffic is routed to the latest revision. On CreateFunction and UpdateFunction, when set to true, the revision being deployed will serve 100% of traffic, ignoring
|
|
524
678
|
* any traffic split settings, if any. On GetFunction, true will be returned if the latest revision is serving 100% of traffic.
|
|
525
679
|
*/
|
|
526
|
-
allTrafficOnLatestRevision?:
|
|
680
|
+
allTrafficOnLatestRevision?:
|
|
681
|
+
boolean;
|
|
527
682
|
/**
|
|
528
683
|
* [Preview] The number of CPUs used in a single container instance. Default value is calculated from available memory. Supports the same values as Cloud Run, see
|
|
529
684
|
* https://cloud.google.com/run/docs/reference/rest/v1/Container#resourcerequirements Example: "1" indicates 1 vCPU
|
|
530
685
|
*/
|
|
531
|
-
availableCpu?:
|
|
686
|
+
availableCpu?:
|
|
687
|
+
string;
|
|
532
688
|
/**
|
|
533
689
|
* The amount of memory available for a function. Defaults to 256M. Supported units are k, M, G, Mi, Gi. If no unit is supplied the value is interpreted as bytes. See
|
|
534
690
|
* https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go a full description.
|
|
535
691
|
*/
|
|
536
|
-
availableMemory?:
|
|
692
|
+
availableMemory?:
|
|
693
|
+
string;
|
|
537
694
|
/** Environment variables that shall be available during function execution. */
|
|
538
|
-
environmentVariables?:
|
|
695
|
+
environmentVariables?:
|
|
696
|
+
{ [P in string]: string };
|
|
539
697
|
/** The ingress settings for the function, controlling what traffic can reach it. */
|
|
540
|
-
ingressSettings?:
|
|
698
|
+
ingressSettings?:
|
|
699
|
+
string;
|
|
541
700
|
/**
|
|
542
701
|
* The limit on the maximum number of function instances that may coexist at a given time. In some cases, such as rapid traffic surges, Cloud Functions may, for a short period of time,
|
|
543
702
|
* create more instances than the specified max instances limit. If your function cannot tolerate this temporary behavior, you may want to factor in a safety margin and set a lower max
|
|
544
703
|
* instances value than your function can tolerate. See the [Max Instances](https://cloud.google.com/functions/docs/max-instances) Guide for more details.
|
|
545
704
|
*/
|
|
546
|
-
maxInstanceCount?:
|
|
705
|
+
maxInstanceCount?:
|
|
706
|
+
number;
|
|
547
707
|
/** [Preview] Sets the maximum number of concurrent requests that each instance can receive. Defaults to 1. */
|
|
548
|
-
maxInstanceRequestConcurrency?:
|
|
708
|
+
maxInstanceRequestConcurrency?:
|
|
709
|
+
number;
|
|
549
710
|
/**
|
|
550
711
|
* The limit on the minimum number of function instances that may coexist at a given time. Function instances are kept in idle state for a short period after they finished executing
|
|
551
712
|
* the request to reduce cold start time for subsequent requests. Setting a minimum instance count will ensure that the given number of instances are kept running in idle state always.
|
|
552
713
|
* This can help with cold start times when jump in incoming request count occurs after the idle instance would have been stopped in the default case.
|
|
553
714
|
*/
|
|
554
|
-
minInstanceCount?:
|
|
715
|
+
minInstanceCount?:
|
|
716
|
+
number;
|
|
555
717
|
/** Output only. The name of service revision. */
|
|
556
|
-
revision?:
|
|
718
|
+
revision?:
|
|
719
|
+
string;
|
|
557
720
|
/** Secret environment variables configuration. */
|
|
558
|
-
secretEnvironmentVariables?:
|
|
721
|
+
secretEnvironmentVariables?:
|
|
722
|
+
SecretEnvVar[];
|
|
559
723
|
/** Secret volumes configuration. */
|
|
560
|
-
secretVolumes?:
|
|
724
|
+
secretVolumes?:
|
|
725
|
+
SecretVolume[];
|
|
561
726
|
/**
|
|
562
727
|
* Security level configure whether the function only accepts https. This configuration is only applicable to 1st Gen functions with Http trigger. By default https is optional for 1st
|
|
563
728
|
* Gen functions; 2nd Gen functions are https ONLY.
|
|
564
729
|
*/
|
|
565
|
-
securityLevel?:
|
|
730
|
+
securityLevel?:
|
|
731
|
+
string;
|
|
566
732
|
/** Output only. Name of the service associated with a Function. The format of this field is `projects/{project}/locations/{region}/services/{service}` */
|
|
567
|
-
service?:
|
|
733
|
+
service?:
|
|
734
|
+
string;
|
|
568
735
|
/** The email of the service's service account. If empty, defaults to `{project_number}-compute@developer.gserviceaccount.com`. */
|
|
569
|
-
serviceAccountEmail?:
|
|
736
|
+
serviceAccountEmail?:
|
|
737
|
+
string;
|
|
570
738
|
/** The function execution timeout. Execution is considered failed and can be terminated if the function is not completed at the end of the timeout period. Defaults to 60 seconds. */
|
|
571
|
-
timeoutSeconds?:
|
|
739
|
+
timeoutSeconds?:
|
|
740
|
+
number;
|
|
572
741
|
/** Output only. URI of the Service deployed. */
|
|
573
|
-
uri?:
|
|
742
|
+
uri?:
|
|
743
|
+
string;
|
|
574
744
|
/** The Serverless VPC Access connector that this cloud function can connect to. The format of this field is `projects/*/locations/*/connectors/*`. */
|
|
575
|
-
vpcConnector?:
|
|
745
|
+
vpcConnector?:
|
|
746
|
+
string;
|
|
576
747
|
/** The egress settings for the connector, controlling what traffic is diverted through it. */
|
|
577
|
-
vpcConnectorEgressSettings?:
|
|
748
|
+
vpcConnectorEgressSettings?:
|
|
749
|
+
string;
|
|
578
750
|
}
|
|
579
751
|
interface SetIamPolicyRequest {
|
|
580
752
|
/**
|
|
581
753
|
* 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
|
|
582
754
|
* services (such as Projects) might reject them.
|
|
583
755
|
*/
|
|
584
|
-
policy?:
|
|
756
|
+
policy?:
|
|
757
|
+
Policy;
|
|
585
758
|
/**
|
|
586
759
|
* OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used:
|
|
587
760
|
* `paths: "bindings, etag"`
|
|
588
761
|
*/
|
|
589
|
-
updateMask?:
|
|
762
|
+
updateMask?:
|
|
763
|
+
string;
|
|
590
764
|
}
|
|
591
765
|
interface Source {
|
|
592
766
|
/** If provided, get the source from this location in a Cloud Source Repository. */
|
|
593
|
-
repoSource?:
|
|
767
|
+
repoSource?:
|
|
768
|
+
RepoSource;
|
|
594
769
|
/** If provided, get the source from this location in Google Cloud Storage. */
|
|
595
|
-
storageSource?:
|
|
770
|
+
storageSource?:
|
|
771
|
+
StorageSource;
|
|
596
772
|
}
|
|
597
773
|
interface SourceProvenance {
|
|
598
774
|
/** A copy of the build's `source.repo_source`, if exists, with any revisions resolved. */
|
|
599
|
-
resolvedRepoSource?:
|
|
775
|
+
resolvedRepoSource?:
|
|
776
|
+
RepoSource;
|
|
600
777
|
/** A copy of the build's `source.storage_source`, if exists, with any generations resolved. */
|
|
601
|
-
resolvedStorageSource?:
|
|
602
|
-
|
|
603
|
-
interface Stage {
|
|
604
|
-
/** Message describing the Stage */
|
|
605
|
-
message?: string;
|
|
606
|
-
/** Name of the Stage. This will be unique for each Stage. */
|
|
607
|
-
name?: string;
|
|
608
|
-
/** Resource of the Stage */
|
|
609
|
-
resource?: string;
|
|
610
|
-
/** Link to the current Stage resource */
|
|
611
|
-
resourceUri?: string;
|
|
612
|
-
/** Current state of the Stage */
|
|
613
|
-
state?: string;
|
|
614
|
-
/** State messages from the current Stage. */
|
|
615
|
-
stateMessages?: GoogleCloudFunctionsV2alphaStateMessage[];
|
|
778
|
+
resolvedStorageSource?:
|
|
779
|
+
StorageSource;
|
|
616
780
|
}
|
|
617
781
|
interface Status {
|
|
618
782
|
/** The status code, which should be an enum value of google.rpc.Code. */
|
|
619
|
-
code?:
|
|
783
|
+
code?:
|
|
784
|
+
number;
|
|
620
785
|
/** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
|
|
621
|
-
details?:
|
|
786
|
+
details?:
|
|
787
|
+
Array<{ [P in string]: any }>;
|
|
622
788
|
/**
|
|
623
789
|
* A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the
|
|
624
790
|
* client.
|
|
625
791
|
*/
|
|
626
|
-
message?:
|
|
792
|
+
message?:
|
|
793
|
+
string;
|
|
627
794
|
}
|
|
628
795
|
interface StorageSource {
|
|
629
796
|
/** Google Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). */
|
|
630
|
-
bucket?:
|
|
797
|
+
bucket?:
|
|
798
|
+
string;
|
|
631
799
|
/** Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used. */
|
|
632
|
-
generation?:
|
|
800
|
+
generation?:
|
|
801
|
+
string;
|
|
633
802
|
/** Google Cloud Storage object containing the source. This object must be a gzipped archive file (`.tar.gz`) containing source to build. */
|
|
634
|
-
object?:
|
|
803
|
+
object?:
|
|
804
|
+
string;
|
|
635
805
|
}
|
|
636
806
|
interface TestIamPermissionsRequest {
|
|
637
807
|
/**
|
|
638
808
|
* The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM
|
|
639
809
|
* Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
|
640
810
|
*/
|
|
641
|
-
permissions?:
|
|
811
|
+
permissions?:
|
|
812
|
+
string[];
|
|
642
813
|
}
|
|
643
814
|
interface TestIamPermissionsResponse {
|
|
644
815
|
/** A subset of `TestPermissionsRequest.permissions` that the caller is allowed. */
|
|
645
|
-
permissions?:
|
|
816
|
+
permissions?:
|
|
817
|
+
string[];
|
|
646
818
|
}
|
|
647
819
|
interface FunctionsResource {
|
|
648
820
|
/** Creates a new function. If a function with the given name already exists in the specified project, the long running operation will return `ALREADY_EXISTS` error. */
|
|
649
821
|
create(request: {
|
|
650
822
|
/** V1 error format. */
|
|
651
|
-
"$.xgafv"?:
|
|
823
|
+
"$.xgafv"?:
|
|
824
|
+
string;
|
|
652
825
|
/** OAuth access token. */
|
|
653
|
-
access_token?:
|
|
826
|
+
access_token?:
|
|
827
|
+
string;
|
|
654
828
|
/** Data format for response. */
|
|
655
|
-
alt?:
|
|
829
|
+
alt?:
|
|
830
|
+
string;
|
|
656
831
|
/** JSONP */
|
|
657
|
-
callback?:
|
|
832
|
+
callback?:
|
|
833
|
+
string;
|
|
658
834
|
/** Selector specifying which fields to include in a partial response. */
|
|
659
|
-
fields?:
|
|
835
|
+
fields?:
|
|
836
|
+
string;
|
|
660
837
|
/** The ID to use for the function, which will become the final component of the function's resource name. This value should be 4-63 characters, and valid characters are /a-z-/. */
|
|
661
|
-
functionId?:
|
|
838
|
+
functionId?:
|
|
839
|
+
string;
|
|
662
840
|
/** 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. */
|
|
663
|
-
key?:
|
|
841
|
+
key?:
|
|
842
|
+
string;
|
|
664
843
|
/** OAuth 2.0 token for the current user. */
|
|
665
|
-
oauth_token?:
|
|
844
|
+
oauth_token?:
|
|
845
|
+
string;
|
|
666
846
|
/** Required. The project and location in which the function should be created, specified in the format `projects/*/locations/*` */
|
|
667
|
-
parent:
|
|
847
|
+
parent:
|
|
848
|
+
string;
|
|
668
849
|
/** Returns response with indentations and line breaks. */
|
|
669
|
-
prettyPrint?:
|
|
850
|
+
prettyPrint?:
|
|
851
|
+
boolean;
|
|
670
852
|
/** 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. */
|
|
671
|
-
quotaUser?:
|
|
853
|
+
quotaUser?:
|
|
854
|
+
string;
|
|
672
855
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
673
|
-
upload_protocol?:
|
|
856
|
+
upload_protocol?:
|
|
857
|
+
string;
|
|
674
858
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
675
|
-
uploadType?:
|
|
859
|
+
uploadType?:
|
|
860
|
+
string;
|
|
676
861
|
/** Request body */
|
|
677
|
-
|
|
678
|
-
|
|
862
|
+
resource:
|
|
863
|
+
// tslint:disable-next-line:ban-types
|
|
864
|
+
Function;
|
|
679
865
|
}): Request<Operation>;
|
|
680
866
|
create(request: {
|
|
681
867
|
/** V1 error format. */
|
|
682
|
-
"$.xgafv"?:
|
|
868
|
+
"$.xgafv"?:
|
|
869
|
+
string;
|
|
683
870
|
/** OAuth access token. */
|
|
684
|
-
access_token?:
|
|
871
|
+
access_token?:
|
|
872
|
+
string;
|
|
685
873
|
/** Data format for response. */
|
|
686
|
-
alt?:
|
|
874
|
+
alt?:
|
|
875
|
+
string;
|
|
687
876
|
/** JSONP */
|
|
688
|
-
callback?:
|
|
877
|
+
callback?:
|
|
878
|
+
string;
|
|
689
879
|
/** Selector specifying which fields to include in a partial response. */
|
|
690
|
-
fields?:
|
|
880
|
+
fields?:
|
|
881
|
+
string;
|
|
691
882
|
/** The ID to use for the function, which will become the final component of the function's resource name. This value should be 4-63 characters, and valid characters are /a-z-/. */
|
|
692
|
-
functionId?:
|
|
883
|
+
functionId?:
|
|
884
|
+
string;
|
|
693
885
|
/** 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. */
|
|
694
|
-
key?:
|
|
886
|
+
key?:
|
|
887
|
+
string;
|
|
695
888
|
/** OAuth 2.0 token for the current user. */
|
|
696
|
-
oauth_token?:
|
|
889
|
+
oauth_token?:
|
|
890
|
+
string;
|
|
697
891
|
/** Required. The project and location in which the function should be created, specified in the format `projects/*/locations/*` */
|
|
698
|
-
parent:
|
|
892
|
+
parent:
|
|
893
|
+
string;
|
|
699
894
|
/** Returns response with indentations and line breaks. */
|
|
700
|
-
prettyPrint?:
|
|
895
|
+
prettyPrint?:
|
|
896
|
+
boolean;
|
|
701
897
|
/** 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. */
|
|
702
|
-
quotaUser?:
|
|
898
|
+
quotaUser?:
|
|
899
|
+
string;
|
|
703
900
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
704
|
-
upload_protocol?:
|
|
901
|
+
upload_protocol?:
|
|
902
|
+
string;
|
|
705
903
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
706
|
-
uploadType?:
|
|
904
|
+
uploadType?:
|
|
905
|
+
string;
|
|
707
906
|
},
|
|
708
907
|
// tslint:disable-next-line:ban-types
|
|
709
908
|
body: Function): Request<Operation>;
|
|
710
909
|
/** Deletes a function with the given name from the specified project. If the given function is used by some trigger, the trigger will be updated to remove this function. */
|
|
711
910
|
delete(request?: {
|
|
712
911
|
/** V1 error format. */
|
|
713
|
-
"$.xgafv"?:
|
|
912
|
+
"$.xgafv"?:
|
|
913
|
+
string;
|
|
714
914
|
/** OAuth access token. */
|
|
715
|
-
access_token?:
|
|
915
|
+
access_token?:
|
|
916
|
+
string;
|
|
716
917
|
/** Data format for response. */
|
|
717
|
-
alt?:
|
|
918
|
+
alt?:
|
|
919
|
+
string;
|
|
718
920
|
/** JSONP */
|
|
719
|
-
callback?:
|
|
921
|
+
callback?:
|
|
922
|
+
string;
|
|
720
923
|
/** Selector specifying which fields to include in a partial response. */
|
|
721
|
-
fields?:
|
|
924
|
+
fields?:
|
|
925
|
+
string;
|
|
722
926
|
/** 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. */
|
|
723
|
-
key?:
|
|
927
|
+
key?:
|
|
928
|
+
string;
|
|
724
929
|
/** Required. The name of the function which should be deleted. */
|
|
725
|
-
name:
|
|
930
|
+
name:
|
|
931
|
+
string;
|
|
726
932
|
/** OAuth 2.0 token for the current user. */
|
|
727
|
-
oauth_token?:
|
|
933
|
+
oauth_token?:
|
|
934
|
+
string;
|
|
728
935
|
/** Returns response with indentations and line breaks. */
|
|
729
|
-
prettyPrint?:
|
|
936
|
+
prettyPrint?:
|
|
937
|
+
boolean;
|
|
730
938
|
/** 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. */
|
|
731
|
-
quotaUser?:
|
|
939
|
+
quotaUser?:
|
|
940
|
+
string;
|
|
732
941
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
733
|
-
upload_protocol?:
|
|
942
|
+
upload_protocol?:
|
|
943
|
+
string;
|
|
734
944
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
735
|
-
uploadType?:
|
|
945
|
+
uploadType?:
|
|
946
|
+
string;
|
|
736
947
|
}): Request<Operation>;
|
|
737
948
|
/**
|
|
738
949
|
* Returns a signed URL for downloading deployed function source code. The URL is only valid for a limited period and should be used within 30 minutes of generation. For more
|
|
@@ -740,57 +951,82 @@ declare namespace gapi.client {
|
|
|
740
951
|
*/
|
|
741
952
|
generateDownloadUrl(request: {
|
|
742
953
|
/** V1 error format. */
|
|
743
|
-
"$.xgafv"?:
|
|
954
|
+
"$.xgafv"?:
|
|
955
|
+
string;
|
|
744
956
|
/** OAuth access token. */
|
|
745
|
-
access_token?:
|
|
957
|
+
access_token?:
|
|
958
|
+
string;
|
|
746
959
|
/** Data format for response. */
|
|
747
|
-
alt?:
|
|
960
|
+
alt?:
|
|
961
|
+
string;
|
|
748
962
|
/** JSONP */
|
|
749
|
-
callback?:
|
|
963
|
+
callback?:
|
|
964
|
+
string;
|
|
750
965
|
/** Selector specifying which fields to include in a partial response. */
|
|
751
|
-
fields?:
|
|
966
|
+
fields?:
|
|
967
|
+
string;
|
|
752
968
|
/** 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. */
|
|
753
|
-
key?:
|
|
969
|
+
key?:
|
|
970
|
+
string;
|
|
754
971
|
/** Required. The name of function for which source code Google Cloud Storage signed URL should be generated. */
|
|
755
|
-
name:
|
|
972
|
+
name:
|
|
973
|
+
string;
|
|
756
974
|
/** OAuth 2.0 token for the current user. */
|
|
757
|
-
oauth_token?:
|
|
975
|
+
oauth_token?:
|
|
976
|
+
string;
|
|
758
977
|
/** Returns response with indentations and line breaks. */
|
|
759
|
-
prettyPrint?:
|
|
978
|
+
prettyPrint?:
|
|
979
|
+
boolean;
|
|
760
980
|
/** 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. */
|
|
761
|
-
quotaUser?:
|
|
981
|
+
quotaUser?:
|
|
982
|
+
string;
|
|
762
983
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
763
|
-
upload_protocol?:
|
|
984
|
+
upload_protocol?:
|
|
985
|
+
string;
|
|
764
986
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
765
|
-
uploadType?:
|
|
987
|
+
uploadType?:
|
|
988
|
+
string;
|
|
766
989
|
/** Request body */
|
|
767
|
-
resource:
|
|
990
|
+
resource:
|
|
991
|
+
GenerateDownloadUrlRequest;
|
|
768
992
|
}): Request<GenerateDownloadUrlResponse>;
|
|
769
993
|
generateDownloadUrl(request: {
|
|
770
994
|
/** V1 error format. */
|
|
771
|
-
"$.xgafv"?:
|
|
995
|
+
"$.xgafv"?:
|
|
996
|
+
string;
|
|
772
997
|
/** OAuth access token. */
|
|
773
|
-
access_token?:
|
|
998
|
+
access_token?:
|
|
999
|
+
string;
|
|
774
1000
|
/** Data format for response. */
|
|
775
|
-
alt?:
|
|
1001
|
+
alt?:
|
|
1002
|
+
string;
|
|
776
1003
|
/** JSONP */
|
|
777
|
-
callback?:
|
|
1004
|
+
callback?:
|
|
1005
|
+
string;
|
|
778
1006
|
/** Selector specifying which fields to include in a partial response. */
|
|
779
|
-
fields?:
|
|
1007
|
+
fields?:
|
|
1008
|
+
string;
|
|
780
1009
|
/** 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. */
|
|
781
|
-
key?:
|
|
1010
|
+
key?:
|
|
1011
|
+
string;
|
|
782
1012
|
/** Required. The name of function for which source code Google Cloud Storage signed URL should be generated. */
|
|
783
|
-
name:
|
|
1013
|
+
name:
|
|
1014
|
+
string;
|
|
784
1015
|
/** OAuth 2.0 token for the current user. */
|
|
785
|
-
oauth_token?:
|
|
1016
|
+
oauth_token?:
|
|
1017
|
+
string;
|
|
786
1018
|
/** Returns response with indentations and line breaks. */
|
|
787
|
-
prettyPrint?:
|
|
1019
|
+
prettyPrint?:
|
|
1020
|
+
boolean;
|
|
788
1021
|
/** 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. */
|
|
789
|
-
quotaUser?:
|
|
1022
|
+
quotaUser?:
|
|
1023
|
+
string;
|
|
790
1024
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
791
|
-
upload_protocol?:
|
|
1025
|
+
upload_protocol?:
|
|
1026
|
+
string;
|
|
792
1027
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
793
|
-
uploadType?:
|
|
1028
|
+
uploadType?:
|
|
1029
|
+
string;
|
|
794
1030
|
},
|
|
795
1031
|
body: GenerateDownloadUrlRequest): Request<GenerateDownloadUrlResponse>;
|
|
796
1032
|
/**
|
|
@@ -803,104 +1039,148 @@ declare namespace gapi.client {
|
|
|
803
1039
|
*/
|
|
804
1040
|
generateUploadUrl(request: {
|
|
805
1041
|
/** V1 error format. */
|
|
806
|
-
"$.xgafv"?:
|
|
1042
|
+
"$.xgafv"?:
|
|
1043
|
+
string;
|
|
807
1044
|
/** OAuth access token. */
|
|
808
|
-
access_token?:
|
|
1045
|
+
access_token?:
|
|
1046
|
+
string;
|
|
809
1047
|
/** Data format for response. */
|
|
810
|
-
alt?:
|
|
1048
|
+
alt?:
|
|
1049
|
+
string;
|
|
811
1050
|
/** JSONP */
|
|
812
|
-
callback?:
|
|
1051
|
+
callback?:
|
|
1052
|
+
string;
|
|
813
1053
|
/** Selector specifying which fields to include in a partial response. */
|
|
814
|
-
fields?:
|
|
1054
|
+
fields?:
|
|
1055
|
+
string;
|
|
815
1056
|
/** 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. */
|
|
816
|
-
key?:
|
|
1057
|
+
key?:
|
|
1058
|
+
string;
|
|
817
1059
|
/** OAuth 2.0 token for the current user. */
|
|
818
|
-
oauth_token?:
|
|
1060
|
+
oauth_token?:
|
|
1061
|
+
string;
|
|
819
1062
|
/** Required. The project and location in which the Google Cloud Storage signed URL should be generated, specified in the format `projects/*/locations/*`. */
|
|
820
|
-
parent:
|
|
1063
|
+
parent:
|
|
1064
|
+
string;
|
|
821
1065
|
/** Returns response with indentations and line breaks. */
|
|
822
|
-
prettyPrint?:
|
|
1066
|
+
prettyPrint?:
|
|
1067
|
+
boolean;
|
|
823
1068
|
/** 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. */
|
|
824
|
-
quotaUser?:
|
|
1069
|
+
quotaUser?:
|
|
1070
|
+
string;
|
|
825
1071
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
826
|
-
upload_protocol?:
|
|
1072
|
+
upload_protocol?:
|
|
1073
|
+
string;
|
|
827
1074
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
828
|
-
uploadType?:
|
|
1075
|
+
uploadType?:
|
|
1076
|
+
string;
|
|
829
1077
|
/** Request body */
|
|
830
|
-
resource:
|
|
1078
|
+
resource:
|
|
1079
|
+
GenerateUploadUrlRequest;
|
|
831
1080
|
}): Request<GenerateUploadUrlResponse>;
|
|
832
1081
|
generateUploadUrl(request: {
|
|
833
1082
|
/** V1 error format. */
|
|
834
|
-
"$.xgafv"?:
|
|
1083
|
+
"$.xgafv"?:
|
|
1084
|
+
string;
|
|
835
1085
|
/** OAuth access token. */
|
|
836
|
-
access_token?:
|
|
1086
|
+
access_token?:
|
|
1087
|
+
string;
|
|
837
1088
|
/** Data format for response. */
|
|
838
|
-
alt?:
|
|
1089
|
+
alt?:
|
|
1090
|
+
string;
|
|
839
1091
|
/** JSONP */
|
|
840
|
-
callback?:
|
|
1092
|
+
callback?:
|
|
1093
|
+
string;
|
|
841
1094
|
/** Selector specifying which fields to include in a partial response. */
|
|
842
|
-
fields?:
|
|
1095
|
+
fields?:
|
|
1096
|
+
string;
|
|
843
1097
|
/** 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. */
|
|
844
|
-
key?:
|
|
1098
|
+
key?:
|
|
1099
|
+
string;
|
|
845
1100
|
/** OAuth 2.0 token for the current user. */
|
|
846
|
-
oauth_token?:
|
|
1101
|
+
oauth_token?:
|
|
1102
|
+
string;
|
|
847
1103
|
/** Required. The project and location in which the Google Cloud Storage signed URL should be generated, specified in the format `projects/*/locations/*`. */
|
|
848
|
-
parent:
|
|
1104
|
+
parent:
|
|
1105
|
+
string;
|
|
849
1106
|
/** Returns response with indentations and line breaks. */
|
|
850
|
-
prettyPrint?:
|
|
1107
|
+
prettyPrint?:
|
|
1108
|
+
boolean;
|
|
851
1109
|
/** 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. */
|
|
852
|
-
quotaUser?:
|
|
1110
|
+
quotaUser?:
|
|
1111
|
+
string;
|
|
853
1112
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
854
|
-
upload_protocol?:
|
|
1113
|
+
upload_protocol?:
|
|
1114
|
+
string;
|
|
855
1115
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
856
|
-
uploadType?:
|
|
1116
|
+
uploadType?:
|
|
1117
|
+
string;
|
|
857
1118
|
},
|
|
858
1119
|
body: GenerateUploadUrlRequest): Request<GenerateUploadUrlResponse>;
|
|
859
1120
|
/** Returns a function with the given name from the requested project. */
|
|
860
1121
|
get(request?: {
|
|
861
1122
|
/** V1 error format. */
|
|
862
|
-
"$.xgafv"?:
|
|
1123
|
+
"$.xgafv"?:
|
|
1124
|
+
string;
|
|
863
1125
|
/** OAuth access token. */
|
|
864
|
-
access_token?:
|
|
1126
|
+
access_token?:
|
|
1127
|
+
string;
|
|
865
1128
|
/** Data format for response. */
|
|
866
|
-
alt?:
|
|
1129
|
+
alt?:
|
|
1130
|
+
string;
|
|
867
1131
|
/** JSONP */
|
|
868
|
-
callback?:
|
|
1132
|
+
callback?:
|
|
1133
|
+
string;
|
|
869
1134
|
/** Selector specifying which fields to include in a partial response. */
|
|
870
|
-
fields?:
|
|
1135
|
+
fields?:
|
|
1136
|
+
string;
|
|
871
1137
|
/** 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. */
|
|
872
|
-
key?:
|
|
1138
|
+
key?:
|
|
1139
|
+
string;
|
|
873
1140
|
/** Required. The name of the function which details should be obtained. */
|
|
874
|
-
name:
|
|
1141
|
+
name:
|
|
1142
|
+
string;
|
|
875
1143
|
/** OAuth 2.0 token for the current user. */
|
|
876
|
-
oauth_token?:
|
|
1144
|
+
oauth_token?:
|
|
1145
|
+
string;
|
|
877
1146
|
/** Returns response with indentations and line breaks. */
|
|
878
|
-
prettyPrint?:
|
|
1147
|
+
prettyPrint?:
|
|
1148
|
+
boolean;
|
|
879
1149
|
/** 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. */
|
|
880
|
-
quotaUser?:
|
|
1150
|
+
quotaUser?:
|
|
1151
|
+
string;
|
|
881
1152
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
882
|
-
upload_protocol?:
|
|
1153
|
+
upload_protocol?:
|
|
1154
|
+
string;
|
|
883
1155
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
884
|
-
uploadType?:
|
|
1156
|
+
uploadType?:
|
|
1157
|
+
string;
|
|
885
1158
|
}
|
|
886
1159
|
// tslint:disable-next-line:ban-types
|
|
887
1160
|
): Request<Function>;
|
|
888
1161
|
/** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
|
|
889
1162
|
getIamPolicy(request?: {
|
|
890
1163
|
/** V1 error format. */
|
|
891
|
-
"$.xgafv"?:
|
|
1164
|
+
"$.xgafv"?:
|
|
1165
|
+
string;
|
|
892
1166
|
/** OAuth access token. */
|
|
893
|
-
access_token?:
|
|
1167
|
+
access_token?:
|
|
1168
|
+
string;
|
|
894
1169
|
/** Data format for response. */
|
|
895
|
-
alt?:
|
|
1170
|
+
alt?:
|
|
1171
|
+
string;
|
|
896
1172
|
/** JSONP */
|
|
897
|
-
callback?:
|
|
1173
|
+
callback?:
|
|
1174
|
+
string;
|
|
898
1175
|
/** Selector specifying which fields to include in a partial response. */
|
|
899
|
-
fields?:
|
|
1176
|
+
fields?:
|
|
1177
|
+
string;
|
|
900
1178
|
/** 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. */
|
|
901
|
-
key?:
|
|
1179
|
+
key?:
|
|
1180
|
+
string;
|
|
902
1181
|
/** OAuth 2.0 token for the current user. */
|
|
903
|
-
oauth_token?:
|
|
1182
|
+
oauth_token?:
|
|
1183
|
+
string;
|
|
904
1184
|
/**
|
|
905
1185
|
* 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
|
|
906
1186
|
* 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
|
|
@@ -908,157 +1188,218 @@ declare namespace gapi.client {
|
|
|
908
1188
|
* role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM
|
|
909
1189
|
* documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
910
1190
|
*/
|
|
911
|
-
"options.requestedPolicyVersion"?:
|
|
1191
|
+
"options.requestedPolicyVersion"?:
|
|
1192
|
+
number;
|
|
912
1193
|
/** Returns response with indentations and line breaks. */
|
|
913
|
-
prettyPrint?:
|
|
1194
|
+
prettyPrint?:
|
|
1195
|
+
boolean;
|
|
914
1196
|
/** 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. */
|
|
915
|
-
quotaUser?:
|
|
1197
|
+
quotaUser?:
|
|
1198
|
+
string;
|
|
916
1199
|
/**
|
|
917
1200
|
* 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
|
|
918
1201
|
* field.
|
|
919
1202
|
*/
|
|
920
|
-
resource:
|
|
1203
|
+
resource:
|
|
1204
|
+
string;
|
|
921
1205
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
922
|
-
upload_protocol?:
|
|
1206
|
+
upload_protocol?:
|
|
1207
|
+
string;
|
|
923
1208
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
924
|
-
uploadType?:
|
|
1209
|
+
uploadType?:
|
|
1210
|
+
string;
|
|
925
1211
|
}): Request<Policy>;
|
|
926
1212
|
/** Returns a list of functions that belong to the requested project. */
|
|
927
1213
|
list(request?: {
|
|
928
1214
|
/** V1 error format. */
|
|
929
|
-
"$.xgafv"?:
|
|
1215
|
+
"$.xgafv"?:
|
|
1216
|
+
string;
|
|
930
1217
|
/** OAuth access token. */
|
|
931
|
-
access_token?:
|
|
1218
|
+
access_token?:
|
|
1219
|
+
string;
|
|
932
1220
|
/** Data format for response. */
|
|
933
|
-
alt?:
|
|
1221
|
+
alt?:
|
|
1222
|
+
string;
|
|
934
1223
|
/** JSONP */
|
|
935
|
-
callback?:
|
|
1224
|
+
callback?:
|
|
1225
|
+
string;
|
|
936
1226
|
/** Selector specifying which fields to include in a partial response. */
|
|
937
|
-
fields?:
|
|
1227
|
+
fields?:
|
|
1228
|
+
string;
|
|
938
1229
|
/** The filter for Functions that match the filter expression, following the syntax outlined in https://google.aip.dev/160. */
|
|
939
|
-
filter?:
|
|
1230
|
+
filter?:
|
|
1231
|
+
string;
|
|
940
1232
|
/** 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. */
|
|
941
|
-
key?:
|
|
1233
|
+
key?:
|
|
1234
|
+
string;
|
|
942
1235
|
/** OAuth 2.0 token for the current user. */
|
|
943
|
-
oauth_token?:
|
|
1236
|
+
oauth_token?:
|
|
1237
|
+
string;
|
|
944
1238
|
/** The sorting order of the resources returned. Value should be a comma separated list of fields. The default sorting oder is ascending. See https://google.aip.dev/132#ordering. */
|
|
945
|
-
orderBy?:
|
|
1239
|
+
orderBy?:
|
|
1240
|
+
string;
|
|
946
1241
|
/**
|
|
947
1242
|
* Maximum number of functions to return per call. The largest allowed page_size is 1,000, if the page_size is omitted or specified as greater than 1,000 then it will be replaced
|
|
948
1243
|
* as 1,000. The size of the list response can be less than specified when used with filters.
|
|
949
1244
|
*/
|
|
950
|
-
pageSize?:
|
|
1245
|
+
pageSize?:
|
|
1246
|
+
number;
|
|
951
1247
|
/**
|
|
952
1248
|
* The value returned by the last `ListFunctionsResponse`; indicates that this is a continuation of a prior `ListFunctions` call, and that the system should return the next page of
|
|
953
1249
|
* data.
|
|
954
1250
|
*/
|
|
955
|
-
pageToken?:
|
|
1251
|
+
pageToken?:
|
|
1252
|
+
string;
|
|
956
1253
|
/**
|
|
957
1254
|
* Required. The project and location from which the function should be listed, specified in the format `projects/*/locations/*` If you want to list functions in all locations,
|
|
958
1255
|
* use "-" in place of a location. When listing functions in all locations, if one or more location(s) are unreachable, the response will contain functions from all reachable
|
|
959
1256
|
* locations along with the names of any unreachable locations.
|
|
960
1257
|
*/
|
|
961
|
-
parent:
|
|
1258
|
+
parent:
|
|
1259
|
+
string;
|
|
962
1260
|
/** Returns response with indentations and line breaks. */
|
|
963
|
-
prettyPrint?:
|
|
1261
|
+
prettyPrint?:
|
|
1262
|
+
boolean;
|
|
964
1263
|
/** 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. */
|
|
965
|
-
quotaUser?:
|
|
1264
|
+
quotaUser?:
|
|
1265
|
+
string;
|
|
966
1266
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
967
|
-
upload_protocol?:
|
|
1267
|
+
upload_protocol?:
|
|
1268
|
+
string;
|
|
968
1269
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
969
|
-
uploadType?:
|
|
1270
|
+
uploadType?:
|
|
1271
|
+
string;
|
|
970
1272
|
}): Request<ListFunctionsResponse>;
|
|
971
1273
|
/** Updates existing function. */
|
|
972
1274
|
patch(request: {
|
|
973
1275
|
/** V1 error format. */
|
|
974
|
-
"$.xgafv"?:
|
|
1276
|
+
"$.xgafv"?:
|
|
1277
|
+
string;
|
|
975
1278
|
/** OAuth access token. */
|
|
976
|
-
access_token?:
|
|
1279
|
+
access_token?:
|
|
1280
|
+
string;
|
|
977
1281
|
/** Data format for response. */
|
|
978
|
-
alt?:
|
|
1282
|
+
alt?:
|
|
1283
|
+
string;
|
|
979
1284
|
/** JSONP */
|
|
980
|
-
callback?:
|
|
1285
|
+
callback?:
|
|
1286
|
+
string;
|
|
981
1287
|
/** Selector specifying which fields to include in a partial response. */
|
|
982
|
-
fields?:
|
|
1288
|
+
fields?:
|
|
1289
|
+
string;
|
|
983
1290
|
/** 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. */
|
|
984
|
-
key?:
|
|
1291
|
+
key?:
|
|
1292
|
+
string;
|
|
985
1293
|
/** A user-defined name of the function. Function names must be unique globally and match pattern `projects/*/locations/*/functions/*` */
|
|
986
|
-
name:
|
|
1294
|
+
name:
|
|
1295
|
+
string;
|
|
987
1296
|
/** OAuth 2.0 token for the current user. */
|
|
988
|
-
oauth_token?:
|
|
1297
|
+
oauth_token?:
|
|
1298
|
+
string;
|
|
989
1299
|
/** Returns response with indentations and line breaks. */
|
|
990
|
-
prettyPrint?:
|
|
1300
|
+
prettyPrint?:
|
|
1301
|
+
boolean;
|
|
991
1302
|
/** 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. */
|
|
992
|
-
quotaUser?:
|
|
1303
|
+
quotaUser?:
|
|
1304
|
+
string;
|
|
993
1305
|
/** The list of fields to be updated. If no field mask is provided, all provided fields in the request will be updated. */
|
|
994
|
-
updateMask?:
|
|
1306
|
+
updateMask?:
|
|
1307
|
+
string;
|
|
995
1308
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
996
|
-
upload_protocol?:
|
|
1309
|
+
upload_protocol?:
|
|
1310
|
+
string;
|
|
997
1311
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
998
|
-
uploadType?:
|
|
1312
|
+
uploadType?:
|
|
1313
|
+
string;
|
|
999
1314
|
/** Request body */
|
|
1000
|
-
|
|
1001
|
-
|
|
1315
|
+
resource:
|
|
1316
|
+
// tslint:disable-next-line:ban-types
|
|
1317
|
+
Function;
|
|
1002
1318
|
}): Request<Operation>;
|
|
1003
1319
|
patch(request: {
|
|
1004
1320
|
/** V1 error format. */
|
|
1005
|
-
"$.xgafv"?:
|
|
1321
|
+
"$.xgafv"?:
|
|
1322
|
+
string;
|
|
1006
1323
|
/** OAuth access token. */
|
|
1007
|
-
access_token?:
|
|
1324
|
+
access_token?:
|
|
1325
|
+
string;
|
|
1008
1326
|
/** Data format for response. */
|
|
1009
|
-
alt?:
|
|
1327
|
+
alt?:
|
|
1328
|
+
string;
|
|
1010
1329
|
/** JSONP */
|
|
1011
|
-
callback?:
|
|
1330
|
+
callback?:
|
|
1331
|
+
string;
|
|
1012
1332
|
/** Selector specifying which fields to include in a partial response. */
|
|
1013
|
-
fields?:
|
|
1333
|
+
fields?:
|
|
1334
|
+
string;
|
|
1014
1335
|
/** 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. */
|
|
1015
|
-
key?:
|
|
1336
|
+
key?:
|
|
1337
|
+
string;
|
|
1016
1338
|
/** A user-defined name of the function. Function names must be unique globally and match pattern `projects/*/locations/*/functions/*` */
|
|
1017
|
-
name:
|
|
1339
|
+
name:
|
|
1340
|
+
string;
|
|
1018
1341
|
/** OAuth 2.0 token for the current user. */
|
|
1019
|
-
oauth_token?:
|
|
1342
|
+
oauth_token?:
|
|
1343
|
+
string;
|
|
1020
1344
|
/** Returns response with indentations and line breaks. */
|
|
1021
|
-
prettyPrint?:
|
|
1345
|
+
prettyPrint?:
|
|
1346
|
+
boolean;
|
|
1022
1347
|
/** 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. */
|
|
1023
|
-
quotaUser?:
|
|
1348
|
+
quotaUser?:
|
|
1349
|
+
string;
|
|
1024
1350
|
/** The list of fields to be updated. If no field mask is provided, all provided fields in the request will be updated. */
|
|
1025
|
-
updateMask?:
|
|
1351
|
+
updateMask?:
|
|
1352
|
+
string;
|
|
1026
1353
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1027
|
-
upload_protocol?:
|
|
1354
|
+
upload_protocol?:
|
|
1355
|
+
string;
|
|
1028
1356
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1029
|
-
uploadType?:
|
|
1357
|
+
uploadType?:
|
|
1358
|
+
string;
|
|
1030
1359
|
},
|
|
1031
1360
|
// tslint:disable-next-line:ban-types
|
|
1032
1361
|
body: Function): Request<Operation>;
|
|
1033
1362
|
/** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
|
|
1034
1363
|
setIamPolicy(request: {
|
|
1035
1364
|
/** V1 error format. */
|
|
1036
|
-
"$.xgafv"?:
|
|
1365
|
+
"$.xgafv"?:
|
|
1366
|
+
string;
|
|
1037
1367
|
/** OAuth access token. */
|
|
1038
|
-
access_token?:
|
|
1368
|
+
access_token?:
|
|
1369
|
+
string;
|
|
1039
1370
|
/** Data format for response. */
|
|
1040
|
-
alt?:
|
|
1371
|
+
alt?:
|
|
1372
|
+
string;
|
|
1041
1373
|
/** JSONP */
|
|
1042
|
-
callback?:
|
|
1374
|
+
callback?:
|
|
1375
|
+
string;
|
|
1043
1376
|
/** Selector specifying which fields to include in a partial response. */
|
|
1044
|
-
fields?:
|
|
1377
|
+
fields?:
|
|
1378
|
+
string;
|
|
1045
1379
|
/** 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. */
|
|
1046
|
-
key?:
|
|
1380
|
+
key?:
|
|
1381
|
+
string;
|
|
1047
1382
|
/** OAuth 2.0 token for the current user. */
|
|
1048
|
-
oauth_token?:
|
|
1383
|
+
oauth_token?:
|
|
1384
|
+
string;
|
|
1049
1385
|
/** Returns response with indentations and line breaks. */
|
|
1050
|
-
prettyPrint?:
|
|
1386
|
+
prettyPrint?:
|
|
1387
|
+
boolean;
|
|
1051
1388
|
/** 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. */
|
|
1052
|
-
quotaUser?:
|
|
1389
|
+
quotaUser?:
|
|
1390
|
+
string;
|
|
1053
1391
|
/**
|
|
1054
1392
|
* 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
|
|
1055
1393
|
* field.
|
|
1056
1394
|
*/
|
|
1057
|
-
resource:
|
|
1395
|
+
resource:
|
|
1396
|
+
string;
|
|
1058
1397
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1059
|
-
upload_protocol?:
|
|
1398
|
+
upload_protocol?:
|
|
1399
|
+
string;
|
|
1060
1400
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1061
|
-
uploadType?:
|
|
1401
|
+
uploadType?:
|
|
1402
|
+
string;
|
|
1062
1403
|
},
|
|
1063
1404
|
body: SetIamPolicyRequest): Request<Policy>;
|
|
1064
1405
|
/**
|
|
@@ -1067,32 +1408,44 @@ declare namespace gapi.client {
|
|
|
1067
1408
|
*/
|
|
1068
1409
|
testIamPermissions(request: {
|
|
1069
1410
|
/** V1 error format. */
|
|
1070
|
-
"$.xgafv"?:
|
|
1411
|
+
"$.xgafv"?:
|
|
1412
|
+
string;
|
|
1071
1413
|
/** OAuth access token. */
|
|
1072
|
-
access_token?:
|
|
1414
|
+
access_token?:
|
|
1415
|
+
string;
|
|
1073
1416
|
/** Data format for response. */
|
|
1074
|
-
alt?:
|
|
1417
|
+
alt?:
|
|
1418
|
+
string;
|
|
1075
1419
|
/** JSONP */
|
|
1076
|
-
callback?:
|
|
1420
|
+
callback?:
|
|
1421
|
+
string;
|
|
1077
1422
|
/** Selector specifying which fields to include in a partial response. */
|
|
1078
|
-
fields?:
|
|
1423
|
+
fields?:
|
|
1424
|
+
string;
|
|
1079
1425
|
/** 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. */
|
|
1080
|
-
key?:
|
|
1426
|
+
key?:
|
|
1427
|
+
string;
|
|
1081
1428
|
/** OAuth 2.0 token for the current user. */
|
|
1082
|
-
oauth_token?:
|
|
1429
|
+
oauth_token?:
|
|
1430
|
+
string;
|
|
1083
1431
|
/** Returns response with indentations and line breaks. */
|
|
1084
|
-
prettyPrint?:
|
|
1432
|
+
prettyPrint?:
|
|
1433
|
+
boolean;
|
|
1085
1434
|
/** 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. */
|
|
1086
|
-
quotaUser?:
|
|
1435
|
+
quotaUser?:
|
|
1436
|
+
string;
|
|
1087
1437
|
/**
|
|
1088
1438
|
* 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
|
|
1089
1439
|
* this field.
|
|
1090
1440
|
*/
|
|
1091
|
-
resource:
|
|
1441
|
+
resource:
|
|
1442
|
+
string;
|
|
1092
1443
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1093
|
-
upload_protocol?:
|
|
1444
|
+
upload_protocol?:
|
|
1445
|
+
string;
|
|
1094
1446
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1095
|
-
uploadType?:
|
|
1447
|
+
uploadType?:
|
|
1448
|
+
string;
|
|
1096
1449
|
},
|
|
1097
1450
|
body: TestIamPermissionsRequest): Request<TestIamPermissionsResponse>;
|
|
1098
1451
|
}
|
|
@@ -1100,144 +1453,203 @@ declare namespace gapi.client {
|
|
|
1100
1453
|
/** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
|
|
1101
1454
|
get(request?: {
|
|
1102
1455
|
/** V1 error format. */
|
|
1103
|
-
"$.xgafv"?:
|
|
1456
|
+
"$.xgafv"?:
|
|
1457
|
+
string;
|
|
1104
1458
|
/** OAuth access token. */
|
|
1105
|
-
access_token?:
|
|
1459
|
+
access_token?:
|
|
1460
|
+
string;
|
|
1106
1461
|
/** Data format for response. */
|
|
1107
|
-
alt?:
|
|
1462
|
+
alt?:
|
|
1463
|
+
string;
|
|
1108
1464
|
/** JSONP */
|
|
1109
|
-
callback?:
|
|
1465
|
+
callback?:
|
|
1466
|
+
string;
|
|
1110
1467
|
/** Selector specifying which fields to include in a partial response. */
|
|
1111
|
-
fields?:
|
|
1468
|
+
fields?:
|
|
1469
|
+
string;
|
|
1112
1470
|
/** 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. */
|
|
1113
|
-
key?:
|
|
1471
|
+
key?:
|
|
1472
|
+
string;
|
|
1114
1473
|
/** The name of the operation resource. */
|
|
1115
|
-
name:
|
|
1474
|
+
name:
|
|
1475
|
+
string;
|
|
1116
1476
|
/** OAuth 2.0 token for the current user. */
|
|
1117
|
-
oauth_token?:
|
|
1477
|
+
oauth_token?:
|
|
1478
|
+
string;
|
|
1118
1479
|
/** Returns response with indentations and line breaks. */
|
|
1119
|
-
prettyPrint?:
|
|
1480
|
+
prettyPrint?:
|
|
1481
|
+
boolean;
|
|
1120
1482
|
/** 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. */
|
|
1121
|
-
quotaUser?:
|
|
1483
|
+
quotaUser?:
|
|
1484
|
+
string;
|
|
1122
1485
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1123
|
-
upload_protocol?:
|
|
1486
|
+
upload_protocol?:
|
|
1487
|
+
string;
|
|
1124
1488
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1125
|
-
uploadType?:
|
|
1489
|
+
uploadType?:
|
|
1490
|
+
string;
|
|
1126
1491
|
}): Request<Operation>;
|
|
1127
1492
|
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
|
|
1128
1493
|
list(request?: {
|
|
1129
1494
|
/** V1 error format. */
|
|
1130
|
-
"$.xgafv"?:
|
|
1495
|
+
"$.xgafv"?:
|
|
1496
|
+
string;
|
|
1131
1497
|
/** OAuth access token. */
|
|
1132
|
-
access_token?:
|
|
1498
|
+
access_token?:
|
|
1499
|
+
string;
|
|
1133
1500
|
/** Data format for response. */
|
|
1134
|
-
alt?:
|
|
1501
|
+
alt?:
|
|
1502
|
+
string;
|
|
1135
1503
|
/** JSONP */
|
|
1136
|
-
callback?:
|
|
1504
|
+
callback?:
|
|
1505
|
+
string;
|
|
1137
1506
|
/** Selector specifying which fields to include in a partial response. */
|
|
1138
|
-
fields?:
|
|
1507
|
+
fields?:
|
|
1508
|
+
string;
|
|
1139
1509
|
/**
|
|
1140
1510
|
* Required. A filter for matching the requested operations. The supported formats of *filter* are: To query for a specific function: project:*,location:*,function:* To query for
|
|
1141
1511
|
* all of the latest operations for a project: project:*,latest:true
|
|
1142
1512
|
*/
|
|
1143
|
-
filter?:
|
|
1513
|
+
filter?:
|
|
1514
|
+
string;
|
|
1144
1515
|
/** 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. */
|
|
1145
|
-
key?:
|
|
1516
|
+
key?:
|
|
1517
|
+
string;
|
|
1146
1518
|
/** Must not be set. */
|
|
1147
|
-
name:
|
|
1519
|
+
name:
|
|
1520
|
+
string;
|
|
1148
1521
|
/** OAuth 2.0 token for the current user. */
|
|
1149
|
-
oauth_token?:
|
|
1522
|
+
oauth_token?:
|
|
1523
|
+
string;
|
|
1150
1524
|
/**
|
|
1151
1525
|
* The maximum number of records that should be returned. Requested page size cannot exceed 100. If not set, the default page size is 100. Pagination is only supported when
|
|
1152
1526
|
* querying for a specific function.
|
|
1153
1527
|
*/
|
|
1154
|
-
pageSize?:
|
|
1528
|
+
pageSize?:
|
|
1529
|
+
number;
|
|
1155
1530
|
/** Token identifying which result to start with, which is returned by a previous list call. Pagination is only supported when querying for a specific function. */
|
|
1156
|
-
pageToken?:
|
|
1531
|
+
pageToken?:
|
|
1532
|
+
string;
|
|
1157
1533
|
/** Returns response with indentations and line breaks. */
|
|
1158
|
-
prettyPrint?:
|
|
1534
|
+
prettyPrint?:
|
|
1535
|
+
boolean;
|
|
1159
1536
|
/** 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. */
|
|
1160
|
-
quotaUser?:
|
|
1537
|
+
quotaUser?:
|
|
1538
|
+
string;
|
|
1161
1539
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1162
|
-
upload_protocol?:
|
|
1540
|
+
upload_protocol?:
|
|
1541
|
+
string;
|
|
1163
1542
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1164
|
-
uploadType?:
|
|
1543
|
+
uploadType?:
|
|
1544
|
+
string;
|
|
1165
1545
|
}): Request<ListOperationsResponse>;
|
|
1166
1546
|
}
|
|
1167
1547
|
interface RuntimesResource {
|
|
1168
1548
|
/** Returns a list of runtimes that are supported for the requested project. */
|
|
1169
1549
|
list(request?: {
|
|
1170
1550
|
/** V1 error format. */
|
|
1171
|
-
"$.xgafv"?:
|
|
1551
|
+
"$.xgafv"?:
|
|
1552
|
+
string;
|
|
1172
1553
|
/** OAuth access token. */
|
|
1173
|
-
access_token?:
|
|
1554
|
+
access_token?:
|
|
1555
|
+
string;
|
|
1174
1556
|
/** Data format for response. */
|
|
1175
|
-
alt?:
|
|
1557
|
+
alt?:
|
|
1558
|
+
string;
|
|
1176
1559
|
/** JSONP */
|
|
1177
|
-
callback?:
|
|
1560
|
+
callback?:
|
|
1561
|
+
string;
|
|
1178
1562
|
/** Selector specifying which fields to include in a partial response. */
|
|
1179
|
-
fields?:
|
|
1563
|
+
fields?:
|
|
1564
|
+
string;
|
|
1180
1565
|
/** The filter for Runtimes that match the filter expression, following the syntax outlined in https://google.aip.dev/160. */
|
|
1181
|
-
filter?:
|
|
1566
|
+
filter?:
|
|
1567
|
+
string;
|
|
1182
1568
|
/** 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. */
|
|
1183
|
-
key?:
|
|
1569
|
+
key?:
|
|
1570
|
+
string;
|
|
1184
1571
|
/** OAuth 2.0 token for the current user. */
|
|
1185
|
-
oauth_token?:
|
|
1572
|
+
oauth_token?:
|
|
1573
|
+
string;
|
|
1186
1574
|
/** Required. The project and location from which the runtimes should be listed, specified in the format `projects/*/locations/*` */
|
|
1187
|
-
parent:
|
|
1575
|
+
parent:
|
|
1576
|
+
string;
|
|
1188
1577
|
/** Returns response with indentations and line breaks. */
|
|
1189
|
-
prettyPrint?:
|
|
1578
|
+
prettyPrint?:
|
|
1579
|
+
boolean;
|
|
1190
1580
|
/** 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. */
|
|
1191
|
-
quotaUser?:
|
|
1581
|
+
quotaUser?:
|
|
1582
|
+
string;
|
|
1192
1583
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1193
|
-
upload_protocol?:
|
|
1584
|
+
upload_protocol?:
|
|
1585
|
+
string;
|
|
1194
1586
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1195
|
-
uploadType?:
|
|
1587
|
+
uploadType?:
|
|
1588
|
+
string;
|
|
1196
1589
|
}): Request<ListRuntimesResponse>;
|
|
1197
1590
|
}
|
|
1198
1591
|
interface LocationsResource {
|
|
1199
1592
|
/** Lists information about the supported locations for this service. */
|
|
1200
1593
|
list(request?: {
|
|
1201
1594
|
/** V1 error format. */
|
|
1202
|
-
"$.xgafv"?:
|
|
1595
|
+
"$.xgafv"?:
|
|
1596
|
+
string;
|
|
1203
1597
|
/** OAuth access token. */
|
|
1204
|
-
access_token?:
|
|
1598
|
+
access_token?:
|
|
1599
|
+
string;
|
|
1205
1600
|
/** Data format for response. */
|
|
1206
|
-
alt?:
|
|
1601
|
+
alt?:
|
|
1602
|
+
string;
|
|
1207
1603
|
/** JSONP */
|
|
1208
|
-
callback?:
|
|
1604
|
+
callback?:
|
|
1605
|
+
string;
|
|
1209
1606
|
/** Selector specifying which fields to include in a partial response. */
|
|
1210
|
-
fields?:
|
|
1607
|
+
fields?:
|
|
1608
|
+
string;
|
|
1211
1609
|
/**
|
|
1212
1610
|
* A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in
|
|
1213
1611
|
* [AIP-160](https://google.aip.dev/160).
|
|
1214
1612
|
*/
|
|
1215
|
-
filter?:
|
|
1613
|
+
filter?:
|
|
1614
|
+
string;
|
|
1216
1615
|
/** 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. */
|
|
1217
|
-
key?:
|
|
1616
|
+
key?:
|
|
1617
|
+
string;
|
|
1218
1618
|
/** The resource that owns the locations collection, if applicable. */
|
|
1219
|
-
name:
|
|
1619
|
+
name:
|
|
1620
|
+
string;
|
|
1220
1621
|
/** OAuth 2.0 token for the current user. */
|
|
1221
|
-
oauth_token?:
|
|
1622
|
+
oauth_token?:
|
|
1623
|
+
string;
|
|
1222
1624
|
/** The maximum number of results to return. If not set, the service selects a default. */
|
|
1223
|
-
pageSize?:
|
|
1625
|
+
pageSize?:
|
|
1626
|
+
number;
|
|
1224
1627
|
/** A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page. */
|
|
1225
|
-
pageToken?:
|
|
1628
|
+
pageToken?:
|
|
1629
|
+
string;
|
|
1226
1630
|
/** Returns response with indentations and line breaks. */
|
|
1227
|
-
prettyPrint?:
|
|
1631
|
+
prettyPrint?:
|
|
1632
|
+
boolean;
|
|
1228
1633
|
/** 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. */
|
|
1229
|
-
quotaUser?:
|
|
1634
|
+
quotaUser?:
|
|
1635
|
+
string;
|
|
1230
1636
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1231
|
-
upload_protocol?:
|
|
1637
|
+
upload_protocol?:
|
|
1638
|
+
string;
|
|
1232
1639
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1233
|
-
uploadType?:
|
|
1640
|
+
uploadType?:
|
|
1641
|
+
string;
|
|
1234
1642
|
}): Request<ListLocationsResponse>;
|
|
1235
|
-
functions:
|
|
1236
|
-
|
|
1237
|
-
|
|
1643
|
+
functions:
|
|
1644
|
+
FunctionsResource;
|
|
1645
|
+
operations:
|
|
1646
|
+
OperationsResource;
|
|
1647
|
+
runtimes:
|
|
1648
|
+
RuntimesResource;
|
|
1238
1649
|
}
|
|
1239
1650
|
interface ProjectsResource {
|
|
1240
|
-
locations:
|
|
1651
|
+
locations:
|
|
1652
|
+
LocationsResource;
|
|
1241
1653
|
}
|
|
1242
1654
|
|
|
1243
1655
|
const projects: ProjectsResource;
|