@maxim_mazurok/gapi.client.cloudfunctions-v1 0.0.20230420 → 0.0.20230504
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 +816 -409
- 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=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230504
|
|
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,65 +65,84 @@ 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 CallFunctionRequest {
|
|
68
75
|
/** Required. Input to be passed to the function. */
|
|
69
|
-
data?:
|
|
76
|
+
data?:
|
|
77
|
+
string;
|
|
70
78
|
}
|
|
71
79
|
interface CallFunctionResponse {
|
|
72
80
|
/** Either system or user-function generated error. Set if execution was not successful. */
|
|
73
|
-
error?:
|
|
81
|
+
error?:
|
|
82
|
+
string;
|
|
74
83
|
/** Execution id of function invocation. */
|
|
75
|
-
executionId?:
|
|
84
|
+
executionId?:
|
|
85
|
+
string;
|
|
76
86
|
/** Result populated for successful execution of synchronous function. Will not be populated if function does not return a result through context. */
|
|
77
|
-
result?:
|
|
87
|
+
result?:
|
|
88
|
+
string;
|
|
78
89
|
}
|
|
79
90
|
interface CloudFunction {
|
|
80
91
|
/** The amount of memory in MB available for a function. Defaults to 256MB. */
|
|
81
|
-
availableMemoryMb?:
|
|
92
|
+
availableMemoryMb?:
|
|
93
|
+
number;
|
|
82
94
|
/** Build environment variables that shall be available during build time. */
|
|
83
|
-
buildEnvironmentVariables?:
|
|
95
|
+
buildEnvironmentVariables?:
|
|
96
|
+
{ [P in string]: string };
|
|
84
97
|
/** Output only. The Cloud Build ID of the latest successful deployment of the function. */
|
|
85
|
-
buildId?:
|
|
98
|
+
buildId?:
|
|
99
|
+
string;
|
|
86
100
|
/** Output only. The Cloud Build Name of the function deployment. `projects//locations//builds/`. */
|
|
87
|
-
buildName?:
|
|
101
|
+
buildName?:
|
|
102
|
+
string;
|
|
88
103
|
/**
|
|
89
104
|
* 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}`
|
|
90
105
|
* 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
|
|
91
106
|
* id is 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
|
|
92
107
|
* Builder (`roles/cloudbuild.customworkers.builder`) in the project.
|
|
93
108
|
*/
|
|
94
|
-
buildWorkerPool?:
|
|
109
|
+
buildWorkerPool?:
|
|
110
|
+
string;
|
|
95
111
|
/** User-provided description of a function. */
|
|
96
|
-
description?:
|
|
112
|
+
description?:
|
|
113
|
+
string;
|
|
97
114
|
/**
|
|
98
115
|
* Docker Registry to use for this deployment. If `docker_repository` field is specified, this field will be automatically set as `ARTIFACT_REGISTRY`. If unspecified, it currently
|
|
99
116
|
* defaults to `CONTAINER_REGISTRY`. This field may be overridden by the backend for eligible deployments.
|
|
100
117
|
*/
|
|
101
|
-
dockerRegistry?:
|
|
118
|
+
dockerRegistry?:
|
|
119
|
+
string;
|
|
102
120
|
/**
|
|
103
121
|
* User managed repository created in Artifact Registry optionally with a customer managed encryption key. If specified, deployments will use Artifact Registry. If unspecified and the
|
|
104
122
|
* deployment is eligible to use Artifact Registry, GCF will create and use a repository named 'gcf-artifacts' for every deployed region. This is the repository to which the function
|
|
105
123
|
* docker image will be pushed after it is built by Cloud Build. It must match the pattern `projects/{project}/locations/{location}/repositories/{repository}`. Cross-project
|
|
106
124
|
* repositories are not supported. Cross-location repositories are not supported. Repository format must be 'DOCKER'.
|
|
107
125
|
*/
|
|
108
|
-
dockerRepository?:
|
|
126
|
+
dockerRepository?:
|
|
127
|
+
string;
|
|
109
128
|
/**
|
|
110
129
|
* 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
|
|
111
130
|
* 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`.
|
|
112
131
|
*/
|
|
113
|
-
entryPoint?:
|
|
132
|
+
entryPoint?:
|
|
133
|
+
string;
|
|
114
134
|
/** Environment variables that shall be available during function execution. */
|
|
115
|
-
environmentVariables?:
|
|
135
|
+
environmentVariables?:
|
|
136
|
+
{ [P in string]: string };
|
|
116
137
|
/** A source that fires events in response to a condition in another service. */
|
|
117
|
-
eventTrigger?:
|
|
138
|
+
eventTrigger?:
|
|
139
|
+
EventTrigger;
|
|
118
140
|
/** An HTTPS endpoint type of source that can be triggered via URL. */
|
|
119
|
-
httpsTrigger?:
|
|
141
|
+
httpsTrigger?:
|
|
142
|
+
HttpsTrigger;
|
|
120
143
|
/** The ingress settings for the function, controlling what traffic can reach it. */
|
|
121
|
-
ingressSettings?:
|
|
144
|
+
ingressSettings?:
|
|
145
|
+
string;
|
|
122
146
|
/**
|
|
123
147
|
* Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt function resources. It must match the pattern
|
|
124
148
|
* `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`. If specified, you must also provide an artifact registry repository using the
|
|
@@ -130,19 +154,24 @@ declare namespace gapi.client {
|
|
|
130
154
|
* https://cloud.google.com/storage/docs/getting-service-agent#gsutil. Google Cloud Functions delegates access to service agents to protect function resources in internal projects that
|
|
131
155
|
* are not accessible by the end user.
|
|
132
156
|
*/
|
|
133
|
-
kmsKeyName?:
|
|
157
|
+
kmsKeyName?:
|
|
158
|
+
string;
|
|
134
159
|
/** Labels associated with this Cloud Function. */
|
|
135
|
-
labels?:
|
|
160
|
+
labels?:
|
|
161
|
+
{ [P in string]: string };
|
|
136
162
|
/**
|
|
137
163
|
* 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,
|
|
138
164
|
* 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
|
|
139
165
|
* instances value than your function can tolerate. See the [Max Instances](https://cloud.google.com/functions/docs/max-instances) Guide for more details.
|
|
140
166
|
*/
|
|
141
|
-
maxInstances?:
|
|
167
|
+
maxInstances?:
|
|
168
|
+
number;
|
|
142
169
|
/** A lower bound for the number function instances that may coexist at a given time. */
|
|
143
|
-
minInstances?:
|
|
170
|
+
minInstances?:
|
|
171
|
+
number;
|
|
144
172
|
/** A user-defined name of the function. Function names must be unique globally and match pattern `projects/*/locations/*/functions/*` */
|
|
145
|
-
name?:
|
|
173
|
+
name?:
|
|
174
|
+
string;
|
|
146
175
|
/**
|
|
147
176
|
* The VPC Network that this cloud function can connect to. It can be either the fully-qualified URI, or the short name of the network resource. If the short network name is used, the
|
|
148
177
|
* network must belong to the same project. Otherwise, it must belong to a project within the same organization. The format of this field is either
|
|
@@ -150,45 +179,60 @@ declare namespace gapi.client {
|
|
|
150
179
|
* field is mutually exclusive with `vpc_connector` and will be replaced by it. See [the VPC documentation](https://cloud.google.com/compute/docs/vpc) for more information on
|
|
151
180
|
* connecting Cloud projects.
|
|
152
181
|
*/
|
|
153
|
-
network?:
|
|
182
|
+
network?:
|
|
183
|
+
string;
|
|
154
184
|
/**
|
|
155
185
|
* 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
|
|
156
186
|
* [`gcloud` command reference](https://cloud.google.com/sdk/gcloud/reference/functions/deploy#--runtime).
|
|
157
187
|
*/
|
|
158
|
-
runtime?:
|
|
188
|
+
runtime?:
|
|
189
|
+
string;
|
|
159
190
|
/** Secret environment variables configuration. */
|
|
160
|
-
secretEnvironmentVariables?:
|
|
191
|
+
secretEnvironmentVariables?:
|
|
192
|
+
SecretEnvVar[];
|
|
161
193
|
/** Secret volumes configuration. */
|
|
162
|
-
secretVolumes?:
|
|
194
|
+
secretVolumes?:
|
|
195
|
+
SecretVolume[];
|
|
163
196
|
/** The email of the function's service account. If empty, defaults to `{project_id}@appspot.gserviceaccount.com`. */
|
|
164
|
-
serviceAccountEmail?:
|
|
197
|
+
serviceAccountEmail?:
|
|
198
|
+
string;
|
|
165
199
|
/** The Google Cloud Storage URL, starting with `gs://`, pointing to the zip archive which contains the function. */
|
|
166
|
-
sourceArchiveUrl?:
|
|
200
|
+
sourceArchiveUrl?:
|
|
201
|
+
string;
|
|
167
202
|
/** **Beta Feature** The source repository where a function is hosted. */
|
|
168
|
-
sourceRepository?:
|
|
203
|
+
sourceRepository?:
|
|
204
|
+
SourceRepository;
|
|
169
205
|
/** Input only. An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments. */
|
|
170
|
-
sourceToken?:
|
|
206
|
+
sourceToken?:
|
|
207
|
+
string;
|
|
171
208
|
/**
|
|
172
209
|
* The Google Cloud Storage signed URL used for source uploading, generated by calling [google.cloud.functions.v1.GenerateUploadUrl]. The signature is validated on write methods
|
|
173
210
|
* (Create, Update) The signature is stripped from the Function object on read methods (Get, List)
|
|
174
211
|
*/
|
|
175
|
-
sourceUploadUrl?:
|
|
212
|
+
sourceUploadUrl?:
|
|
213
|
+
string;
|
|
176
214
|
/** Output only. Status of the function deployment. */
|
|
177
|
-
status?:
|
|
215
|
+
status?:
|
|
216
|
+
string;
|
|
178
217
|
/** 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. */
|
|
179
|
-
timeout?:
|
|
218
|
+
timeout?:
|
|
219
|
+
string;
|
|
180
220
|
/** Output only. The last update timestamp of a Cloud Function. */
|
|
181
|
-
updateTime?:
|
|
221
|
+
updateTime?:
|
|
222
|
+
string;
|
|
182
223
|
/** Output only. The version identifier of the Cloud Function. Each deployment attempt results in a new version of a function being created. */
|
|
183
|
-
versionId?:
|
|
224
|
+
versionId?:
|
|
225
|
+
string;
|
|
184
226
|
/**
|
|
185
227
|
* The VPC Network Connector that this cloud function can connect to. It can be either the fully-qualified URI, or the short name of the network connector resource. The format of this
|
|
186
228
|
* field is `projects/*/locations/*/connectors/*` This field is mutually exclusive with `network` field and will eventually replace it. See [the VPC
|
|
187
229
|
* documentation](https://cloud.google.com/compute/docs/vpc) for more information on connecting Cloud projects.
|
|
188
230
|
*/
|
|
189
|
-
vpcConnector?:
|
|
231
|
+
vpcConnector?:
|
|
232
|
+
string;
|
|
190
233
|
/** The egress settings for the connector, controlling what traffic is diverted through it. */
|
|
191
|
-
vpcConnectorEgressSettings?:
|
|
234
|
+
vpcConnectorEgressSettings?:
|
|
235
|
+
string;
|
|
192
236
|
}
|
|
193
237
|
interface EventTrigger {
|
|
194
238
|
/**
|
|
@@ -197,9 +241,11 @@ declare namespace gapi.client {
|
|
|
197
241
|
* which event occurs. For example, the Google Cloud Storage API includes the type `object`. 3. action: The action that generates the event. For example, action for a Google Cloud
|
|
198
242
|
* Storage Object is 'change'. These parts are lower case.
|
|
199
243
|
*/
|
|
200
|
-
eventType?:
|
|
244
|
+
eventType?:
|
|
245
|
+
string;
|
|
201
246
|
/** Specifies policy for failed executions. */
|
|
202
|
-
failurePolicy?:
|
|
247
|
+
failurePolicy?:
|
|
248
|
+
FailurePolicy;
|
|
203
249
|
/**
|
|
204
250
|
* Required. The resource(s) from which to observe events, for example, `projects/_/buckets/myBucket`. Not all syntactically correct values are accepted by all services. For example:
|
|
205
251
|
* 1. The authorization model must support it. Google Cloud Functions only allows EventTriggers to be deployed that observe resources in the same project as the `CloudFunction`. 2. The
|
|
@@ -207,34 +253,43 @@ declare namespace gapi.client {
|
|
|
207
253
|
* that matches Google Cloud Pub/Sub topics. Additionally, some services may support short names when creating an `EventTrigger`. These will always be returned in the normalized "long"
|
|
208
254
|
* format. See each *service's* documentation for supported formats.
|
|
209
255
|
*/
|
|
210
|
-
resource?:
|
|
256
|
+
resource?:
|
|
257
|
+
string;
|
|
211
258
|
/**
|
|
212
259
|
* The hostname of the service that should be observed. If no string is provided, the default service implementing the API will be used. For example, `storage.googleapis.com` is the
|
|
213
260
|
* default for all event types in the `google.storage` namespace.
|
|
214
261
|
*/
|
|
215
|
-
service?:
|
|
262
|
+
service?:
|
|
263
|
+
string;
|
|
216
264
|
}
|
|
217
265
|
interface Expr {
|
|
218
266
|
/** Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. */
|
|
219
|
-
description?:
|
|
267
|
+
description?:
|
|
268
|
+
string;
|
|
220
269
|
/** Textual representation of an expression in Common Expression Language syntax. */
|
|
221
|
-
expression?:
|
|
270
|
+
expression?:
|
|
271
|
+
string;
|
|
222
272
|
/** Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file. */
|
|
223
|
-
location?:
|
|
273
|
+
location?:
|
|
274
|
+
string;
|
|
224
275
|
/** 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. */
|
|
225
|
-
title?:
|
|
276
|
+
title?:
|
|
277
|
+
string;
|
|
226
278
|
}
|
|
227
279
|
interface FailurePolicy {
|
|
228
280
|
/** If specified, then the function will be retried in case of a failure. */
|
|
229
|
-
retry?:
|
|
281
|
+
retry?:
|
|
282
|
+
any;
|
|
230
283
|
}
|
|
231
284
|
interface GenerateDownloadUrlRequest {
|
|
232
285
|
/** The optional version of function. If not set, default, current version is used. */
|
|
233
|
-
versionId?:
|
|
286
|
+
versionId?:
|
|
287
|
+
string;
|
|
234
288
|
}
|
|
235
289
|
interface GenerateDownloadUrlResponse {
|
|
236
290
|
/** The generated Google Cloud Storage signed URL that should be used for function source code download. */
|
|
237
|
-
downloadUrl?:
|
|
291
|
+
downloadUrl?:
|
|
292
|
+
string;
|
|
238
293
|
}
|
|
239
294
|
interface GenerateUploadUrlRequest {
|
|
240
295
|
/**
|
|
@@ -245,238 +300,323 @@ declare namespace gapi.client {
|
|
|
245
300
|
* (roles/cloudkms.cryptoKeyEncrypterDecrypter)' on the Key/KeyRing/Project/Organization (least access preferred). GCF will delegate access to the Google Storage service account in the
|
|
246
301
|
* internal project.
|
|
247
302
|
*/
|
|
248
|
-
kmsKeyName?:
|
|
303
|
+
kmsKeyName?:
|
|
304
|
+
string;
|
|
249
305
|
}
|
|
250
306
|
interface GenerateUploadUrlResponse {
|
|
251
307
|
/** 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. */
|
|
252
|
-
uploadUrl?:
|
|
308
|
+
uploadUrl?:
|
|
309
|
+
string;
|
|
253
310
|
}
|
|
254
311
|
interface GoogleCloudFunctionsV2alphaOperationMetadata {
|
|
255
312
|
/** API version used to start the operation. */
|
|
256
|
-
apiVersion?:
|
|
313
|
+
apiVersion?:
|
|
314
|
+
string;
|
|
257
315
|
/**
|
|
258
316
|
* 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
|
|
259
317
|
* 1, corresponding to `Code.CANCELLED`.
|
|
260
318
|
*/
|
|
261
|
-
cancelRequested?:
|
|
319
|
+
cancelRequested?:
|
|
320
|
+
boolean;
|
|
262
321
|
/** The time the operation was created. */
|
|
263
|
-
createTime?:
|
|
322
|
+
createTime?:
|
|
323
|
+
string;
|
|
264
324
|
/** The time the operation finished running. */
|
|
265
|
-
endTime?:
|
|
325
|
+
endTime?:
|
|
326
|
+
string;
|
|
266
327
|
/** The original request that started the operation. */
|
|
267
|
-
requestResource?:
|
|
328
|
+
requestResource?:
|
|
329
|
+
{ [P in string]: any };
|
|
268
330
|
/** Mechanism for reporting in-progress stages */
|
|
269
|
-
stages?:
|
|
331
|
+
stages?:
|
|
332
|
+
GoogleCloudFunctionsV2alphaStage[];
|
|
270
333
|
/** Human-readable status of the operation, if any. */
|
|
271
|
-
statusDetail?:
|
|
334
|
+
statusDetail?:
|
|
335
|
+
string;
|
|
272
336
|
/** Server-defined resource path for the target of the operation. */
|
|
273
|
-
target?:
|
|
337
|
+
target?:
|
|
338
|
+
string;
|
|
274
339
|
/** Name of the verb executed by the operation. */
|
|
275
|
-
verb?:
|
|
340
|
+
verb?:
|
|
341
|
+
string;
|
|
276
342
|
}
|
|
277
343
|
interface GoogleCloudFunctionsV2alphaStage {
|
|
278
344
|
/** Message describing the Stage */
|
|
279
|
-
message?:
|
|
345
|
+
message?:
|
|
346
|
+
string;
|
|
280
347
|
/** Name of the Stage. This will be unique for each Stage. */
|
|
281
|
-
name?:
|
|
348
|
+
name?:
|
|
349
|
+
string;
|
|
282
350
|
/** Resource of the Stage */
|
|
283
|
-
resource?:
|
|
351
|
+
resource?:
|
|
352
|
+
string;
|
|
284
353
|
/** Link to the current Stage resource */
|
|
285
|
-
resourceUri?:
|
|
354
|
+
resourceUri?:
|
|
355
|
+
string;
|
|
286
356
|
/** Current state of the Stage */
|
|
287
|
-
state?:
|
|
357
|
+
state?:
|
|
358
|
+
string;
|
|
288
359
|
/** State messages from the current Stage. */
|
|
289
|
-
stateMessages?:
|
|
360
|
+
stateMessages?:
|
|
361
|
+
GoogleCloudFunctionsV2alphaStateMessage[];
|
|
290
362
|
}
|
|
291
363
|
interface GoogleCloudFunctionsV2alphaStateMessage {
|
|
292
364
|
/** The message. */
|
|
293
|
-
message?:
|
|
365
|
+
message?:
|
|
366
|
+
string;
|
|
294
367
|
/** Severity of the state message. */
|
|
295
|
-
severity?:
|
|
368
|
+
severity?:
|
|
369
|
+
string;
|
|
296
370
|
/** One-word CamelCase type of the state message. */
|
|
297
|
-
type?:
|
|
371
|
+
type?:
|
|
372
|
+
string;
|
|
298
373
|
}
|
|
299
374
|
interface GoogleCloudFunctionsV2betaOperationMetadata {
|
|
300
375
|
/** API version used to start the operation. */
|
|
301
|
-
apiVersion?:
|
|
376
|
+
apiVersion?:
|
|
377
|
+
string;
|
|
302
378
|
/**
|
|
303
379
|
* 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
|
|
304
380
|
* 1, corresponding to `Code.CANCELLED`.
|
|
305
381
|
*/
|
|
306
|
-
cancelRequested?:
|
|
382
|
+
cancelRequested?:
|
|
383
|
+
boolean;
|
|
307
384
|
/** The time the operation was created. */
|
|
308
|
-
createTime?:
|
|
385
|
+
createTime?:
|
|
386
|
+
string;
|
|
309
387
|
/** The time the operation finished running. */
|
|
310
|
-
endTime?:
|
|
388
|
+
endTime?:
|
|
389
|
+
string;
|
|
311
390
|
/** The original request that started the operation. */
|
|
312
|
-
requestResource?:
|
|
391
|
+
requestResource?:
|
|
392
|
+
{ [P in string]: any };
|
|
313
393
|
/** Mechanism for reporting in-progress stages */
|
|
314
|
-
stages?:
|
|
394
|
+
stages?:
|
|
395
|
+
GoogleCloudFunctionsV2betaStage[];
|
|
315
396
|
/** Human-readable status of the operation, if any. */
|
|
316
|
-
statusDetail?:
|
|
397
|
+
statusDetail?:
|
|
398
|
+
string;
|
|
317
399
|
/** Server-defined resource path for the target of the operation. */
|
|
318
|
-
target?:
|
|
400
|
+
target?:
|
|
401
|
+
string;
|
|
319
402
|
/** Name of the verb executed by the operation. */
|
|
320
|
-
verb?:
|
|
403
|
+
verb?:
|
|
404
|
+
string;
|
|
321
405
|
}
|
|
322
406
|
interface GoogleCloudFunctionsV2betaStage {
|
|
323
407
|
/** Message describing the Stage */
|
|
324
|
-
message?:
|
|
408
|
+
message?:
|
|
409
|
+
string;
|
|
325
410
|
/** Name of the Stage. This will be unique for each Stage. */
|
|
326
|
-
name?:
|
|
411
|
+
name?:
|
|
412
|
+
string;
|
|
327
413
|
/** Resource of the Stage */
|
|
328
|
-
resource?:
|
|
414
|
+
resource?:
|
|
415
|
+
string;
|
|
329
416
|
/** Link to the current Stage resource */
|
|
330
|
-
resourceUri?:
|
|
417
|
+
resourceUri?:
|
|
418
|
+
string;
|
|
331
419
|
/** Current state of the Stage */
|
|
332
|
-
state?:
|
|
420
|
+
state?:
|
|
421
|
+
string;
|
|
333
422
|
/** State messages from the current Stage. */
|
|
334
|
-
stateMessages?:
|
|
423
|
+
stateMessages?:
|
|
424
|
+
GoogleCloudFunctionsV2betaStateMessage[];
|
|
335
425
|
}
|
|
336
426
|
interface GoogleCloudFunctionsV2betaStateMessage {
|
|
337
427
|
/** The message. */
|
|
338
|
-
message?:
|
|
428
|
+
message?:
|
|
429
|
+
string;
|
|
339
430
|
/** Severity of the state message. */
|
|
340
|
-
severity?:
|
|
431
|
+
severity?:
|
|
432
|
+
string;
|
|
341
433
|
/** One-word CamelCase type of the state message. */
|
|
342
|
-
type?:
|
|
434
|
+
type?:
|
|
435
|
+
string;
|
|
343
436
|
}
|
|
344
437
|
interface GoogleCloudFunctionsV2OperationMetadata {
|
|
345
438
|
/** API version used to start the operation. */
|
|
346
|
-
apiVersion?:
|
|
439
|
+
apiVersion?:
|
|
440
|
+
string;
|
|
347
441
|
/**
|
|
348
442
|
* 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
|
|
349
443
|
* 1, corresponding to `Code.CANCELLED`.
|
|
350
444
|
*/
|
|
351
|
-
cancelRequested?:
|
|
445
|
+
cancelRequested?:
|
|
446
|
+
boolean;
|
|
352
447
|
/** The time the operation was created. */
|
|
353
|
-
createTime?:
|
|
448
|
+
createTime?:
|
|
449
|
+
string;
|
|
354
450
|
/** The time the operation finished running. */
|
|
355
|
-
endTime?:
|
|
451
|
+
endTime?:
|
|
452
|
+
string;
|
|
356
453
|
/** The original request that started the operation. */
|
|
357
|
-
requestResource?:
|
|
454
|
+
requestResource?:
|
|
455
|
+
{ [P in string]: any };
|
|
358
456
|
/** Mechanism for reporting in-progress stages */
|
|
359
|
-
stages?:
|
|
457
|
+
stages?:
|
|
458
|
+
GoogleCloudFunctionsV2Stage[];
|
|
360
459
|
/** Human-readable status of the operation, if any. */
|
|
361
|
-
statusDetail?:
|
|
460
|
+
statusDetail?:
|
|
461
|
+
string;
|
|
362
462
|
/** Server-defined resource path for the target of the operation. */
|
|
363
|
-
target?:
|
|
463
|
+
target?:
|
|
464
|
+
string;
|
|
364
465
|
/** Name of the verb executed by the operation. */
|
|
365
|
-
verb?:
|
|
466
|
+
verb?:
|
|
467
|
+
string;
|
|
366
468
|
}
|
|
367
469
|
interface GoogleCloudFunctionsV2Stage {
|
|
368
470
|
/** Message describing the Stage */
|
|
369
|
-
message?:
|
|
471
|
+
message?:
|
|
472
|
+
string;
|
|
370
473
|
/** Name of the Stage. This will be unique for each Stage. */
|
|
371
|
-
name?:
|
|
474
|
+
name?:
|
|
475
|
+
string;
|
|
372
476
|
/** Resource of the Stage */
|
|
373
|
-
resource?:
|
|
477
|
+
resource?:
|
|
478
|
+
string;
|
|
374
479
|
/** Link to the current Stage resource */
|
|
375
|
-
resourceUri?:
|
|
480
|
+
resourceUri?:
|
|
481
|
+
string;
|
|
376
482
|
/** Current state of the Stage */
|
|
377
|
-
state?:
|
|
483
|
+
state?:
|
|
484
|
+
string;
|
|
378
485
|
/** State messages from the current Stage. */
|
|
379
|
-
stateMessages?:
|
|
486
|
+
stateMessages?:
|
|
487
|
+
GoogleCloudFunctionsV2StateMessage[];
|
|
380
488
|
}
|
|
381
489
|
interface GoogleCloudFunctionsV2StateMessage {
|
|
382
490
|
/** The message. */
|
|
383
|
-
message?:
|
|
491
|
+
message?:
|
|
492
|
+
string;
|
|
384
493
|
/** Severity of the state message. */
|
|
385
|
-
severity?:
|
|
494
|
+
severity?:
|
|
495
|
+
string;
|
|
386
496
|
/** One-word CamelCase type of the state message. */
|
|
387
|
-
type?:
|
|
497
|
+
type?:
|
|
498
|
+
string;
|
|
388
499
|
}
|
|
389
500
|
interface HttpsTrigger {
|
|
390
501
|
/** The security level for the function. */
|
|
391
|
-
securityLevel?:
|
|
502
|
+
securityLevel?:
|
|
503
|
+
string;
|
|
392
504
|
/** Output only. The deployed url for the function. */
|
|
393
|
-
url?:
|
|
505
|
+
url?:
|
|
506
|
+
string;
|
|
394
507
|
}
|
|
395
508
|
interface ListFunctionsResponse {
|
|
396
509
|
/** The functions that match the request. */
|
|
397
|
-
functions?:
|
|
510
|
+
functions?:
|
|
511
|
+
CloudFunction[];
|
|
398
512
|
/**
|
|
399
513
|
* If not empty, indicates that there may be more functions that match the request; this value should be passed in a new google.cloud.functions.v1.ListFunctionsRequest to get more
|
|
400
514
|
* functions.
|
|
401
515
|
*/
|
|
402
|
-
nextPageToken?:
|
|
516
|
+
nextPageToken?:
|
|
517
|
+
string;
|
|
403
518
|
/** Locations that could not be reached. The response does not include any functions from these locations. */
|
|
404
|
-
unreachable?:
|
|
519
|
+
unreachable?:
|
|
520
|
+
string[];
|
|
405
521
|
}
|
|
406
522
|
interface ListLocationsResponse {
|
|
407
523
|
/** A list of locations that matches the specified filter in the request. */
|
|
408
|
-
locations?:
|
|
524
|
+
locations?:
|
|
525
|
+
Location[];
|
|
409
526
|
/** The standard List next-page token. */
|
|
410
|
-
nextPageToken?:
|
|
527
|
+
nextPageToken?:
|
|
528
|
+
string;
|
|
411
529
|
}
|
|
412
530
|
interface ListOperationsResponse {
|
|
413
531
|
/** The standard List next-page token. */
|
|
414
|
-
nextPageToken?:
|
|
532
|
+
nextPageToken?:
|
|
533
|
+
string;
|
|
415
534
|
/** A list of operations that matches the specified filter in the request. */
|
|
416
|
-
operations?:
|
|
535
|
+
operations?:
|
|
536
|
+
Operation[];
|
|
417
537
|
}
|
|
418
538
|
interface Location {
|
|
419
539
|
/** The friendly name for this location, typically a nearby city name. For example, "Tokyo". */
|
|
420
|
-
displayName?:
|
|
540
|
+
displayName?:
|
|
541
|
+
string;
|
|
421
542
|
/** Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"} */
|
|
422
|
-
labels?:
|
|
543
|
+
labels?:
|
|
544
|
+
{ [P in string]: string };
|
|
423
545
|
/** The canonical id for this location. For example: `"us-east1"`. */
|
|
424
|
-
locationId?:
|
|
546
|
+
locationId?:
|
|
547
|
+
string;
|
|
425
548
|
/** Service-specific metadata. For example the available capacity at the given location. */
|
|
426
|
-
metadata?:
|
|
549
|
+
metadata?:
|
|
550
|
+
{ [P in string]: any };
|
|
427
551
|
/** Resource name for the location, which may vary between implementations. For example: `"projects/example-project/locations/us-east1"` */
|
|
428
|
-
name?:
|
|
552
|
+
name?:
|
|
553
|
+
string;
|
|
429
554
|
}
|
|
430
555
|
interface Operation {
|
|
431
556
|
/** 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. */
|
|
432
|
-
done?:
|
|
557
|
+
done?:
|
|
558
|
+
boolean;
|
|
433
559
|
/** The error result of the operation in case of failure or cancellation. */
|
|
434
|
-
error?:
|
|
560
|
+
error?:
|
|
561
|
+
Status;
|
|
435
562
|
/**
|
|
436
563
|
* 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
|
|
437
564
|
* metadata. Any method that returns a long-running operation should document the metadata type, if any.
|
|
438
565
|
*/
|
|
439
|
-
metadata?:
|
|
566
|
+
metadata?:
|
|
567
|
+
{ [P in string]: any };
|
|
440
568
|
/**
|
|
441
569
|
* 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
|
|
442
570
|
* with `operations/{unique_id}`.
|
|
443
571
|
*/
|
|
444
|
-
name?:
|
|
572
|
+
name?:
|
|
573
|
+
string;
|
|
445
574
|
/**
|
|
446
575
|
* 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
|
|
447
576
|
* 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
|
|
448
577
|
* original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
|
|
449
578
|
*/
|
|
450
|
-
response?:
|
|
579
|
+
response?:
|
|
580
|
+
{ [P in string]: any };
|
|
451
581
|
}
|
|
452
582
|
interface OperationMetadataV1 {
|
|
453
583
|
/** The Cloud Build ID of the function created or updated by an API call. This field is only populated for Create and Update operations. */
|
|
454
|
-
buildId?:
|
|
584
|
+
buildId?:
|
|
585
|
+
string;
|
|
455
586
|
/** The Cloud Build Name of the function deployment. This field is only populated for Create and Update operations. `projects//locations//builds/`. */
|
|
456
|
-
buildName?:
|
|
587
|
+
buildName?:
|
|
588
|
+
string;
|
|
457
589
|
/** The original request that started the operation. */
|
|
458
|
-
request?:
|
|
590
|
+
request?:
|
|
591
|
+
{ [P in string]: any };
|
|
459
592
|
/** An identifier for Firebase function sources. Disclaimer: This field is only supported for Firebase function deployments. */
|
|
460
|
-
sourceToken?:
|
|
593
|
+
sourceToken?:
|
|
594
|
+
string;
|
|
461
595
|
/** Target of the operation - for example `projects/project-1/locations/region-1/functions/function-1` */
|
|
462
|
-
target?:
|
|
596
|
+
target?:
|
|
597
|
+
string;
|
|
463
598
|
/** Type of operation. */
|
|
464
|
-
type?:
|
|
599
|
+
type?:
|
|
600
|
+
string;
|
|
465
601
|
/** The last update timestamp of the operation. */
|
|
466
|
-
updateTime?:
|
|
602
|
+
updateTime?:
|
|
603
|
+
string;
|
|
467
604
|
/** Version id of the function created or updated by an API call. This field is only populated for Create and Update operations. */
|
|
468
|
-
versionId?:
|
|
605
|
+
versionId?:
|
|
606
|
+
string;
|
|
469
607
|
}
|
|
470
608
|
interface Policy {
|
|
471
609
|
/** Specifies cloud audit logging configuration for this policy. */
|
|
472
|
-
auditConfigs?:
|
|
610
|
+
auditConfigs?:
|
|
611
|
+
AuditConfig[];
|
|
473
612
|
/**
|
|
474
613
|
* 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`
|
|
475
614
|
* 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
|
|
476
615
|
* 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
|
|
477
616
|
* 1,450 principals to the `bindings` in the `Policy`.
|
|
478
617
|
*/
|
|
479
|
-
bindings?:
|
|
618
|
+
bindings?:
|
|
619
|
+
Binding[];
|
|
480
620
|
/**
|
|
481
621
|
* `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
|
|
482
622
|
* 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
|
|
@@ -484,7 +624,8 @@ declare namespace gapi.client {
|
|
|
484
624
|
* 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`
|
|
485
625
|
* policy, and all of the conditions in the version `3` policy are lost.
|
|
486
626
|
*/
|
|
487
|
-
etag?:
|
|
627
|
+
etag?:
|
|
628
|
+
string;
|
|
488
629
|
/**
|
|
489
630
|
* 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
|
|
490
631
|
* 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
|
|
@@ -493,35 +634,42 @@ declare namespace gapi.client {
|
|
|
493
634
|
* 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
|
|
494
635
|
* 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).
|
|
495
636
|
*/
|
|
496
|
-
version?:
|
|
637
|
+
version?:
|
|
638
|
+
number;
|
|
497
639
|
}
|
|
498
640
|
// tslint:disable-next-line:no-empty-interface
|
|
499
641
|
interface Retry {
|
|
500
642
|
}
|
|
501
643
|
interface SecretEnvVar {
|
|
502
644
|
/** Name of the environment variable. */
|
|
503
|
-
key?:
|
|
645
|
+
key?:
|
|
646
|
+
string;
|
|
504
647
|
/**
|
|
505
648
|
* Project identifier (preferrably project number but can also be the project ID) of the project that contains the secret. If not set, it will be populated with the function's project
|
|
506
649
|
* assuming that the secret exists in the same project as of the function.
|
|
507
650
|
*/
|
|
508
|
-
projectId?:
|
|
651
|
+
projectId?:
|
|
652
|
+
string;
|
|
509
653
|
/** Name of the secret in secret manager (not the full resource name). */
|
|
510
|
-
secret?:
|
|
654
|
+
secret?:
|
|
655
|
+
string;
|
|
511
656
|
/**
|
|
512
657
|
* 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
|
|
513
658
|
* reflected until new instances start.
|
|
514
659
|
*/
|
|
515
|
-
version?:
|
|
660
|
+
version?:
|
|
661
|
+
string;
|
|
516
662
|
}
|
|
517
663
|
interface SecretVersion {
|
|
518
664
|
/**
|
|
519
665
|
* 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
|
|
520
666
|
* path as `/secret_foo` would mount the secret value file at `/etc/secrets/secret_foo`.
|
|
521
667
|
*/
|
|
522
|
-
path?:
|
|
523
|
-
|
|
524
|
-
version
|
|
668
|
+
path?:
|
|
669
|
+
string;
|
|
670
|
+
/** 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. */
|
|
671
|
+
version?:
|
|
672
|
+
string;
|
|
525
673
|
}
|
|
526
674
|
interface SecretVolume {
|
|
527
675
|
/**
|
|
@@ -529,131 +677,171 @@ declare namespace gapi.client {
|
|
|
529
677
|
* directory. This directory will also be completely shadowed and unavailable to mount any other secrets. Recommended mount paths: /etc/secrets Restricted mount paths: /cloudsql,
|
|
530
678
|
* /dev/log, /pod, /proc, /var/log
|
|
531
679
|
*/
|
|
532
|
-
mountPath?:
|
|
680
|
+
mountPath?:
|
|
681
|
+
string;
|
|
533
682
|
/**
|
|
534
683
|
* Project identifier (preferrably project number but can also be the project ID) of the project that contains the secret. If not set, it will be populated with the function's project
|
|
535
684
|
* assuming that the secret exists in the same project as of the function.
|
|
536
685
|
*/
|
|
537
|
-
projectId?:
|
|
686
|
+
projectId?:
|
|
687
|
+
string;
|
|
538
688
|
/** Name of the secret in secret manager (not the full resource name). */
|
|
539
|
-
secret?:
|
|
689
|
+
secret?:
|
|
690
|
+
string;
|
|
540
691
|
/** 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. */
|
|
541
|
-
versions?:
|
|
692
|
+
versions?:
|
|
693
|
+
SecretVersion[];
|
|
542
694
|
}
|
|
543
695
|
interface SetIamPolicyRequest {
|
|
544
696
|
/**
|
|
545
697
|
* 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
|
|
546
698
|
* services (such as Projects) might reject them.
|
|
547
699
|
*/
|
|
548
|
-
policy?:
|
|
700
|
+
policy?:
|
|
701
|
+
Policy;
|
|
549
702
|
/**
|
|
550
703
|
* 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:
|
|
551
704
|
* `paths: "bindings, etag"`
|
|
552
705
|
*/
|
|
553
|
-
updateMask?:
|
|
706
|
+
updateMask?:
|
|
707
|
+
string;
|
|
554
708
|
}
|
|
555
709
|
interface SourceRepository {
|
|
556
710
|
/**
|
|
557
711
|
* Output only. The URL pointing to the hosted repository where the function were defined at the time of deployment. It always points to a specific commit in the format described
|
|
558
712
|
* above.
|
|
559
713
|
*/
|
|
560
|
-
deployedUrl?:
|
|
714
|
+
deployedUrl?:
|
|
715
|
+
string;
|
|
561
716
|
/**
|
|
562
717
|
* The URL pointing to the hosted repository where the function is defined. There are supported Cloud Source Repository URLs in the following formats: To refer to a specific commit:
|
|
563
718
|
* `https://source.developers.google.com/projects/*/repos/*/revisions/*/paths/*` To refer to a moveable alias (branch):
|
|
564
719
|
* `https://source.developers.google.com/projects/*/repos/*/moveable-aliases/*/paths/*` In particular, to refer to HEAD use `master` moveable alias. To refer to a specific fixed
|
|
565
720
|
* alias (tag): `https://source.developers.google.com/projects/*/repos/*/fixed-aliases/*/paths/*` You may omit `paths/*` if you want to use the main directory.
|
|
566
721
|
*/
|
|
567
|
-
url?:
|
|
722
|
+
url?:
|
|
723
|
+
string;
|
|
568
724
|
}
|
|
569
725
|
interface Status {
|
|
570
726
|
/** The status code, which should be an enum value of google.rpc.Code. */
|
|
571
|
-
code?:
|
|
727
|
+
code?:
|
|
728
|
+
number;
|
|
572
729
|
/** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
|
|
573
|
-
details?:
|
|
730
|
+
details?:
|
|
731
|
+
Array<{ [P in string]: any }>;
|
|
574
732
|
/**
|
|
575
733
|
* 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
|
|
576
734
|
* client.
|
|
577
735
|
*/
|
|
578
|
-
message?:
|
|
736
|
+
message?:
|
|
737
|
+
string;
|
|
579
738
|
}
|
|
580
739
|
interface TestIamPermissionsRequest {
|
|
581
740
|
/**
|
|
582
741
|
* The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM
|
|
583
742
|
* Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
|
584
743
|
*/
|
|
585
|
-
permissions?:
|
|
744
|
+
permissions?:
|
|
745
|
+
string[];
|
|
586
746
|
}
|
|
587
747
|
interface TestIamPermissionsResponse {
|
|
588
748
|
/** A subset of `TestPermissionsRequest.permissions` that the caller is allowed. */
|
|
589
|
-
permissions?:
|
|
749
|
+
permissions?:
|
|
750
|
+
string[];
|
|
590
751
|
}
|
|
591
752
|
interface OperationsResource {
|
|
592
753
|
/** 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. */
|
|
593
754
|
get(request?: {
|
|
594
755
|
/** V1 error format. */
|
|
595
|
-
"$.xgafv"?:
|
|
756
|
+
"$.xgafv"?:
|
|
757
|
+
string;
|
|
596
758
|
/** OAuth access token. */
|
|
597
|
-
access_token?:
|
|
759
|
+
access_token?:
|
|
760
|
+
string;
|
|
598
761
|
/** Data format for response. */
|
|
599
|
-
alt?:
|
|
762
|
+
alt?:
|
|
763
|
+
string;
|
|
600
764
|
/** JSONP */
|
|
601
|
-
callback?:
|
|
765
|
+
callback?:
|
|
766
|
+
string;
|
|
602
767
|
/** Selector specifying which fields to include in a partial response. */
|
|
603
|
-
fields?:
|
|
768
|
+
fields?:
|
|
769
|
+
string;
|
|
604
770
|
/** 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. */
|
|
605
|
-
key?:
|
|
771
|
+
key?:
|
|
772
|
+
string;
|
|
606
773
|
/** The name of the operation resource. */
|
|
607
|
-
name:
|
|
774
|
+
name:
|
|
775
|
+
string;
|
|
608
776
|
/** OAuth 2.0 token for the current user. */
|
|
609
|
-
oauth_token?:
|
|
777
|
+
oauth_token?:
|
|
778
|
+
string;
|
|
610
779
|
/** Returns response with indentations and line breaks. */
|
|
611
|
-
prettyPrint?:
|
|
780
|
+
prettyPrint?:
|
|
781
|
+
boolean;
|
|
612
782
|
/** 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. */
|
|
613
|
-
quotaUser?:
|
|
783
|
+
quotaUser?:
|
|
784
|
+
string;
|
|
614
785
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
615
|
-
upload_protocol?:
|
|
786
|
+
upload_protocol?:
|
|
787
|
+
string;
|
|
616
788
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
617
|
-
uploadType?:
|
|
789
|
+
uploadType?:
|
|
790
|
+
string;
|
|
618
791
|
}): Request<Operation>;
|
|
619
792
|
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
|
|
620
793
|
list(request?: {
|
|
621
794
|
/** V1 error format. */
|
|
622
|
-
"$.xgafv"?:
|
|
795
|
+
"$.xgafv"?:
|
|
796
|
+
string;
|
|
623
797
|
/** OAuth access token. */
|
|
624
|
-
access_token?:
|
|
798
|
+
access_token?:
|
|
799
|
+
string;
|
|
625
800
|
/** Data format for response. */
|
|
626
|
-
alt?:
|
|
801
|
+
alt?:
|
|
802
|
+
string;
|
|
627
803
|
/** JSONP */
|
|
628
|
-
callback?:
|
|
804
|
+
callback?:
|
|
805
|
+
string;
|
|
629
806
|
/** Selector specifying which fields to include in a partial response. */
|
|
630
|
-
fields?:
|
|
807
|
+
fields?:
|
|
808
|
+
string;
|
|
631
809
|
/**
|
|
632
810
|
* 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
|
|
633
811
|
* all of the latest operations for a project: project:*,latest:true
|
|
634
812
|
*/
|
|
635
|
-
filter?:
|
|
813
|
+
filter?:
|
|
814
|
+
string;
|
|
636
815
|
/** 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. */
|
|
637
|
-
key?:
|
|
816
|
+
key?:
|
|
817
|
+
string;
|
|
638
818
|
/** Must not be set. */
|
|
639
|
-
name?:
|
|
819
|
+
name?:
|
|
820
|
+
string;
|
|
640
821
|
/** OAuth 2.0 token for the current user. */
|
|
641
|
-
oauth_token?:
|
|
822
|
+
oauth_token?:
|
|
823
|
+
string;
|
|
642
824
|
/**
|
|
643
825
|
* 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
|
|
644
826
|
* querying for a specific function.
|
|
645
827
|
*/
|
|
646
|
-
pageSize?:
|
|
828
|
+
pageSize?:
|
|
829
|
+
number;
|
|
647
830
|
/** 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. */
|
|
648
|
-
pageToken?:
|
|
831
|
+
pageToken?:
|
|
832
|
+
string;
|
|
649
833
|
/** Returns response with indentations and line breaks. */
|
|
650
|
-
prettyPrint?:
|
|
834
|
+
prettyPrint?:
|
|
835
|
+
boolean;
|
|
651
836
|
/** 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. */
|
|
652
|
-
quotaUser?:
|
|
837
|
+
quotaUser?:
|
|
838
|
+
string;
|
|
653
839
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
654
|
-
upload_protocol?:
|
|
840
|
+
upload_protocol?:
|
|
841
|
+
string;
|
|
655
842
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
656
|
-
uploadType?:
|
|
843
|
+
uploadType?:
|
|
844
|
+
string;
|
|
657
845
|
}): Request<ListOperationsResponse>;
|
|
658
846
|
}
|
|
659
847
|
interface FunctionsResource {
|
|
@@ -663,141 +851,203 @@ declare namespace gapi.client {
|
|
|
663
851
|
*/
|
|
664
852
|
call(request: {
|
|
665
853
|
/** V1 error format. */
|
|
666
|
-
"$.xgafv"?:
|
|
854
|
+
"$.xgafv"?:
|
|
855
|
+
string;
|
|
667
856
|
/** OAuth access token. */
|
|
668
|
-
access_token?:
|
|
857
|
+
access_token?:
|
|
858
|
+
string;
|
|
669
859
|
/** Data format for response. */
|
|
670
|
-
alt?:
|
|
860
|
+
alt?:
|
|
861
|
+
string;
|
|
671
862
|
/** JSONP */
|
|
672
|
-
callback?:
|
|
863
|
+
callback?:
|
|
864
|
+
string;
|
|
673
865
|
/** Selector specifying which fields to include in a partial response. */
|
|
674
|
-
fields?:
|
|
866
|
+
fields?:
|
|
867
|
+
string;
|
|
675
868
|
/** 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. */
|
|
676
|
-
key?:
|
|
869
|
+
key?:
|
|
870
|
+
string;
|
|
677
871
|
/** Required. The name of the function to be called. */
|
|
678
|
-
name:
|
|
872
|
+
name:
|
|
873
|
+
string;
|
|
679
874
|
/** OAuth 2.0 token for the current user. */
|
|
680
|
-
oauth_token?:
|
|
875
|
+
oauth_token?:
|
|
876
|
+
string;
|
|
681
877
|
/** Returns response with indentations and line breaks. */
|
|
682
|
-
prettyPrint?:
|
|
878
|
+
prettyPrint?:
|
|
879
|
+
boolean;
|
|
683
880
|
/** 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. */
|
|
684
|
-
quotaUser?:
|
|
881
|
+
quotaUser?:
|
|
882
|
+
string;
|
|
685
883
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
686
|
-
upload_protocol?:
|
|
884
|
+
upload_protocol?:
|
|
885
|
+
string;
|
|
687
886
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
688
|
-
uploadType?:
|
|
887
|
+
uploadType?:
|
|
888
|
+
string;
|
|
689
889
|
/** Request body */
|
|
690
|
-
resource:
|
|
890
|
+
resource:
|
|
891
|
+
CallFunctionRequest;
|
|
691
892
|
}): Request<CallFunctionResponse>;
|
|
692
893
|
call(request: {
|
|
693
894
|
/** V1 error format. */
|
|
694
|
-
"$.xgafv"?:
|
|
895
|
+
"$.xgafv"?:
|
|
896
|
+
string;
|
|
695
897
|
/** OAuth access token. */
|
|
696
|
-
access_token?:
|
|
898
|
+
access_token?:
|
|
899
|
+
string;
|
|
697
900
|
/** Data format for response. */
|
|
698
|
-
alt?:
|
|
901
|
+
alt?:
|
|
902
|
+
string;
|
|
699
903
|
/** JSONP */
|
|
700
|
-
callback?:
|
|
904
|
+
callback?:
|
|
905
|
+
string;
|
|
701
906
|
/** Selector specifying which fields to include in a partial response. */
|
|
702
|
-
fields?:
|
|
907
|
+
fields?:
|
|
908
|
+
string;
|
|
703
909
|
/** 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. */
|
|
704
|
-
key?:
|
|
910
|
+
key?:
|
|
911
|
+
string;
|
|
705
912
|
/** Required. The name of the function to be called. */
|
|
706
|
-
name:
|
|
913
|
+
name:
|
|
914
|
+
string;
|
|
707
915
|
/** OAuth 2.0 token for the current user. */
|
|
708
|
-
oauth_token?:
|
|
916
|
+
oauth_token?:
|
|
917
|
+
string;
|
|
709
918
|
/** Returns response with indentations and line breaks. */
|
|
710
|
-
prettyPrint?:
|
|
919
|
+
prettyPrint?:
|
|
920
|
+
boolean;
|
|
711
921
|
/** 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. */
|
|
712
|
-
quotaUser?:
|
|
922
|
+
quotaUser?:
|
|
923
|
+
string;
|
|
713
924
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
714
|
-
upload_protocol?:
|
|
925
|
+
upload_protocol?:
|
|
926
|
+
string;
|
|
715
927
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
716
|
-
uploadType?:
|
|
928
|
+
uploadType?:
|
|
929
|
+
string;
|
|
717
930
|
},
|
|
718
931
|
body: CallFunctionRequest): Request<CallFunctionResponse>;
|
|
719
932
|
/** 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. */
|
|
720
933
|
create(request: {
|
|
721
934
|
/** V1 error format. */
|
|
722
|
-
"$.xgafv"?:
|
|
935
|
+
"$.xgafv"?:
|
|
936
|
+
string;
|
|
723
937
|
/** OAuth access token. */
|
|
724
|
-
access_token?:
|
|
938
|
+
access_token?:
|
|
939
|
+
string;
|
|
725
940
|
/** Data format for response. */
|
|
726
|
-
alt?:
|
|
941
|
+
alt?:
|
|
942
|
+
string;
|
|
727
943
|
/** JSONP */
|
|
728
|
-
callback?:
|
|
944
|
+
callback?:
|
|
945
|
+
string;
|
|
729
946
|
/** Selector specifying which fields to include in a partial response. */
|
|
730
|
-
fields?:
|
|
947
|
+
fields?:
|
|
948
|
+
string;
|
|
731
949
|
/** 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?:
|
|
950
|
+
key?:
|
|
951
|
+
string;
|
|
733
952
|
/** Required. The project and location in which the function should be created, specified in the format `projects/*/locations/*` */
|
|
734
|
-
location:
|
|
953
|
+
location:
|
|
954
|
+
string;
|
|
735
955
|
/** OAuth 2.0 token for the current user. */
|
|
736
|
-
oauth_token?:
|
|
956
|
+
oauth_token?:
|
|
957
|
+
string;
|
|
737
958
|
/** Returns response with indentations and line breaks. */
|
|
738
|
-
prettyPrint?:
|
|
959
|
+
prettyPrint?:
|
|
960
|
+
boolean;
|
|
739
961
|
/** 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. */
|
|
740
|
-
quotaUser?:
|
|
962
|
+
quotaUser?:
|
|
963
|
+
string;
|
|
741
964
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
742
|
-
upload_protocol?:
|
|
965
|
+
upload_protocol?:
|
|
966
|
+
string;
|
|
743
967
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
744
|
-
uploadType?:
|
|
968
|
+
uploadType?:
|
|
969
|
+
string;
|
|
745
970
|
/** Request body */
|
|
746
|
-
resource:
|
|
971
|
+
resource:
|
|
972
|
+
CloudFunction;
|
|
747
973
|
}): Request<Operation>;
|
|
748
974
|
create(request: {
|
|
749
975
|
/** V1 error format. */
|
|
750
|
-
"$.xgafv"?:
|
|
976
|
+
"$.xgafv"?:
|
|
977
|
+
string;
|
|
751
978
|
/** OAuth access token. */
|
|
752
|
-
access_token?:
|
|
979
|
+
access_token?:
|
|
980
|
+
string;
|
|
753
981
|
/** Data format for response. */
|
|
754
|
-
alt?:
|
|
982
|
+
alt?:
|
|
983
|
+
string;
|
|
755
984
|
/** JSONP */
|
|
756
|
-
callback?:
|
|
985
|
+
callback?:
|
|
986
|
+
string;
|
|
757
987
|
/** Selector specifying which fields to include in a partial response. */
|
|
758
|
-
fields?:
|
|
988
|
+
fields?:
|
|
989
|
+
string;
|
|
759
990
|
/** 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. */
|
|
760
|
-
key?:
|
|
991
|
+
key?:
|
|
992
|
+
string;
|
|
761
993
|
/** Required. The project and location in which the function should be created, specified in the format `projects/*/locations/*` */
|
|
762
|
-
location:
|
|
994
|
+
location:
|
|
995
|
+
string;
|
|
763
996
|
/** OAuth 2.0 token for the current user. */
|
|
764
|
-
oauth_token?:
|
|
997
|
+
oauth_token?:
|
|
998
|
+
string;
|
|
765
999
|
/** Returns response with indentations and line breaks. */
|
|
766
|
-
prettyPrint?:
|
|
1000
|
+
prettyPrint?:
|
|
1001
|
+
boolean;
|
|
767
1002
|
/** 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. */
|
|
768
|
-
quotaUser?:
|
|
1003
|
+
quotaUser?:
|
|
1004
|
+
string;
|
|
769
1005
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
770
|
-
upload_protocol?:
|
|
1006
|
+
upload_protocol?:
|
|
1007
|
+
string;
|
|
771
1008
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
772
|
-
uploadType?:
|
|
1009
|
+
uploadType?:
|
|
1010
|
+
string;
|
|
773
1011
|
},
|
|
774
1012
|
body: CloudFunction): Request<Operation>;
|
|
775
1013
|
/** 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. */
|
|
776
1014
|
delete(request?: {
|
|
777
1015
|
/** V1 error format. */
|
|
778
|
-
"$.xgafv"?:
|
|
1016
|
+
"$.xgafv"?:
|
|
1017
|
+
string;
|
|
779
1018
|
/** OAuth access token. */
|
|
780
|
-
access_token?:
|
|
1019
|
+
access_token?:
|
|
1020
|
+
string;
|
|
781
1021
|
/** Data format for response. */
|
|
782
|
-
alt?:
|
|
1022
|
+
alt?:
|
|
1023
|
+
string;
|
|
783
1024
|
/** JSONP */
|
|
784
|
-
callback?:
|
|
1025
|
+
callback?:
|
|
1026
|
+
string;
|
|
785
1027
|
/** Selector specifying which fields to include in a partial response. */
|
|
786
|
-
fields?:
|
|
1028
|
+
fields?:
|
|
1029
|
+
string;
|
|
787
1030
|
/** 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. */
|
|
788
|
-
key?:
|
|
1031
|
+
key?:
|
|
1032
|
+
string;
|
|
789
1033
|
/** Required. The name of the function which should be deleted. */
|
|
790
|
-
name:
|
|
1034
|
+
name:
|
|
1035
|
+
string;
|
|
791
1036
|
/** OAuth 2.0 token for the current user. */
|
|
792
|
-
oauth_token?:
|
|
1037
|
+
oauth_token?:
|
|
1038
|
+
string;
|
|
793
1039
|
/** Returns response with indentations and line breaks. */
|
|
794
|
-
prettyPrint?:
|
|
1040
|
+
prettyPrint?:
|
|
1041
|
+
boolean;
|
|
795
1042
|
/** 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. */
|
|
796
|
-
quotaUser?:
|
|
1043
|
+
quotaUser?:
|
|
1044
|
+
string;
|
|
797
1045
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
798
|
-
upload_protocol?:
|
|
1046
|
+
upload_protocol?:
|
|
1047
|
+
string;
|
|
799
1048
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
800
|
-
uploadType?:
|
|
1049
|
+
uploadType?:
|
|
1050
|
+
string;
|
|
801
1051
|
}): Request<Operation>;
|
|
802
1052
|
/**
|
|
803
1053
|
* Returns a signed URL for downloading deployed function source code. The URL is only valid for a limited period and should be used within minutes after generation. For more
|
|
@@ -805,57 +1055,82 @@ declare namespace gapi.client {
|
|
|
805
1055
|
*/
|
|
806
1056
|
generateDownloadUrl(request: {
|
|
807
1057
|
/** V1 error format. */
|
|
808
|
-
"$.xgafv"?:
|
|
1058
|
+
"$.xgafv"?:
|
|
1059
|
+
string;
|
|
809
1060
|
/** OAuth access token. */
|
|
810
|
-
access_token?:
|
|
1061
|
+
access_token?:
|
|
1062
|
+
string;
|
|
811
1063
|
/** Data format for response. */
|
|
812
|
-
alt?:
|
|
1064
|
+
alt?:
|
|
1065
|
+
string;
|
|
813
1066
|
/** JSONP */
|
|
814
|
-
callback?:
|
|
1067
|
+
callback?:
|
|
1068
|
+
string;
|
|
815
1069
|
/** Selector specifying which fields to include in a partial response. */
|
|
816
|
-
fields?:
|
|
1070
|
+
fields?:
|
|
1071
|
+
string;
|
|
817
1072
|
/** 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. */
|
|
818
|
-
key?:
|
|
1073
|
+
key?:
|
|
1074
|
+
string;
|
|
819
1075
|
/** The name of function for which source code Google Cloud Storage signed URL should be generated. */
|
|
820
|
-
name:
|
|
1076
|
+
name:
|
|
1077
|
+
string;
|
|
821
1078
|
/** OAuth 2.0 token for the current user. */
|
|
822
|
-
oauth_token?:
|
|
1079
|
+
oauth_token?:
|
|
1080
|
+
string;
|
|
823
1081
|
/** Returns response with indentations and line breaks. */
|
|
824
|
-
prettyPrint?:
|
|
1082
|
+
prettyPrint?:
|
|
1083
|
+
boolean;
|
|
825
1084
|
/** 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. */
|
|
826
|
-
quotaUser?:
|
|
1085
|
+
quotaUser?:
|
|
1086
|
+
string;
|
|
827
1087
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
828
|
-
upload_protocol?:
|
|
1088
|
+
upload_protocol?:
|
|
1089
|
+
string;
|
|
829
1090
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
830
|
-
uploadType?:
|
|
1091
|
+
uploadType?:
|
|
1092
|
+
string;
|
|
831
1093
|
/** Request body */
|
|
832
|
-
resource:
|
|
1094
|
+
resource:
|
|
1095
|
+
GenerateDownloadUrlRequest;
|
|
833
1096
|
}): Request<GenerateDownloadUrlResponse>;
|
|
834
1097
|
generateDownloadUrl(request: {
|
|
835
1098
|
/** V1 error format. */
|
|
836
|
-
"$.xgafv"?:
|
|
1099
|
+
"$.xgafv"?:
|
|
1100
|
+
string;
|
|
837
1101
|
/** OAuth access token. */
|
|
838
|
-
access_token?:
|
|
1102
|
+
access_token?:
|
|
1103
|
+
string;
|
|
839
1104
|
/** Data format for response. */
|
|
840
|
-
alt?:
|
|
1105
|
+
alt?:
|
|
1106
|
+
string;
|
|
841
1107
|
/** JSONP */
|
|
842
|
-
callback?:
|
|
1108
|
+
callback?:
|
|
1109
|
+
string;
|
|
843
1110
|
/** Selector specifying which fields to include in a partial response. */
|
|
844
|
-
fields?:
|
|
1111
|
+
fields?:
|
|
1112
|
+
string;
|
|
845
1113
|
/** 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. */
|
|
846
|
-
key?:
|
|
1114
|
+
key?:
|
|
1115
|
+
string;
|
|
847
1116
|
/** The name of function for which source code Google Cloud Storage signed URL should be generated. */
|
|
848
|
-
name:
|
|
1117
|
+
name:
|
|
1118
|
+
string;
|
|
849
1119
|
/** OAuth 2.0 token for the current user. */
|
|
850
|
-
oauth_token?:
|
|
1120
|
+
oauth_token?:
|
|
1121
|
+
string;
|
|
851
1122
|
/** Returns response with indentations and line breaks. */
|
|
852
|
-
prettyPrint?:
|
|
1123
|
+
prettyPrint?:
|
|
1124
|
+
boolean;
|
|
853
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. */
|
|
854
|
-
quotaUser?:
|
|
1126
|
+
quotaUser?:
|
|
1127
|
+
string;
|
|
855
1128
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
856
|
-
upload_protocol?:
|
|
1129
|
+
upload_protocol?:
|
|
1130
|
+
string;
|
|
857
1131
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
858
|
-
uploadType?:
|
|
1132
|
+
uploadType?:
|
|
1133
|
+
string;
|
|
859
1134
|
},
|
|
860
1135
|
body: GenerateDownloadUrlRequest): Request<GenerateDownloadUrlResponse>;
|
|
861
1136
|
/**
|
|
@@ -868,102 +1143,146 @@ declare namespace gapi.client {
|
|
|
868
1143
|
*/
|
|
869
1144
|
generateUploadUrl(request: {
|
|
870
1145
|
/** V1 error format. */
|
|
871
|
-
"$.xgafv"?:
|
|
1146
|
+
"$.xgafv"?:
|
|
1147
|
+
string;
|
|
872
1148
|
/** OAuth access token. */
|
|
873
|
-
access_token?:
|
|
1149
|
+
access_token?:
|
|
1150
|
+
string;
|
|
874
1151
|
/** Data format for response. */
|
|
875
|
-
alt?:
|
|
1152
|
+
alt?:
|
|
1153
|
+
string;
|
|
876
1154
|
/** JSONP */
|
|
877
|
-
callback?:
|
|
1155
|
+
callback?:
|
|
1156
|
+
string;
|
|
878
1157
|
/** Selector specifying which fields to include in a partial response. */
|
|
879
|
-
fields?:
|
|
1158
|
+
fields?:
|
|
1159
|
+
string;
|
|
880
1160
|
/** 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. */
|
|
881
|
-
key?:
|
|
1161
|
+
key?:
|
|
1162
|
+
string;
|
|
882
1163
|
/** OAuth 2.0 token for the current user. */
|
|
883
|
-
oauth_token?:
|
|
1164
|
+
oauth_token?:
|
|
1165
|
+
string;
|
|
884
1166
|
/** The project and location in which the Google Cloud Storage signed URL should be generated, specified in the format `projects/*/locations/*`. */
|
|
885
|
-
parent:
|
|
1167
|
+
parent:
|
|
1168
|
+
string;
|
|
886
1169
|
/** Returns response with indentations and line breaks. */
|
|
887
|
-
prettyPrint?:
|
|
1170
|
+
prettyPrint?:
|
|
1171
|
+
boolean;
|
|
888
1172
|
/** 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. */
|
|
889
|
-
quotaUser?:
|
|
1173
|
+
quotaUser?:
|
|
1174
|
+
string;
|
|
890
1175
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
891
|
-
upload_protocol?:
|
|
1176
|
+
upload_protocol?:
|
|
1177
|
+
string;
|
|
892
1178
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
893
|
-
uploadType?:
|
|
1179
|
+
uploadType?:
|
|
1180
|
+
string;
|
|
894
1181
|
/** Request body */
|
|
895
|
-
resource:
|
|
1182
|
+
resource:
|
|
1183
|
+
GenerateUploadUrlRequest;
|
|
896
1184
|
}): Request<GenerateUploadUrlResponse>;
|
|
897
1185
|
generateUploadUrl(request: {
|
|
898
1186
|
/** V1 error format. */
|
|
899
|
-
"$.xgafv"?:
|
|
1187
|
+
"$.xgafv"?:
|
|
1188
|
+
string;
|
|
900
1189
|
/** OAuth access token. */
|
|
901
|
-
access_token?:
|
|
1190
|
+
access_token?:
|
|
1191
|
+
string;
|
|
902
1192
|
/** Data format for response. */
|
|
903
|
-
alt?:
|
|
1193
|
+
alt?:
|
|
1194
|
+
string;
|
|
904
1195
|
/** JSONP */
|
|
905
|
-
callback?:
|
|
1196
|
+
callback?:
|
|
1197
|
+
string;
|
|
906
1198
|
/** Selector specifying which fields to include in a partial response. */
|
|
907
|
-
fields?:
|
|
1199
|
+
fields?:
|
|
1200
|
+
string;
|
|
908
1201
|
/** 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. */
|
|
909
|
-
key?:
|
|
1202
|
+
key?:
|
|
1203
|
+
string;
|
|
910
1204
|
/** OAuth 2.0 token for the current user. */
|
|
911
|
-
oauth_token?:
|
|
1205
|
+
oauth_token?:
|
|
1206
|
+
string;
|
|
912
1207
|
/** The project and location in which the Google Cloud Storage signed URL should be generated, specified in the format `projects/*/locations/*`. */
|
|
913
|
-
parent:
|
|
1208
|
+
parent:
|
|
1209
|
+
string;
|
|
914
1210
|
/** Returns response with indentations and line breaks. */
|
|
915
|
-
prettyPrint?:
|
|
1211
|
+
prettyPrint?:
|
|
1212
|
+
boolean;
|
|
916
1213
|
/** 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. */
|
|
917
|
-
quotaUser?:
|
|
1214
|
+
quotaUser?:
|
|
1215
|
+
string;
|
|
918
1216
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
919
|
-
upload_protocol?:
|
|
1217
|
+
upload_protocol?:
|
|
1218
|
+
string;
|
|
920
1219
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
921
|
-
uploadType?:
|
|
1220
|
+
uploadType?:
|
|
1221
|
+
string;
|
|
922
1222
|
},
|
|
923
1223
|
body: GenerateUploadUrlRequest): Request<GenerateUploadUrlResponse>;
|
|
924
1224
|
/** Returns a function with the given name from the requested project. */
|
|
925
1225
|
get(request?: {
|
|
926
1226
|
/** V1 error format. */
|
|
927
|
-
"$.xgafv"?:
|
|
1227
|
+
"$.xgafv"?:
|
|
1228
|
+
string;
|
|
928
1229
|
/** OAuth access token. */
|
|
929
|
-
access_token?:
|
|
1230
|
+
access_token?:
|
|
1231
|
+
string;
|
|
930
1232
|
/** Data format for response. */
|
|
931
|
-
alt?:
|
|
1233
|
+
alt?:
|
|
1234
|
+
string;
|
|
932
1235
|
/** JSONP */
|
|
933
|
-
callback?:
|
|
1236
|
+
callback?:
|
|
1237
|
+
string;
|
|
934
1238
|
/** Selector specifying which fields to include in a partial response. */
|
|
935
|
-
fields?:
|
|
1239
|
+
fields?:
|
|
1240
|
+
string;
|
|
936
1241
|
/** 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. */
|
|
937
|
-
key?:
|
|
1242
|
+
key?:
|
|
1243
|
+
string;
|
|
938
1244
|
/** Required. The name of the function which details should be obtained. */
|
|
939
|
-
name:
|
|
1245
|
+
name:
|
|
1246
|
+
string;
|
|
940
1247
|
/** OAuth 2.0 token for the current user. */
|
|
941
|
-
oauth_token?:
|
|
1248
|
+
oauth_token?:
|
|
1249
|
+
string;
|
|
942
1250
|
/** Returns response with indentations and line breaks. */
|
|
943
|
-
prettyPrint?:
|
|
1251
|
+
prettyPrint?:
|
|
1252
|
+
boolean;
|
|
944
1253
|
/** 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. */
|
|
945
|
-
quotaUser?:
|
|
1254
|
+
quotaUser?:
|
|
1255
|
+
string;
|
|
946
1256
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
947
|
-
upload_protocol?:
|
|
1257
|
+
upload_protocol?:
|
|
1258
|
+
string;
|
|
948
1259
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
949
|
-
uploadType?:
|
|
1260
|
+
uploadType?:
|
|
1261
|
+
string;
|
|
950
1262
|
}): Request<CloudFunction>;
|
|
951
1263
|
/** Gets the IAM access control policy for a function. Returns an empty policy if the function exists and does not have a policy set. */
|
|
952
1264
|
getIamPolicy(request?: {
|
|
953
1265
|
/** V1 error format. */
|
|
954
|
-
"$.xgafv"?:
|
|
1266
|
+
"$.xgafv"?:
|
|
1267
|
+
string;
|
|
955
1268
|
/** OAuth access token. */
|
|
956
|
-
access_token?:
|
|
1269
|
+
access_token?:
|
|
1270
|
+
string;
|
|
957
1271
|
/** Data format for response. */
|
|
958
|
-
alt?:
|
|
1272
|
+
alt?:
|
|
1273
|
+
string;
|
|
959
1274
|
/** JSONP */
|
|
960
|
-
callback?:
|
|
1275
|
+
callback?:
|
|
1276
|
+
string;
|
|
961
1277
|
/** Selector specifying which fields to include in a partial response. */
|
|
962
|
-
fields?:
|
|
1278
|
+
fields?:
|
|
1279
|
+
string;
|
|
963
1280
|
/** 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. */
|
|
964
|
-
key?:
|
|
1281
|
+
key?:
|
|
1282
|
+
string;
|
|
965
1283
|
/** OAuth 2.0 token for the current user. */
|
|
966
|
-
oauth_token?:
|
|
1284
|
+
oauth_token?:
|
|
1285
|
+
string;
|
|
967
1286
|
/**
|
|
968
1287
|
* 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
|
|
969
1288
|
* 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
|
|
@@ -971,148 +1290,207 @@ declare namespace gapi.client {
|
|
|
971
1290
|
* role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM
|
|
972
1291
|
* documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
973
1292
|
*/
|
|
974
|
-
"options.requestedPolicyVersion"?:
|
|
1293
|
+
"options.requestedPolicyVersion"?:
|
|
1294
|
+
number;
|
|
975
1295
|
/** Returns response with indentations and line breaks. */
|
|
976
|
-
prettyPrint?:
|
|
1296
|
+
prettyPrint?:
|
|
1297
|
+
boolean;
|
|
977
1298
|
/** 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. */
|
|
978
|
-
quotaUser?:
|
|
1299
|
+
quotaUser?:
|
|
1300
|
+
string;
|
|
979
1301
|
/**
|
|
980
1302
|
* 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
|
|
981
1303
|
* field.
|
|
982
1304
|
*/
|
|
983
|
-
resource:
|
|
1305
|
+
resource:
|
|
1306
|
+
string;
|
|
984
1307
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
985
|
-
upload_protocol?:
|
|
1308
|
+
upload_protocol?:
|
|
1309
|
+
string;
|
|
986
1310
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
987
|
-
uploadType?:
|
|
1311
|
+
uploadType?:
|
|
1312
|
+
string;
|
|
988
1313
|
}): Request<Policy>;
|
|
989
1314
|
/** Returns a list of functions that belong to the requested project. */
|
|
990
1315
|
list(request?: {
|
|
991
1316
|
/** V1 error format. */
|
|
992
|
-
"$.xgafv"?:
|
|
1317
|
+
"$.xgafv"?:
|
|
1318
|
+
string;
|
|
993
1319
|
/** OAuth access token. */
|
|
994
|
-
access_token?:
|
|
1320
|
+
access_token?:
|
|
1321
|
+
string;
|
|
995
1322
|
/** Data format for response. */
|
|
996
|
-
alt?:
|
|
1323
|
+
alt?:
|
|
1324
|
+
string;
|
|
997
1325
|
/** JSONP */
|
|
998
|
-
callback?:
|
|
1326
|
+
callback?:
|
|
1327
|
+
string;
|
|
999
1328
|
/** Selector specifying which fields to include in a partial response. */
|
|
1000
|
-
fields?:
|
|
1329
|
+
fields?:
|
|
1330
|
+
string;
|
|
1001
1331
|
/** 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. */
|
|
1002
|
-
key?:
|
|
1332
|
+
key?:
|
|
1333
|
+
string;
|
|
1003
1334
|
/** OAuth 2.0 token for the current user. */
|
|
1004
|
-
oauth_token?:
|
|
1335
|
+
oauth_token?:
|
|
1336
|
+
string;
|
|
1005
1337
|
/** Maximum number of functions to return per call. */
|
|
1006
|
-
pageSize?:
|
|
1338
|
+
pageSize?:
|
|
1339
|
+
number;
|
|
1007
1340
|
/**
|
|
1008
1341
|
* 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
|
|
1009
1342
|
* data.
|
|
1010
1343
|
*/
|
|
1011
|
-
pageToken?:
|
|
1344
|
+
pageToken?:
|
|
1345
|
+
string;
|
|
1012
1346
|
/**
|
|
1013
1347
|
* 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, use "-" in
|
|
1014
1348
|
* 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 locations along
|
|
1015
1349
|
* with the names of any unreachable locations.
|
|
1016
1350
|
*/
|
|
1017
|
-
parent:
|
|
1351
|
+
parent:
|
|
1352
|
+
string;
|
|
1018
1353
|
/** Returns response with indentations and line breaks. */
|
|
1019
|
-
prettyPrint?:
|
|
1354
|
+
prettyPrint?:
|
|
1355
|
+
boolean;
|
|
1020
1356
|
/** 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. */
|
|
1021
|
-
quotaUser?:
|
|
1357
|
+
quotaUser?:
|
|
1358
|
+
string;
|
|
1022
1359
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1023
|
-
upload_protocol?:
|
|
1360
|
+
upload_protocol?:
|
|
1361
|
+
string;
|
|
1024
1362
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1025
|
-
uploadType?:
|
|
1363
|
+
uploadType?:
|
|
1364
|
+
string;
|
|
1026
1365
|
}): Request<ListFunctionsResponse>;
|
|
1027
1366
|
/** Updates existing function. */
|
|
1028
1367
|
patch(request: {
|
|
1029
1368
|
/** V1 error format. */
|
|
1030
|
-
"$.xgafv"?:
|
|
1369
|
+
"$.xgafv"?:
|
|
1370
|
+
string;
|
|
1031
1371
|
/** OAuth access token. */
|
|
1032
|
-
access_token?:
|
|
1372
|
+
access_token?:
|
|
1373
|
+
string;
|
|
1033
1374
|
/** Data format for response. */
|
|
1034
|
-
alt?:
|
|
1375
|
+
alt?:
|
|
1376
|
+
string;
|
|
1035
1377
|
/** JSONP */
|
|
1036
|
-
callback?:
|
|
1378
|
+
callback?:
|
|
1379
|
+
string;
|
|
1037
1380
|
/** Selector specifying which fields to include in a partial response. */
|
|
1038
|
-
fields?:
|
|
1381
|
+
fields?:
|
|
1382
|
+
string;
|
|
1039
1383
|
/** 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. */
|
|
1040
|
-
key?:
|
|
1384
|
+
key?:
|
|
1385
|
+
string;
|
|
1041
1386
|
/** A user-defined name of the function. Function names must be unique globally and match pattern `projects/*/locations/*/functions/*` */
|
|
1042
|
-
name:
|
|
1387
|
+
name:
|
|
1388
|
+
string;
|
|
1043
1389
|
/** OAuth 2.0 token for the current user. */
|
|
1044
|
-
oauth_token?:
|
|
1390
|
+
oauth_token?:
|
|
1391
|
+
string;
|
|
1045
1392
|
/** Returns response with indentations and line breaks. */
|
|
1046
|
-
prettyPrint?:
|
|
1393
|
+
prettyPrint?:
|
|
1394
|
+
boolean;
|
|
1047
1395
|
/** 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. */
|
|
1048
|
-
quotaUser?:
|
|
1396
|
+
quotaUser?:
|
|
1397
|
+
string;
|
|
1049
1398
|
/** Required. The list of fields in `CloudFunction` that have to be updated. */
|
|
1050
|
-
updateMask?:
|
|
1399
|
+
updateMask?:
|
|
1400
|
+
string;
|
|
1051
1401
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1052
|
-
upload_protocol?:
|
|
1402
|
+
upload_protocol?:
|
|
1403
|
+
string;
|
|
1053
1404
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1054
|
-
uploadType?:
|
|
1405
|
+
uploadType?:
|
|
1406
|
+
string;
|
|
1055
1407
|
/** Request body */
|
|
1056
|
-
resource:
|
|
1408
|
+
resource:
|
|
1409
|
+
CloudFunction;
|
|
1057
1410
|
}): Request<Operation>;
|
|
1058
1411
|
patch(request: {
|
|
1059
1412
|
/** V1 error format. */
|
|
1060
|
-
"$.xgafv"?:
|
|
1413
|
+
"$.xgafv"?:
|
|
1414
|
+
string;
|
|
1061
1415
|
/** OAuth access token. */
|
|
1062
|
-
access_token?:
|
|
1416
|
+
access_token?:
|
|
1417
|
+
string;
|
|
1063
1418
|
/** Data format for response. */
|
|
1064
|
-
alt?:
|
|
1419
|
+
alt?:
|
|
1420
|
+
string;
|
|
1065
1421
|
/** JSONP */
|
|
1066
|
-
callback?:
|
|
1422
|
+
callback?:
|
|
1423
|
+
string;
|
|
1067
1424
|
/** Selector specifying which fields to include in a partial response. */
|
|
1068
|
-
fields?:
|
|
1425
|
+
fields?:
|
|
1426
|
+
string;
|
|
1069
1427
|
/** 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. */
|
|
1070
|
-
key?:
|
|
1428
|
+
key?:
|
|
1429
|
+
string;
|
|
1071
1430
|
/** A user-defined name of the function. Function names must be unique globally and match pattern `projects/*/locations/*/functions/*` */
|
|
1072
|
-
name:
|
|
1431
|
+
name:
|
|
1432
|
+
string;
|
|
1073
1433
|
/** OAuth 2.0 token for the current user. */
|
|
1074
|
-
oauth_token?:
|
|
1434
|
+
oauth_token?:
|
|
1435
|
+
string;
|
|
1075
1436
|
/** Returns response with indentations and line breaks. */
|
|
1076
|
-
prettyPrint?:
|
|
1437
|
+
prettyPrint?:
|
|
1438
|
+
boolean;
|
|
1077
1439
|
/** 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. */
|
|
1078
|
-
quotaUser?:
|
|
1440
|
+
quotaUser?:
|
|
1441
|
+
string;
|
|
1079
1442
|
/** Required. The list of fields in `CloudFunction` that have to be updated. */
|
|
1080
|
-
updateMask?:
|
|
1443
|
+
updateMask?:
|
|
1444
|
+
string;
|
|
1081
1445
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1082
|
-
upload_protocol?:
|
|
1446
|
+
upload_protocol?:
|
|
1447
|
+
string;
|
|
1083
1448
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1084
|
-
uploadType?:
|
|
1449
|
+
uploadType?:
|
|
1450
|
+
string;
|
|
1085
1451
|
},
|
|
1086
1452
|
body: CloudFunction): Request<Operation>;
|
|
1087
1453
|
/** Sets the IAM access control policy on the specified function. Replaces any existing policy. */
|
|
1088
1454
|
setIamPolicy(request: {
|
|
1089
1455
|
/** V1 error format. */
|
|
1090
|
-
"$.xgafv"?:
|
|
1456
|
+
"$.xgafv"?:
|
|
1457
|
+
string;
|
|
1091
1458
|
/** OAuth access token. */
|
|
1092
|
-
access_token?:
|
|
1459
|
+
access_token?:
|
|
1460
|
+
string;
|
|
1093
1461
|
/** Data format for response. */
|
|
1094
|
-
alt?:
|
|
1462
|
+
alt?:
|
|
1463
|
+
string;
|
|
1095
1464
|
/** JSONP */
|
|
1096
|
-
callback?:
|
|
1465
|
+
callback?:
|
|
1466
|
+
string;
|
|
1097
1467
|
/** Selector specifying which fields to include in a partial response. */
|
|
1098
|
-
fields?:
|
|
1468
|
+
fields?:
|
|
1469
|
+
string;
|
|
1099
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. */
|
|
1100
|
-
key?:
|
|
1471
|
+
key?:
|
|
1472
|
+
string;
|
|
1101
1473
|
/** OAuth 2.0 token for the current user. */
|
|
1102
|
-
oauth_token?:
|
|
1474
|
+
oauth_token?:
|
|
1475
|
+
string;
|
|
1103
1476
|
/** Returns response with indentations and line breaks. */
|
|
1104
|
-
prettyPrint?:
|
|
1477
|
+
prettyPrint?:
|
|
1478
|
+
boolean;
|
|
1105
1479
|
/** 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. */
|
|
1106
|
-
quotaUser?:
|
|
1480
|
+
quotaUser?:
|
|
1481
|
+
string;
|
|
1107
1482
|
/**
|
|
1108
1483
|
* 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
|
|
1109
1484
|
* field.
|
|
1110
1485
|
*/
|
|
1111
|
-
resource:
|
|
1486
|
+
resource:
|
|
1487
|
+
string;
|
|
1112
1488
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1113
|
-
upload_protocol?:
|
|
1489
|
+
upload_protocol?:
|
|
1490
|
+
string;
|
|
1114
1491
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1115
|
-
uploadType?:
|
|
1492
|
+
uploadType?:
|
|
1493
|
+
string;
|
|
1116
1494
|
},
|
|
1117
1495
|
body: SetIamPolicyRequest): Request<Policy>;
|
|
1118
1496
|
/**
|
|
@@ -1121,32 +1499,44 @@ declare namespace gapi.client {
|
|
|
1121
1499
|
*/
|
|
1122
1500
|
testIamPermissions(request: {
|
|
1123
1501
|
/** V1 error format. */
|
|
1124
|
-
"$.xgafv"?:
|
|
1502
|
+
"$.xgafv"?:
|
|
1503
|
+
string;
|
|
1125
1504
|
/** OAuth access token. */
|
|
1126
|
-
access_token?:
|
|
1505
|
+
access_token?:
|
|
1506
|
+
string;
|
|
1127
1507
|
/** Data format for response. */
|
|
1128
|
-
alt?:
|
|
1508
|
+
alt?:
|
|
1509
|
+
string;
|
|
1129
1510
|
/** JSONP */
|
|
1130
|
-
callback?:
|
|
1511
|
+
callback?:
|
|
1512
|
+
string;
|
|
1131
1513
|
/** Selector specifying which fields to include in a partial response. */
|
|
1132
|
-
fields?:
|
|
1514
|
+
fields?:
|
|
1515
|
+
string;
|
|
1133
1516
|
/** 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. */
|
|
1134
|
-
key?:
|
|
1517
|
+
key?:
|
|
1518
|
+
string;
|
|
1135
1519
|
/** OAuth 2.0 token for the current user. */
|
|
1136
|
-
oauth_token?:
|
|
1520
|
+
oauth_token?:
|
|
1521
|
+
string;
|
|
1137
1522
|
/** Returns response with indentations and line breaks. */
|
|
1138
|
-
prettyPrint?:
|
|
1523
|
+
prettyPrint?:
|
|
1524
|
+
boolean;
|
|
1139
1525
|
/** 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. */
|
|
1140
|
-
quotaUser?:
|
|
1526
|
+
quotaUser?:
|
|
1527
|
+
string;
|
|
1141
1528
|
/**
|
|
1142
1529
|
* 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
|
|
1143
1530
|
* this field.
|
|
1144
1531
|
*/
|
|
1145
|
-
resource:
|
|
1532
|
+
resource:
|
|
1533
|
+
string;
|
|
1146
1534
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1147
|
-
upload_protocol?:
|
|
1535
|
+
upload_protocol?:
|
|
1536
|
+
string;
|
|
1148
1537
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1149
|
-
uploadType?:
|
|
1538
|
+
uploadType?:
|
|
1539
|
+
string;
|
|
1150
1540
|
},
|
|
1151
1541
|
body: TestIamPermissionsRequest): Request<TestIamPermissionsResponse>;
|
|
1152
1542
|
}
|
|
@@ -1154,43 +1544,60 @@ declare namespace gapi.client {
|
|
|
1154
1544
|
/** Lists information about the supported locations for this service. */
|
|
1155
1545
|
list(request?: {
|
|
1156
1546
|
/** V1 error format. */
|
|
1157
|
-
"$.xgafv"?:
|
|
1547
|
+
"$.xgafv"?:
|
|
1548
|
+
string;
|
|
1158
1549
|
/** OAuth access token. */
|
|
1159
|
-
access_token?:
|
|
1550
|
+
access_token?:
|
|
1551
|
+
string;
|
|
1160
1552
|
/** Data format for response. */
|
|
1161
|
-
alt?:
|
|
1553
|
+
alt?:
|
|
1554
|
+
string;
|
|
1162
1555
|
/** JSONP */
|
|
1163
|
-
callback?:
|
|
1556
|
+
callback?:
|
|
1557
|
+
string;
|
|
1164
1558
|
/** Selector specifying which fields to include in a partial response. */
|
|
1165
|
-
fields?:
|
|
1559
|
+
fields?:
|
|
1560
|
+
string;
|
|
1166
1561
|
/**
|
|
1167
1562
|
* 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
|
|
1168
1563
|
* [AIP-160](https://google.aip.dev/160).
|
|
1169
1564
|
*/
|
|
1170
|
-
filter?:
|
|
1565
|
+
filter?:
|
|
1566
|
+
string;
|
|
1171
1567
|
/** 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. */
|
|
1172
|
-
key?:
|
|
1568
|
+
key?:
|
|
1569
|
+
string;
|
|
1173
1570
|
/** The resource that owns the locations collection, if applicable. */
|
|
1174
|
-
name:
|
|
1571
|
+
name:
|
|
1572
|
+
string;
|
|
1175
1573
|
/** OAuth 2.0 token for the current user. */
|
|
1176
|
-
oauth_token?:
|
|
1574
|
+
oauth_token?:
|
|
1575
|
+
string;
|
|
1177
1576
|
/** The maximum number of results to return. If not set, the service selects a default. */
|
|
1178
|
-
pageSize?:
|
|
1577
|
+
pageSize?:
|
|
1578
|
+
number;
|
|
1179
1579
|
/** A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page. */
|
|
1180
|
-
pageToken?:
|
|
1580
|
+
pageToken?:
|
|
1581
|
+
string;
|
|
1181
1582
|
/** Returns response with indentations and line breaks. */
|
|
1182
|
-
prettyPrint?:
|
|
1583
|
+
prettyPrint?:
|
|
1584
|
+
boolean;
|
|
1183
1585
|
/** 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. */
|
|
1184
|
-
quotaUser?:
|
|
1586
|
+
quotaUser?:
|
|
1587
|
+
string;
|
|
1185
1588
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1186
|
-
upload_protocol?:
|
|
1589
|
+
upload_protocol?:
|
|
1590
|
+
string;
|
|
1187
1591
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1188
|
-
uploadType?:
|
|
1592
|
+
uploadType?:
|
|
1593
|
+
string;
|
|
1189
1594
|
}): Request<ListLocationsResponse>;
|
|
1190
|
-
functions:
|
|
1595
|
+
functions:
|
|
1596
|
+
FunctionsResource;
|
|
1191
1597
|
}
|
|
1192
1598
|
interface ProjectsResource {
|
|
1193
|
-
locations:
|
|
1599
|
+
locations:
|
|
1600
|
+
LocationsResource;
|
|
1194
1601
|
}
|
|
1195
1602
|
|
|
1196
1603
|
const operations: OperationsResource;
|