@maxim_mazurok/gapi.client.appengine-v1 0.0.20220806
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 +2626 -0
- package/package.json +20 -0
- package/readme.md +94 -0
- package/tests.ts +897 -0
- package/tsconfig.json +18 -0
- package/tslint.json +6 -0
package/index.d.ts
ADDED
|
@@ -0,0 +1,2626 @@
|
|
|
1
|
+
/* Type definitions for non-npm package App Engine Admin API v1 0.0 */
|
|
2
|
+
// Project: https://cloud.google.com/appengine/docs/admin-api/
|
|
3
|
+
// Definitions by: Maxim Mazurok <https://github.com/Maxim-Mazurok>
|
|
4
|
+
// Nick Amoscato <https://github.com/namoscato>
|
|
5
|
+
// Declan Vong <https://github.com/declanvong>
|
|
6
|
+
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
7
|
+
// TypeScript Version: 2.8
|
|
8
|
+
|
|
9
|
+
// IMPORTANT
|
|
10
|
+
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
11
|
+
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
12
|
+
// Generated from: https://appengine.googleapis.com/$discovery/rest?version=v1
|
|
13
|
+
// Revision: 20220806
|
|
14
|
+
|
|
15
|
+
/// <reference types="gapi.client" />
|
|
16
|
+
|
|
17
|
+
declare namespace gapi.client {
|
|
18
|
+
/** Load App Engine Admin API v1 */
|
|
19
|
+
function load(urlOrObject: "https://appengine.googleapis.com/$discovery/rest?version=v1"): Promise<void>;
|
|
20
|
+
/** @deprecated Please load APIs with discovery documents. */
|
|
21
|
+
function load(name: "appengine", version: "v1"): Promise<void>;
|
|
22
|
+
/** @deprecated Please load APIs with discovery documents. */
|
|
23
|
+
function load(name: "appengine", version: "v1", callback: () => any): void;
|
|
24
|
+
|
|
25
|
+
namespace appengine {
|
|
26
|
+
interface ApiConfigHandler {
|
|
27
|
+
/** Action to take when users access resources that require authentication. Defaults to redirect. */
|
|
28
|
+
authFailAction?: string;
|
|
29
|
+
/** Level of login required to access this resource. Defaults to optional. */
|
|
30
|
+
login?: string;
|
|
31
|
+
/** Path to the script from the application root directory. */
|
|
32
|
+
script?: string;
|
|
33
|
+
/** Security (HTTPS) enforcement for this URL. */
|
|
34
|
+
securityLevel?: string;
|
|
35
|
+
/** URL to serve the endpoint at. */
|
|
36
|
+
url?: string;
|
|
37
|
+
}
|
|
38
|
+
interface ApiEndpointHandler {
|
|
39
|
+
/** Path to the script from the application root directory. */
|
|
40
|
+
scriptPath?: string;
|
|
41
|
+
}
|
|
42
|
+
interface Application {
|
|
43
|
+
/** Google Apps authentication domain that controls which users can access this application.Defaults to open access for any Google Account. */
|
|
44
|
+
authDomain?: string;
|
|
45
|
+
/**
|
|
46
|
+
* Google Cloud Storage bucket that can be used for storing files associated with this application. This bucket is associated with the application and can be used by the gcloud
|
|
47
|
+
* deployment commands.@OutputOnly
|
|
48
|
+
*/
|
|
49
|
+
codeBucket?: string;
|
|
50
|
+
/** The type of the Cloud Firestore or Cloud Datastore database associated with this application. */
|
|
51
|
+
databaseType?: string;
|
|
52
|
+
/** Google Cloud Storage bucket that can be used by this application to store content.@OutputOnly */
|
|
53
|
+
defaultBucket?: string;
|
|
54
|
+
/** Cookie expiration policy for this application. */
|
|
55
|
+
defaultCookieExpiration?: string;
|
|
56
|
+
/** Hostname used to reach this application, as resolved by App Engine.@OutputOnly */
|
|
57
|
+
defaultHostname?: string;
|
|
58
|
+
/** HTTP path dispatch rules for requests to the application that do not explicitly target a service or version. Rules are order-dependent. Up to 20 dispatch rules can be supported. */
|
|
59
|
+
dispatchRules?: UrlDispatchRule[];
|
|
60
|
+
/** The feature specific settings to be used in the application. */
|
|
61
|
+
featureSettings?: FeatureSettings;
|
|
62
|
+
/** The Google Container Registry domain used for storing managed build docker images for this application. */
|
|
63
|
+
gcrDomain?: string;
|
|
64
|
+
iap?: IdentityAwareProxy;
|
|
65
|
+
/**
|
|
66
|
+
* Identifier of the Application resource. This identifier is equivalent to the project ID of the Google Cloud Platform project where you want to deploy your application. Example:
|
|
67
|
+
* myapp.
|
|
68
|
+
*/
|
|
69
|
+
id?: string;
|
|
70
|
+
/**
|
|
71
|
+
* Location from which this application runs. Application instances run out of the data centers in the specified location, which is also where all of the application's end user content
|
|
72
|
+
* is stored.Defaults to us-central.View the list of supported locations (https://cloud.google.com/appengine/docs/locations).
|
|
73
|
+
*/
|
|
74
|
+
locationId?: string;
|
|
75
|
+
/** Full path to the Application resource in the API. Example: apps/myapp.@OutputOnly */
|
|
76
|
+
name?: string;
|
|
77
|
+
/** The service account associated with the application. This is the app-level default identity. If no identity provided during create version, Admin API will fallback to this one. */
|
|
78
|
+
serviceAccount?: string;
|
|
79
|
+
/** Serving status of this application. */
|
|
80
|
+
servingStatus?: string;
|
|
81
|
+
}
|
|
82
|
+
interface AuthorizedCertificate {
|
|
83
|
+
/** The SSL certificate serving the AuthorizedCertificate resource. This must be obtained independently from a certificate authority. */
|
|
84
|
+
certificateRawData?: CertificateRawData;
|
|
85
|
+
/** The user-specified display name of the certificate. This is not guaranteed to be unique. Example: My Certificate. */
|
|
86
|
+
displayName?: string;
|
|
87
|
+
/**
|
|
88
|
+
* Aggregate count of the domain mappings with this certificate mapped. This count includes domain mappings on applications for which the user does not have VIEWER permissions.Only
|
|
89
|
+
* returned by GET or LIST requests when specifically requested by the view=FULL_CERTIFICATE option.@OutputOnly
|
|
90
|
+
*/
|
|
91
|
+
domainMappingsCount?: number;
|
|
92
|
+
/** Topmost applicable domains of this certificate. This certificate applies to these domains and their subdomains. Example: example.com.@OutputOnly */
|
|
93
|
+
domainNames?: string[];
|
|
94
|
+
/**
|
|
95
|
+
* The time when this certificate expires. To update the renewal time on this certificate, upload an SSL certificate with a different expiration time using
|
|
96
|
+
* AuthorizedCertificates.UpdateAuthorizedCertificate.@OutputOnly
|
|
97
|
+
*/
|
|
98
|
+
expireTime?: string;
|
|
99
|
+
/** Relative name of the certificate. This is a unique value autogenerated on AuthorizedCertificate resource creation. Example: 12345.@OutputOnly */
|
|
100
|
+
id?: string;
|
|
101
|
+
/**
|
|
102
|
+
* Only applicable if this certificate is managed by App Engine. Managed certificates are tied to the lifecycle of a DomainMapping and cannot be updated or deleted via the
|
|
103
|
+
* AuthorizedCertificates API. If this certificate is manually administered by the user, this field will be empty.@OutputOnly
|
|
104
|
+
*/
|
|
105
|
+
managedCertificate?: ManagedCertificate;
|
|
106
|
+
/** Full path to the AuthorizedCertificate resource in the API. Example: apps/myapp/authorizedCertificates/12345.@OutputOnly */
|
|
107
|
+
name?: string;
|
|
108
|
+
/**
|
|
109
|
+
* The full paths to user visible Domain Mapping resources that have this certificate mapped. Example: apps/myapp/domainMappings/example.com.This may not represent the full list of
|
|
110
|
+
* mapped domain mappings if the user does not have VIEWER permissions on all of the applications that have this certificate mapped. See domain_mappings_count for a complete count.Only
|
|
111
|
+
* returned by GET or LIST requests when specifically requested by the view=FULL_CERTIFICATE option.@OutputOnly
|
|
112
|
+
*/
|
|
113
|
+
visibleDomainMappings?: string[];
|
|
114
|
+
}
|
|
115
|
+
interface AuthorizedDomain {
|
|
116
|
+
/** Fully qualified domain name of the domain authorized for use. Example: example.com. */
|
|
117
|
+
id?: string;
|
|
118
|
+
/** Full path to the AuthorizedDomain resource in the API. Example: apps/myapp/authorizedDomains/example.com.@OutputOnly */
|
|
119
|
+
name?: string;
|
|
120
|
+
}
|
|
121
|
+
interface AutomaticScaling {
|
|
122
|
+
/**
|
|
123
|
+
* The time period that the Autoscaler (https://cloud.google.com/compute/docs/autoscaler/) should wait before it starts collecting information from a new instance. This prevents the
|
|
124
|
+
* autoscaler from collecting information when the instance is initializing, during which the collected usage would not be reliable. Only applicable in the App Engine flexible
|
|
125
|
+
* environment.
|
|
126
|
+
*/
|
|
127
|
+
coolDownPeriod?: string;
|
|
128
|
+
/** Target scaling by CPU usage. */
|
|
129
|
+
cpuUtilization?: CpuUtilization;
|
|
130
|
+
/** Target scaling by disk usage. */
|
|
131
|
+
diskUtilization?: DiskUtilization;
|
|
132
|
+
/** Number of concurrent requests an automatic scaling instance can accept before the scheduler spawns a new instance.Defaults to a runtime-specific value. */
|
|
133
|
+
maxConcurrentRequests?: number;
|
|
134
|
+
/** Maximum number of idle instances that should be maintained for this version. */
|
|
135
|
+
maxIdleInstances?: number;
|
|
136
|
+
/** Maximum amount of time that a request should wait in the pending queue before starting a new instance to handle it. */
|
|
137
|
+
maxPendingLatency?: string;
|
|
138
|
+
/** Maximum number of instances that should be started to handle requests for this version. */
|
|
139
|
+
maxTotalInstances?: number;
|
|
140
|
+
/** Minimum number of idle instances that should be maintained for this version. Only applicable for the default version of a service. */
|
|
141
|
+
minIdleInstances?: number;
|
|
142
|
+
/** Minimum amount of time a request should wait in the pending queue before starting a new instance to handle it. */
|
|
143
|
+
minPendingLatency?: string;
|
|
144
|
+
/** Minimum number of running instances that should be maintained for this version. */
|
|
145
|
+
minTotalInstances?: number;
|
|
146
|
+
/** Target scaling by network usage. */
|
|
147
|
+
networkUtilization?: NetworkUtilization;
|
|
148
|
+
/** Target scaling by request utilization. */
|
|
149
|
+
requestUtilization?: RequestUtilization;
|
|
150
|
+
/** Scheduler settings for standard environment. */
|
|
151
|
+
standardSchedulerSettings?: StandardSchedulerSettings;
|
|
152
|
+
}
|
|
153
|
+
interface BasicScaling {
|
|
154
|
+
/** Duration of time after the last request that an instance must wait before the instance is shut down. */
|
|
155
|
+
idleTimeout?: string;
|
|
156
|
+
/** Maximum number of instances to create for this version. */
|
|
157
|
+
maxInstances?: number;
|
|
158
|
+
}
|
|
159
|
+
interface BatchUpdateIngressRulesRequest {
|
|
160
|
+
/** A list of FirewallRules to replace the existing set. */
|
|
161
|
+
ingressRules?: FirewallRule[];
|
|
162
|
+
}
|
|
163
|
+
interface BatchUpdateIngressRulesResponse {
|
|
164
|
+
/** The full list of ingress FirewallRules for this application. */
|
|
165
|
+
ingressRules?: FirewallRule[];
|
|
166
|
+
}
|
|
167
|
+
interface CertificateRawData {
|
|
168
|
+
/**
|
|
169
|
+
* Unencrypted PEM encoded RSA private key. This field is set once on certificate creation and then encrypted. The key size must be 2048 bits or fewer. Must include the header and
|
|
170
|
+
* footer. Example: -----BEGIN RSA PRIVATE KEY----- -----END RSA PRIVATE KEY----- @InputOnly
|
|
171
|
+
*/
|
|
172
|
+
privateKey?: string;
|
|
173
|
+
/**
|
|
174
|
+
* PEM encoded x.509 public key certificate. This field is set once on certificate creation. Must include the header and footer. Example: -----BEGIN CERTIFICATE----- -----END
|
|
175
|
+
* CERTIFICATE-----
|
|
176
|
+
*/
|
|
177
|
+
publicCertificate?: string;
|
|
178
|
+
}
|
|
179
|
+
interface CloudBuildOptions {
|
|
180
|
+
/**
|
|
181
|
+
* Path to the yaml file used in deployment, used to determine runtime configuration details.Required for flexible environment builds.See
|
|
182
|
+
* https://cloud.google.com/appengine/docs/standard/python/config/appref for more details.
|
|
183
|
+
*/
|
|
184
|
+
appYamlPath?: string;
|
|
185
|
+
/** The Cloud Build timeout used as part of any dependent builds performed by version creation. Defaults to 10 minutes. */
|
|
186
|
+
cloudBuildTimeout?: string;
|
|
187
|
+
}
|
|
188
|
+
interface ContainerInfo {
|
|
189
|
+
/**
|
|
190
|
+
* URI to the hosted container image in Google Container Registry. The URI must be fully qualified and include a tag or digest. Examples: "gcr.io/my-project/image:tag" or
|
|
191
|
+
* "gcr.io/my-project/image@digest"
|
|
192
|
+
*/
|
|
193
|
+
image?: string;
|
|
194
|
+
}
|
|
195
|
+
interface CpuUtilization {
|
|
196
|
+
/** Period of time over which CPU utilization is calculated. */
|
|
197
|
+
aggregationWindowLength?: string;
|
|
198
|
+
/** Target CPU utilization ratio to maintain when scaling. Must be between 0 and 1. */
|
|
199
|
+
targetUtilization?: number;
|
|
200
|
+
}
|
|
201
|
+
interface CreateVersionMetadataV1 {
|
|
202
|
+
/** The Cloud Build ID if one was created as part of the version create. @OutputOnly */
|
|
203
|
+
cloudBuildId?: string;
|
|
204
|
+
}
|
|
205
|
+
interface CreateVersionMetadataV1Alpha {
|
|
206
|
+
/** The Cloud Build ID if one was created as part of the version create. @OutputOnly */
|
|
207
|
+
cloudBuildId?: string;
|
|
208
|
+
}
|
|
209
|
+
interface CreateVersionMetadataV1Beta {
|
|
210
|
+
/** The Cloud Build ID if one was created as part of the version create. @OutputOnly */
|
|
211
|
+
cloudBuildId?: string;
|
|
212
|
+
}
|
|
213
|
+
interface DebugInstanceRequest {
|
|
214
|
+
/**
|
|
215
|
+
* Public SSH key to add to the instance. Examples: [USERNAME]:ssh-rsa [KEY_VALUE] [USERNAME] [USERNAME]:ssh-rsa [KEY_VALUE] google-ssh
|
|
216
|
+
* {"userName":"[USERNAME]","expireOn":"[EXPIRE_TIME]"}For more information, see Adding and Removing SSH Keys
|
|
217
|
+
* (https://cloud.google.com/compute/docs/instances/adding-removing-ssh-keys).
|
|
218
|
+
*/
|
|
219
|
+
sshKey?: string;
|
|
220
|
+
}
|
|
221
|
+
interface Deployment {
|
|
222
|
+
/**
|
|
223
|
+
* Options for any Google Cloud Build builds created as a part of this deployment.These options will only be used if a new build is created, such as when deploying to the App Engine
|
|
224
|
+
* flexible environment using files or zip.
|
|
225
|
+
*/
|
|
226
|
+
cloudBuildOptions?: CloudBuildOptions;
|
|
227
|
+
/** The Docker image for the container that runs the version. Only applicable for instances running in the App Engine flexible environment. */
|
|
228
|
+
container?: ContainerInfo;
|
|
229
|
+
/** Manifest of the files stored in Google Cloud Storage that are included as part of this version. All files must be readable using the credentials supplied with this call. */
|
|
230
|
+
files?: { [P in string]: FileInfo };
|
|
231
|
+
/** The zip file for this deployment, if this is a zip deployment. */
|
|
232
|
+
zip?: ZipInfo;
|
|
233
|
+
}
|
|
234
|
+
interface DiskUtilization {
|
|
235
|
+
/** Target bytes read per second. */
|
|
236
|
+
targetReadBytesPerSecond?: number;
|
|
237
|
+
/** Target ops read per seconds. */
|
|
238
|
+
targetReadOpsPerSecond?: number;
|
|
239
|
+
/** Target bytes written per second. */
|
|
240
|
+
targetWriteBytesPerSecond?: number;
|
|
241
|
+
/** Target ops written per second. */
|
|
242
|
+
targetWriteOpsPerSecond?: number;
|
|
243
|
+
}
|
|
244
|
+
interface DomainMapping {
|
|
245
|
+
/** Relative name of the domain serving the application. Example: example.com. */
|
|
246
|
+
id?: string;
|
|
247
|
+
/** Full path to the DomainMapping resource in the API. Example: apps/myapp/domainMapping/example.com.@OutputOnly */
|
|
248
|
+
name?: string;
|
|
249
|
+
/**
|
|
250
|
+
* The resource records required to configure this domain mapping. These records must be added to the domain's DNS configuration in order to serve the application via this domain
|
|
251
|
+
* mapping.@OutputOnly
|
|
252
|
+
*/
|
|
253
|
+
resourceRecords?: ResourceRecord[];
|
|
254
|
+
/** SSL configuration for this domain. If unconfigured, this domain will not serve with SSL. */
|
|
255
|
+
sslSettings?: SslSettings;
|
|
256
|
+
}
|
|
257
|
+
// tslint:disable-next-line:no-empty-interface
|
|
258
|
+
interface Empty {
|
|
259
|
+
}
|
|
260
|
+
interface EndpointsApiService {
|
|
261
|
+
/**
|
|
262
|
+
* Endpoints service configuration ID as specified by the Service Management API. For example "2016-09-19r1".By default, the rollout strategy for Endpoints is RolloutStrategy.FIXED.
|
|
263
|
+
* This means that Endpoints starts up with a particular configuration ID. When a new configuration is rolled out, Endpoints must be given the new configuration ID. The config_id field
|
|
264
|
+
* is used to give the configuration ID and is required in this case.Endpoints also has a rollout strategy called RolloutStrategy.MANAGED. When using this, Endpoints fetches the latest
|
|
265
|
+
* configuration and does not need the configuration ID. In this case, config_id must be omitted.
|
|
266
|
+
*/
|
|
267
|
+
configId?: string;
|
|
268
|
+
/** Enable or disable trace sampling. By default, this is set to false for enabled. */
|
|
269
|
+
disableTraceSampling?: boolean;
|
|
270
|
+
/** Endpoints service name which is the name of the "service" resource in the Service Management API. For example "myapi.endpoints.myproject.cloud.goog" */
|
|
271
|
+
name?: string;
|
|
272
|
+
/** Endpoints rollout strategy. If FIXED, config_id must be specified. If MANAGED, config_id must be omitted. */
|
|
273
|
+
rolloutStrategy?: string;
|
|
274
|
+
}
|
|
275
|
+
interface Entrypoint {
|
|
276
|
+
/** The format should be a shell command that can be fed to bash -c. */
|
|
277
|
+
shell?: string;
|
|
278
|
+
}
|
|
279
|
+
interface ErrorHandler {
|
|
280
|
+
/** Error condition this handler applies to. */
|
|
281
|
+
errorCode?: string;
|
|
282
|
+
/** MIME type of file. Defaults to text/html. */
|
|
283
|
+
mimeType?: string;
|
|
284
|
+
/** Static file content to be served for this error. */
|
|
285
|
+
staticFile?: string;
|
|
286
|
+
}
|
|
287
|
+
interface FeatureSettings {
|
|
288
|
+
/**
|
|
289
|
+
* Boolean value indicating if split health checks should be used instead of the legacy health checks. At an app.yaml level, this means defaulting to 'readiness_check' and
|
|
290
|
+
* 'liveness_check' values instead of 'health_check' ones. Once the legacy 'health_check' behavior is deprecated, and this value is always true, this setting can be removed.
|
|
291
|
+
*/
|
|
292
|
+
splitHealthChecks?: boolean;
|
|
293
|
+
/** If true, use Container-Optimized OS (https://cloud.google.com/container-optimized-os/) base image for VMs, rather than a base Debian image. */
|
|
294
|
+
useContainerOptimizedOs?: boolean;
|
|
295
|
+
}
|
|
296
|
+
interface FileInfo {
|
|
297
|
+
/** The MIME type of the file.Defaults to the value from Google Cloud Storage. */
|
|
298
|
+
mimeType?: string;
|
|
299
|
+
/** The SHA1 hash of the file, in hex. */
|
|
300
|
+
sha1Sum?: string;
|
|
301
|
+
/** URL source to use to fetch this file. Must be a URL to a resource in Google Cloud Storage in the form 'http(s)://storage.googleapis.com//'. */
|
|
302
|
+
sourceUrl?: string;
|
|
303
|
+
}
|
|
304
|
+
interface FirewallRule {
|
|
305
|
+
/** The action to take on matched requests. */
|
|
306
|
+
action?: string;
|
|
307
|
+
/** An optional string description of this rule. This field has a maximum length of 400 characters. */
|
|
308
|
+
description?: string;
|
|
309
|
+
/**
|
|
310
|
+
* A positive integer between 1, Int32.MaxValue-1 that defines the order of rule evaluation. Rules with the lowest priority are evaluated first.A default rule at priority
|
|
311
|
+
* Int32.MaxValue matches all IPv4 and IPv6 traffic when no previous rule matches. Only the action of this rule can be modified by the user.
|
|
312
|
+
*/
|
|
313
|
+
priority?: number;
|
|
314
|
+
/**
|
|
315
|
+
* IP address or range, defined using CIDR notation, of requests that this rule applies to. You can use the wildcard character "*" to match all IPs equivalent to "0/0" and "::/0"
|
|
316
|
+
* together. Examples: 192.168.1.1 or 192.168.0.0/16 or 2001:db8::/32 or 2001:0db8:0000:0042:0000:8a2e:0370:7334. Truncation will be silently performed on addresses which are not
|
|
317
|
+
* properly truncated. For example, 1.2.3.4/24 is accepted as the same address as 1.2.3.0/24. Similarly, for IPv6, 2001:db8::1/32 is accepted as the same address as 2001:db8::/32.
|
|
318
|
+
*/
|
|
319
|
+
sourceRange?: string;
|
|
320
|
+
}
|
|
321
|
+
interface GoogleAppengineV1betaLocationMetadata {
|
|
322
|
+
/** App Engine flexible environment is available in the given location.@OutputOnly */
|
|
323
|
+
flexibleEnvironmentAvailable?: boolean;
|
|
324
|
+
/** Output only. Search API (https://cloud.google.com/appengine/docs/standard/python/search) is available in the given location. */
|
|
325
|
+
searchApiAvailable?: boolean;
|
|
326
|
+
/** App Engine standard environment is available in the given location.@OutputOnly */
|
|
327
|
+
standardEnvironmentAvailable?: boolean;
|
|
328
|
+
}
|
|
329
|
+
interface HealthCheck {
|
|
330
|
+
/** Interval between health checks. */
|
|
331
|
+
checkInterval?: string;
|
|
332
|
+
/** Whether to explicitly disable health checks for this instance. */
|
|
333
|
+
disableHealthCheck?: boolean;
|
|
334
|
+
/** Number of consecutive successful health checks required before receiving traffic. */
|
|
335
|
+
healthyThreshold?: number;
|
|
336
|
+
/** Host header to send when performing an HTTP health check. Example: "myapp.appspot.com" */
|
|
337
|
+
host?: string;
|
|
338
|
+
/** Number of consecutive failed health checks required before an instance is restarted. */
|
|
339
|
+
restartThreshold?: number;
|
|
340
|
+
/** Time before the health check is considered failed. */
|
|
341
|
+
timeout?: string;
|
|
342
|
+
/** Number of consecutive failed health checks required before removing traffic. */
|
|
343
|
+
unhealthyThreshold?: number;
|
|
344
|
+
}
|
|
345
|
+
interface IdentityAwareProxy {
|
|
346
|
+
/** Whether the serving infrastructure will authenticate and authorize all incoming requests.If true, the oauth2_client_id and oauth2_client_secret fields must be non-empty. */
|
|
347
|
+
enabled?: boolean;
|
|
348
|
+
/** OAuth2 client ID to use for the authentication flow. */
|
|
349
|
+
oauth2ClientId?: string;
|
|
350
|
+
/**
|
|
351
|
+
* OAuth2 client secret to use for the authentication flow.For security reasons, this value cannot be retrieved via the API. Instead, the SHA-256 hash of the value is returned in the
|
|
352
|
+
* oauth2_client_secret_sha256 field.@InputOnly
|
|
353
|
+
*/
|
|
354
|
+
oauth2ClientSecret?: string;
|
|
355
|
+
/** Hex-encoded SHA-256 hash of the client secret.@OutputOnly */
|
|
356
|
+
oauth2ClientSecretSha256?: string;
|
|
357
|
+
}
|
|
358
|
+
interface Instance {
|
|
359
|
+
/** Output only. App Engine release this instance is running on. */
|
|
360
|
+
appEngineRelease?: string;
|
|
361
|
+
/** Output only. Availability of the instance. */
|
|
362
|
+
availability?: string;
|
|
363
|
+
/** Output only. Average latency (ms) over the last minute. */
|
|
364
|
+
averageLatency?: number;
|
|
365
|
+
/** Output only. Number of errors since this instance was started. */
|
|
366
|
+
errors?: number;
|
|
367
|
+
/** Output only. Relative name of the instance within the version. Example: instance-1. */
|
|
368
|
+
id?: string;
|
|
369
|
+
/** Output only. Total memory in use (bytes). */
|
|
370
|
+
memoryUsage?: string;
|
|
371
|
+
/** Output only. Full path to the Instance resource in the API. Example: apps/myapp/services/default/versions/v1/instances/instance-1. */
|
|
372
|
+
name?: string;
|
|
373
|
+
/** Output only. Average queries per second (QPS) over the last minute. */
|
|
374
|
+
qps?: number;
|
|
375
|
+
/** Output only. Number of requests since this instance was started. */
|
|
376
|
+
requests?: number;
|
|
377
|
+
/** Output only. Time that this instance was started.@OutputOnly */
|
|
378
|
+
startTime?: string;
|
|
379
|
+
/** Output only. Whether this instance is in debug mode. Only applicable for instances in App Engine flexible environment. */
|
|
380
|
+
vmDebugEnabled?: boolean;
|
|
381
|
+
/** Output only. Virtual machine ID of this instance. Only applicable for instances in App Engine flexible environment. */
|
|
382
|
+
vmId?: string;
|
|
383
|
+
/** Output only. The IP address of this instance. Only applicable for instances in App Engine flexible environment. */
|
|
384
|
+
vmIp?: string;
|
|
385
|
+
/** Output only. The liveness health check of this instance. Only applicable for instances in App Engine flexible environment. */
|
|
386
|
+
vmLiveness?: string;
|
|
387
|
+
/** Output only. Name of the virtual machine where this instance lives. Only applicable for instances in App Engine flexible environment. */
|
|
388
|
+
vmName?: string;
|
|
389
|
+
/** Output only. Status of the virtual machine where this instance lives. Only applicable for instances in App Engine flexible environment. */
|
|
390
|
+
vmStatus?: string;
|
|
391
|
+
/** Output only. Zone where the virtual machine is located. Only applicable for instances in App Engine flexible environment. */
|
|
392
|
+
vmZoneName?: string;
|
|
393
|
+
}
|
|
394
|
+
interface Library {
|
|
395
|
+
/** Name of the library. Example: "django". */
|
|
396
|
+
name?: string;
|
|
397
|
+
/** Version of the library to select, or "latest". */
|
|
398
|
+
version?: string;
|
|
399
|
+
}
|
|
400
|
+
interface ListAuthorizedCertificatesResponse {
|
|
401
|
+
/** The SSL certificates the user is authorized to administer. */
|
|
402
|
+
certificates?: AuthorizedCertificate[];
|
|
403
|
+
/** Continuation token for fetching the next page of results. */
|
|
404
|
+
nextPageToken?: string;
|
|
405
|
+
}
|
|
406
|
+
interface ListAuthorizedDomainsResponse {
|
|
407
|
+
/** The authorized domains belonging to the user. */
|
|
408
|
+
domains?: AuthorizedDomain[];
|
|
409
|
+
/** Continuation token for fetching the next page of results. */
|
|
410
|
+
nextPageToken?: string;
|
|
411
|
+
}
|
|
412
|
+
interface ListDomainMappingsResponse {
|
|
413
|
+
/** The domain mappings for the application. */
|
|
414
|
+
domainMappings?: DomainMapping[];
|
|
415
|
+
/** Continuation token for fetching the next page of results. */
|
|
416
|
+
nextPageToken?: string;
|
|
417
|
+
}
|
|
418
|
+
interface ListIngressRulesResponse {
|
|
419
|
+
/** The ingress FirewallRules for this application. */
|
|
420
|
+
ingressRules?: FirewallRule[];
|
|
421
|
+
/** Continuation token for fetching the next page of results. */
|
|
422
|
+
nextPageToken?: string;
|
|
423
|
+
}
|
|
424
|
+
interface ListInstancesResponse {
|
|
425
|
+
/** The instances belonging to the requested version. */
|
|
426
|
+
instances?: Instance[];
|
|
427
|
+
/** Continuation token for fetching the next page of results. */
|
|
428
|
+
nextPageToken?: string;
|
|
429
|
+
}
|
|
430
|
+
interface ListLocationsResponse {
|
|
431
|
+
/** A list of locations that matches the specified filter in the request. */
|
|
432
|
+
locations?: Location[];
|
|
433
|
+
/** The standard List next-page token. */
|
|
434
|
+
nextPageToken?: string;
|
|
435
|
+
}
|
|
436
|
+
interface ListOperationsResponse {
|
|
437
|
+
/** The standard List next-page token. */
|
|
438
|
+
nextPageToken?: string;
|
|
439
|
+
/** A list of operations that matches the specified filter in the request. */
|
|
440
|
+
operations?: Operation[];
|
|
441
|
+
}
|
|
442
|
+
interface ListServicesResponse {
|
|
443
|
+
/** Continuation token for fetching the next page of results. */
|
|
444
|
+
nextPageToken?: string;
|
|
445
|
+
/** The services belonging to the requested application. */
|
|
446
|
+
services?: Service[];
|
|
447
|
+
}
|
|
448
|
+
interface ListVersionsResponse {
|
|
449
|
+
/** Continuation token for fetching the next page of results. */
|
|
450
|
+
nextPageToken?: string;
|
|
451
|
+
/** The versions belonging to the requested service. */
|
|
452
|
+
versions?: Version[];
|
|
453
|
+
}
|
|
454
|
+
interface LivenessCheck {
|
|
455
|
+
/** Interval between health checks. */
|
|
456
|
+
checkInterval?: string;
|
|
457
|
+
/** Number of consecutive failed checks required before considering the VM unhealthy. */
|
|
458
|
+
failureThreshold?: number;
|
|
459
|
+
/** Host header to send when performing a HTTP Liveness check. Example: "myapp.appspot.com" */
|
|
460
|
+
host?: string;
|
|
461
|
+
/** The initial delay before starting to execute the checks. */
|
|
462
|
+
initialDelay?: string;
|
|
463
|
+
/** The request path. */
|
|
464
|
+
path?: string;
|
|
465
|
+
/** Number of consecutive successful checks required before considering the VM healthy. */
|
|
466
|
+
successThreshold?: number;
|
|
467
|
+
/** Time before the check is considered failed. */
|
|
468
|
+
timeout?: string;
|
|
469
|
+
}
|
|
470
|
+
interface Location {
|
|
471
|
+
/** The friendly name for this location, typically a nearby city name. For example, "Tokyo". */
|
|
472
|
+
displayName?: string;
|
|
473
|
+
/** Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"} */
|
|
474
|
+
labels?: { [P in string]: string };
|
|
475
|
+
/** The canonical id for this location. For example: "us-east1". */
|
|
476
|
+
locationId?: string;
|
|
477
|
+
/** Service-specific metadata. For example the available capacity at the given location. */
|
|
478
|
+
metadata?: { [P in string]: any };
|
|
479
|
+
/** Resource name for the location, which may vary between implementations. For example: "projects/example-project/locations/us-east1" */
|
|
480
|
+
name?: string;
|
|
481
|
+
}
|
|
482
|
+
interface LocationMetadata {
|
|
483
|
+
/** App Engine flexible environment is available in the given location.@OutputOnly */
|
|
484
|
+
flexibleEnvironmentAvailable?: boolean;
|
|
485
|
+
/** Output only. Search API (https://cloud.google.com/appengine/docs/standard/python/search) is available in the given location. */
|
|
486
|
+
searchApiAvailable?: boolean;
|
|
487
|
+
/** App Engine standard environment is available in the given location.@OutputOnly */
|
|
488
|
+
standardEnvironmentAvailable?: boolean;
|
|
489
|
+
}
|
|
490
|
+
interface ManagedCertificate {
|
|
491
|
+
/**
|
|
492
|
+
* Time at which the certificate was last renewed. The renewal process is fully managed. Certificate renewal will automatically occur before the certificate expires. Renewal errors can
|
|
493
|
+
* be tracked via ManagementStatus.@OutputOnly
|
|
494
|
+
*/
|
|
495
|
+
lastRenewalTime?: string;
|
|
496
|
+
/** Status of certificate management. Refers to the most recent certificate acquisition or renewal attempt.@OutputOnly */
|
|
497
|
+
status?: string;
|
|
498
|
+
}
|
|
499
|
+
interface ManualScaling {
|
|
500
|
+
/**
|
|
501
|
+
* Number of instances to assign to the service at the start. This number can later be altered by using the Modules API
|
|
502
|
+
* (https://cloud.google.com/appengine/docs/python/modules/functions) set_num_instances() function.
|
|
503
|
+
*/
|
|
504
|
+
instances?: number;
|
|
505
|
+
}
|
|
506
|
+
interface Network {
|
|
507
|
+
/** List of ports, or port pairs, to forward from the virtual machine to the application container. Only applicable in the App Engine flexible environment. */
|
|
508
|
+
forwardedPorts?: string[];
|
|
509
|
+
/** The IP mode for instances. Only applicable in the App Engine flexible environment. */
|
|
510
|
+
instanceIpMode?: string;
|
|
511
|
+
/** Tag to apply to the instance during creation. Only applicable in the App Engine flexible environment. */
|
|
512
|
+
instanceTag?: string;
|
|
513
|
+
/** Google Compute Engine network where the virtual machines are created. Specify the short name, not the resource path.Defaults to default. */
|
|
514
|
+
name?: string;
|
|
515
|
+
/** Enable session affinity. Only applicable in the App Engine flexible environment. */
|
|
516
|
+
sessionAffinity?: boolean;
|
|
517
|
+
/**
|
|
518
|
+
* Google Cloud Platform sub-network where the virtual machines are created. Specify the short name, not the resource path.If a subnetwork name is specified, a network name will also
|
|
519
|
+
* be required unless it is for the default network. If the network that the instance is being created in is a Legacy network, then the IP address is allocated from the IPv4Range. If
|
|
520
|
+
* the network that the instance is being created in is an auto Subnet Mode Network, then only network name should be specified (not the subnetwork_name) and the IP address is created
|
|
521
|
+
* from the IPCidrRange of the subnetwork that exists in that zone for that network. If the network that the instance is being created in is a custom Subnet Mode Network, then the
|
|
522
|
+
* subnetwork_name must be specified and the IP address is created from the IPCidrRange of the subnetwork.If specified, the subnetwork must exist in the same region as the App Engine
|
|
523
|
+
* flexible environment application.
|
|
524
|
+
*/
|
|
525
|
+
subnetworkName?: string;
|
|
526
|
+
}
|
|
527
|
+
interface NetworkSettings {
|
|
528
|
+
/** The ingress settings for version or service. */
|
|
529
|
+
ingressTrafficAllowed?: string;
|
|
530
|
+
}
|
|
531
|
+
interface NetworkUtilization {
|
|
532
|
+
/** Target bytes received per second. */
|
|
533
|
+
targetReceivedBytesPerSecond?: number;
|
|
534
|
+
/** Target packets received per second. */
|
|
535
|
+
targetReceivedPacketsPerSecond?: number;
|
|
536
|
+
/** Target bytes sent per second. */
|
|
537
|
+
targetSentBytesPerSecond?: number;
|
|
538
|
+
/** Target packets sent per second. */
|
|
539
|
+
targetSentPacketsPerSecond?: number;
|
|
540
|
+
}
|
|
541
|
+
interface Operation {
|
|
542
|
+
/** 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. */
|
|
543
|
+
done?: boolean;
|
|
544
|
+
/** The error result of the operation in case of failure or cancellation. */
|
|
545
|
+
error?: Status;
|
|
546
|
+
/**
|
|
547
|
+
* 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
|
|
548
|
+
* metadata. Any method that returns a long-running operation should document the metadata type, if any.
|
|
549
|
+
*/
|
|
550
|
+
metadata?: { [P in string]: any };
|
|
551
|
+
/**
|
|
552
|
+
* 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
|
|
553
|
+
* with operations/{unique_id}.
|
|
554
|
+
*/
|
|
555
|
+
name?: string;
|
|
556
|
+
/**
|
|
557
|
+
* 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 original
|
|
558
|
+
* 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 original method name.
|
|
559
|
+
* For example, if the original method name is TakeSnapshot(), the inferred response type is TakeSnapshotResponse.
|
|
560
|
+
*/
|
|
561
|
+
response?: { [P in string]: any };
|
|
562
|
+
}
|
|
563
|
+
interface OperationMetadataV1 {
|
|
564
|
+
createVersionMetadata?: CreateVersionMetadataV1;
|
|
565
|
+
/** Time that this operation completed.@OutputOnly */
|
|
566
|
+
endTime?: string;
|
|
567
|
+
/** Ephemeral message that may change every time the operation is polled. @OutputOnly */
|
|
568
|
+
ephemeralMessage?: string;
|
|
569
|
+
/** Time that this operation was created.@OutputOnly */
|
|
570
|
+
insertTime?: string;
|
|
571
|
+
/** API method that initiated this operation. Example: google.appengine.v1.Versions.CreateVersion.@OutputOnly */
|
|
572
|
+
method?: string;
|
|
573
|
+
/** Name of the resource that this operation is acting on. Example: apps/myapp/services/default.@OutputOnly */
|
|
574
|
+
target?: string;
|
|
575
|
+
/** User who requested this operation.@OutputOnly */
|
|
576
|
+
user?: string;
|
|
577
|
+
/** Durable messages that persist on every operation poll. @OutputOnly */
|
|
578
|
+
warning?: string[];
|
|
579
|
+
}
|
|
580
|
+
interface OperationMetadataV1Alpha {
|
|
581
|
+
createVersionMetadata?: CreateVersionMetadataV1Alpha;
|
|
582
|
+
/** Time that this operation completed.@OutputOnly */
|
|
583
|
+
endTime?: string;
|
|
584
|
+
/** Ephemeral message that may change every time the operation is polled. @OutputOnly */
|
|
585
|
+
ephemeralMessage?: string;
|
|
586
|
+
/** Time that this operation was created.@OutputOnly */
|
|
587
|
+
insertTime?: string;
|
|
588
|
+
/** API method that initiated this operation. Example: google.appengine.v1alpha.Versions.CreateVersion.@OutputOnly */
|
|
589
|
+
method?: string;
|
|
590
|
+
/** Name of the resource that this operation is acting on. Example: apps/myapp/services/default.@OutputOnly */
|
|
591
|
+
target?: string;
|
|
592
|
+
/** User who requested this operation.@OutputOnly */
|
|
593
|
+
user?: string;
|
|
594
|
+
/** Durable messages that persist on every operation poll. @OutputOnly */
|
|
595
|
+
warning?: string[];
|
|
596
|
+
}
|
|
597
|
+
interface OperationMetadataV1Beta {
|
|
598
|
+
createVersionMetadata?: CreateVersionMetadataV1Beta;
|
|
599
|
+
/** Time that this operation completed.@OutputOnly */
|
|
600
|
+
endTime?: string;
|
|
601
|
+
/** Ephemeral message that may change every time the operation is polled. @OutputOnly */
|
|
602
|
+
ephemeralMessage?: string;
|
|
603
|
+
/** Time that this operation was created.@OutputOnly */
|
|
604
|
+
insertTime?: string;
|
|
605
|
+
/** API method that initiated this operation. Example: google.appengine.v1beta.Versions.CreateVersion.@OutputOnly */
|
|
606
|
+
method?: string;
|
|
607
|
+
/** Name of the resource that this operation is acting on. Example: apps/myapp/services/default.@OutputOnly */
|
|
608
|
+
target?: string;
|
|
609
|
+
/** User who requested this operation.@OutputOnly */
|
|
610
|
+
user?: string;
|
|
611
|
+
/** Durable messages that persist on every operation poll. @OutputOnly */
|
|
612
|
+
warning?: string[];
|
|
613
|
+
}
|
|
614
|
+
interface ReadinessCheck {
|
|
615
|
+
/** A maximum time limit on application initialization, measured from moment the application successfully replies to a healthcheck until it is ready to serve traffic. */
|
|
616
|
+
appStartTimeout?: string;
|
|
617
|
+
/** Interval between health checks. */
|
|
618
|
+
checkInterval?: string;
|
|
619
|
+
/** Number of consecutive failed checks required before removing traffic. */
|
|
620
|
+
failureThreshold?: number;
|
|
621
|
+
/** Host header to send when performing a HTTP Readiness check. Example: "myapp.appspot.com" */
|
|
622
|
+
host?: string;
|
|
623
|
+
/** The request path. */
|
|
624
|
+
path?: string;
|
|
625
|
+
/** Number of consecutive successful checks required before receiving traffic. */
|
|
626
|
+
successThreshold?: number;
|
|
627
|
+
/** Time before the check is considered failed. */
|
|
628
|
+
timeout?: string;
|
|
629
|
+
}
|
|
630
|
+
// tslint:disable-next-line:no-empty-interface
|
|
631
|
+
interface RepairApplicationRequest {
|
|
632
|
+
}
|
|
633
|
+
interface RequestUtilization {
|
|
634
|
+
/** Target number of concurrent requests. */
|
|
635
|
+
targetConcurrentRequests?: number;
|
|
636
|
+
/** Target requests per second. */
|
|
637
|
+
targetRequestCountPerSecond?: number;
|
|
638
|
+
}
|
|
639
|
+
interface ResourceRecord {
|
|
640
|
+
/** Relative name of the object affected by this record. Only applicable for CNAME records. Example: 'www'. */
|
|
641
|
+
name?: string;
|
|
642
|
+
/** Data for this record. Values vary by record type, as defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1). */
|
|
643
|
+
rrdata?: string;
|
|
644
|
+
/** Resource record type. Example: AAAA. */
|
|
645
|
+
type?: string;
|
|
646
|
+
}
|
|
647
|
+
interface Resources {
|
|
648
|
+
/** Number of CPU cores needed. */
|
|
649
|
+
cpu?: number;
|
|
650
|
+
/** Disk size (GB) needed. */
|
|
651
|
+
diskGb?: number;
|
|
652
|
+
/** The name of the encryption key that is stored in Google Cloud KMS. Only should be used by Cloud Composer to encrypt the vm disk */
|
|
653
|
+
kmsKeyReference?: string;
|
|
654
|
+
/** Memory (GB) needed. */
|
|
655
|
+
memoryGb?: number;
|
|
656
|
+
/** User specified volumes. */
|
|
657
|
+
volumes?: Volume[];
|
|
658
|
+
}
|
|
659
|
+
interface ScriptHandler {
|
|
660
|
+
/** Path to the script from the application root directory. */
|
|
661
|
+
scriptPath?: string;
|
|
662
|
+
}
|
|
663
|
+
interface Service {
|
|
664
|
+
/** Relative name of the service within the application. Example: default.@OutputOnly */
|
|
665
|
+
id?: string;
|
|
666
|
+
/**
|
|
667
|
+
* A set of labels to apply to this service. Labels are key/value pairs that describe the service and all resources that belong to it (e.g., versions). The labels can be used to search
|
|
668
|
+
* and group resources, and are propagated to the usage and billing reports, enabling fine-grain analysis of costs. An example of using labels is to tag resources belonging to
|
|
669
|
+
* different environments (e.g., "env=prod", "env=qa"). Label keys and values can be no longer than 63 characters and can only contain lowercase letters, numeric characters,
|
|
670
|
+
* underscores, dashes, and international characters. Label keys must start with a lowercase letter or an international character. Each service can have at most 32 labels.
|
|
671
|
+
*/
|
|
672
|
+
labels?: { [P in string]: string };
|
|
673
|
+
/** Full path to the Service resource in the API. Example: apps/myapp/services/default.@OutputOnly */
|
|
674
|
+
name?: string;
|
|
675
|
+
/** Ingress settings for this service. Will apply to all versions. */
|
|
676
|
+
networkSettings?: NetworkSettings;
|
|
677
|
+
/** Mapping that defines fractional HTTP traffic diversion to different versions within the service. */
|
|
678
|
+
split?: TrafficSplit;
|
|
679
|
+
}
|
|
680
|
+
interface SslSettings {
|
|
681
|
+
/**
|
|
682
|
+
* ID of the AuthorizedCertificate resource configuring SSL for the application. Clearing this field will remove SSL support.By default, a managed certificate is automatically created
|
|
683
|
+
* for every domain mapping. To omit SSL support or to configure SSL manually, specify SslManagementType.MANUAL on a CREATE or UPDATE request. You must be authorized to administer the
|
|
684
|
+
* AuthorizedCertificate resource to manually map it to a DomainMapping resource. Example: 12345.
|
|
685
|
+
*/
|
|
686
|
+
certificateId?: string;
|
|
687
|
+
/**
|
|
688
|
+
* ID of the managed AuthorizedCertificate resource currently being provisioned, if applicable. Until the new managed certificate has been successfully provisioned, the previous SSL
|
|
689
|
+
* state will be preserved. Once the provisioning process completes, the certificate_id field will reflect the new managed certificate and this field will be left empty. To remove SSL
|
|
690
|
+
* support while there is still a pending managed certificate, clear the certificate_id field with an UpdateDomainMappingRequest.@OutputOnly
|
|
691
|
+
*/
|
|
692
|
+
pendingManagedCertificateId?: string;
|
|
693
|
+
/**
|
|
694
|
+
* SSL management type for this domain. If AUTOMATIC, a managed certificate is automatically provisioned. If MANUAL, certificate_id must be manually specified in order to configure SSL
|
|
695
|
+
* for this domain.
|
|
696
|
+
*/
|
|
697
|
+
sslManagementType?: string;
|
|
698
|
+
}
|
|
699
|
+
interface StandardSchedulerSettings {
|
|
700
|
+
/** Maximum number of instances to run for this version. Set to zero to disable max_instances configuration. */
|
|
701
|
+
maxInstances?: number;
|
|
702
|
+
/** Minimum number of instances to run for this version. Set to zero to disable min_instances configuration. */
|
|
703
|
+
minInstances?: number;
|
|
704
|
+
/** Target CPU utilization ratio to maintain when scaling. */
|
|
705
|
+
targetCpuUtilization?: number;
|
|
706
|
+
/** Target throughput utilization ratio to maintain when scaling */
|
|
707
|
+
targetThroughputUtilization?: number;
|
|
708
|
+
}
|
|
709
|
+
interface StaticFilesHandler {
|
|
710
|
+
/**
|
|
711
|
+
* Whether files should also be uploaded as code data. By default, files declared in static file handlers are uploaded as static data and are only served to end users; they cannot be
|
|
712
|
+
* read by the application. If enabled, uploads are charged against both your code and static data storage resource quotas.
|
|
713
|
+
*/
|
|
714
|
+
applicationReadable?: boolean;
|
|
715
|
+
/** Time a static file served by this handler should be cached by web proxies and browsers. */
|
|
716
|
+
expiration?: string;
|
|
717
|
+
/** HTTP headers to use for all responses from these URLs. */
|
|
718
|
+
httpHeaders?: { [P in string]: string };
|
|
719
|
+
/** MIME type used to serve all files served by this handler.Defaults to file-specific MIME types, which are derived from each file's filename extension. */
|
|
720
|
+
mimeType?: string;
|
|
721
|
+
/** Path to the static files matched by the URL pattern, from the application root directory. The path can refer to text matched in groupings in the URL pattern. */
|
|
722
|
+
path?: string;
|
|
723
|
+
/** Whether this handler should match the request if the file referenced by the handler does not exist. */
|
|
724
|
+
requireMatchingFile?: boolean;
|
|
725
|
+
/** Regular expression that matches the file paths for all files that should be referenced by this handler. */
|
|
726
|
+
uploadPathRegex?: string;
|
|
727
|
+
}
|
|
728
|
+
interface Status {
|
|
729
|
+
/** The status code, which should be an enum value of google.rpc.Code. */
|
|
730
|
+
code?: number;
|
|
731
|
+
/** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
|
|
732
|
+
details?: Array<{ [P in string]: any }>;
|
|
733
|
+
/**
|
|
734
|
+
* 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
|
|
735
|
+
* client.
|
|
736
|
+
*/
|
|
737
|
+
message?: string;
|
|
738
|
+
}
|
|
739
|
+
interface TrafficSplit {
|
|
740
|
+
/**
|
|
741
|
+
* Mapping from version IDs within the service to fractional (0.000, 1] allocations of traffic for that version. Each version can be specified only once, but some versions in the
|
|
742
|
+
* service may not have any traffic allocation. Services that have traffic allocated cannot be deleted until either the service is deleted or their traffic allocation is removed.
|
|
743
|
+
* Allocations must sum to 1. Up to two decimal place precision is supported for IP-based splits and up to three decimal places is supported for cookie-based splits.
|
|
744
|
+
*/
|
|
745
|
+
allocations?: { [P in string]: number };
|
|
746
|
+
/** Mechanism used to determine which version a request is sent to. The traffic selection algorithm will be stable for either type until allocations are changed. */
|
|
747
|
+
shardBy?: string;
|
|
748
|
+
}
|
|
749
|
+
interface UrlDispatchRule {
|
|
750
|
+
/** Domain name to match against. The wildcard "*" is supported if specified before a period: "*.".Defaults to matching all domains: "*". */
|
|
751
|
+
domain?: string;
|
|
752
|
+
/** Pathname within the host. Must start with a "/". A single "*" can be included at the end of the path.The sum of the lengths of the domain and path may not exceed 100 characters. */
|
|
753
|
+
path?: string;
|
|
754
|
+
/** Resource ID of a service in this application that should serve the matched request. The service must already exist. Example: default. */
|
|
755
|
+
service?: string;
|
|
756
|
+
}
|
|
757
|
+
interface UrlMap {
|
|
758
|
+
/** Uses API Endpoints to handle requests. */
|
|
759
|
+
apiEndpoint?: ApiEndpointHandler;
|
|
760
|
+
/** Action to take when users access resources that require authentication. Defaults to redirect. */
|
|
761
|
+
authFailAction?: string;
|
|
762
|
+
/** Level of login required to access this resource. Not supported for Node.js in the App Engine standard environment. */
|
|
763
|
+
login?: string;
|
|
764
|
+
/** 30x code to use when performing redirects for the secure field. Defaults to 302. */
|
|
765
|
+
redirectHttpResponseCode?: string;
|
|
766
|
+
/**
|
|
767
|
+
* Executes a script to handle the requests that match this URL pattern. Only the auto value is supported for Node.js in the App Engine standard environment, for example "script":
|
|
768
|
+
* "auto".
|
|
769
|
+
*/
|
|
770
|
+
script?: ScriptHandler;
|
|
771
|
+
/** Security (HTTPS) enforcement for this URL. */
|
|
772
|
+
securityLevel?: string;
|
|
773
|
+
/** Returns the contents of a file, such as an image, as the response. */
|
|
774
|
+
staticFiles?: StaticFilesHandler;
|
|
775
|
+
/**
|
|
776
|
+
* URL prefix. Uses regular expression syntax, which means regexp special characters must be escaped, but should not contain groupings. All URLs that begin with this prefix are handled
|
|
777
|
+
* by this handler, using the portion of the URL after the prefix as part of the file path.
|
|
778
|
+
*/
|
|
779
|
+
urlRegex?: string;
|
|
780
|
+
}
|
|
781
|
+
interface Version {
|
|
782
|
+
/** Serving configuration for Google Cloud Endpoints (https://cloud.google.com/appengine/docs/python/endpoints/).Only returned in GET requests if view=FULL is set. */
|
|
783
|
+
apiConfig?: ApiConfigHandler;
|
|
784
|
+
/** Allows App Engine second generation runtimes to access the legacy bundled services. */
|
|
785
|
+
appEngineApis?: boolean;
|
|
786
|
+
/** Automatic scaling is based on request rate, response latencies, and other application metrics. Instances are dynamically created and destroyed as needed in order to handle traffic. */
|
|
787
|
+
automaticScaling?: AutomaticScaling;
|
|
788
|
+
/**
|
|
789
|
+
* A service with basic scaling will create an instance when the application receives a request. The instance will be turned down when the app becomes idle. Basic scaling is ideal for
|
|
790
|
+
* work that is intermittent or driven by user activity.
|
|
791
|
+
*/
|
|
792
|
+
basicScaling?: BasicScaling;
|
|
793
|
+
/** Metadata settings that are supplied to this version to enable beta runtime features. */
|
|
794
|
+
betaSettings?: { [P in string]: string };
|
|
795
|
+
/** Environment variables available to the build environment.Only returned in GET requests if view=FULL is set. */
|
|
796
|
+
buildEnvVariables?: { [P in string]: string };
|
|
797
|
+
/** Email address of the user who created this version.@OutputOnly */
|
|
798
|
+
createdBy?: string;
|
|
799
|
+
/** Time that this version was created.@OutputOnly */
|
|
800
|
+
createTime?: string;
|
|
801
|
+
/**
|
|
802
|
+
* Duration that static files should be cached by web proxies and browsers. Only applicable if the corresponding StaticFilesHandler
|
|
803
|
+
* (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StaticFilesHandler) does not specify its own expiration time.Only returned in GET
|
|
804
|
+
* requests if view=FULL is set.
|
|
805
|
+
*/
|
|
806
|
+
defaultExpiration?: string;
|
|
807
|
+
/** Code and application artifacts that make up this version.Only returned in GET requests if view=FULL is set. */
|
|
808
|
+
deployment?: Deployment;
|
|
809
|
+
/** Total size in bytes of all the files that are included in this version and currently hosted on the App Engine disk.@OutputOnly */
|
|
810
|
+
diskUsageBytes?: string;
|
|
811
|
+
/** Cloud Endpoints configuration.If endpoints_api_service is set, the Cloud Endpoints Extensible Service Proxy will be provided to serve the API implemented by the app. */
|
|
812
|
+
endpointsApiService?: EndpointsApiService;
|
|
813
|
+
/** The entrypoint for the application. */
|
|
814
|
+
entrypoint?: Entrypoint;
|
|
815
|
+
/** App Engine execution environment for this version.Defaults to standard. */
|
|
816
|
+
env?: string;
|
|
817
|
+
/** Environment variables available to the application.Only returned in GET requests if view=FULL is set. */
|
|
818
|
+
envVariables?: { [P in string]: string };
|
|
819
|
+
/** Custom static error pages. Limited to 10KB per page.Only returned in GET requests if view=FULL is set. */
|
|
820
|
+
errorHandlers?: ErrorHandler[];
|
|
821
|
+
/**
|
|
822
|
+
* An ordered list of URL-matching patterns that should be applied to incoming requests. The first matching URL handles the request and other request handlers are not attempted.Only
|
|
823
|
+
* returned in GET requests if view=FULL is set.
|
|
824
|
+
*/
|
|
825
|
+
handlers?: UrlMap[];
|
|
826
|
+
/**
|
|
827
|
+
* Configures health checking for instances. Unhealthy instances are stopped and replaced with new instances. Only applicable in the App Engine flexible environment.Only returned in
|
|
828
|
+
* GET requests if view=FULL is set.
|
|
829
|
+
*/
|
|
830
|
+
healthCheck?: HealthCheck;
|
|
831
|
+
/**
|
|
832
|
+
* Relative name of the version within the service. Example: v1. Version names can contain only lowercase letters, numbers, or hyphens. Reserved names: "default", "latest", and any
|
|
833
|
+
* name with the prefix "ah-".
|
|
834
|
+
*/
|
|
835
|
+
id?: string;
|
|
836
|
+
/** Before an application can receive email or XMPP messages, the application must be configured to enable the service. */
|
|
837
|
+
inboundServices?: string[];
|
|
838
|
+
/**
|
|
839
|
+
* Instance class that is used to run this version. Valid values are: AutomaticScaling: F1, F2, F4, F4_1G ManualScaling or BasicScaling: B1, B2, B4, B8, B4_1GDefaults to F1 for
|
|
840
|
+
* AutomaticScaling and B1 for ManualScaling or BasicScaling.
|
|
841
|
+
*/
|
|
842
|
+
instanceClass?: string;
|
|
843
|
+
/** Configuration for third-party Python runtime libraries that are required by the application.Only returned in GET requests if view=FULL is set. */
|
|
844
|
+
libraries?: Library[];
|
|
845
|
+
/** Configures liveness health checking for instances. Unhealthy instances are stopped and replaced with new instancesOnly returned in GET requests if view=FULL is set. */
|
|
846
|
+
livenessCheck?: LivenessCheck;
|
|
847
|
+
/**
|
|
848
|
+
* A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time. Manually scaled versions are sometimes
|
|
849
|
+
* referred to as "backends".
|
|
850
|
+
*/
|
|
851
|
+
manualScaling?: ManualScaling;
|
|
852
|
+
/** Full path to the Version resource in the API. Example: apps/myapp/services/default/versions/v1.@OutputOnly */
|
|
853
|
+
name?: string;
|
|
854
|
+
/** Extra network settings. Only applicable in the App Engine flexible environment. */
|
|
855
|
+
network?: Network;
|
|
856
|
+
/** Files that match this pattern will not be built into this version. Only applicable for Go runtimes.Only returned in GET requests if view=FULL is set. */
|
|
857
|
+
nobuildFilesRegex?: string;
|
|
858
|
+
/** Configures readiness health checking for instances. Unhealthy instances are not put into the backend traffic rotation.Only returned in GET requests if view=FULL is set. */
|
|
859
|
+
readinessCheck?: ReadinessCheck;
|
|
860
|
+
/** Machine resources for this version. Only applicable in the App Engine flexible environment. */
|
|
861
|
+
resources?: Resources;
|
|
862
|
+
/** Desired runtime. Example: python27. */
|
|
863
|
+
runtime?: string;
|
|
864
|
+
/** The version of the API in the given runtime environment. Please see the app.yaml reference for valid values at https://cloud.google.com/appengine/docs/standard//config/appref */
|
|
865
|
+
runtimeApiVersion?: string;
|
|
866
|
+
/** The channel of the runtime to use. Only available for some runtimes. Defaults to the default channel. */
|
|
867
|
+
runtimeChannel?: string;
|
|
868
|
+
/** The path or name of the app's main executable. */
|
|
869
|
+
runtimeMainExecutablePath?: string;
|
|
870
|
+
/**
|
|
871
|
+
* The identity that the deployed version will run as. Admin API will use the App Engine Appspot service account as default if this field is neither provided in app.yaml file nor
|
|
872
|
+
* through CLI flag.
|
|
873
|
+
*/
|
|
874
|
+
serviceAccount?: string;
|
|
875
|
+
/**
|
|
876
|
+
* Current serving status of this version. Only the versions with a SERVING status create instances and can be billed.SERVING_STATUS_UNSPECIFIED is an invalid value. Defaults to
|
|
877
|
+
* SERVING.
|
|
878
|
+
*/
|
|
879
|
+
servingStatus?: string;
|
|
880
|
+
/** Whether multiple requests can be dispatched to this version at once. */
|
|
881
|
+
threadsafe?: boolean;
|
|
882
|
+
/** Serving URL for this version. Example: "https://myversion-dot-myservice-dot-myapp.appspot.com"@OutputOnly */
|
|
883
|
+
versionUrl?: string;
|
|
884
|
+
/** Whether to deploy this version in a container on a virtual machine. */
|
|
885
|
+
vm?: boolean;
|
|
886
|
+
/** Enables VPC connectivity for standard apps. */
|
|
887
|
+
vpcAccessConnector?: VpcAccessConnector;
|
|
888
|
+
/** The Google Compute Engine zones that are supported by this version in the App Engine flexible environment. Deprecated. */
|
|
889
|
+
zones?: string[];
|
|
890
|
+
}
|
|
891
|
+
interface Volume {
|
|
892
|
+
/** Unique name for the volume. */
|
|
893
|
+
name?: string;
|
|
894
|
+
/** Volume size in gigabytes. */
|
|
895
|
+
sizeGb?: number;
|
|
896
|
+
/** Underlying volume type, e.g. 'tmpfs'. */
|
|
897
|
+
volumeType?: string;
|
|
898
|
+
}
|
|
899
|
+
interface VpcAccessConnector {
|
|
900
|
+
/** The egress setting for the connector, controlling what traffic is diverted through it. */
|
|
901
|
+
egressSetting?: string;
|
|
902
|
+
/** Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1. */
|
|
903
|
+
name?: string;
|
|
904
|
+
}
|
|
905
|
+
interface ZipInfo {
|
|
906
|
+
/**
|
|
907
|
+
* An estimate of the number of files in a zip for a zip deployment. If set, must be greater than or equal to the actual number of files. Used for optimizing performance; if not
|
|
908
|
+
* provided, deployment may be slow.
|
|
909
|
+
*/
|
|
910
|
+
filesCount?: number;
|
|
911
|
+
/** URL of the zip file to deploy from. Must be a URL to a resource in Google Cloud Storage in the form 'http(s)://storage.googleapis.com//'. */
|
|
912
|
+
sourceUrl?: string;
|
|
913
|
+
}
|
|
914
|
+
interface AuthorizedCertificatesResource {
|
|
915
|
+
/** Uploads the specified SSL certificate. */
|
|
916
|
+
create(request: {
|
|
917
|
+
/** V1 error format. */
|
|
918
|
+
"$.xgafv"?: string;
|
|
919
|
+
/** OAuth access token. */
|
|
920
|
+
access_token?: string;
|
|
921
|
+
/** Data format for response. */
|
|
922
|
+
alt?: string;
|
|
923
|
+
/** Part of `parent`. Name of the parent Application resource. Example: apps/myapp. */
|
|
924
|
+
appsId: string;
|
|
925
|
+
/** JSONP */
|
|
926
|
+
callback?: string;
|
|
927
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
928
|
+
fields?: string;
|
|
929
|
+
/** 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. */
|
|
930
|
+
key?: string;
|
|
931
|
+
/** OAuth 2.0 token for the current user. */
|
|
932
|
+
oauth_token?: string;
|
|
933
|
+
/** Returns response with indentations and line breaks. */
|
|
934
|
+
prettyPrint?: boolean;
|
|
935
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
936
|
+
quotaUser?: string;
|
|
937
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
938
|
+
upload_protocol?: string;
|
|
939
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
940
|
+
uploadType?: string;
|
|
941
|
+
/** Request body */
|
|
942
|
+
resource: AuthorizedCertificate;
|
|
943
|
+
}): Request<AuthorizedCertificate>;
|
|
944
|
+
create(request: {
|
|
945
|
+
/** V1 error format. */
|
|
946
|
+
"$.xgafv"?: string;
|
|
947
|
+
/** OAuth access token. */
|
|
948
|
+
access_token?: string;
|
|
949
|
+
/** Data format for response. */
|
|
950
|
+
alt?: string;
|
|
951
|
+
/** Part of `parent`. Name of the parent Application resource. Example: apps/myapp. */
|
|
952
|
+
appsId: string;
|
|
953
|
+
/** JSONP */
|
|
954
|
+
callback?: string;
|
|
955
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
956
|
+
fields?: string;
|
|
957
|
+
/** 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. */
|
|
958
|
+
key?: string;
|
|
959
|
+
/** OAuth 2.0 token for the current user. */
|
|
960
|
+
oauth_token?: string;
|
|
961
|
+
/** Returns response with indentations and line breaks. */
|
|
962
|
+
prettyPrint?: boolean;
|
|
963
|
+
/** 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. */
|
|
964
|
+
quotaUser?: string;
|
|
965
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
966
|
+
upload_protocol?: string;
|
|
967
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
968
|
+
uploadType?: string;
|
|
969
|
+
},
|
|
970
|
+
body: AuthorizedCertificate): Request<AuthorizedCertificate>;
|
|
971
|
+
/** Deletes the specified SSL certificate. */
|
|
972
|
+
delete(request?: {
|
|
973
|
+
/** V1 error format. */
|
|
974
|
+
"$.xgafv"?: string;
|
|
975
|
+
/** OAuth access token. */
|
|
976
|
+
access_token?: string;
|
|
977
|
+
/** Data format for response. */
|
|
978
|
+
alt?: string;
|
|
979
|
+
/** Part of `name`. Name of the resource to delete. Example: apps/myapp/authorizedCertificates/12345. */
|
|
980
|
+
appsId: string;
|
|
981
|
+
/** Part of `name`. See documentation of `appsId`. */
|
|
982
|
+
authorizedCertificatesId: string;
|
|
983
|
+
/** JSONP */
|
|
984
|
+
callback?: string;
|
|
985
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
986
|
+
fields?: string;
|
|
987
|
+
/** 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. */
|
|
988
|
+
key?: string;
|
|
989
|
+
/** OAuth 2.0 token for the current user. */
|
|
990
|
+
oauth_token?: string;
|
|
991
|
+
/** Returns response with indentations and line breaks. */
|
|
992
|
+
prettyPrint?: boolean;
|
|
993
|
+
/** 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. */
|
|
994
|
+
quotaUser?: string;
|
|
995
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
996
|
+
upload_protocol?: string;
|
|
997
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
998
|
+
uploadType?: string;
|
|
999
|
+
}): Request<{}>;
|
|
1000
|
+
/** Gets the specified SSL certificate. */
|
|
1001
|
+
get(request?: {
|
|
1002
|
+
/** V1 error format. */
|
|
1003
|
+
"$.xgafv"?: string;
|
|
1004
|
+
/** OAuth access token. */
|
|
1005
|
+
access_token?: string;
|
|
1006
|
+
/** Data format for response. */
|
|
1007
|
+
alt?: string;
|
|
1008
|
+
/** Part of `name`. Name of the resource requested. Example: apps/myapp/authorizedCertificates/12345. */
|
|
1009
|
+
appsId: string;
|
|
1010
|
+
/** Part of `name`. See documentation of `appsId`. */
|
|
1011
|
+
authorizedCertificatesId: string;
|
|
1012
|
+
/** JSONP */
|
|
1013
|
+
callback?: string;
|
|
1014
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1015
|
+
fields?: string;
|
|
1016
|
+
/** 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. */
|
|
1017
|
+
key?: string;
|
|
1018
|
+
/** OAuth 2.0 token for the current user. */
|
|
1019
|
+
oauth_token?: string;
|
|
1020
|
+
/** Returns response with indentations and line breaks. */
|
|
1021
|
+
prettyPrint?: boolean;
|
|
1022
|
+
/** 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?: string;
|
|
1024
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1025
|
+
upload_protocol?: string;
|
|
1026
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1027
|
+
uploadType?: string;
|
|
1028
|
+
/** Controls the set of fields returned in the GET response. */
|
|
1029
|
+
view?: string;
|
|
1030
|
+
}): Request<AuthorizedCertificate>;
|
|
1031
|
+
/** Lists all SSL certificates the user is authorized to administer. */
|
|
1032
|
+
list(request?: {
|
|
1033
|
+
/** V1 error format. */
|
|
1034
|
+
"$.xgafv"?: string;
|
|
1035
|
+
/** OAuth access token. */
|
|
1036
|
+
access_token?: string;
|
|
1037
|
+
/** Data format for response. */
|
|
1038
|
+
alt?: string;
|
|
1039
|
+
/** Part of `parent`. Name of the parent Application resource. Example: apps/myapp. */
|
|
1040
|
+
appsId: string;
|
|
1041
|
+
/** JSONP */
|
|
1042
|
+
callback?: string;
|
|
1043
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1044
|
+
fields?: string;
|
|
1045
|
+
/** 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?: string;
|
|
1047
|
+
/** OAuth 2.0 token for the current user. */
|
|
1048
|
+
oauth_token?: string;
|
|
1049
|
+
/** Maximum results to return per page. */
|
|
1050
|
+
pageSize?: number;
|
|
1051
|
+
/** Continuation token for fetching the next page of results. */
|
|
1052
|
+
pageToken?: string;
|
|
1053
|
+
/** Returns response with indentations and line breaks. */
|
|
1054
|
+
prettyPrint?: boolean;
|
|
1055
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1056
|
+
quotaUser?: string;
|
|
1057
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1058
|
+
upload_protocol?: string;
|
|
1059
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1060
|
+
uploadType?: string;
|
|
1061
|
+
/** Controls the set of fields returned in the LIST response. */
|
|
1062
|
+
view?: string;
|
|
1063
|
+
}): Request<ListAuthorizedCertificatesResponse>;
|
|
1064
|
+
/**
|
|
1065
|
+
* Updates the specified SSL certificate. To renew a certificate and maintain its existing domain mappings, update certificate_data with a new certificate. The new certificate must be
|
|
1066
|
+
* applicable to the same domains as the original certificate. The certificate display_name may also be updated.
|
|
1067
|
+
*/
|
|
1068
|
+
patch(request: {
|
|
1069
|
+
/** V1 error format. */
|
|
1070
|
+
"$.xgafv"?: string;
|
|
1071
|
+
/** OAuth access token. */
|
|
1072
|
+
access_token?: string;
|
|
1073
|
+
/** Data format for response. */
|
|
1074
|
+
alt?: string;
|
|
1075
|
+
/** Part of `name`. Name of the resource to update. Example: apps/myapp/authorizedCertificates/12345. */
|
|
1076
|
+
appsId: string;
|
|
1077
|
+
/** Part of `name`. See documentation of `appsId`. */
|
|
1078
|
+
authorizedCertificatesId: string;
|
|
1079
|
+
/** JSONP */
|
|
1080
|
+
callback?: string;
|
|
1081
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1082
|
+
fields?: string;
|
|
1083
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1084
|
+
key?: string;
|
|
1085
|
+
/** OAuth 2.0 token for the current user. */
|
|
1086
|
+
oauth_token?: string;
|
|
1087
|
+
/** Returns response with indentations and line breaks. */
|
|
1088
|
+
prettyPrint?: boolean;
|
|
1089
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1090
|
+
quotaUser?: string;
|
|
1091
|
+
/** Standard field mask for the set of fields to be updated. Updates are only supported on the certificate_raw_data and display_name fields. */
|
|
1092
|
+
updateMask?: string;
|
|
1093
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1094
|
+
upload_protocol?: string;
|
|
1095
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1096
|
+
uploadType?: string;
|
|
1097
|
+
/** Request body */
|
|
1098
|
+
resource: AuthorizedCertificate;
|
|
1099
|
+
}): Request<AuthorizedCertificate>;
|
|
1100
|
+
patch(request: {
|
|
1101
|
+
/** V1 error format. */
|
|
1102
|
+
"$.xgafv"?: string;
|
|
1103
|
+
/** OAuth access token. */
|
|
1104
|
+
access_token?: string;
|
|
1105
|
+
/** Data format for response. */
|
|
1106
|
+
alt?: string;
|
|
1107
|
+
/** Part of `name`. Name of the resource to update. Example: apps/myapp/authorizedCertificates/12345. */
|
|
1108
|
+
appsId: string;
|
|
1109
|
+
/** Part of `name`. See documentation of `appsId`. */
|
|
1110
|
+
authorizedCertificatesId: string;
|
|
1111
|
+
/** JSONP */
|
|
1112
|
+
callback?: string;
|
|
1113
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1114
|
+
fields?: string;
|
|
1115
|
+
/** 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. */
|
|
1116
|
+
key?: string;
|
|
1117
|
+
/** OAuth 2.0 token for the current user. */
|
|
1118
|
+
oauth_token?: string;
|
|
1119
|
+
/** Returns response with indentations and line breaks. */
|
|
1120
|
+
prettyPrint?: boolean;
|
|
1121
|
+
/** 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. */
|
|
1122
|
+
quotaUser?: string;
|
|
1123
|
+
/** Standard field mask for the set of fields to be updated. Updates are only supported on the certificate_raw_data and display_name fields. */
|
|
1124
|
+
updateMask?: string;
|
|
1125
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1126
|
+
upload_protocol?: string;
|
|
1127
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1128
|
+
uploadType?: string;
|
|
1129
|
+
},
|
|
1130
|
+
body: AuthorizedCertificate): Request<AuthorizedCertificate>;
|
|
1131
|
+
}
|
|
1132
|
+
interface AuthorizedDomainsResource {
|
|
1133
|
+
/** Lists all domains the user is authorized to administer. */
|
|
1134
|
+
list(request?: {
|
|
1135
|
+
/** V1 error format. */
|
|
1136
|
+
"$.xgafv"?: string;
|
|
1137
|
+
/** OAuth access token. */
|
|
1138
|
+
access_token?: string;
|
|
1139
|
+
/** Data format for response. */
|
|
1140
|
+
alt?: string;
|
|
1141
|
+
/** Part of `parent`. Name of the parent Application resource. Example: apps/myapp. */
|
|
1142
|
+
appsId: string;
|
|
1143
|
+
/** JSONP */
|
|
1144
|
+
callback?: string;
|
|
1145
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1146
|
+
fields?: string;
|
|
1147
|
+
/** 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. */
|
|
1148
|
+
key?: string;
|
|
1149
|
+
/** OAuth 2.0 token for the current user. */
|
|
1150
|
+
oauth_token?: string;
|
|
1151
|
+
/** Maximum results to return per page. */
|
|
1152
|
+
pageSize?: number;
|
|
1153
|
+
/** Continuation token for fetching the next page of results. */
|
|
1154
|
+
pageToken?: string;
|
|
1155
|
+
/** Returns response with indentations and line breaks. */
|
|
1156
|
+
prettyPrint?: boolean;
|
|
1157
|
+
/** 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. */
|
|
1158
|
+
quotaUser?: string;
|
|
1159
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1160
|
+
upload_protocol?: string;
|
|
1161
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1162
|
+
uploadType?: string;
|
|
1163
|
+
}): Request<ListAuthorizedDomainsResponse>;
|
|
1164
|
+
}
|
|
1165
|
+
interface DomainMappingsResource {
|
|
1166
|
+
/**
|
|
1167
|
+
* Maps a domain to an application. A user must be authorized to administer a domain in order to map it to an application. For a list of available authorized domains, see
|
|
1168
|
+
* AuthorizedDomains.ListAuthorizedDomains.
|
|
1169
|
+
*/
|
|
1170
|
+
create(request: {
|
|
1171
|
+
/** V1 error format. */
|
|
1172
|
+
"$.xgafv"?: string;
|
|
1173
|
+
/** OAuth access token. */
|
|
1174
|
+
access_token?: string;
|
|
1175
|
+
/** Data format for response. */
|
|
1176
|
+
alt?: string;
|
|
1177
|
+
/** Part of `parent`. Name of the parent Application resource. Example: apps/myapp. */
|
|
1178
|
+
appsId: string;
|
|
1179
|
+
/** JSONP */
|
|
1180
|
+
callback?: string;
|
|
1181
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1182
|
+
fields?: string;
|
|
1183
|
+
/** 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. */
|
|
1184
|
+
key?: string;
|
|
1185
|
+
/** OAuth 2.0 token for the current user. */
|
|
1186
|
+
oauth_token?: string;
|
|
1187
|
+
/** Whether the domain creation should override any existing mappings for this domain. By default, overrides are rejected. */
|
|
1188
|
+
overrideStrategy?: string;
|
|
1189
|
+
/** Returns response with indentations and line breaks. */
|
|
1190
|
+
prettyPrint?: boolean;
|
|
1191
|
+
/** 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. */
|
|
1192
|
+
quotaUser?: string;
|
|
1193
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1194
|
+
upload_protocol?: string;
|
|
1195
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1196
|
+
uploadType?: string;
|
|
1197
|
+
/** Request body */
|
|
1198
|
+
resource: DomainMapping;
|
|
1199
|
+
}): Request<Operation>;
|
|
1200
|
+
create(request: {
|
|
1201
|
+
/** V1 error format. */
|
|
1202
|
+
"$.xgafv"?: string;
|
|
1203
|
+
/** OAuth access token. */
|
|
1204
|
+
access_token?: string;
|
|
1205
|
+
/** Data format for response. */
|
|
1206
|
+
alt?: string;
|
|
1207
|
+
/** Part of `parent`. Name of the parent Application resource. Example: apps/myapp. */
|
|
1208
|
+
appsId: string;
|
|
1209
|
+
/** JSONP */
|
|
1210
|
+
callback?: string;
|
|
1211
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1212
|
+
fields?: string;
|
|
1213
|
+
/** 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. */
|
|
1214
|
+
key?: string;
|
|
1215
|
+
/** OAuth 2.0 token for the current user. */
|
|
1216
|
+
oauth_token?: string;
|
|
1217
|
+
/** Whether the domain creation should override any existing mappings for this domain. By default, overrides are rejected. */
|
|
1218
|
+
overrideStrategy?: string;
|
|
1219
|
+
/** Returns response with indentations and line breaks. */
|
|
1220
|
+
prettyPrint?: boolean;
|
|
1221
|
+
/** 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. */
|
|
1222
|
+
quotaUser?: string;
|
|
1223
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1224
|
+
upload_protocol?: string;
|
|
1225
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1226
|
+
uploadType?: string;
|
|
1227
|
+
},
|
|
1228
|
+
body: DomainMapping): Request<Operation>;
|
|
1229
|
+
/** Deletes the specified domain mapping. A user must be authorized to administer the associated domain in order to delete a DomainMapping resource. */
|
|
1230
|
+
delete(request?: {
|
|
1231
|
+
/** V1 error format. */
|
|
1232
|
+
"$.xgafv"?: string;
|
|
1233
|
+
/** OAuth access token. */
|
|
1234
|
+
access_token?: string;
|
|
1235
|
+
/** Data format for response. */
|
|
1236
|
+
alt?: string;
|
|
1237
|
+
/** Part of `name`. Name of the resource to delete. Example: apps/myapp/domainMappings/example.com. */
|
|
1238
|
+
appsId: string;
|
|
1239
|
+
/** JSONP */
|
|
1240
|
+
callback?: string;
|
|
1241
|
+
/** Part of `name`. See documentation of `appsId`. */
|
|
1242
|
+
domainMappingsId: string;
|
|
1243
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1244
|
+
fields?: string;
|
|
1245
|
+
/** 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. */
|
|
1246
|
+
key?: string;
|
|
1247
|
+
/** OAuth 2.0 token for the current user. */
|
|
1248
|
+
oauth_token?: string;
|
|
1249
|
+
/** Returns response with indentations and line breaks. */
|
|
1250
|
+
prettyPrint?: boolean;
|
|
1251
|
+
/** 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. */
|
|
1252
|
+
quotaUser?: string;
|
|
1253
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1254
|
+
upload_protocol?: string;
|
|
1255
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1256
|
+
uploadType?: string;
|
|
1257
|
+
}): Request<Operation>;
|
|
1258
|
+
/** Gets the specified domain mapping. */
|
|
1259
|
+
get(request?: {
|
|
1260
|
+
/** V1 error format. */
|
|
1261
|
+
"$.xgafv"?: string;
|
|
1262
|
+
/** OAuth access token. */
|
|
1263
|
+
access_token?: string;
|
|
1264
|
+
/** Data format for response. */
|
|
1265
|
+
alt?: string;
|
|
1266
|
+
/** Part of `name`. Name of the resource requested. Example: apps/myapp/domainMappings/example.com. */
|
|
1267
|
+
appsId: string;
|
|
1268
|
+
/** JSONP */
|
|
1269
|
+
callback?: string;
|
|
1270
|
+
/** Part of `name`. See documentation of `appsId`. */
|
|
1271
|
+
domainMappingsId: string;
|
|
1272
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1273
|
+
fields?: string;
|
|
1274
|
+
/** 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. */
|
|
1275
|
+
key?: string;
|
|
1276
|
+
/** OAuth 2.0 token for the current user. */
|
|
1277
|
+
oauth_token?: string;
|
|
1278
|
+
/** Returns response with indentations and line breaks. */
|
|
1279
|
+
prettyPrint?: boolean;
|
|
1280
|
+
/** 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. */
|
|
1281
|
+
quotaUser?: string;
|
|
1282
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1283
|
+
upload_protocol?: string;
|
|
1284
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1285
|
+
uploadType?: string;
|
|
1286
|
+
}): Request<DomainMapping>;
|
|
1287
|
+
/** Lists the domain mappings on an application. */
|
|
1288
|
+
list(request?: {
|
|
1289
|
+
/** V1 error format. */
|
|
1290
|
+
"$.xgafv"?: string;
|
|
1291
|
+
/** OAuth access token. */
|
|
1292
|
+
access_token?: string;
|
|
1293
|
+
/** Data format for response. */
|
|
1294
|
+
alt?: string;
|
|
1295
|
+
/** Part of `parent`. Name of the parent Application resource. Example: apps/myapp. */
|
|
1296
|
+
appsId: string;
|
|
1297
|
+
/** JSONP */
|
|
1298
|
+
callback?: string;
|
|
1299
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1300
|
+
fields?: string;
|
|
1301
|
+
/** 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. */
|
|
1302
|
+
key?: string;
|
|
1303
|
+
/** OAuth 2.0 token for the current user. */
|
|
1304
|
+
oauth_token?: string;
|
|
1305
|
+
/** Maximum results to return per page. */
|
|
1306
|
+
pageSize?: number;
|
|
1307
|
+
/** Continuation token for fetching the next page of results. */
|
|
1308
|
+
pageToken?: string;
|
|
1309
|
+
/** Returns response with indentations and line breaks. */
|
|
1310
|
+
prettyPrint?: boolean;
|
|
1311
|
+
/** 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. */
|
|
1312
|
+
quotaUser?: string;
|
|
1313
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1314
|
+
upload_protocol?: string;
|
|
1315
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1316
|
+
uploadType?: string;
|
|
1317
|
+
}): Request<ListDomainMappingsResponse>;
|
|
1318
|
+
/**
|
|
1319
|
+
* Updates the specified domain mapping. To map an SSL certificate to a domain mapping, update certificate_id to point to an AuthorizedCertificate resource. A user must be authorized
|
|
1320
|
+
* to administer the associated domain in order to update a DomainMapping resource.
|
|
1321
|
+
*/
|
|
1322
|
+
patch(request: {
|
|
1323
|
+
/** V1 error format. */
|
|
1324
|
+
"$.xgafv"?: string;
|
|
1325
|
+
/** OAuth access token. */
|
|
1326
|
+
access_token?: string;
|
|
1327
|
+
/** Data format for response. */
|
|
1328
|
+
alt?: string;
|
|
1329
|
+
/** Part of `name`. Name of the resource to update. Example: apps/myapp/domainMappings/example.com. */
|
|
1330
|
+
appsId: string;
|
|
1331
|
+
/** JSONP */
|
|
1332
|
+
callback?: string;
|
|
1333
|
+
/** Part of `name`. See documentation of `appsId`. */
|
|
1334
|
+
domainMappingsId: string;
|
|
1335
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1336
|
+
fields?: string;
|
|
1337
|
+
/** 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. */
|
|
1338
|
+
key?: string;
|
|
1339
|
+
/** OAuth 2.0 token for the current user. */
|
|
1340
|
+
oauth_token?: string;
|
|
1341
|
+
/** Returns response with indentations and line breaks. */
|
|
1342
|
+
prettyPrint?: boolean;
|
|
1343
|
+
/** 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. */
|
|
1344
|
+
quotaUser?: string;
|
|
1345
|
+
/** Required. Standard field mask for the set of fields to be updated. */
|
|
1346
|
+
updateMask?: string;
|
|
1347
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1348
|
+
upload_protocol?: string;
|
|
1349
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1350
|
+
uploadType?: string;
|
|
1351
|
+
/** Request body */
|
|
1352
|
+
resource: DomainMapping;
|
|
1353
|
+
}): Request<Operation>;
|
|
1354
|
+
patch(request: {
|
|
1355
|
+
/** V1 error format. */
|
|
1356
|
+
"$.xgafv"?: string;
|
|
1357
|
+
/** OAuth access token. */
|
|
1358
|
+
access_token?: string;
|
|
1359
|
+
/** Data format for response. */
|
|
1360
|
+
alt?: string;
|
|
1361
|
+
/** Part of `name`. Name of the resource to update. Example: apps/myapp/domainMappings/example.com. */
|
|
1362
|
+
appsId: string;
|
|
1363
|
+
/** JSONP */
|
|
1364
|
+
callback?: string;
|
|
1365
|
+
/** Part of `name`. See documentation of `appsId`. */
|
|
1366
|
+
domainMappingsId: string;
|
|
1367
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1368
|
+
fields?: string;
|
|
1369
|
+
/** 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. */
|
|
1370
|
+
key?: string;
|
|
1371
|
+
/** OAuth 2.0 token for the current user. */
|
|
1372
|
+
oauth_token?: string;
|
|
1373
|
+
/** Returns response with indentations and line breaks. */
|
|
1374
|
+
prettyPrint?: boolean;
|
|
1375
|
+
/** 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. */
|
|
1376
|
+
quotaUser?: string;
|
|
1377
|
+
/** Required. Standard field mask for the set of fields to be updated. */
|
|
1378
|
+
updateMask?: string;
|
|
1379
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1380
|
+
upload_protocol?: string;
|
|
1381
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1382
|
+
uploadType?: string;
|
|
1383
|
+
},
|
|
1384
|
+
body: DomainMapping): Request<Operation>;
|
|
1385
|
+
}
|
|
1386
|
+
interface IngressRulesResource {
|
|
1387
|
+
/**
|
|
1388
|
+
* Replaces the entire firewall ruleset in one bulk operation. This overrides and replaces the rules of an existing firewall with the new rules.If the final rule does not match traffic
|
|
1389
|
+
* with the '*' wildcard IP range, then an "allow all" rule is explicitly added to the end of the list.
|
|
1390
|
+
*/
|
|
1391
|
+
batchUpdate(request: {
|
|
1392
|
+
/** V1 error format. */
|
|
1393
|
+
"$.xgafv"?: string;
|
|
1394
|
+
/** OAuth access token. */
|
|
1395
|
+
access_token?: string;
|
|
1396
|
+
/** Data format for response. */
|
|
1397
|
+
alt?: string;
|
|
1398
|
+
/** Part of `name`. Name of the Firewall collection to set. Example: apps/myapp/firewall/ingressRules. */
|
|
1399
|
+
appsId: string;
|
|
1400
|
+
/** JSONP */
|
|
1401
|
+
callback?: string;
|
|
1402
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1403
|
+
fields?: string;
|
|
1404
|
+
/** 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. */
|
|
1405
|
+
key?: string;
|
|
1406
|
+
/** OAuth 2.0 token for the current user. */
|
|
1407
|
+
oauth_token?: string;
|
|
1408
|
+
/** Returns response with indentations and line breaks. */
|
|
1409
|
+
prettyPrint?: boolean;
|
|
1410
|
+
/** 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. */
|
|
1411
|
+
quotaUser?: string;
|
|
1412
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1413
|
+
upload_protocol?: string;
|
|
1414
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1415
|
+
uploadType?: string;
|
|
1416
|
+
/** Request body */
|
|
1417
|
+
resource: BatchUpdateIngressRulesRequest;
|
|
1418
|
+
}): Request<BatchUpdateIngressRulesResponse>;
|
|
1419
|
+
batchUpdate(request: {
|
|
1420
|
+
/** V1 error format. */
|
|
1421
|
+
"$.xgafv"?: string;
|
|
1422
|
+
/** OAuth access token. */
|
|
1423
|
+
access_token?: string;
|
|
1424
|
+
/** Data format for response. */
|
|
1425
|
+
alt?: string;
|
|
1426
|
+
/** Part of `name`. Name of the Firewall collection to set. Example: apps/myapp/firewall/ingressRules. */
|
|
1427
|
+
appsId: string;
|
|
1428
|
+
/** JSONP */
|
|
1429
|
+
callback?: string;
|
|
1430
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1431
|
+
fields?: string;
|
|
1432
|
+
/** 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. */
|
|
1433
|
+
key?: string;
|
|
1434
|
+
/** OAuth 2.0 token for the current user. */
|
|
1435
|
+
oauth_token?: string;
|
|
1436
|
+
/** Returns response with indentations and line breaks. */
|
|
1437
|
+
prettyPrint?: boolean;
|
|
1438
|
+
/** 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. */
|
|
1439
|
+
quotaUser?: string;
|
|
1440
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1441
|
+
upload_protocol?: string;
|
|
1442
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1443
|
+
uploadType?: string;
|
|
1444
|
+
},
|
|
1445
|
+
body: BatchUpdateIngressRulesRequest): Request<BatchUpdateIngressRulesResponse>;
|
|
1446
|
+
/** Creates a firewall rule for the application. */
|
|
1447
|
+
create(request: {
|
|
1448
|
+
/** V1 error format. */
|
|
1449
|
+
"$.xgafv"?: string;
|
|
1450
|
+
/** OAuth access token. */
|
|
1451
|
+
access_token?: string;
|
|
1452
|
+
/** Data format for response. */
|
|
1453
|
+
alt?: string;
|
|
1454
|
+
/** Part of `parent`. Name of the parent Firewall collection in which to create a new rule. Example: apps/myapp/firewall/ingressRules. */
|
|
1455
|
+
appsId: string;
|
|
1456
|
+
/** JSONP */
|
|
1457
|
+
callback?: string;
|
|
1458
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1459
|
+
fields?: string;
|
|
1460
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1461
|
+
key?: string;
|
|
1462
|
+
/** OAuth 2.0 token for the current user. */
|
|
1463
|
+
oauth_token?: string;
|
|
1464
|
+
/** Returns response with indentations and line breaks. */
|
|
1465
|
+
prettyPrint?: boolean;
|
|
1466
|
+
/** 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. */
|
|
1467
|
+
quotaUser?: string;
|
|
1468
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1469
|
+
upload_protocol?: string;
|
|
1470
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1471
|
+
uploadType?: string;
|
|
1472
|
+
/** Request body */
|
|
1473
|
+
resource: FirewallRule;
|
|
1474
|
+
}): Request<FirewallRule>;
|
|
1475
|
+
create(request: {
|
|
1476
|
+
/** V1 error format. */
|
|
1477
|
+
"$.xgafv"?: string;
|
|
1478
|
+
/** OAuth access token. */
|
|
1479
|
+
access_token?: string;
|
|
1480
|
+
/** Data format for response. */
|
|
1481
|
+
alt?: string;
|
|
1482
|
+
/** Part of `parent`. Name of the parent Firewall collection in which to create a new rule. Example: apps/myapp/firewall/ingressRules. */
|
|
1483
|
+
appsId: string;
|
|
1484
|
+
/** JSONP */
|
|
1485
|
+
callback?: string;
|
|
1486
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1487
|
+
fields?: string;
|
|
1488
|
+
/** 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. */
|
|
1489
|
+
key?: string;
|
|
1490
|
+
/** OAuth 2.0 token for the current user. */
|
|
1491
|
+
oauth_token?: string;
|
|
1492
|
+
/** Returns response with indentations and line breaks. */
|
|
1493
|
+
prettyPrint?: boolean;
|
|
1494
|
+
/** 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. */
|
|
1495
|
+
quotaUser?: string;
|
|
1496
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1497
|
+
upload_protocol?: string;
|
|
1498
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1499
|
+
uploadType?: string;
|
|
1500
|
+
},
|
|
1501
|
+
body: FirewallRule): Request<FirewallRule>;
|
|
1502
|
+
/** Deletes the specified firewall rule. */
|
|
1503
|
+
delete(request?: {
|
|
1504
|
+
/** V1 error format. */
|
|
1505
|
+
"$.xgafv"?: string;
|
|
1506
|
+
/** OAuth access token. */
|
|
1507
|
+
access_token?: string;
|
|
1508
|
+
/** Data format for response. */
|
|
1509
|
+
alt?: string;
|
|
1510
|
+
/** Part of `name`. Name of the Firewall resource to delete. Example: apps/myapp/firewall/ingressRules/100. */
|
|
1511
|
+
appsId: string;
|
|
1512
|
+
/** JSONP */
|
|
1513
|
+
callback?: string;
|
|
1514
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1515
|
+
fields?: string;
|
|
1516
|
+
/** Part of `name`. See documentation of `appsId`. */
|
|
1517
|
+
ingressRulesId: string;
|
|
1518
|
+
/** 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. */
|
|
1519
|
+
key?: string;
|
|
1520
|
+
/** OAuth 2.0 token for the current user. */
|
|
1521
|
+
oauth_token?: string;
|
|
1522
|
+
/** Returns response with indentations and line breaks. */
|
|
1523
|
+
prettyPrint?: boolean;
|
|
1524
|
+
/** 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. */
|
|
1525
|
+
quotaUser?: string;
|
|
1526
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1527
|
+
upload_protocol?: string;
|
|
1528
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1529
|
+
uploadType?: string;
|
|
1530
|
+
}): Request<{}>;
|
|
1531
|
+
/** Gets the specified firewall rule. */
|
|
1532
|
+
get(request?: {
|
|
1533
|
+
/** V1 error format. */
|
|
1534
|
+
"$.xgafv"?: string;
|
|
1535
|
+
/** OAuth access token. */
|
|
1536
|
+
access_token?: string;
|
|
1537
|
+
/** Data format for response. */
|
|
1538
|
+
alt?: string;
|
|
1539
|
+
/** Part of `name`. Name of the Firewall resource to retrieve. Example: apps/myapp/firewall/ingressRules/100. */
|
|
1540
|
+
appsId: string;
|
|
1541
|
+
/** JSONP */
|
|
1542
|
+
callback?: string;
|
|
1543
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1544
|
+
fields?: string;
|
|
1545
|
+
/** Part of `name`. See documentation of `appsId`. */
|
|
1546
|
+
ingressRulesId: string;
|
|
1547
|
+
/** 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. */
|
|
1548
|
+
key?: string;
|
|
1549
|
+
/** OAuth 2.0 token for the current user. */
|
|
1550
|
+
oauth_token?: string;
|
|
1551
|
+
/** Returns response with indentations and line breaks. */
|
|
1552
|
+
prettyPrint?: boolean;
|
|
1553
|
+
/** 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. */
|
|
1554
|
+
quotaUser?: string;
|
|
1555
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1556
|
+
upload_protocol?: string;
|
|
1557
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1558
|
+
uploadType?: string;
|
|
1559
|
+
}): Request<FirewallRule>;
|
|
1560
|
+
/** Lists the firewall rules of an application. */
|
|
1561
|
+
list(request?: {
|
|
1562
|
+
/** V1 error format. */
|
|
1563
|
+
"$.xgafv"?: string;
|
|
1564
|
+
/** OAuth access token. */
|
|
1565
|
+
access_token?: string;
|
|
1566
|
+
/** Data format for response. */
|
|
1567
|
+
alt?: string;
|
|
1568
|
+
/** Part of `parent`. Name of the Firewall collection to retrieve. Example: apps/myapp/firewall/ingressRules. */
|
|
1569
|
+
appsId: string;
|
|
1570
|
+
/** JSONP */
|
|
1571
|
+
callback?: string;
|
|
1572
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1573
|
+
fields?: string;
|
|
1574
|
+
/** 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. */
|
|
1575
|
+
key?: string;
|
|
1576
|
+
/** A valid IP Address. If set, only rules matching this address will be returned. The first returned rule will be the rule that fires on requests from this IP. */
|
|
1577
|
+
matchingAddress?: string;
|
|
1578
|
+
/** OAuth 2.0 token for the current user. */
|
|
1579
|
+
oauth_token?: string;
|
|
1580
|
+
/** Maximum results to return per page. */
|
|
1581
|
+
pageSize?: number;
|
|
1582
|
+
/** Continuation token for fetching the next page of results. */
|
|
1583
|
+
pageToken?: string;
|
|
1584
|
+
/** Returns response with indentations and line breaks. */
|
|
1585
|
+
prettyPrint?: boolean;
|
|
1586
|
+
/** 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. */
|
|
1587
|
+
quotaUser?: string;
|
|
1588
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1589
|
+
upload_protocol?: string;
|
|
1590
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1591
|
+
uploadType?: string;
|
|
1592
|
+
}): Request<ListIngressRulesResponse>;
|
|
1593
|
+
/** Updates the specified firewall rule. */
|
|
1594
|
+
patch(request: {
|
|
1595
|
+
/** V1 error format. */
|
|
1596
|
+
"$.xgafv"?: string;
|
|
1597
|
+
/** OAuth access token. */
|
|
1598
|
+
access_token?: string;
|
|
1599
|
+
/** Data format for response. */
|
|
1600
|
+
alt?: string;
|
|
1601
|
+
/** Part of `name`. Name of the Firewall resource to update. Example: apps/myapp/firewall/ingressRules/100. */
|
|
1602
|
+
appsId: string;
|
|
1603
|
+
/** JSONP */
|
|
1604
|
+
callback?: string;
|
|
1605
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1606
|
+
fields?: string;
|
|
1607
|
+
/** Part of `name`. See documentation of `appsId`. */
|
|
1608
|
+
ingressRulesId: string;
|
|
1609
|
+
/** 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. */
|
|
1610
|
+
key?: string;
|
|
1611
|
+
/** OAuth 2.0 token for the current user. */
|
|
1612
|
+
oauth_token?: string;
|
|
1613
|
+
/** Returns response with indentations and line breaks. */
|
|
1614
|
+
prettyPrint?: boolean;
|
|
1615
|
+
/** 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. */
|
|
1616
|
+
quotaUser?: string;
|
|
1617
|
+
/** Standard field mask for the set of fields to be updated. */
|
|
1618
|
+
updateMask?: string;
|
|
1619
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1620
|
+
upload_protocol?: string;
|
|
1621
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1622
|
+
uploadType?: string;
|
|
1623
|
+
/** Request body */
|
|
1624
|
+
resource: FirewallRule;
|
|
1625
|
+
}): Request<FirewallRule>;
|
|
1626
|
+
patch(request: {
|
|
1627
|
+
/** V1 error format. */
|
|
1628
|
+
"$.xgafv"?: string;
|
|
1629
|
+
/** OAuth access token. */
|
|
1630
|
+
access_token?: string;
|
|
1631
|
+
/** Data format for response. */
|
|
1632
|
+
alt?: string;
|
|
1633
|
+
/** Part of `name`. Name of the Firewall resource to update. Example: apps/myapp/firewall/ingressRules/100. */
|
|
1634
|
+
appsId: string;
|
|
1635
|
+
/** JSONP */
|
|
1636
|
+
callback?: string;
|
|
1637
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1638
|
+
fields?: string;
|
|
1639
|
+
/** Part of `name`. See documentation of `appsId`. */
|
|
1640
|
+
ingressRulesId: string;
|
|
1641
|
+
/** 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. */
|
|
1642
|
+
key?: string;
|
|
1643
|
+
/** OAuth 2.0 token for the current user. */
|
|
1644
|
+
oauth_token?: string;
|
|
1645
|
+
/** Returns response with indentations and line breaks. */
|
|
1646
|
+
prettyPrint?: boolean;
|
|
1647
|
+
/** 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. */
|
|
1648
|
+
quotaUser?: string;
|
|
1649
|
+
/** Standard field mask for the set of fields to be updated. */
|
|
1650
|
+
updateMask?: string;
|
|
1651
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1652
|
+
upload_protocol?: string;
|
|
1653
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1654
|
+
uploadType?: string;
|
|
1655
|
+
},
|
|
1656
|
+
body: FirewallRule): Request<FirewallRule>;
|
|
1657
|
+
}
|
|
1658
|
+
interface FirewallResource {
|
|
1659
|
+
ingressRules: IngressRulesResource;
|
|
1660
|
+
}
|
|
1661
|
+
interface LocationsResource {
|
|
1662
|
+
/** Gets information about a location. */
|
|
1663
|
+
get(request?: {
|
|
1664
|
+
/** V1 error format. */
|
|
1665
|
+
"$.xgafv"?: string;
|
|
1666
|
+
/** OAuth access token. */
|
|
1667
|
+
access_token?: string;
|
|
1668
|
+
/** Data format for response. */
|
|
1669
|
+
alt?: string;
|
|
1670
|
+
/** Part of `name`. Resource name for the location. */
|
|
1671
|
+
appsId: string;
|
|
1672
|
+
/** JSONP */
|
|
1673
|
+
callback?: string;
|
|
1674
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1675
|
+
fields?: string;
|
|
1676
|
+
/** 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. */
|
|
1677
|
+
key?: string;
|
|
1678
|
+
/** Part of `name`. See documentation of `appsId`. */
|
|
1679
|
+
locationsId: string;
|
|
1680
|
+
/** OAuth 2.0 token for the current user. */
|
|
1681
|
+
oauth_token?: string;
|
|
1682
|
+
/** Returns response with indentations and line breaks. */
|
|
1683
|
+
prettyPrint?: boolean;
|
|
1684
|
+
/** 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. */
|
|
1685
|
+
quotaUser?: string;
|
|
1686
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1687
|
+
upload_protocol?: string;
|
|
1688
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1689
|
+
uploadType?: string;
|
|
1690
|
+
}): Request<Location>;
|
|
1691
|
+
/** Lists information about the supported locations for this service. */
|
|
1692
|
+
list(request?: {
|
|
1693
|
+
/** V1 error format. */
|
|
1694
|
+
"$.xgafv"?: string;
|
|
1695
|
+
/** OAuth access token. */
|
|
1696
|
+
access_token?: string;
|
|
1697
|
+
/** Data format for response. */
|
|
1698
|
+
alt?: string;
|
|
1699
|
+
/** Part of `name`. The resource that owns the locations collection, if applicable. */
|
|
1700
|
+
appsId: string;
|
|
1701
|
+
/** JSONP */
|
|
1702
|
+
callback?: string;
|
|
1703
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1704
|
+
fields?: string;
|
|
1705
|
+
/**
|
|
1706
|
+
* 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 AIP-160
|
|
1707
|
+
* (https://google.aip.dev/160).
|
|
1708
|
+
*/
|
|
1709
|
+
filter?: string;
|
|
1710
|
+
/** 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. */
|
|
1711
|
+
key?: string;
|
|
1712
|
+
/** OAuth 2.0 token for the current user. */
|
|
1713
|
+
oauth_token?: string;
|
|
1714
|
+
/** The maximum number of results to return. If not set, the service selects a default. */
|
|
1715
|
+
pageSize?: number;
|
|
1716
|
+
/** A page token received from the next_page_token field in the response. Send that page token to receive the subsequent page. */
|
|
1717
|
+
pageToken?: string;
|
|
1718
|
+
/** Returns response with indentations and line breaks. */
|
|
1719
|
+
prettyPrint?: boolean;
|
|
1720
|
+
/** 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. */
|
|
1721
|
+
quotaUser?: string;
|
|
1722
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1723
|
+
upload_protocol?: string;
|
|
1724
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1725
|
+
uploadType?: string;
|
|
1726
|
+
}): Request<ListLocationsResponse>;
|
|
1727
|
+
}
|
|
1728
|
+
interface OperationsResource {
|
|
1729
|
+
/** 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. */
|
|
1730
|
+
get(request?: {
|
|
1731
|
+
/** V1 error format. */
|
|
1732
|
+
"$.xgafv"?: string;
|
|
1733
|
+
/** OAuth access token. */
|
|
1734
|
+
access_token?: string;
|
|
1735
|
+
/** Data format for response. */
|
|
1736
|
+
alt?: string;
|
|
1737
|
+
/** Part of `name`. The name of the operation resource. */
|
|
1738
|
+
appsId: string;
|
|
1739
|
+
/** JSONP */
|
|
1740
|
+
callback?: string;
|
|
1741
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1742
|
+
fields?: string;
|
|
1743
|
+
/** 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. */
|
|
1744
|
+
key?: string;
|
|
1745
|
+
/** OAuth 2.0 token for the current user. */
|
|
1746
|
+
oauth_token?: string;
|
|
1747
|
+
/** Part of `name`. See documentation of `appsId`. */
|
|
1748
|
+
operationsId: string;
|
|
1749
|
+
/** Returns response with indentations and line breaks. */
|
|
1750
|
+
prettyPrint?: boolean;
|
|
1751
|
+
/** 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. */
|
|
1752
|
+
quotaUser?: string;
|
|
1753
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1754
|
+
upload_protocol?: string;
|
|
1755
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1756
|
+
uploadType?: string;
|
|
1757
|
+
}): Request<Operation>;
|
|
1758
|
+
/**
|
|
1759
|
+
* Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name binding allows API services to
|
|
1760
|
+
* override the binding to use different resource name schemes, such as users/*/operations. To override the binding, API services can add a binding such as
|
|
1761
|
+
* "/v1/{name=users/*}/operations" to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must
|
|
1762
|
+
* ensure the name binding is the parent resource, without the operations collection id.
|
|
1763
|
+
*/
|
|
1764
|
+
list(request?: {
|
|
1765
|
+
/** V1 error format. */
|
|
1766
|
+
"$.xgafv"?: string;
|
|
1767
|
+
/** OAuth access token. */
|
|
1768
|
+
access_token?: string;
|
|
1769
|
+
/** Data format for response. */
|
|
1770
|
+
alt?: string;
|
|
1771
|
+
/** Part of `name`. The name of the operation's parent resource. */
|
|
1772
|
+
appsId: string;
|
|
1773
|
+
/** JSONP */
|
|
1774
|
+
callback?: string;
|
|
1775
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1776
|
+
fields?: string;
|
|
1777
|
+
/** The standard list filter. */
|
|
1778
|
+
filter?: string;
|
|
1779
|
+
/** 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. */
|
|
1780
|
+
key?: string;
|
|
1781
|
+
/** OAuth 2.0 token for the current user. */
|
|
1782
|
+
oauth_token?: string;
|
|
1783
|
+
/** The standard list page size. */
|
|
1784
|
+
pageSize?: number;
|
|
1785
|
+
/** The standard list page token. */
|
|
1786
|
+
pageToken?: string;
|
|
1787
|
+
/** Returns response with indentations and line breaks. */
|
|
1788
|
+
prettyPrint?: boolean;
|
|
1789
|
+
/** 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. */
|
|
1790
|
+
quotaUser?: string;
|
|
1791
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1792
|
+
upload_protocol?: string;
|
|
1793
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1794
|
+
uploadType?: string;
|
|
1795
|
+
}): Request<ListOperationsResponse>;
|
|
1796
|
+
}
|
|
1797
|
+
interface InstancesResource {
|
|
1798
|
+
/**
|
|
1799
|
+
* Enables debugging on a VM instance. This allows you to use the SSH command to connect to the virtual machine where the instance lives. While in "debug mode", the instance continues
|
|
1800
|
+
* to serve live traffic. You should delete the instance when you are done debugging and then allow the system to take over and determine if another instance should be started.Only
|
|
1801
|
+
* applicable for instances in App Engine flexible environment.
|
|
1802
|
+
*/
|
|
1803
|
+
debug(request: {
|
|
1804
|
+
/** V1 error format. */
|
|
1805
|
+
"$.xgafv"?: string;
|
|
1806
|
+
/** OAuth access token. */
|
|
1807
|
+
access_token?: string;
|
|
1808
|
+
/** Data format for response. */
|
|
1809
|
+
alt?: string;
|
|
1810
|
+
/** Part of `name`. Name of the resource requested. Example: apps/myapp/services/default/versions/v1/instances/instance-1. */
|
|
1811
|
+
appsId: string;
|
|
1812
|
+
/** JSONP */
|
|
1813
|
+
callback?: string;
|
|
1814
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1815
|
+
fields?: string;
|
|
1816
|
+
/** Part of `name`. See documentation of `appsId`. */
|
|
1817
|
+
instancesId: string;
|
|
1818
|
+
/** 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. */
|
|
1819
|
+
key?: string;
|
|
1820
|
+
/** OAuth 2.0 token for the current user. */
|
|
1821
|
+
oauth_token?: string;
|
|
1822
|
+
/** Returns response with indentations and line breaks. */
|
|
1823
|
+
prettyPrint?: boolean;
|
|
1824
|
+
/** 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. */
|
|
1825
|
+
quotaUser?: string;
|
|
1826
|
+
/** Part of `name`. See documentation of `appsId`. */
|
|
1827
|
+
servicesId: string;
|
|
1828
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1829
|
+
upload_protocol?: string;
|
|
1830
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1831
|
+
uploadType?: string;
|
|
1832
|
+
/** Part of `name`. See documentation of `appsId`. */
|
|
1833
|
+
versionsId: string;
|
|
1834
|
+
/** Request body */
|
|
1835
|
+
resource: DebugInstanceRequest;
|
|
1836
|
+
}): Request<Operation>;
|
|
1837
|
+
debug(request: {
|
|
1838
|
+
/** V1 error format. */
|
|
1839
|
+
"$.xgafv"?: string;
|
|
1840
|
+
/** OAuth access token. */
|
|
1841
|
+
access_token?: string;
|
|
1842
|
+
/** Data format for response. */
|
|
1843
|
+
alt?: string;
|
|
1844
|
+
/** Part of `name`. Name of the resource requested. Example: apps/myapp/services/default/versions/v1/instances/instance-1. */
|
|
1845
|
+
appsId: string;
|
|
1846
|
+
/** JSONP */
|
|
1847
|
+
callback?: string;
|
|
1848
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1849
|
+
fields?: string;
|
|
1850
|
+
/** Part of `name`. See documentation of `appsId`. */
|
|
1851
|
+
instancesId: string;
|
|
1852
|
+
/** 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. */
|
|
1853
|
+
key?: string;
|
|
1854
|
+
/** OAuth 2.0 token for the current user. */
|
|
1855
|
+
oauth_token?: string;
|
|
1856
|
+
/** Returns response with indentations and line breaks. */
|
|
1857
|
+
prettyPrint?: boolean;
|
|
1858
|
+
/** 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. */
|
|
1859
|
+
quotaUser?: string;
|
|
1860
|
+
/** Part of `name`. See documentation of `appsId`. */
|
|
1861
|
+
servicesId: string;
|
|
1862
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1863
|
+
upload_protocol?: string;
|
|
1864
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1865
|
+
uploadType?: string;
|
|
1866
|
+
/** Part of `name`. See documentation of `appsId`. */
|
|
1867
|
+
versionsId: string;
|
|
1868
|
+
},
|
|
1869
|
+
body: DebugInstanceRequest): Request<Operation>;
|
|
1870
|
+
/**
|
|
1871
|
+
* Stops a running instance.The instance might be automatically recreated based on the scaling settings of the version. For more information, see "How Instances are Managed" (standard
|
|
1872
|
+
* environment (https://cloud.google.com/appengine/docs/standard/python/how-instances-are-managed) | flexible environment
|
|
1873
|
+
* (https://cloud.google.com/appengine/docs/flexible/python/how-instances-are-managed)).To ensure that instances are not re-created and avoid getting billed, you can stop all instances
|
|
1874
|
+
* within the target version by changing the serving status of the version to STOPPED with the apps.services.versions.patch
|
|
1875
|
+
* (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions/patch) method.
|
|
1876
|
+
*/
|
|
1877
|
+
delete(request?: {
|
|
1878
|
+
/** V1 error format. */
|
|
1879
|
+
"$.xgafv"?: string;
|
|
1880
|
+
/** OAuth access token. */
|
|
1881
|
+
access_token?: string;
|
|
1882
|
+
/** Data format for response. */
|
|
1883
|
+
alt?: string;
|
|
1884
|
+
/** Part of `name`. Name of the resource requested. Example: apps/myapp/services/default/versions/v1/instances/instance-1. */
|
|
1885
|
+
appsId: string;
|
|
1886
|
+
/** JSONP */
|
|
1887
|
+
callback?: string;
|
|
1888
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1889
|
+
fields?: string;
|
|
1890
|
+
/** Part of `name`. See documentation of `appsId`. */
|
|
1891
|
+
instancesId: string;
|
|
1892
|
+
/** 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. */
|
|
1893
|
+
key?: string;
|
|
1894
|
+
/** OAuth 2.0 token for the current user. */
|
|
1895
|
+
oauth_token?: string;
|
|
1896
|
+
/** Returns response with indentations and line breaks. */
|
|
1897
|
+
prettyPrint?: boolean;
|
|
1898
|
+
/** 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. */
|
|
1899
|
+
quotaUser?: string;
|
|
1900
|
+
/** Part of `name`. See documentation of `appsId`. */
|
|
1901
|
+
servicesId: string;
|
|
1902
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1903
|
+
upload_protocol?: string;
|
|
1904
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1905
|
+
uploadType?: string;
|
|
1906
|
+
/** Part of `name`. See documentation of `appsId`. */
|
|
1907
|
+
versionsId: string;
|
|
1908
|
+
}): Request<Operation>;
|
|
1909
|
+
/** Gets instance information. */
|
|
1910
|
+
get(request?: {
|
|
1911
|
+
/** V1 error format. */
|
|
1912
|
+
"$.xgafv"?: string;
|
|
1913
|
+
/** OAuth access token. */
|
|
1914
|
+
access_token?: string;
|
|
1915
|
+
/** Data format for response. */
|
|
1916
|
+
alt?: string;
|
|
1917
|
+
/** Part of `name`. Name of the resource requested. Example: apps/myapp/services/default/versions/v1/instances/instance-1. */
|
|
1918
|
+
appsId: string;
|
|
1919
|
+
/** JSONP */
|
|
1920
|
+
callback?: string;
|
|
1921
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1922
|
+
fields?: string;
|
|
1923
|
+
/** Part of `name`. See documentation of `appsId`. */
|
|
1924
|
+
instancesId: string;
|
|
1925
|
+
/** 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. */
|
|
1926
|
+
key?: string;
|
|
1927
|
+
/** OAuth 2.0 token for the current user. */
|
|
1928
|
+
oauth_token?: string;
|
|
1929
|
+
/** Returns response with indentations and line breaks. */
|
|
1930
|
+
prettyPrint?: boolean;
|
|
1931
|
+
/** 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. */
|
|
1932
|
+
quotaUser?: string;
|
|
1933
|
+
/** Part of `name`. See documentation of `appsId`. */
|
|
1934
|
+
servicesId: string;
|
|
1935
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1936
|
+
upload_protocol?: string;
|
|
1937
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1938
|
+
uploadType?: string;
|
|
1939
|
+
/** Part of `name`. See documentation of `appsId`. */
|
|
1940
|
+
versionsId: string;
|
|
1941
|
+
}): Request<Instance>;
|
|
1942
|
+
/**
|
|
1943
|
+
* Lists the instances of a version.Tip: To aggregate details about instances over time, see the Stackdriver Monitoring API
|
|
1944
|
+
* (https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list).
|
|
1945
|
+
*/
|
|
1946
|
+
list(request?: {
|
|
1947
|
+
/** V1 error format. */
|
|
1948
|
+
"$.xgafv"?: string;
|
|
1949
|
+
/** OAuth access token. */
|
|
1950
|
+
access_token?: string;
|
|
1951
|
+
/** Data format for response. */
|
|
1952
|
+
alt?: string;
|
|
1953
|
+
/** Part of `parent`. Name of the parent Version resource. Example: apps/myapp/services/default/versions/v1. */
|
|
1954
|
+
appsId: string;
|
|
1955
|
+
/** JSONP */
|
|
1956
|
+
callback?: string;
|
|
1957
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1958
|
+
fields?: string;
|
|
1959
|
+
/** 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. */
|
|
1960
|
+
key?: string;
|
|
1961
|
+
/** OAuth 2.0 token for the current user. */
|
|
1962
|
+
oauth_token?: string;
|
|
1963
|
+
/** Maximum results to return per page. */
|
|
1964
|
+
pageSize?: number;
|
|
1965
|
+
/** Continuation token for fetching the next page of results. */
|
|
1966
|
+
pageToken?: string;
|
|
1967
|
+
/** Returns response with indentations and line breaks. */
|
|
1968
|
+
prettyPrint?: boolean;
|
|
1969
|
+
/** 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. */
|
|
1970
|
+
quotaUser?: string;
|
|
1971
|
+
/** Part of `parent`. See documentation of `appsId`. */
|
|
1972
|
+
servicesId: string;
|
|
1973
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1974
|
+
upload_protocol?: string;
|
|
1975
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1976
|
+
uploadType?: string;
|
|
1977
|
+
/** Part of `parent`. See documentation of `appsId`. */
|
|
1978
|
+
versionsId: string;
|
|
1979
|
+
}): Request<ListInstancesResponse>;
|
|
1980
|
+
}
|
|
1981
|
+
interface VersionsResource {
|
|
1982
|
+
/** Deploys code and resource files to a new version. */
|
|
1983
|
+
create(request: {
|
|
1984
|
+
/** V1 error format. */
|
|
1985
|
+
"$.xgafv"?: string;
|
|
1986
|
+
/** OAuth access token. */
|
|
1987
|
+
access_token?: string;
|
|
1988
|
+
/** Data format for response. */
|
|
1989
|
+
alt?: string;
|
|
1990
|
+
/** Part of `parent`. Name of the parent resource to create this version under. Example: apps/myapp/services/default. */
|
|
1991
|
+
appsId: string;
|
|
1992
|
+
/** JSONP */
|
|
1993
|
+
callback?: string;
|
|
1994
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1995
|
+
fields?: string;
|
|
1996
|
+
/** 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. */
|
|
1997
|
+
key?: string;
|
|
1998
|
+
/** OAuth 2.0 token for the current user. */
|
|
1999
|
+
oauth_token?: string;
|
|
2000
|
+
/** Returns response with indentations and line breaks. */
|
|
2001
|
+
prettyPrint?: boolean;
|
|
2002
|
+
/** 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. */
|
|
2003
|
+
quotaUser?: string;
|
|
2004
|
+
/** Part of `parent`. See documentation of `appsId`. */
|
|
2005
|
+
servicesId: string;
|
|
2006
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2007
|
+
upload_protocol?: string;
|
|
2008
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2009
|
+
uploadType?: string;
|
|
2010
|
+
/** Request body */
|
|
2011
|
+
resource: Version;
|
|
2012
|
+
}): Request<Operation>;
|
|
2013
|
+
create(request: {
|
|
2014
|
+
/** V1 error format. */
|
|
2015
|
+
"$.xgafv"?: string;
|
|
2016
|
+
/** OAuth access token. */
|
|
2017
|
+
access_token?: string;
|
|
2018
|
+
/** Data format for response. */
|
|
2019
|
+
alt?: string;
|
|
2020
|
+
/** Part of `parent`. Name of the parent resource to create this version under. Example: apps/myapp/services/default. */
|
|
2021
|
+
appsId: string;
|
|
2022
|
+
/** JSONP */
|
|
2023
|
+
callback?: string;
|
|
2024
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2025
|
+
fields?: string;
|
|
2026
|
+
/** 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. */
|
|
2027
|
+
key?: string;
|
|
2028
|
+
/** OAuth 2.0 token for the current user. */
|
|
2029
|
+
oauth_token?: string;
|
|
2030
|
+
/** Returns response with indentations and line breaks. */
|
|
2031
|
+
prettyPrint?: boolean;
|
|
2032
|
+
/** 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. */
|
|
2033
|
+
quotaUser?: string;
|
|
2034
|
+
/** Part of `parent`. See documentation of `appsId`. */
|
|
2035
|
+
servicesId: string;
|
|
2036
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2037
|
+
upload_protocol?: string;
|
|
2038
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2039
|
+
uploadType?: string;
|
|
2040
|
+
},
|
|
2041
|
+
body: Version): Request<Operation>;
|
|
2042
|
+
/** Deletes an existing Version resource. */
|
|
2043
|
+
delete(request?: {
|
|
2044
|
+
/** V1 error format. */
|
|
2045
|
+
"$.xgafv"?: string;
|
|
2046
|
+
/** OAuth access token. */
|
|
2047
|
+
access_token?: string;
|
|
2048
|
+
/** Data format for response. */
|
|
2049
|
+
alt?: string;
|
|
2050
|
+
/** Part of `name`. Name of the resource requested. Example: apps/myapp/services/default/versions/v1. */
|
|
2051
|
+
appsId: string;
|
|
2052
|
+
/** JSONP */
|
|
2053
|
+
callback?: string;
|
|
2054
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2055
|
+
fields?: string;
|
|
2056
|
+
/** 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. */
|
|
2057
|
+
key?: string;
|
|
2058
|
+
/** OAuth 2.0 token for the current user. */
|
|
2059
|
+
oauth_token?: string;
|
|
2060
|
+
/** Returns response with indentations and line breaks. */
|
|
2061
|
+
prettyPrint?: boolean;
|
|
2062
|
+
/** 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. */
|
|
2063
|
+
quotaUser?: string;
|
|
2064
|
+
/** Part of `name`. See documentation of `appsId`. */
|
|
2065
|
+
servicesId: string;
|
|
2066
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2067
|
+
upload_protocol?: string;
|
|
2068
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2069
|
+
uploadType?: string;
|
|
2070
|
+
/** Part of `name`. See documentation of `appsId`. */
|
|
2071
|
+
versionsId: string;
|
|
2072
|
+
}): Request<Operation>;
|
|
2073
|
+
/** Gets the specified Version resource. By default, only a BASIC_VIEW will be returned. Specify the FULL_VIEW parameter to get the full resource. */
|
|
2074
|
+
get(request?: {
|
|
2075
|
+
/** V1 error format. */
|
|
2076
|
+
"$.xgafv"?: string;
|
|
2077
|
+
/** OAuth access token. */
|
|
2078
|
+
access_token?: string;
|
|
2079
|
+
/** Data format for response. */
|
|
2080
|
+
alt?: string;
|
|
2081
|
+
/** Part of `name`. Name of the resource requested. Example: apps/myapp/services/default/versions/v1. */
|
|
2082
|
+
appsId: string;
|
|
2083
|
+
/** JSONP */
|
|
2084
|
+
callback?: string;
|
|
2085
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2086
|
+
fields?: string;
|
|
2087
|
+
/** 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. */
|
|
2088
|
+
key?: string;
|
|
2089
|
+
/** OAuth 2.0 token for the current user. */
|
|
2090
|
+
oauth_token?: string;
|
|
2091
|
+
/** Returns response with indentations and line breaks. */
|
|
2092
|
+
prettyPrint?: boolean;
|
|
2093
|
+
/** 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. */
|
|
2094
|
+
quotaUser?: string;
|
|
2095
|
+
/** Part of `name`. See documentation of `appsId`. */
|
|
2096
|
+
servicesId: string;
|
|
2097
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2098
|
+
upload_protocol?: string;
|
|
2099
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2100
|
+
uploadType?: string;
|
|
2101
|
+
/** Part of `name`. See documentation of `appsId`. */
|
|
2102
|
+
versionsId: string;
|
|
2103
|
+
/** Controls the set of fields returned in the Get response. */
|
|
2104
|
+
view?: string;
|
|
2105
|
+
}): Request<Version>;
|
|
2106
|
+
/** Lists the versions of a service. */
|
|
2107
|
+
list(request?: {
|
|
2108
|
+
/** V1 error format. */
|
|
2109
|
+
"$.xgafv"?: string;
|
|
2110
|
+
/** OAuth access token. */
|
|
2111
|
+
access_token?: string;
|
|
2112
|
+
/** Data format for response. */
|
|
2113
|
+
alt?: string;
|
|
2114
|
+
/** Part of `parent`. Name of the parent Service resource. Example: apps/myapp/services/default. */
|
|
2115
|
+
appsId: string;
|
|
2116
|
+
/** JSONP */
|
|
2117
|
+
callback?: string;
|
|
2118
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2119
|
+
fields?: string;
|
|
2120
|
+
/** 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. */
|
|
2121
|
+
key?: string;
|
|
2122
|
+
/** OAuth 2.0 token for the current user. */
|
|
2123
|
+
oauth_token?: string;
|
|
2124
|
+
/** Maximum results to return per page. */
|
|
2125
|
+
pageSize?: number;
|
|
2126
|
+
/** Continuation token for fetching the next page of results. */
|
|
2127
|
+
pageToken?: string;
|
|
2128
|
+
/** Returns response with indentations and line breaks. */
|
|
2129
|
+
prettyPrint?: boolean;
|
|
2130
|
+
/** 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. */
|
|
2131
|
+
quotaUser?: string;
|
|
2132
|
+
/** Part of `parent`. See documentation of `appsId`. */
|
|
2133
|
+
servicesId: string;
|
|
2134
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2135
|
+
upload_protocol?: string;
|
|
2136
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2137
|
+
uploadType?: string;
|
|
2138
|
+
/** Controls the set of fields returned in the List response. */
|
|
2139
|
+
view?: string;
|
|
2140
|
+
}): Request<ListVersionsResponse>;
|
|
2141
|
+
/**
|
|
2142
|
+
* Updates the specified Version resource. You can specify the following fields depending on the App Engine environment and type of scaling that the version resource uses:Standard
|
|
2143
|
+
* environment instance_class (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.instance_class)automatic scaling in the
|
|
2144
|
+
* standard environment: automatic_scaling.min_idle_instances
|
|
2145
|
+
* (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) automatic_scaling.max_idle_instances
|
|
2146
|
+
* (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)
|
|
2147
|
+
* automaticScaling.standard_scheduler_settings.max_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings)
|
|
2148
|
+
* automaticScaling.standard_scheduler_settings.min_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings)
|
|
2149
|
+
* automaticScaling.standard_scheduler_settings.target_cpu_utilization
|
|
2150
|
+
* (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings)
|
|
2151
|
+
* automaticScaling.standard_scheduler_settings.target_throughput_utilization
|
|
2152
|
+
* (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings)basic scaling or manual scaling in the standard environment:
|
|
2153
|
+
* serving_status (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status) manual_scaling.instances
|
|
2154
|
+
* (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#manualscaling)Flexible environment serving_status
|
|
2155
|
+
* (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status)automatic scaling in the flexible environment:
|
|
2156
|
+
* automatic_scaling.min_total_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)
|
|
2157
|
+
* automatic_scaling.max_total_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)
|
|
2158
|
+
* automatic_scaling.cool_down_period_sec (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)
|
|
2159
|
+
* automatic_scaling.cpu_utilization.target_utilization
|
|
2160
|
+
* (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)manual scaling in the flexible environment:
|
|
2161
|
+
* manual_scaling.instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#manualscaling)
|
|
2162
|
+
*/
|
|
2163
|
+
patch(request: {
|
|
2164
|
+
/** V1 error format. */
|
|
2165
|
+
"$.xgafv"?: string;
|
|
2166
|
+
/** OAuth access token. */
|
|
2167
|
+
access_token?: string;
|
|
2168
|
+
/** Data format for response. */
|
|
2169
|
+
alt?: string;
|
|
2170
|
+
/** Part of `name`. Name of the resource to update. Example: apps/myapp/services/default/versions/1. */
|
|
2171
|
+
appsId: string;
|
|
2172
|
+
/** JSONP */
|
|
2173
|
+
callback?: string;
|
|
2174
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2175
|
+
fields?: string;
|
|
2176
|
+
/** 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. */
|
|
2177
|
+
key?: string;
|
|
2178
|
+
/** OAuth 2.0 token for the current user. */
|
|
2179
|
+
oauth_token?: string;
|
|
2180
|
+
/** Returns response with indentations and line breaks. */
|
|
2181
|
+
prettyPrint?: boolean;
|
|
2182
|
+
/** 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. */
|
|
2183
|
+
quotaUser?: string;
|
|
2184
|
+
/** Part of `name`. See documentation of `appsId`. */
|
|
2185
|
+
servicesId: string;
|
|
2186
|
+
/** Standard field mask for the set of fields to be updated. */
|
|
2187
|
+
updateMask?: string;
|
|
2188
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2189
|
+
upload_protocol?: string;
|
|
2190
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2191
|
+
uploadType?: string;
|
|
2192
|
+
/** Part of `name`. See documentation of `appsId`. */
|
|
2193
|
+
versionsId: string;
|
|
2194
|
+
/** Request body */
|
|
2195
|
+
resource: Version;
|
|
2196
|
+
}): Request<Operation>;
|
|
2197
|
+
patch(request: {
|
|
2198
|
+
/** V1 error format. */
|
|
2199
|
+
"$.xgafv"?: string;
|
|
2200
|
+
/** OAuth access token. */
|
|
2201
|
+
access_token?: string;
|
|
2202
|
+
/** Data format for response. */
|
|
2203
|
+
alt?: string;
|
|
2204
|
+
/** Part of `name`. Name of the resource to update. Example: apps/myapp/services/default/versions/1. */
|
|
2205
|
+
appsId: string;
|
|
2206
|
+
/** JSONP */
|
|
2207
|
+
callback?: string;
|
|
2208
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2209
|
+
fields?: string;
|
|
2210
|
+
/** 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. */
|
|
2211
|
+
key?: string;
|
|
2212
|
+
/** OAuth 2.0 token for the current user. */
|
|
2213
|
+
oauth_token?: string;
|
|
2214
|
+
/** Returns response with indentations and line breaks. */
|
|
2215
|
+
prettyPrint?: boolean;
|
|
2216
|
+
/** 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. */
|
|
2217
|
+
quotaUser?: string;
|
|
2218
|
+
/** Part of `name`. See documentation of `appsId`. */
|
|
2219
|
+
servicesId: string;
|
|
2220
|
+
/** Standard field mask for the set of fields to be updated. */
|
|
2221
|
+
updateMask?: string;
|
|
2222
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2223
|
+
upload_protocol?: string;
|
|
2224
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2225
|
+
uploadType?: string;
|
|
2226
|
+
/** Part of `name`. See documentation of `appsId`. */
|
|
2227
|
+
versionsId: string;
|
|
2228
|
+
},
|
|
2229
|
+
body: Version): Request<Operation>;
|
|
2230
|
+
instances: InstancesResource;
|
|
2231
|
+
}
|
|
2232
|
+
interface ServicesResource {
|
|
2233
|
+
/** Deletes the specified service and all enclosed versions. */
|
|
2234
|
+
delete(request?: {
|
|
2235
|
+
/** V1 error format. */
|
|
2236
|
+
"$.xgafv"?: string;
|
|
2237
|
+
/** OAuth access token. */
|
|
2238
|
+
access_token?: string;
|
|
2239
|
+
/** Data format for response. */
|
|
2240
|
+
alt?: string;
|
|
2241
|
+
/** Part of `name`. Name of the resource requested. Example: apps/myapp/services/default. */
|
|
2242
|
+
appsId: string;
|
|
2243
|
+
/** JSONP */
|
|
2244
|
+
callback?: string;
|
|
2245
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2246
|
+
fields?: string;
|
|
2247
|
+
/** 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. */
|
|
2248
|
+
key?: string;
|
|
2249
|
+
/** OAuth 2.0 token for the current user. */
|
|
2250
|
+
oauth_token?: string;
|
|
2251
|
+
/** Returns response with indentations and line breaks. */
|
|
2252
|
+
prettyPrint?: boolean;
|
|
2253
|
+
/** 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. */
|
|
2254
|
+
quotaUser?: string;
|
|
2255
|
+
/** Part of `name`. See documentation of `appsId`. */
|
|
2256
|
+
servicesId: string;
|
|
2257
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2258
|
+
upload_protocol?: string;
|
|
2259
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2260
|
+
uploadType?: string;
|
|
2261
|
+
}): Request<Operation>;
|
|
2262
|
+
/** Gets the current configuration of the specified service. */
|
|
2263
|
+
get(request?: {
|
|
2264
|
+
/** V1 error format. */
|
|
2265
|
+
"$.xgafv"?: string;
|
|
2266
|
+
/** OAuth access token. */
|
|
2267
|
+
access_token?: string;
|
|
2268
|
+
/** Data format for response. */
|
|
2269
|
+
alt?: string;
|
|
2270
|
+
/** Part of `name`. Name of the resource requested. Example: apps/myapp/services/default. */
|
|
2271
|
+
appsId: string;
|
|
2272
|
+
/** JSONP */
|
|
2273
|
+
callback?: string;
|
|
2274
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2275
|
+
fields?: string;
|
|
2276
|
+
/** 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. */
|
|
2277
|
+
key?: string;
|
|
2278
|
+
/** OAuth 2.0 token for the current user. */
|
|
2279
|
+
oauth_token?: string;
|
|
2280
|
+
/** Returns response with indentations and line breaks. */
|
|
2281
|
+
prettyPrint?: boolean;
|
|
2282
|
+
/** 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. */
|
|
2283
|
+
quotaUser?: string;
|
|
2284
|
+
/** Part of `name`. See documentation of `appsId`. */
|
|
2285
|
+
servicesId: string;
|
|
2286
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2287
|
+
upload_protocol?: string;
|
|
2288
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2289
|
+
uploadType?: string;
|
|
2290
|
+
}): Request<Service>;
|
|
2291
|
+
/** Lists all the services in the application. */
|
|
2292
|
+
list(request?: {
|
|
2293
|
+
/** V1 error format. */
|
|
2294
|
+
"$.xgafv"?: string;
|
|
2295
|
+
/** OAuth access token. */
|
|
2296
|
+
access_token?: string;
|
|
2297
|
+
/** Data format for response. */
|
|
2298
|
+
alt?: string;
|
|
2299
|
+
/** Part of `parent`. Name of the parent Application resource. Example: apps/myapp. */
|
|
2300
|
+
appsId: string;
|
|
2301
|
+
/** JSONP */
|
|
2302
|
+
callback?: string;
|
|
2303
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2304
|
+
fields?: string;
|
|
2305
|
+
/** 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. */
|
|
2306
|
+
key?: string;
|
|
2307
|
+
/** OAuth 2.0 token for the current user. */
|
|
2308
|
+
oauth_token?: string;
|
|
2309
|
+
/** Maximum results to return per page. */
|
|
2310
|
+
pageSize?: number;
|
|
2311
|
+
/** Continuation token for fetching the next page of results. */
|
|
2312
|
+
pageToken?: string;
|
|
2313
|
+
/** Returns response with indentations and line breaks. */
|
|
2314
|
+
prettyPrint?: boolean;
|
|
2315
|
+
/** 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. */
|
|
2316
|
+
quotaUser?: string;
|
|
2317
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2318
|
+
upload_protocol?: string;
|
|
2319
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2320
|
+
uploadType?: string;
|
|
2321
|
+
}): Request<ListServicesResponse>;
|
|
2322
|
+
/** Updates the configuration of the specified service. */
|
|
2323
|
+
patch(request: {
|
|
2324
|
+
/** V1 error format. */
|
|
2325
|
+
"$.xgafv"?: string;
|
|
2326
|
+
/** OAuth access token. */
|
|
2327
|
+
access_token?: string;
|
|
2328
|
+
/** Data format for response. */
|
|
2329
|
+
alt?: string;
|
|
2330
|
+
/** Part of `name`. Name of the resource to update. Example: apps/myapp/services/default. */
|
|
2331
|
+
appsId: string;
|
|
2332
|
+
/** JSONP */
|
|
2333
|
+
callback?: string;
|
|
2334
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2335
|
+
fields?: string;
|
|
2336
|
+
/** 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. */
|
|
2337
|
+
key?: string;
|
|
2338
|
+
/**
|
|
2339
|
+
* Set to true to gradually shift traffic to one or more versions that you specify. By default, traffic is shifted immediately. For gradual traffic migration, the target versions
|
|
2340
|
+
* must be located within instances that are configured for both warmup requests
|
|
2341
|
+
* (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#InboundServiceType) and automatic scaling
|
|
2342
|
+
* (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#AutomaticScaling). You must specify the shardBy
|
|
2343
|
+
* (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services#ShardBy) field in the Service resource. Gradual traffic migration is not supported in the App
|
|
2344
|
+
* Engine flexible environment. For examples, see Migrating and Splitting Traffic (https://cloud.google.com/appengine/docs/admin-api/migrating-splitting-traffic).
|
|
2345
|
+
*/
|
|
2346
|
+
migrateTraffic?: boolean;
|
|
2347
|
+
/** OAuth 2.0 token for the current user. */
|
|
2348
|
+
oauth_token?: string;
|
|
2349
|
+
/** Returns response with indentations and line breaks. */
|
|
2350
|
+
prettyPrint?: boolean;
|
|
2351
|
+
/** 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. */
|
|
2352
|
+
quotaUser?: string;
|
|
2353
|
+
/** Part of `name`. See documentation of `appsId`. */
|
|
2354
|
+
servicesId: string;
|
|
2355
|
+
/** Required. Standard field mask for the set of fields to be updated. */
|
|
2356
|
+
updateMask?: string;
|
|
2357
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2358
|
+
upload_protocol?: string;
|
|
2359
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2360
|
+
uploadType?: string;
|
|
2361
|
+
/** Request body */
|
|
2362
|
+
resource: Service;
|
|
2363
|
+
}): Request<Operation>;
|
|
2364
|
+
patch(request: {
|
|
2365
|
+
/** V1 error format. */
|
|
2366
|
+
"$.xgafv"?: string;
|
|
2367
|
+
/** OAuth access token. */
|
|
2368
|
+
access_token?: string;
|
|
2369
|
+
/** Data format for response. */
|
|
2370
|
+
alt?: string;
|
|
2371
|
+
/** Part of `name`. Name of the resource to update. Example: apps/myapp/services/default. */
|
|
2372
|
+
appsId: string;
|
|
2373
|
+
/** JSONP */
|
|
2374
|
+
callback?: string;
|
|
2375
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2376
|
+
fields?: string;
|
|
2377
|
+
/** 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. */
|
|
2378
|
+
key?: string;
|
|
2379
|
+
/**
|
|
2380
|
+
* Set to true to gradually shift traffic to one or more versions that you specify. By default, traffic is shifted immediately. For gradual traffic migration, the target versions
|
|
2381
|
+
* must be located within instances that are configured for both warmup requests
|
|
2382
|
+
* (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#InboundServiceType) and automatic scaling
|
|
2383
|
+
* (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#AutomaticScaling). You must specify the shardBy
|
|
2384
|
+
* (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services#ShardBy) field in the Service resource. Gradual traffic migration is not supported in the App
|
|
2385
|
+
* Engine flexible environment. For examples, see Migrating and Splitting Traffic (https://cloud.google.com/appengine/docs/admin-api/migrating-splitting-traffic).
|
|
2386
|
+
*/
|
|
2387
|
+
migrateTraffic?: boolean;
|
|
2388
|
+
/** OAuth 2.0 token for the current user. */
|
|
2389
|
+
oauth_token?: string;
|
|
2390
|
+
/** Returns response with indentations and line breaks. */
|
|
2391
|
+
prettyPrint?: boolean;
|
|
2392
|
+
/** 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. */
|
|
2393
|
+
quotaUser?: string;
|
|
2394
|
+
/** Part of `name`. See documentation of `appsId`. */
|
|
2395
|
+
servicesId: string;
|
|
2396
|
+
/** Required. Standard field mask for the set of fields to be updated. */
|
|
2397
|
+
updateMask?: string;
|
|
2398
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2399
|
+
upload_protocol?: string;
|
|
2400
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2401
|
+
uploadType?: string;
|
|
2402
|
+
},
|
|
2403
|
+
body: Service): Request<Operation>;
|
|
2404
|
+
versions: VersionsResource;
|
|
2405
|
+
}
|
|
2406
|
+
interface AppsResource {
|
|
2407
|
+
/**
|
|
2408
|
+
* Creates an App Engine application for a Google Cloud Platform project. Required fields: id - The ID of the target Cloud Platform project. location - The region
|
|
2409
|
+
* (https://cloud.google.com/appengine/docs/locations) where you want the App Engine application located.For more information about App Engine applications, see Managing Projects,
|
|
2410
|
+
* Applications, and Billing (https://cloud.google.com/appengine/docs/standard/python/console/).
|
|
2411
|
+
*/
|
|
2412
|
+
create(request: {
|
|
2413
|
+
/** V1 error format. */
|
|
2414
|
+
"$.xgafv"?: string;
|
|
2415
|
+
/** OAuth access token. */
|
|
2416
|
+
access_token?: string;
|
|
2417
|
+
/** Data format for response. */
|
|
2418
|
+
alt?: string;
|
|
2419
|
+
/** JSONP */
|
|
2420
|
+
callback?: string;
|
|
2421
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2422
|
+
fields?: string;
|
|
2423
|
+
/** 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. */
|
|
2424
|
+
key?: string;
|
|
2425
|
+
/** OAuth 2.0 token for the current user. */
|
|
2426
|
+
oauth_token?: string;
|
|
2427
|
+
/** Returns response with indentations and line breaks. */
|
|
2428
|
+
prettyPrint?: boolean;
|
|
2429
|
+
/** 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. */
|
|
2430
|
+
quotaUser?: string;
|
|
2431
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2432
|
+
upload_protocol?: string;
|
|
2433
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2434
|
+
uploadType?: string;
|
|
2435
|
+
/** Request body */
|
|
2436
|
+
resource: Application;
|
|
2437
|
+
}): Request<Operation>;
|
|
2438
|
+
create(request: {
|
|
2439
|
+
/** V1 error format. */
|
|
2440
|
+
"$.xgafv"?: string;
|
|
2441
|
+
/** OAuth access token. */
|
|
2442
|
+
access_token?: string;
|
|
2443
|
+
/** Data format for response. */
|
|
2444
|
+
alt?: string;
|
|
2445
|
+
/** JSONP */
|
|
2446
|
+
callback?: string;
|
|
2447
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2448
|
+
fields?: string;
|
|
2449
|
+
/** 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. */
|
|
2450
|
+
key?: string;
|
|
2451
|
+
/** OAuth 2.0 token for the current user. */
|
|
2452
|
+
oauth_token?: string;
|
|
2453
|
+
/** Returns response with indentations and line breaks. */
|
|
2454
|
+
prettyPrint?: boolean;
|
|
2455
|
+
/** 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. */
|
|
2456
|
+
quotaUser?: string;
|
|
2457
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2458
|
+
upload_protocol?: string;
|
|
2459
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2460
|
+
uploadType?: string;
|
|
2461
|
+
},
|
|
2462
|
+
body: Application): Request<Operation>;
|
|
2463
|
+
/** Gets information about an application. */
|
|
2464
|
+
get(request?: {
|
|
2465
|
+
/** V1 error format. */
|
|
2466
|
+
"$.xgafv"?: string;
|
|
2467
|
+
/** OAuth access token. */
|
|
2468
|
+
access_token?: string;
|
|
2469
|
+
/** Data format for response. */
|
|
2470
|
+
alt?: string;
|
|
2471
|
+
/** Part of `name`. Name of the Application resource to get. Example: apps/myapp. */
|
|
2472
|
+
appsId: string;
|
|
2473
|
+
/** JSONP */
|
|
2474
|
+
callback?: string;
|
|
2475
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2476
|
+
fields?: string;
|
|
2477
|
+
/** 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. */
|
|
2478
|
+
key?: string;
|
|
2479
|
+
/** OAuth 2.0 token for the current user. */
|
|
2480
|
+
oauth_token?: string;
|
|
2481
|
+
/** Returns response with indentations and line breaks. */
|
|
2482
|
+
prettyPrint?: boolean;
|
|
2483
|
+
/** 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. */
|
|
2484
|
+
quotaUser?: string;
|
|
2485
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2486
|
+
upload_protocol?: string;
|
|
2487
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2488
|
+
uploadType?: string;
|
|
2489
|
+
}): Request<Application>;
|
|
2490
|
+
/**
|
|
2491
|
+
* Updates the specified Application resource. You can update the following fields: auth_domain - Google authentication domain for controlling user access to the application.
|
|
2492
|
+
* default_cookie_expiration - Cookie expiration policy for the application. iap - Identity-Aware Proxy properties for the application.
|
|
2493
|
+
*/
|
|
2494
|
+
patch(request: {
|
|
2495
|
+
/** V1 error format. */
|
|
2496
|
+
"$.xgafv"?: string;
|
|
2497
|
+
/** OAuth access token. */
|
|
2498
|
+
access_token?: string;
|
|
2499
|
+
/** Data format for response. */
|
|
2500
|
+
alt?: string;
|
|
2501
|
+
/** Part of `name`. Name of the Application resource to update. Example: apps/myapp. */
|
|
2502
|
+
appsId: string;
|
|
2503
|
+
/** JSONP */
|
|
2504
|
+
callback?: string;
|
|
2505
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2506
|
+
fields?: string;
|
|
2507
|
+
/** 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. */
|
|
2508
|
+
key?: string;
|
|
2509
|
+
/** OAuth 2.0 token for the current user. */
|
|
2510
|
+
oauth_token?: string;
|
|
2511
|
+
/** Returns response with indentations and line breaks. */
|
|
2512
|
+
prettyPrint?: boolean;
|
|
2513
|
+
/** 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. */
|
|
2514
|
+
quotaUser?: string;
|
|
2515
|
+
/** Required. Standard field mask for the set of fields to be updated. */
|
|
2516
|
+
updateMask?: string;
|
|
2517
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2518
|
+
upload_protocol?: string;
|
|
2519
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2520
|
+
uploadType?: string;
|
|
2521
|
+
/** Request body */
|
|
2522
|
+
resource: Application;
|
|
2523
|
+
}): Request<Operation>;
|
|
2524
|
+
patch(request: {
|
|
2525
|
+
/** V1 error format. */
|
|
2526
|
+
"$.xgafv"?: string;
|
|
2527
|
+
/** OAuth access token. */
|
|
2528
|
+
access_token?: string;
|
|
2529
|
+
/** Data format for response. */
|
|
2530
|
+
alt?: string;
|
|
2531
|
+
/** Part of `name`. Name of the Application resource to update. Example: apps/myapp. */
|
|
2532
|
+
appsId: string;
|
|
2533
|
+
/** JSONP */
|
|
2534
|
+
callback?: string;
|
|
2535
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2536
|
+
fields?: string;
|
|
2537
|
+
/** 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. */
|
|
2538
|
+
key?: string;
|
|
2539
|
+
/** OAuth 2.0 token for the current user. */
|
|
2540
|
+
oauth_token?: string;
|
|
2541
|
+
/** Returns response with indentations and line breaks. */
|
|
2542
|
+
prettyPrint?: boolean;
|
|
2543
|
+
/** 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. */
|
|
2544
|
+
quotaUser?: string;
|
|
2545
|
+
/** Required. Standard field mask for the set of fields to be updated. */
|
|
2546
|
+
updateMask?: string;
|
|
2547
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2548
|
+
upload_protocol?: string;
|
|
2549
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2550
|
+
uploadType?: string;
|
|
2551
|
+
},
|
|
2552
|
+
body: Application): Request<Operation>;
|
|
2553
|
+
/**
|
|
2554
|
+
* Recreates the required App Engine features for the specified App Engine application, for example a Cloud Storage bucket or App Engine service account. Use this method if you receive
|
|
2555
|
+
* an error message about a missing feature, for example, Error retrieving the App Engine service account. If you have deleted your App Engine service account, this will not be able to
|
|
2556
|
+
* recreate it. Instead, you should attempt to use the IAM undelete API if possible at
|
|
2557
|
+
* https://cloud.google.com/iam/reference/rest/v1/projects.serviceAccounts/undelete?apix_params=%7B"name"%3A"projects%2F-%2FserviceAccounts%2Funique_id"%2C"resource"%3A%7B%7D%7D . If
|
|
2558
|
+
* the deletion was recent, the numeric ID can be found in the Cloud Console Activity Log.
|
|
2559
|
+
*/
|
|
2560
|
+
repair(request: {
|
|
2561
|
+
/** V1 error format. */
|
|
2562
|
+
"$.xgafv"?: string;
|
|
2563
|
+
/** OAuth access token. */
|
|
2564
|
+
access_token?: string;
|
|
2565
|
+
/** Data format for response. */
|
|
2566
|
+
alt?: string;
|
|
2567
|
+
/** Part of `name`. Name of the application to repair. Example: apps/myapp */
|
|
2568
|
+
appsId: string;
|
|
2569
|
+
/** JSONP */
|
|
2570
|
+
callback?: string;
|
|
2571
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2572
|
+
fields?: string;
|
|
2573
|
+
/** 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. */
|
|
2574
|
+
key?: string;
|
|
2575
|
+
/** OAuth 2.0 token for the current user. */
|
|
2576
|
+
oauth_token?: string;
|
|
2577
|
+
/** Returns response with indentations and line breaks. */
|
|
2578
|
+
prettyPrint?: boolean;
|
|
2579
|
+
/** 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. */
|
|
2580
|
+
quotaUser?: string;
|
|
2581
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2582
|
+
upload_protocol?: string;
|
|
2583
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2584
|
+
uploadType?: string;
|
|
2585
|
+
/** Request body */
|
|
2586
|
+
resource: RepairApplicationRequest;
|
|
2587
|
+
}): Request<Operation>;
|
|
2588
|
+
repair(request: {
|
|
2589
|
+
/** V1 error format. */
|
|
2590
|
+
"$.xgafv"?: string;
|
|
2591
|
+
/** OAuth access token. */
|
|
2592
|
+
access_token?: string;
|
|
2593
|
+
/** Data format for response. */
|
|
2594
|
+
alt?: string;
|
|
2595
|
+
/** Part of `name`. Name of the application to repair. Example: apps/myapp */
|
|
2596
|
+
appsId: string;
|
|
2597
|
+
/** JSONP */
|
|
2598
|
+
callback?: string;
|
|
2599
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2600
|
+
fields?: string;
|
|
2601
|
+
/** 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. */
|
|
2602
|
+
key?: string;
|
|
2603
|
+
/** OAuth 2.0 token for the current user. */
|
|
2604
|
+
oauth_token?: string;
|
|
2605
|
+
/** Returns response with indentations and line breaks. */
|
|
2606
|
+
prettyPrint?: boolean;
|
|
2607
|
+
/** 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. */
|
|
2608
|
+
quotaUser?: string;
|
|
2609
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2610
|
+
upload_protocol?: string;
|
|
2611
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2612
|
+
uploadType?: string;
|
|
2613
|
+
},
|
|
2614
|
+
body: RepairApplicationRequest): Request<Operation>;
|
|
2615
|
+
authorizedCertificates: AuthorizedCertificatesResource;
|
|
2616
|
+
authorizedDomains: AuthorizedDomainsResource;
|
|
2617
|
+
domainMappings: DomainMappingsResource;
|
|
2618
|
+
firewall: FirewallResource;
|
|
2619
|
+
locations: LocationsResource;
|
|
2620
|
+
operations: OperationsResource;
|
|
2621
|
+
services: ServicesResource;
|
|
2622
|
+
}
|
|
2623
|
+
|
|
2624
|
+
const apps: AppsResource;
|
|
2625
|
+
}
|
|
2626
|
+
}
|