@maxim_mazurok/gapi.client.composer-v1 0.0.20230423 → 0.0.20230516
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 +1140 -332
- package/package.json +1 -1
- package/tests.ts +40 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://composer.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230516
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -24,146 +24,249 @@ declare namespace gapi.client {
|
|
|
24
24
|
namespace composer {
|
|
25
25
|
interface AllowedIpRange {
|
|
26
26
|
/** Optional. User-provided description. It must contain at most 300 characters. */
|
|
27
|
-
description?:
|
|
27
|
+
description?:
|
|
28
|
+
string;
|
|
28
29
|
/**
|
|
29
30
|
* IP address or range, defined using CIDR notation, of requests that this rule applies to. Examples: `192.168.1.1` or `192.168.0.0/16` or `2001:db8::/32` or
|
|
30
31
|
* `2001:0db8:0000:0042:0000:8a2e:0370:7334`. IP range prefixes should be properly truncated. For example, `1.2.3.4/24` should be truncated to `1.2.3.0/24`. Similarly, for IPv6,
|
|
31
32
|
* `2001:db8::1/32` should be truncated to `2001:db8::/32`.
|
|
32
33
|
*/
|
|
33
|
-
value?:
|
|
34
|
+
value?:
|
|
35
|
+
string;
|
|
34
36
|
}
|
|
35
37
|
interface CheckUpgradeResponse {
|
|
36
38
|
/** Output only. Url for a docker build log of an upgraded image. */
|
|
37
|
-
buildLogUri?:
|
|
39
|
+
buildLogUri?:
|
|
40
|
+
string;
|
|
38
41
|
/** Output only. Whether build has succeeded or failed on modules conflicts. */
|
|
39
|
-
containsPypiModulesConflict?:
|
|
42
|
+
containsPypiModulesConflict?:
|
|
43
|
+
string;
|
|
40
44
|
/** Composer image for which the build was happening. */
|
|
41
|
-
imageVersion?:
|
|
45
|
+
imageVersion?:
|
|
46
|
+
string;
|
|
42
47
|
/** Output only. Extract from a docker image build log containing information about pypi modules conflicts. */
|
|
43
|
-
pypiConflictBuildLogExtract?:
|
|
48
|
+
pypiConflictBuildLogExtract?:
|
|
49
|
+
string;
|
|
44
50
|
/** Pypi dependencies specified in the environment configuration, at the time when the build was triggered. */
|
|
45
|
-
pypiDependencies?:
|
|
51
|
+
pypiDependencies?:
|
|
52
|
+
{ [P in string]: string };
|
|
46
53
|
}
|
|
47
54
|
interface CidrBlock {
|
|
48
55
|
/** CIDR block that must be specified in CIDR notation. */
|
|
49
|
-
cidrBlock?:
|
|
56
|
+
cidrBlock?:
|
|
57
|
+
string;
|
|
50
58
|
/** User-defined name that identifies the CIDR block. */
|
|
51
|
-
displayName?:
|
|
59
|
+
displayName?:
|
|
60
|
+
string;
|
|
52
61
|
}
|
|
53
62
|
interface DatabaseConfig {
|
|
54
63
|
/**
|
|
55
64
|
* Optional. Cloud SQL machine type used by Airflow database. It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-standard-8 or db-n1-standard-16. If not specified,
|
|
56
65
|
* db-n1-standard-2 will be used. Supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
|
57
66
|
*/
|
|
58
|
-
machineType?:
|
|
67
|
+
machineType?:
|
|
68
|
+
string;
|
|
69
|
+
}
|
|
70
|
+
// tslint:disable-next-line:no-empty-interface
|
|
71
|
+
interface DatabaseFailoverRequest {
|
|
72
|
+
}
|
|
73
|
+
// tslint:disable-next-line:no-empty-interface
|
|
74
|
+
interface DatabaseFailoverResponse {
|
|
59
75
|
}
|
|
60
76
|
interface Date {
|
|
61
77
|
/** Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant. */
|
|
62
|
-
day?:
|
|
78
|
+
day?:
|
|
79
|
+
number;
|
|
63
80
|
/** Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day. */
|
|
64
|
-
month?:
|
|
81
|
+
month?:
|
|
82
|
+
number;
|
|
65
83
|
/** Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. */
|
|
66
|
-
year?:
|
|
84
|
+
year?:
|
|
85
|
+
number;
|
|
67
86
|
}
|
|
68
87
|
// tslint:disable-next-line:no-empty-interface
|
|
69
88
|
interface Empty {
|
|
70
89
|
}
|
|
71
90
|
interface EncryptionConfig {
|
|
72
91
|
/** Optional. Customer-managed Encryption Key available through Google's Key Management Service. Cannot be updated. If not specified, Google-managed key will be used. */
|
|
73
|
-
kmsKeyName?:
|
|
92
|
+
kmsKeyName?:
|
|
93
|
+
string;
|
|
74
94
|
}
|
|
75
95
|
interface Environment {
|
|
76
96
|
/** Configuration parameters for this environment. */
|
|
77
|
-
config?:
|
|
97
|
+
config?:
|
|
98
|
+
EnvironmentConfig;
|
|
78
99
|
/** Output only. The time at which this environment was created. */
|
|
79
|
-
createTime?:
|
|
100
|
+
createTime?:
|
|
101
|
+
string;
|
|
80
102
|
/**
|
|
81
103
|
* Optional. User-defined labels for this environment. The labels map can contain no more than 64 entries. Entries of the labels map are UTF8 strings that comply with the following
|
|
82
104
|
* restrictions: * Keys must conform to regexp: \p{Ll}\p{Lo}{0,62} * Values must conform to regexp: [\p{Ll}\p{Lo}\p{N}_-]{0,63} * Both keys and values are additionally constrained to
|
|
83
105
|
* be <= 128 bytes in size.
|
|
84
106
|
*/
|
|
85
|
-
labels?:
|
|
107
|
+
labels?:
|
|
108
|
+
{ [P in string]: string };
|
|
86
109
|
/**
|
|
87
110
|
* The resource name of the environment, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}" EnvironmentId must start with a lowercase letter
|
|
88
111
|
* followed by up to 63 lowercase letters, numbers, or hyphens, and cannot end with a hyphen.
|
|
89
112
|
*/
|
|
90
|
-
name?:
|
|
113
|
+
name?:
|
|
114
|
+
string;
|
|
91
115
|
/** The current state of the environment. */
|
|
92
|
-
state?:
|
|
116
|
+
state?:
|
|
117
|
+
string;
|
|
93
118
|
/** Output only. The time at which this environment was last modified. */
|
|
94
|
-
updateTime?:
|
|
119
|
+
updateTime?:
|
|
120
|
+
string;
|
|
95
121
|
/** Output only. The UUID (Universally Unique IDentifier) associated with this environment. This value is generated when the environment is created. */
|
|
96
|
-
uuid?:
|
|
122
|
+
uuid?:
|
|
123
|
+
string;
|
|
97
124
|
}
|
|
98
125
|
interface EnvironmentConfig {
|
|
99
126
|
/**
|
|
100
127
|
* Output only. The 'bring your own identity' variant of the URI of the Apache Airflow Web UI hosted within this environment, to be accessed with external identities using workforce
|
|
101
128
|
* identity federation (see [Access environments with workforce identity federation](/composer/docs/composer-2/access-environments-with-workforce-identity-federation)).
|
|
102
129
|
*/
|
|
103
|
-
airflowByoidUri?:
|
|
130
|
+
airflowByoidUri?:
|
|
131
|
+
string;
|
|
104
132
|
/** Output only. The URI of the Apache Airflow Web UI hosted within this environment (see [Airflow web interface](/composer/docs/how-to/accessing/airflow-web-interface)). */
|
|
105
|
-
airflowUri?:
|
|
133
|
+
airflowUri?:
|
|
134
|
+
string;
|
|
106
135
|
/**
|
|
107
136
|
* Output only. The Cloud Storage prefix of the DAGs for this environment. Although Cloud Storage objects reside in a flat namespace, a hierarchical file tree can be simulated using
|
|
108
137
|
* "/"-delimited object name prefixes. DAG objects for this environment reside in a simulated directory with the given prefix.
|
|
109
138
|
*/
|
|
110
|
-
dagGcsPrefix?:
|
|
139
|
+
dagGcsPrefix?:
|
|
140
|
+
string;
|
|
111
141
|
/** Optional. The configuration settings for Cloud SQL instance used internally by Apache Airflow software. */
|
|
112
|
-
databaseConfig?:
|
|
142
|
+
databaseConfig?:
|
|
143
|
+
DatabaseConfig;
|
|
113
144
|
/** Optional. The encryption options for the Cloud Composer environment and its dependencies. Cannot be updated. */
|
|
114
|
-
encryptionConfig?:
|
|
145
|
+
encryptionConfig?:
|
|
146
|
+
EncryptionConfig;
|
|
115
147
|
/** Optional. The size of the Cloud Composer environment. This field is supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer. */
|
|
116
|
-
environmentSize?:
|
|
148
|
+
environmentSize?:
|
|
149
|
+
string;
|
|
117
150
|
/** Output only. The Kubernetes Engine cluster used to run this environment. */
|
|
118
|
-
gkeCluster?:
|
|
151
|
+
gkeCluster?:
|
|
152
|
+
string;
|
|
119
153
|
/**
|
|
120
154
|
* Optional. The maintenance window is the period when Cloud Composer components may undergo maintenance. It is defined so that maintenance is not executed during peak hours or
|
|
121
155
|
* critical time periods. The system will not be under maintenance for every occurrence of this window, but when maintenance is planned, it will be scheduled during the window. The
|
|
122
156
|
* maintenance window period must encompass at least 12 hours per week. This may be split into multiple chunks, each with a size of at least 4 hours. If this value is omitted, the
|
|
123
157
|
* default value for maintenance window will be applied. The default value is Saturday and Sunday 00-06 GMT.
|
|
124
158
|
*/
|
|
125
|
-
maintenanceWindow?:
|
|
159
|
+
maintenanceWindow?:
|
|
160
|
+
MaintenanceWindow;
|
|
126
161
|
/**
|
|
127
162
|
* Optional. The configuration options for GKE cluster master authorized networks. By default master authorized networks feature is: - in case of private environment: enabled with no
|
|
128
163
|
* external networks allowlisted. - in case of public environment: disabled.
|
|
129
164
|
*/
|
|
130
|
-
masterAuthorizedNetworksConfig?:
|
|
165
|
+
masterAuthorizedNetworksConfig?:
|
|
166
|
+
MasterAuthorizedNetworksConfig;
|
|
131
167
|
/** The configuration used for the Kubernetes Engine cluster. */
|
|
132
|
-
nodeConfig?:
|
|
168
|
+
nodeConfig?:
|
|
169
|
+
NodeConfig;
|
|
133
170
|
/**
|
|
134
171
|
* The number of nodes in the Kubernetes Engine cluster that will be used to run this environment. This field is supported for Cloud Composer environments in versions
|
|
135
172
|
* composer-1.*.*-airflow-*.*.*.
|
|
136
173
|
*/
|
|
137
|
-
nodeCount?:
|
|
174
|
+
nodeCount?:
|
|
175
|
+
number;
|
|
138
176
|
/** The configuration used for the Private IP Cloud Composer environment. */
|
|
139
|
-
privateEnvironmentConfig?:
|
|
177
|
+
privateEnvironmentConfig?:
|
|
178
|
+
PrivateEnvironmentConfig;
|
|
140
179
|
/** Optional. The Recovery settings configuration of an environment. This field is supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer. */
|
|
141
|
-
recoveryConfig?:
|
|
180
|
+
recoveryConfig?:
|
|
181
|
+
RecoveryConfig;
|
|
182
|
+
/** Optional. Resilience mode of the Cloud Composer Environment. This field is supported for Cloud Composer environments in versions composer-2.2.0-airflow-*.*.* and newer. */
|
|
183
|
+
resilienceMode?:
|
|
184
|
+
string;
|
|
142
185
|
/** The configuration settings for software inside the environment. */
|
|
143
|
-
softwareConfig?:
|
|
186
|
+
softwareConfig?:
|
|
187
|
+
SoftwareConfig;
|
|
144
188
|
/** Optional. The configuration settings for the Airflow web server App Engine instance. */
|
|
145
|
-
webServerConfig?:
|
|
189
|
+
webServerConfig?:
|
|
190
|
+
WebServerConfig;
|
|
146
191
|
/** Optional. The network-level access control policy for the Airflow web server. If unspecified, no network-level access restrictions will be applied. */
|
|
147
|
-
webServerNetworkAccessControl?:
|
|
192
|
+
webServerNetworkAccessControl?:
|
|
193
|
+
WebServerNetworkAccessControl;
|
|
148
194
|
/**
|
|
149
195
|
* Optional. The workloads configuration settings for the GKE cluster associated with the Cloud Composer environment. The GKE cluster runs Airflow scheduler, web server and workers
|
|
150
196
|
* workloads. This field is supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer.
|
|
151
197
|
*/
|
|
152
|
-
workloadsConfig?:
|
|
198
|
+
workloadsConfig?:
|
|
199
|
+
WorkloadsConfig;
|
|
200
|
+
}
|
|
201
|
+
interface ExecuteAirflowCommandRequest {
|
|
202
|
+
/** Airflow command. */
|
|
203
|
+
command?:
|
|
204
|
+
string;
|
|
205
|
+
/**
|
|
206
|
+
* Parameters for the Airflow command/subcommand as an array of arguments. It may contain positional arguments like `["my-dag-id"]`, key-value parameters like `["--foo=bar"]` or
|
|
207
|
+
* `["--foo","bar"]`, or other flags like `["-f"]`.
|
|
208
|
+
*/
|
|
209
|
+
parameters?:
|
|
210
|
+
string[];
|
|
211
|
+
/** Airflow subcommand. */
|
|
212
|
+
subcommand?:
|
|
213
|
+
string;
|
|
214
|
+
}
|
|
215
|
+
interface ExecuteAirflowCommandResponse {
|
|
216
|
+
/** Error message. Empty if there was no error. */
|
|
217
|
+
error?:
|
|
218
|
+
string;
|
|
219
|
+
/** The unique ID of the command execution for polling. */
|
|
220
|
+
executionId?:
|
|
221
|
+
string;
|
|
222
|
+
/** The name of the pod where the command is executed. */
|
|
223
|
+
pod?:
|
|
224
|
+
string;
|
|
225
|
+
/** The namespace of the pod where the command is executed. */
|
|
226
|
+
podNamespace?:
|
|
227
|
+
string;
|
|
228
|
+
}
|
|
229
|
+
interface ExitInfo {
|
|
230
|
+
/** Error message. Empty if there was no error. */
|
|
231
|
+
error?:
|
|
232
|
+
string;
|
|
233
|
+
/** The exit code from the command execution. */
|
|
234
|
+
exitCode?:
|
|
235
|
+
number;
|
|
236
|
+
}
|
|
237
|
+
interface FetchDatabasePropertiesResponse {
|
|
238
|
+
/**
|
|
239
|
+
* The availability status of the failover replica. A false status indicates that the failover replica is out of sync. The primary instance can only fail over to the failover replica
|
|
240
|
+
* when the status is true.
|
|
241
|
+
*/
|
|
242
|
+
isFailoverReplicaAvailable?:
|
|
243
|
+
boolean;
|
|
244
|
+
/** The Compute Engine zone that the instance is currently serving from. */
|
|
245
|
+
primaryGceZone?:
|
|
246
|
+
string;
|
|
247
|
+
/** The Compute Engine zone that the failover instance is currently serving from for a regional Cloud SQL instance. */
|
|
248
|
+
secondaryGceZone?:
|
|
249
|
+
string;
|
|
153
250
|
}
|
|
154
251
|
interface ImageVersion {
|
|
155
252
|
/** Whether it is impossible to create an environment with the image version. */
|
|
156
|
-
creationDisabled?:
|
|
253
|
+
creationDisabled?:
|
|
254
|
+
boolean;
|
|
157
255
|
/** The string identifier of the ImageVersion, in the form: "composer-x.y.z-airflow-a.b.c" */
|
|
158
|
-
imageVersionId?:
|
|
256
|
+
imageVersionId?:
|
|
257
|
+
string;
|
|
159
258
|
/** Whether this is the default ImageVersion used by Composer during environment creation if no input ImageVersion is specified. */
|
|
160
|
-
isDefault?:
|
|
259
|
+
isDefault?:
|
|
260
|
+
boolean;
|
|
161
261
|
/** The date of the version release. */
|
|
162
|
-
releaseDate?:
|
|
262
|
+
releaseDate?:
|
|
263
|
+
Date;
|
|
163
264
|
/** supported python versions */
|
|
164
|
-
supportedPythonVersions?:
|
|
265
|
+
supportedPythonVersions?:
|
|
266
|
+
string[];
|
|
165
267
|
/** Whether it is impossible to upgrade an environment running with the image version. */
|
|
166
|
-
upgradeDisabled?:
|
|
268
|
+
upgradeDisabled?:
|
|
269
|
+
boolean;
|
|
167
270
|
}
|
|
168
271
|
// tslint:disable-next-line:interface-name
|
|
169
272
|
interface IPAllocationPolicy {
|
|
@@ -173,97 +276,130 @@ declare namespace gapi.client {
|
|
|
173
276
|
* netmask. Set to a [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g. `10.0.0.0/8`,
|
|
174
277
|
* `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range to use.
|
|
175
278
|
*/
|
|
176
|
-
clusterIpv4CidrBlock?:
|
|
279
|
+
clusterIpv4CidrBlock?:
|
|
280
|
+
string;
|
|
177
281
|
/**
|
|
178
282
|
* Optional. The name of the GKE cluster's secondary range used to allocate IP addresses to pods. For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*, this field
|
|
179
283
|
* is applicable only when `use_ip_aliases` is true.
|
|
180
284
|
*/
|
|
181
|
-
clusterSecondaryRangeName?:
|
|
285
|
+
clusterSecondaryRangeName?:
|
|
286
|
+
string;
|
|
182
287
|
/**
|
|
183
288
|
* Optional. The IP address range of the services IP addresses in this GKE cluster. For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*, this field is applicable
|
|
184
289
|
* only when `use_ip_aliases` is true. Set to blank to have GKE choose a range with the default size. Set to /netmask (e.g. `/14`) to have GKE choose a range with a specific netmask.
|
|
185
290
|
* Set to a [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`,
|
|
186
291
|
* `192.168.0.0/16`) to pick a specific range to use.
|
|
187
292
|
*/
|
|
188
|
-
servicesIpv4CidrBlock?:
|
|
293
|
+
servicesIpv4CidrBlock?:
|
|
294
|
+
string;
|
|
189
295
|
/**
|
|
190
296
|
* Optional. The name of the services' secondary range used to allocate IP addresses to the GKE cluster. For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*, this
|
|
191
297
|
* field is applicable only when `use_ip_aliases` is true.
|
|
192
298
|
*/
|
|
193
|
-
servicesSecondaryRangeName?:
|
|
299
|
+
servicesSecondaryRangeName?:
|
|
300
|
+
string;
|
|
194
301
|
/**
|
|
195
302
|
* Optional. Whether or not to enable Alias IPs in the GKE cluster. If `true`, a VPC-native cluster is created. This field is only supported for Cloud Composer environments in versions
|
|
196
303
|
* composer-1.*.*-airflow-*.*.*. Environments in newer versions always use VPC-native GKE clusters.
|
|
197
304
|
*/
|
|
198
|
-
useIpAliases?:
|
|
305
|
+
useIpAliases?:
|
|
306
|
+
boolean;
|
|
307
|
+
}
|
|
308
|
+
interface Line {
|
|
309
|
+
/** Text content of the log line. */
|
|
310
|
+
content?:
|
|
311
|
+
string;
|
|
312
|
+
/** Number of the line. */
|
|
313
|
+
lineNumber?:
|
|
314
|
+
number;
|
|
199
315
|
}
|
|
200
316
|
interface ListEnvironmentsResponse {
|
|
201
317
|
/** The list of environments returned by a ListEnvironmentsRequest. */
|
|
202
|
-
environments?:
|
|
318
|
+
environments?:
|
|
319
|
+
Environment[];
|
|
203
320
|
/** The page token used to query for the next page if one exists. */
|
|
204
|
-
nextPageToken?:
|
|
321
|
+
nextPageToken?:
|
|
322
|
+
string;
|
|
205
323
|
}
|
|
206
324
|
interface ListImageVersionsResponse {
|
|
207
325
|
/** The list of supported ImageVersions in a location. */
|
|
208
|
-
imageVersions?:
|
|
326
|
+
imageVersions?:
|
|
327
|
+
ImageVersion[];
|
|
209
328
|
/** The page token used to query for the next page if one exists. */
|
|
210
|
-
nextPageToken?:
|
|
329
|
+
nextPageToken?:
|
|
330
|
+
string;
|
|
211
331
|
}
|
|
212
332
|
interface ListOperationsResponse {
|
|
213
333
|
/** The standard List next-page token. */
|
|
214
|
-
nextPageToken?:
|
|
334
|
+
nextPageToken?:
|
|
335
|
+
string;
|
|
215
336
|
/** A list of operations that matches the specified filter in the request. */
|
|
216
|
-
operations?:
|
|
337
|
+
operations?:
|
|
338
|
+
Operation[];
|
|
217
339
|
}
|
|
218
340
|
interface LoadSnapshotRequest {
|
|
219
341
|
/** Whether or not to skip setting Airflow overrides when loading the environment's state. */
|
|
220
|
-
skipAirflowOverridesSetting?:
|
|
342
|
+
skipAirflowOverridesSetting?:
|
|
343
|
+
boolean;
|
|
221
344
|
/** Whether or not to skip setting environment variables when loading the environment's state. */
|
|
222
|
-
skipEnvironmentVariablesSetting?:
|
|
345
|
+
skipEnvironmentVariablesSetting?:
|
|
346
|
+
boolean;
|
|
223
347
|
/** Whether or not to skip copying Cloud Storage data when loading the environment's state. */
|
|
224
|
-
skipGcsDataCopying?:
|
|
348
|
+
skipGcsDataCopying?:
|
|
349
|
+
boolean;
|
|
225
350
|
/** Whether or not to skip installing Pypi packages when loading the environment's state. */
|
|
226
|
-
skipPypiPackagesInstallation?:
|
|
351
|
+
skipPypiPackagesInstallation?:
|
|
352
|
+
boolean;
|
|
227
353
|
/** A Cloud Storage path to a snapshot to load, e.g.: "gs://my-bucket/snapshots/project_location_environment_timestamp". */
|
|
228
|
-
snapshotPath?:
|
|
354
|
+
snapshotPath?:
|
|
355
|
+
string;
|
|
229
356
|
}
|
|
230
357
|
// tslint:disable-next-line:no-empty-interface
|
|
231
358
|
interface LoadSnapshotResponse {
|
|
232
359
|
}
|
|
233
360
|
interface MaintenanceWindow {
|
|
234
361
|
/** Required. Maintenance window end time. It is used only to calculate the duration of the maintenance window. The value for end-time must be in the future, relative to `start_time`. */
|
|
235
|
-
endTime?:
|
|
362
|
+
endTime?:
|
|
363
|
+
string;
|
|
236
364
|
/**
|
|
237
365
|
* Required. Maintenance window recurrence. Format is a subset of [RFC-5545](https://tools.ietf.org/html/rfc5545) `RRULE`. The only allowed values for `FREQ` field are `FREQ=DAILY` and
|
|
238
366
|
* `FREQ=WEEKLY;BYDAY=...` Example values: `FREQ=WEEKLY;BYDAY=TU,WE`, `FREQ=DAILY`.
|
|
239
367
|
*/
|
|
240
|
-
recurrence?:
|
|
368
|
+
recurrence?:
|
|
369
|
+
string;
|
|
241
370
|
/** Required. Start time of the first recurrence of the maintenance window. */
|
|
242
|
-
startTime?:
|
|
371
|
+
startTime?:
|
|
372
|
+
string;
|
|
243
373
|
}
|
|
244
374
|
interface MasterAuthorizedNetworksConfig {
|
|
245
375
|
/** Up to 50 external networks that could access Kubernetes master through HTTPS. */
|
|
246
|
-
cidrBlocks?:
|
|
376
|
+
cidrBlocks?:
|
|
377
|
+
CidrBlock[];
|
|
247
378
|
/** Whether or not master authorized networks feature is enabled. */
|
|
248
|
-
enabled?:
|
|
379
|
+
enabled?:
|
|
380
|
+
boolean;
|
|
249
381
|
}
|
|
250
382
|
interface NetworkingConfig {
|
|
251
383
|
/** Optional. Indicates the user requested specifc connection type between Tenant and Customer projects. You cannot set networking connection type in public IP environment. */
|
|
252
|
-
connectionType?:
|
|
384
|
+
connectionType?:
|
|
385
|
+
string;
|
|
253
386
|
}
|
|
254
387
|
interface NodeConfig {
|
|
255
388
|
/**
|
|
256
389
|
* Optional. The disk size in GB used for node VMs. Minimum size is 30GB. If unspecified, defaults to 100GB. Cannot be updated. This field is supported for Cloud Composer environments
|
|
257
390
|
* in versions composer-1.*.*-airflow-*.*.*.
|
|
258
391
|
*/
|
|
259
|
-
diskSizeGb?:
|
|
392
|
+
diskSizeGb?:
|
|
393
|
+
number;
|
|
260
394
|
/**
|
|
261
395
|
* Optional. Deploys 'ip-masq-agent' daemon set in the GKE cluster and defines nonMasqueradeCIDRs equals to pod IP range so IP masquerading is used for all destination addresses,
|
|
262
396
|
* except between pods traffic. See: https://cloud.google.com/kubernetes-engine/docs/how-to/ip-masquerade-agent
|
|
263
397
|
*/
|
|
264
|
-
enableIpMasqAgent?:
|
|
398
|
+
enableIpMasqAgent?:
|
|
399
|
+
boolean;
|
|
265
400
|
/** Optional. The configuration for controlling how IPs are allocated in the GKE cluster. */
|
|
266
|
-
ipAllocationPolicy?:
|
|
401
|
+
ipAllocationPolicy?:
|
|
402
|
+
IPAllocationPolicy;
|
|
267
403
|
/**
|
|
268
404
|
* Optional. The Compute Engine [zone](/compute/docs/regions-zones) in which to deploy the VMs used to run the Apache Airflow software, specified as a [relative resource
|
|
269
405
|
* name](/apis/design/resource_names#relative_resource_name). For example: "projects/{projectId}/zones/{zoneId}". This `location` must belong to the enclosing environment's project and
|
|
@@ -272,7 +408,8 @@ declare namespace gapi.client {
|
|
|
272
408
|
* is specified, the location information from the specified field will be propagated to the unspecified field. This field is supported for Cloud Composer environments in versions
|
|
273
409
|
* composer-1.*.*-airflow-*.*.*.
|
|
274
410
|
*/
|
|
275
|
-
location?:
|
|
411
|
+
location?:
|
|
412
|
+
string;
|
|
276
413
|
/**
|
|
277
414
|
* Optional. The Compute Engine [machine type](/compute/docs/machine-types) used for cluster instances, specified as a [relative resource
|
|
278
415
|
* name](/apis/design/resource_names#relative_resource_name). For example: "projects/{projectId}/zones/{zoneId}/machineTypes/{machineTypeId}". The `machineType` must belong to the
|
|
@@ -282,154 +419,220 @@ declare namespace gapi.client {
|
|
|
282
419
|
* [shared-core machine type](/compute/docs/machine-types#sharedcore). If this field is unspecified, the `machineTypeId` defaults to "n1-standard-1". This field is supported for Cloud
|
|
283
420
|
* Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
|
284
421
|
*/
|
|
285
|
-
machineType?:
|
|
422
|
+
machineType?:
|
|
423
|
+
string;
|
|
286
424
|
/**
|
|
287
425
|
* Optional. The Compute Engine network to be used for machine communications, specified as a [relative resource name](/apis/design/resource_names#relative_resource_name). For example:
|
|
288
426
|
* "projects/{projectId}/global/networks/{networkId}". If unspecified, the "default" network ID in the environment's project is used. If a [Custom Subnet
|
|
289
427
|
* Network](/vpc/docs/vpc#vpc_networks_and_subnets) is provided, `nodeConfig.subnetwork` must also be provided. For [Shared VPC](/vpc/docs/shared-vpc) subnetwork requirements, see
|
|
290
428
|
* `nodeConfig.subnetwork`.
|
|
291
429
|
*/
|
|
292
|
-
network?:
|
|
430
|
+
network?:
|
|
431
|
+
string;
|
|
293
432
|
/**
|
|
294
433
|
* Optional. The set of Google API scopes to be made available on all node VMs. If `oauth_scopes` is empty, defaults to ["https://www.googleapis.com/auth/cloud-platform"]. Cannot be
|
|
295
434
|
* updated. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
|
296
435
|
*/
|
|
297
|
-
oauthScopes?:
|
|
436
|
+
oauthScopes?:
|
|
437
|
+
string[];
|
|
298
438
|
/**
|
|
299
439
|
* Optional. The Google Cloud Platform Service Account to be used by the node VMs. If a service account is not specified, the "default" Compute Engine service account is used. Cannot
|
|
300
440
|
* be updated.
|
|
301
441
|
*/
|
|
302
|
-
serviceAccount?:
|
|
442
|
+
serviceAccount?:
|
|
443
|
+
string;
|
|
303
444
|
/**
|
|
304
445
|
* Optional. The Compute Engine subnetwork to be used for machine communications, specified as a [relative resource name](/apis/design/resource_names#relative_resource_name). For
|
|
305
446
|
* example: "projects/{projectId}/regions/{regionId}/subnetworks/{subnetworkId}" If a subnetwork is provided, `nodeConfig.network` must also be provided, and the subnetwork must belong
|
|
306
447
|
* to the enclosing environment's project and location.
|
|
307
448
|
*/
|
|
308
|
-
subnetwork?:
|
|
449
|
+
subnetwork?:
|
|
450
|
+
string;
|
|
309
451
|
/**
|
|
310
452
|
* Optional. The list of instance tags applied to all node VMs. Tags are used to identify valid sources or targets for network firewalls. Each tag within the list must comply with
|
|
311
453
|
* [RFC1035](https://www.ietf.org/rfc/rfc1035.txt). Cannot be updated.
|
|
312
454
|
*/
|
|
313
|
-
tags?:
|
|
455
|
+
tags?:
|
|
456
|
+
string[];
|
|
314
457
|
}
|
|
315
458
|
interface Operation {
|
|
316
459
|
/** 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. */
|
|
317
|
-
done?:
|
|
460
|
+
done?:
|
|
461
|
+
boolean;
|
|
318
462
|
/** The error result of the operation in case of failure or cancellation. */
|
|
319
|
-
error?:
|
|
463
|
+
error?:
|
|
464
|
+
Status;
|
|
320
465
|
/**
|
|
321
466
|
* 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
|
|
322
467
|
* metadata. Any method that returns a long-running operation should document the metadata type, if any.
|
|
323
468
|
*/
|
|
324
|
-
metadata?:
|
|
469
|
+
metadata?:
|
|
470
|
+
{ [P in string]: any };
|
|
325
471
|
/**
|
|
326
472
|
* 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
|
|
327
473
|
* with `operations/{unique_id}`.
|
|
328
474
|
*/
|
|
329
|
-
name?:
|
|
475
|
+
name?:
|
|
476
|
+
string;
|
|
330
477
|
/**
|
|
331
478
|
* 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
|
|
332
479
|
* original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the
|
|
333
480
|
* original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
|
|
334
481
|
*/
|
|
335
|
-
response?:
|
|
482
|
+
response?:
|
|
483
|
+
{ [P in string]: any };
|
|
336
484
|
}
|
|
337
485
|
interface OperationMetadata {
|
|
338
486
|
/** Output only. The time the operation was submitted to the server. */
|
|
339
|
-
createTime?:
|
|
487
|
+
createTime?:
|
|
488
|
+
string;
|
|
340
489
|
/** Output only. The time when the operation terminated, regardless of its success. This field is unset if the operation is still ongoing. */
|
|
341
|
-
endTime?:
|
|
490
|
+
endTime?:
|
|
491
|
+
string;
|
|
342
492
|
/** Output only. The type of operation being performed. */
|
|
343
|
-
operationType?:
|
|
493
|
+
operationType?:
|
|
494
|
+
string;
|
|
344
495
|
/** Output only. The resource being operated on, as a [relative resource name]( /apis/design/resource_names#relative_resource_name). */
|
|
345
|
-
resource?:
|
|
496
|
+
resource?:
|
|
497
|
+
string;
|
|
346
498
|
/** Output only. The UUID of the resource being operated on. */
|
|
347
|
-
resourceUuid?:
|
|
499
|
+
resourceUuid?:
|
|
500
|
+
string;
|
|
348
501
|
/** Output only. The current operation state. */
|
|
349
|
-
state?:
|
|
502
|
+
state?:
|
|
503
|
+
string;
|
|
504
|
+
}
|
|
505
|
+
interface PollAirflowCommandRequest {
|
|
506
|
+
/** The unique ID of the command execution. */
|
|
507
|
+
executionId?:
|
|
508
|
+
string;
|
|
509
|
+
/** Line number from which new logs should be fetched. */
|
|
510
|
+
nextLineNumber?:
|
|
511
|
+
number;
|
|
512
|
+
/** The name of the pod where the command is executed. */
|
|
513
|
+
pod?:
|
|
514
|
+
string;
|
|
515
|
+
/** The namespace of the pod where the command is executed. */
|
|
516
|
+
podNamespace?:
|
|
517
|
+
string;
|
|
518
|
+
}
|
|
519
|
+
interface PollAirflowCommandResponse {
|
|
520
|
+
/** The result exit status of the command. */
|
|
521
|
+
exitInfo?:
|
|
522
|
+
ExitInfo;
|
|
523
|
+
/** Output from the command execution. It may not contain the full output and the caller may need to poll for more lines. */
|
|
524
|
+
output?:
|
|
525
|
+
Line[];
|
|
526
|
+
/** Whether the command execution has finished and there is no more output. */
|
|
527
|
+
outputEnd?:
|
|
528
|
+
boolean;
|
|
350
529
|
}
|
|
351
530
|
interface PrivateClusterConfig {
|
|
352
531
|
/** Optional. If `true`, access to the public endpoint of the GKE cluster is denied. */
|
|
353
|
-
enablePrivateEndpoint?:
|
|
532
|
+
enablePrivateEndpoint?:
|
|
533
|
+
boolean;
|
|
354
534
|
/** Optional. The CIDR block from which IPv4 range for GKE master will be reserved. If left blank, the default value of '172.16.0.0/23' is used. */
|
|
355
|
-
masterIpv4CidrBlock?:
|
|
535
|
+
masterIpv4CidrBlock?:
|
|
536
|
+
string;
|
|
356
537
|
/**
|
|
357
538
|
* Output only. The IP range in CIDR notation to use for the hosted master network. This range is used for assigning internal IP addresses to the GKE cluster master or set of masters
|
|
358
539
|
* and to the internal load balancer virtual IP. This range must not overlap with any other ranges in use within the cluster's network.
|
|
359
540
|
*/
|
|
360
|
-
masterIpv4ReservedRange?:
|
|
541
|
+
masterIpv4ReservedRange?:
|
|
542
|
+
string;
|
|
361
543
|
}
|
|
362
544
|
interface PrivateEnvironmentConfig {
|
|
363
545
|
/**
|
|
364
546
|
* Optional. When specified, the environment will use Private Service Connect instead of VPC peerings to connect to Cloud SQL in the Tenant Project, and the PSC endpoint in the
|
|
365
547
|
* Customer Project will use an IP address from this subnetwork.
|
|
366
548
|
*/
|
|
367
|
-
cloudComposerConnectionSubnetwork?:
|
|
549
|
+
cloudComposerConnectionSubnetwork?:
|
|
550
|
+
string;
|
|
368
551
|
/**
|
|
369
552
|
* Optional. The CIDR block from which IP range for Cloud Composer Network in tenant project will be reserved. Needs to be disjoint from private_cluster_config.master_ipv4_cidr_block
|
|
370
553
|
* and cloud_sql_ipv4_cidr_block. This field is supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer.
|
|
371
554
|
*/
|
|
372
|
-
cloudComposerNetworkIpv4CidrBlock?:
|
|
555
|
+
cloudComposerNetworkIpv4CidrBlock?:
|
|
556
|
+
string;
|
|
373
557
|
/**
|
|
374
558
|
* Output only. The IP range reserved for the tenant project's Cloud Composer network. This field is supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.*
|
|
375
559
|
* and newer.
|
|
376
560
|
*/
|
|
377
|
-
cloudComposerNetworkIpv4ReservedRange?:
|
|
561
|
+
cloudComposerNetworkIpv4ReservedRange?:
|
|
562
|
+
string;
|
|
378
563
|
/** Optional. The CIDR block from which IP range in tenant project will be reserved for Cloud SQL. Needs to be disjoint from `web_server_ipv4_cidr_block`. */
|
|
379
|
-
cloudSqlIpv4CidrBlock?:
|
|
564
|
+
cloudSqlIpv4CidrBlock?:
|
|
565
|
+
string;
|
|
380
566
|
/**
|
|
381
567
|
* Optional. If `true`, a Private IP Cloud Composer environment is created. If this field is set to true, `IPAllocationPolicy.use_ip_aliases` must be set to true for Cloud Composer
|
|
382
568
|
* environments in versions composer-1.*.*-airflow-*.*.*.
|
|
383
569
|
*/
|
|
384
|
-
enablePrivateEnvironment?:
|
|
570
|
+
enablePrivateEnvironment?:
|
|
571
|
+
boolean;
|
|
385
572
|
/** Optional. When enabled, IPs from public (non-RFC1918) ranges can be used for `IPAllocationPolicy.cluster_ipv4_cidr_block` and `IPAllocationPolicy.service_ipv4_cidr_block`. */
|
|
386
|
-
enablePrivatelyUsedPublicIps?:
|
|
573
|
+
enablePrivatelyUsedPublicIps?:
|
|
574
|
+
boolean;
|
|
387
575
|
/** Optional. Configuration for the network connections configuration in the environment. */
|
|
388
|
-
networkingConfig?:
|
|
576
|
+
networkingConfig?:
|
|
577
|
+
NetworkingConfig;
|
|
389
578
|
/** Optional. Configuration for the private GKE cluster for a Private IP Cloud Composer environment. */
|
|
390
|
-
privateClusterConfig?:
|
|
579
|
+
privateClusterConfig?:
|
|
580
|
+
PrivateClusterConfig;
|
|
391
581
|
/**
|
|
392
582
|
* Optional. The CIDR block from which IP range for web server will be reserved. Needs to be disjoint from `private_cluster_config.master_ipv4_cidr_block` and
|
|
393
583
|
* `cloud_sql_ipv4_cidr_block`. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
|
394
584
|
*/
|
|
395
|
-
webServerIpv4CidrBlock?:
|
|
585
|
+
webServerIpv4CidrBlock?:
|
|
586
|
+
string;
|
|
396
587
|
/** Output only. The IP range reserved for the tenant project's App Engine VMs. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. */
|
|
397
|
-
webServerIpv4ReservedRange?:
|
|
588
|
+
webServerIpv4ReservedRange?:
|
|
589
|
+
string;
|
|
398
590
|
}
|
|
399
591
|
interface RecoveryConfig {
|
|
400
592
|
/** Optional. The configuration for scheduled snapshot creation mechanism. */
|
|
401
|
-
scheduledSnapshotsConfig?:
|
|
593
|
+
scheduledSnapshotsConfig?:
|
|
594
|
+
ScheduledSnapshotsConfig;
|
|
402
595
|
}
|
|
403
596
|
interface SaveSnapshotRequest {
|
|
404
597
|
/** Location in a Cloud Storage where the snapshot is going to be stored, e.g.: "gs://my-bucket/snapshots". */
|
|
405
|
-
snapshotLocation?:
|
|
598
|
+
snapshotLocation?:
|
|
599
|
+
string;
|
|
406
600
|
}
|
|
407
601
|
interface SaveSnapshotResponse {
|
|
408
602
|
/**
|
|
409
603
|
* The fully-resolved Cloud Storage path of the created snapshot, e.g.: "gs://my-bucket/snapshots/project_location_environment_timestamp". This field is populated only if the snapshot
|
|
410
604
|
* creation was successful.
|
|
411
605
|
*/
|
|
412
|
-
snapshotPath?:
|
|
606
|
+
snapshotPath?:
|
|
607
|
+
string;
|
|
413
608
|
}
|
|
414
609
|
interface ScheduledSnapshotsConfig {
|
|
415
610
|
/** Optional. Whether scheduled snapshots creation is enabled. */
|
|
416
|
-
enabled?:
|
|
611
|
+
enabled?:
|
|
612
|
+
boolean;
|
|
417
613
|
/** Optional. The cron expression representing the time when snapshots creation mechanism runs. This field is subject to additional validation around frequency of execution. */
|
|
418
|
-
snapshotCreationSchedule?:
|
|
614
|
+
snapshotCreationSchedule?:
|
|
615
|
+
string;
|
|
419
616
|
/** Optional. The Cloud Storage location for storing automatically created snapshots. */
|
|
420
|
-
snapshotLocation?:
|
|
617
|
+
snapshotLocation?:
|
|
618
|
+
string;
|
|
421
619
|
/** Optional. Time zone that sets the context to interpret snapshot_creation_schedule. */
|
|
422
|
-
timeZone?:
|
|
620
|
+
timeZone?:
|
|
621
|
+
string;
|
|
423
622
|
}
|
|
424
623
|
interface SchedulerResource {
|
|
425
624
|
/** Optional. The number of schedulers. */
|
|
426
|
-
count?:
|
|
625
|
+
count?:
|
|
626
|
+
number;
|
|
427
627
|
/** Optional. CPU request and limit for a single Airflow scheduler replica. */
|
|
428
|
-
cpu?:
|
|
628
|
+
cpu?:
|
|
629
|
+
number;
|
|
429
630
|
/** Optional. Memory (GB) request and limit for a single Airflow scheduler replica. */
|
|
430
|
-
memoryGb?:
|
|
631
|
+
memoryGb?:
|
|
632
|
+
number;
|
|
431
633
|
/** Optional. Storage (GB) request and limit for a single Airflow scheduler replica. */
|
|
432
|
-
storageGb?:
|
|
634
|
+
storageGb?:
|
|
635
|
+
number;
|
|
433
636
|
}
|
|
434
637
|
interface SoftwareConfig {
|
|
435
638
|
/**
|
|
@@ -439,14 +642,16 @@ declare namespace gapi.client {
|
|
|
439
642
|
* written in [snake_case](https://en.wikipedia.org/wiki/Snake_case). Property values can contain any character, and can be written in any lower/upper case format. Certain Apache
|
|
440
643
|
* Airflow configuration property values are [blocked](/composer/docs/concepts/airflow-configurations), and cannot be overridden.
|
|
441
644
|
*/
|
|
442
|
-
airflowConfigOverrides?:
|
|
645
|
+
airflowConfigOverrides?:
|
|
646
|
+
{ [P in string]: string };
|
|
443
647
|
/**
|
|
444
648
|
* Optional. Additional environment variables to provide to the Apache Airflow scheduler, worker, and webserver processes. Environment variable names must match the regular expression
|
|
445
649
|
* `a-zA-Z_*`. They cannot specify Apache Airflow software configuration overrides (they cannot match the regular expression `AIRFLOW__[A-Z0-9_]+__[A-Z0-9_]+`), and they cannot match
|
|
446
650
|
* any of the following reserved names: * `AIRFLOW_HOME` * `C_FORCE_ROOT` * `CONTAINER_NAME` * `DAGS_FOLDER` * `GCP_PROJECT` * `GCS_BUCKET` * `GKE_CLUSTER_NAME` * `SQL_DATABASE` *
|
|
447
651
|
* `SQL_INSTANCE` * `SQL_PASSWORD` * `SQL_PROJECT` * `SQL_REGION` * `SQL_USER`
|
|
448
652
|
*/
|
|
449
|
-
envVariables?:
|
|
653
|
+
envVariables?:
|
|
654
|
+
{ [P in string]: string };
|
|
450
655
|
/**
|
|
451
656
|
* The version of the software running in the environment. This encapsulates both the version of Cloud Composer functionality and the version of Apache Airflow. It must match the
|
|
452
657
|
* regular expression `composer-([0-9]+(\.[0-9]+\.[0-9]+(-preview\.[0-9]+)?)?|latest)-airflow-([0-9]+(\.[0-9]+(\.[0-9]+)?)?)`. When used as input, the server also checks if the
|
|
@@ -457,292 +662,633 @@ declare namespace gapi.client {
|
|
|
457
662
|
* Composer version. In all cases, the resolved image version is stored in the same field. See also [version list](/composer/docs/concepts/versioning/composer-versions) and [versioning
|
|
458
663
|
* overview](/composer/docs/concepts/versioning/composer-versioning-overview).
|
|
459
664
|
*/
|
|
460
|
-
imageVersion?:
|
|
665
|
+
imageVersion?:
|
|
666
|
+
string;
|
|
461
667
|
/**
|
|
462
668
|
* Optional. Custom Python Package Index (PyPI) packages to be installed in the environment. Keys refer to the lowercase package name such as "numpy" and values are the lowercase
|
|
463
669
|
* extras and version specifier such as "==1.12.0", "[devel,gcp_api]", or "[devel]>=1.8.2, <1.9.2". To specify a package without pinning it to a version specifier, use the empty string
|
|
464
670
|
* as the value.
|
|
465
671
|
*/
|
|
466
|
-
pypiPackages?:
|
|
672
|
+
pypiPackages?:
|
|
673
|
+
{ [P in string]: string };
|
|
467
674
|
/**
|
|
468
675
|
* Optional. The major version of Python used to run the Apache Airflow scheduler, worker, and webserver processes. Can be set to '2' or '3'. If not specified, the default is '3'.
|
|
469
676
|
* Cannot be updated. This field is only supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. Environments in newer versions always use Python major
|
|
470
677
|
* version 3.
|
|
471
678
|
*/
|
|
472
|
-
pythonVersion?:
|
|
679
|
+
pythonVersion?:
|
|
680
|
+
string;
|
|
473
681
|
/** Optional. The number of schedulers for Airflow. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-2.*.*. */
|
|
474
|
-
schedulerCount?:
|
|
682
|
+
schedulerCount?:
|
|
683
|
+
number;
|
|
475
684
|
}
|
|
476
685
|
interface Status {
|
|
477
686
|
/** The status code, which should be an enum value of google.rpc.Code. */
|
|
478
|
-
code?:
|
|
687
|
+
code?:
|
|
688
|
+
number;
|
|
479
689
|
/** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
|
|
480
|
-
details?:
|
|
690
|
+
details?:
|
|
691
|
+
Array<{ [P in string]: any }>;
|
|
481
692
|
/**
|
|
482
693
|
* 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
|
|
483
694
|
* client.
|
|
484
695
|
*/
|
|
485
|
-
message?:
|
|
696
|
+
message?:
|
|
697
|
+
string;
|
|
698
|
+
}
|
|
699
|
+
interface StopAirflowCommandRequest {
|
|
700
|
+
/** The unique ID of the command execution. */
|
|
701
|
+
executionId?:
|
|
702
|
+
string;
|
|
703
|
+
/** If true, the execution is terminated forcefully (SIGKILL). If false, the execution is stopped gracefully, giving it time for cleanup. */
|
|
704
|
+
force?:
|
|
705
|
+
boolean;
|
|
706
|
+
/** The name of the pod where the command is executed. */
|
|
707
|
+
pod?:
|
|
708
|
+
string;
|
|
709
|
+
/** The namespace of the pod where the command is executed. */
|
|
710
|
+
podNamespace?:
|
|
711
|
+
string;
|
|
712
|
+
}
|
|
713
|
+
interface StopAirflowCommandResponse {
|
|
714
|
+
/** Whether the execution is still running. */
|
|
715
|
+
isDone?:
|
|
716
|
+
boolean;
|
|
717
|
+
/** Output message from stopping execution request. */
|
|
718
|
+
output?:
|
|
719
|
+
string[];
|
|
486
720
|
}
|
|
487
721
|
interface WebServerConfig {
|
|
488
722
|
/**
|
|
489
723
|
* Optional. Machine type on which Airflow web server is running. It has to be one of: composer-n1-webserver-2, composer-n1-webserver-4 or composer-n1-webserver-8. If not specified,
|
|
490
724
|
* composer-n1-webserver-2 will be used. Value custom is returned only in response, if Airflow web server parameters were manually changed to a non-standard values.
|
|
491
725
|
*/
|
|
492
|
-
machineType?:
|
|
726
|
+
machineType?:
|
|
727
|
+
string;
|
|
493
728
|
}
|
|
494
729
|
interface WebServerNetworkAccessControl {
|
|
495
730
|
/** A collection of allowed IP ranges with descriptions. */
|
|
496
|
-
allowedIpRanges?:
|
|
731
|
+
allowedIpRanges?:
|
|
732
|
+
AllowedIpRange[];
|
|
497
733
|
}
|
|
498
734
|
interface WebServerResource {
|
|
499
735
|
/** Optional. CPU request and limit for Airflow web server. */
|
|
500
|
-
cpu?:
|
|
736
|
+
cpu?:
|
|
737
|
+
number;
|
|
501
738
|
/** Optional. Memory (GB) request and limit for Airflow web server. */
|
|
502
|
-
memoryGb?:
|
|
739
|
+
memoryGb?:
|
|
740
|
+
number;
|
|
503
741
|
/** Optional. Storage (GB) request and limit for Airflow web server. */
|
|
504
|
-
storageGb?:
|
|
742
|
+
storageGb?:
|
|
743
|
+
number;
|
|
505
744
|
}
|
|
506
745
|
interface WorkerResource {
|
|
507
746
|
/** Optional. CPU request and limit for a single Airflow worker replica. */
|
|
508
|
-
cpu?:
|
|
747
|
+
cpu?:
|
|
748
|
+
number;
|
|
509
749
|
/** Optional. Maximum number of workers for autoscaling. */
|
|
510
|
-
maxCount?:
|
|
750
|
+
maxCount?:
|
|
751
|
+
number;
|
|
511
752
|
/** Optional. Memory (GB) request and limit for a single Airflow worker replica. */
|
|
512
|
-
memoryGb?:
|
|
753
|
+
memoryGb?:
|
|
754
|
+
number;
|
|
513
755
|
/** Optional. Minimum number of workers for autoscaling. */
|
|
514
|
-
minCount?:
|
|
756
|
+
minCount?:
|
|
757
|
+
number;
|
|
515
758
|
/** Optional. Storage (GB) request and limit for a single Airflow worker replica. */
|
|
516
|
-
storageGb?:
|
|
759
|
+
storageGb?:
|
|
760
|
+
number;
|
|
517
761
|
}
|
|
518
762
|
interface WorkloadsConfig {
|
|
519
763
|
/** Optional. Resources used by Airflow schedulers. */
|
|
520
|
-
scheduler?:
|
|
764
|
+
scheduler?:
|
|
765
|
+
SchedulerResource;
|
|
521
766
|
/** Optional. Resources used by Airflow web server. */
|
|
522
|
-
webServer?:
|
|
767
|
+
webServer?:
|
|
768
|
+
WebServerResource;
|
|
523
769
|
/** Optional. Resources used by Airflow workers. */
|
|
524
|
-
worker?:
|
|
770
|
+
worker?:
|
|
771
|
+
WorkerResource;
|
|
525
772
|
}
|
|
526
773
|
interface EnvironmentsResource {
|
|
527
774
|
/** Create a new environment. */
|
|
528
775
|
create(request: {
|
|
529
776
|
/** V1 error format. */
|
|
530
|
-
"$.xgafv"?:
|
|
777
|
+
"$.xgafv"?:
|
|
778
|
+
string;
|
|
531
779
|
/** OAuth access token. */
|
|
532
|
-
access_token?:
|
|
780
|
+
access_token?:
|
|
781
|
+
string;
|
|
533
782
|
/** Data format for response. */
|
|
534
|
-
alt?:
|
|
783
|
+
alt?:
|
|
784
|
+
string;
|
|
535
785
|
/** JSONP */
|
|
536
|
-
callback?:
|
|
786
|
+
callback?:
|
|
787
|
+
string;
|
|
537
788
|
/** Selector specifying which fields to include in a partial response. */
|
|
538
|
-
fields?:
|
|
789
|
+
fields?:
|
|
790
|
+
string;
|
|
539
791
|
/** 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. */
|
|
540
|
-
key?:
|
|
792
|
+
key?:
|
|
793
|
+
string;
|
|
541
794
|
/** OAuth 2.0 token for the current user. */
|
|
542
|
-
oauth_token?:
|
|
795
|
+
oauth_token?:
|
|
796
|
+
string;
|
|
543
797
|
/** The parent must be of the form "projects/{projectId}/locations/{locationId}". */
|
|
544
|
-
parent:
|
|
798
|
+
parent:
|
|
799
|
+
string;
|
|
545
800
|
/** Returns response with indentations and line breaks. */
|
|
546
|
-
prettyPrint?:
|
|
801
|
+
prettyPrint?:
|
|
802
|
+
boolean;
|
|
547
803
|
/** 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. */
|
|
548
|
-
quotaUser?:
|
|
804
|
+
quotaUser?:
|
|
805
|
+
string;
|
|
549
806
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
550
|
-
upload_protocol?:
|
|
807
|
+
upload_protocol?:
|
|
808
|
+
string;
|
|
551
809
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
552
|
-
uploadType?:
|
|
810
|
+
uploadType?:
|
|
811
|
+
string;
|
|
553
812
|
/** Request body */
|
|
554
|
-
resource:
|
|
813
|
+
resource:
|
|
814
|
+
Environment;
|
|
555
815
|
}): Request<Operation>;
|
|
556
816
|
create(request: {
|
|
557
817
|
/** V1 error format. */
|
|
558
|
-
"$.xgafv"?:
|
|
818
|
+
"$.xgafv"?:
|
|
819
|
+
string;
|
|
559
820
|
/** OAuth access token. */
|
|
560
|
-
access_token?:
|
|
821
|
+
access_token?:
|
|
822
|
+
string;
|
|
561
823
|
/** Data format for response. */
|
|
562
|
-
alt?:
|
|
824
|
+
alt?:
|
|
825
|
+
string;
|
|
563
826
|
/** JSONP */
|
|
564
|
-
callback?:
|
|
827
|
+
callback?:
|
|
828
|
+
string;
|
|
565
829
|
/** Selector specifying which fields to include in a partial response. */
|
|
566
|
-
fields?:
|
|
830
|
+
fields?:
|
|
831
|
+
string;
|
|
567
832
|
/** 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. */
|
|
568
|
-
key?:
|
|
833
|
+
key?:
|
|
834
|
+
string;
|
|
569
835
|
/** OAuth 2.0 token for the current user. */
|
|
570
|
-
oauth_token?:
|
|
836
|
+
oauth_token?:
|
|
837
|
+
string;
|
|
571
838
|
/** The parent must be of the form "projects/{projectId}/locations/{locationId}". */
|
|
572
|
-
parent:
|
|
839
|
+
parent:
|
|
840
|
+
string;
|
|
573
841
|
/** Returns response with indentations and line breaks. */
|
|
574
|
-
prettyPrint?:
|
|
842
|
+
prettyPrint?:
|
|
843
|
+
boolean;
|
|
575
844
|
/** 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. */
|
|
576
|
-
quotaUser?:
|
|
845
|
+
quotaUser?:
|
|
846
|
+
string;
|
|
577
847
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
578
|
-
upload_protocol?:
|
|
848
|
+
upload_protocol?:
|
|
849
|
+
string;
|
|
579
850
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
580
|
-
uploadType?:
|
|
851
|
+
uploadType?:
|
|
852
|
+
string;
|
|
581
853
|
},
|
|
582
854
|
body: Environment): Request<Operation>;
|
|
855
|
+
/** Triggers database failover (only for highly resilient environments). */
|
|
856
|
+
databaseFailover(request: {
|
|
857
|
+
/** V1 error format. */
|
|
858
|
+
"$.xgafv"?:
|
|
859
|
+
string;
|
|
860
|
+
/** OAuth access token. */
|
|
861
|
+
access_token?:
|
|
862
|
+
string;
|
|
863
|
+
/** Data format for response. */
|
|
864
|
+
alt?:
|
|
865
|
+
string;
|
|
866
|
+
/** JSONP */
|
|
867
|
+
callback?:
|
|
868
|
+
string;
|
|
869
|
+
/** Target environment: "projects/{projectId}/locations/{locationId}/environments/{environmentId}" */
|
|
870
|
+
environment:
|
|
871
|
+
string;
|
|
872
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
873
|
+
fields?:
|
|
874
|
+
string;
|
|
875
|
+
/** 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. */
|
|
876
|
+
key?:
|
|
877
|
+
string;
|
|
878
|
+
/** OAuth 2.0 token for the current user. */
|
|
879
|
+
oauth_token?:
|
|
880
|
+
string;
|
|
881
|
+
/** Returns response with indentations and line breaks. */
|
|
882
|
+
prettyPrint?:
|
|
883
|
+
boolean;
|
|
884
|
+
/** 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. */
|
|
885
|
+
quotaUser?:
|
|
886
|
+
string;
|
|
887
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
888
|
+
upload_protocol?:
|
|
889
|
+
string;
|
|
890
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
891
|
+
uploadType?:
|
|
892
|
+
string;
|
|
893
|
+
/** Request body */
|
|
894
|
+
resource:
|
|
895
|
+
DatabaseFailoverRequest;
|
|
896
|
+
}): Request<Operation>;
|
|
897
|
+
databaseFailover(request: {
|
|
898
|
+
/** V1 error format. */
|
|
899
|
+
"$.xgafv"?:
|
|
900
|
+
string;
|
|
901
|
+
/** OAuth access token. */
|
|
902
|
+
access_token?:
|
|
903
|
+
string;
|
|
904
|
+
/** Data format for response. */
|
|
905
|
+
alt?:
|
|
906
|
+
string;
|
|
907
|
+
/** JSONP */
|
|
908
|
+
callback?:
|
|
909
|
+
string;
|
|
910
|
+
/** Target environment: "projects/{projectId}/locations/{locationId}/environments/{environmentId}" */
|
|
911
|
+
environment:
|
|
912
|
+
string;
|
|
913
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
914
|
+
fields?:
|
|
915
|
+
string;
|
|
916
|
+
/** 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. */
|
|
917
|
+
key?:
|
|
918
|
+
string;
|
|
919
|
+
/** OAuth 2.0 token for the current user. */
|
|
920
|
+
oauth_token?:
|
|
921
|
+
string;
|
|
922
|
+
/** Returns response with indentations and line breaks. */
|
|
923
|
+
prettyPrint?:
|
|
924
|
+
boolean;
|
|
925
|
+
/** 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. */
|
|
926
|
+
quotaUser?:
|
|
927
|
+
string;
|
|
928
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
929
|
+
upload_protocol?:
|
|
930
|
+
string;
|
|
931
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
932
|
+
uploadType?:
|
|
933
|
+
string;
|
|
934
|
+
},
|
|
935
|
+
body: DatabaseFailoverRequest): Request<Operation>;
|
|
583
936
|
/** Delete an environment. */
|
|
584
937
|
delete(request?: {
|
|
585
938
|
/** V1 error format. */
|
|
586
|
-
"$.xgafv"?:
|
|
939
|
+
"$.xgafv"?:
|
|
940
|
+
string;
|
|
587
941
|
/** OAuth access token. */
|
|
588
|
-
access_token?:
|
|
942
|
+
access_token?:
|
|
943
|
+
string;
|
|
589
944
|
/** Data format for response. */
|
|
590
|
-
alt?:
|
|
945
|
+
alt?:
|
|
946
|
+
string;
|
|
591
947
|
/** JSONP */
|
|
592
|
-
callback?:
|
|
948
|
+
callback?:
|
|
949
|
+
string;
|
|
593
950
|
/** Selector specifying which fields to include in a partial response. */
|
|
594
|
-
fields?:
|
|
951
|
+
fields?:
|
|
952
|
+
string;
|
|
595
953
|
/** 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. */
|
|
596
|
-
key?:
|
|
954
|
+
key?:
|
|
955
|
+
string;
|
|
597
956
|
/** The environment to delete, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}" */
|
|
598
|
-
name:
|
|
957
|
+
name:
|
|
958
|
+
string;
|
|
599
959
|
/** OAuth 2.0 token for the current user. */
|
|
600
|
-
oauth_token?:
|
|
960
|
+
oauth_token?:
|
|
961
|
+
string;
|
|
601
962
|
/** Returns response with indentations and line breaks. */
|
|
602
|
-
prettyPrint?:
|
|
963
|
+
prettyPrint?:
|
|
964
|
+
boolean;
|
|
603
965
|
/** 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. */
|
|
604
|
-
quotaUser?:
|
|
966
|
+
quotaUser?:
|
|
967
|
+
string;
|
|
605
968
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
606
|
-
upload_protocol?:
|
|
969
|
+
upload_protocol?:
|
|
970
|
+
string;
|
|
607
971
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
608
|
-
uploadType?:
|
|
972
|
+
uploadType?:
|
|
973
|
+
string;
|
|
609
974
|
}): Request<Operation>;
|
|
975
|
+
/** Executes Airflow CLI command. */
|
|
976
|
+
executeAirflowCommand(request: {
|
|
977
|
+
/** V1 error format. */
|
|
978
|
+
"$.xgafv"?:
|
|
979
|
+
string;
|
|
980
|
+
/** OAuth access token. */
|
|
981
|
+
access_token?:
|
|
982
|
+
string;
|
|
983
|
+
/** Data format for response. */
|
|
984
|
+
alt?:
|
|
985
|
+
string;
|
|
986
|
+
/** JSONP */
|
|
987
|
+
callback?:
|
|
988
|
+
string;
|
|
989
|
+
/** The resource name of the environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}". */
|
|
990
|
+
environment:
|
|
991
|
+
string;
|
|
992
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
993
|
+
fields?:
|
|
994
|
+
string;
|
|
995
|
+
/** 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. */
|
|
996
|
+
key?:
|
|
997
|
+
string;
|
|
998
|
+
/** OAuth 2.0 token for the current user. */
|
|
999
|
+
oauth_token?:
|
|
1000
|
+
string;
|
|
1001
|
+
/** Returns response with indentations and line breaks. */
|
|
1002
|
+
prettyPrint?:
|
|
1003
|
+
boolean;
|
|
1004
|
+
/** 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. */
|
|
1005
|
+
quotaUser?:
|
|
1006
|
+
string;
|
|
1007
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1008
|
+
upload_protocol?:
|
|
1009
|
+
string;
|
|
1010
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1011
|
+
uploadType?:
|
|
1012
|
+
string;
|
|
1013
|
+
/** Request body */
|
|
1014
|
+
resource:
|
|
1015
|
+
ExecuteAirflowCommandRequest;
|
|
1016
|
+
}): Request<ExecuteAirflowCommandResponse>;
|
|
1017
|
+
executeAirflowCommand(request: {
|
|
1018
|
+
/** V1 error format. */
|
|
1019
|
+
"$.xgafv"?:
|
|
1020
|
+
string;
|
|
1021
|
+
/** OAuth access token. */
|
|
1022
|
+
access_token?:
|
|
1023
|
+
string;
|
|
1024
|
+
/** Data format for response. */
|
|
1025
|
+
alt?:
|
|
1026
|
+
string;
|
|
1027
|
+
/** JSONP */
|
|
1028
|
+
callback?:
|
|
1029
|
+
string;
|
|
1030
|
+
/** The resource name of the environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}". */
|
|
1031
|
+
environment:
|
|
1032
|
+
string;
|
|
1033
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1034
|
+
fields?:
|
|
1035
|
+
string;
|
|
1036
|
+
/** 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. */
|
|
1037
|
+
key?:
|
|
1038
|
+
string;
|
|
1039
|
+
/** OAuth 2.0 token for the current user. */
|
|
1040
|
+
oauth_token?:
|
|
1041
|
+
string;
|
|
1042
|
+
/** Returns response with indentations and line breaks. */
|
|
1043
|
+
prettyPrint?:
|
|
1044
|
+
boolean;
|
|
1045
|
+
/** 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. */
|
|
1046
|
+
quotaUser?:
|
|
1047
|
+
string;
|
|
1048
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1049
|
+
upload_protocol?:
|
|
1050
|
+
string;
|
|
1051
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1052
|
+
uploadType?:
|
|
1053
|
+
string;
|
|
1054
|
+
},
|
|
1055
|
+
body: ExecuteAirflowCommandRequest): Request<ExecuteAirflowCommandResponse>;
|
|
1056
|
+
/** Fetches database properties. */
|
|
1057
|
+
fetchDatabaseProperties(request?: {
|
|
1058
|
+
/** V1 error format. */
|
|
1059
|
+
"$.xgafv"?:
|
|
1060
|
+
string;
|
|
1061
|
+
/** OAuth access token. */
|
|
1062
|
+
access_token?:
|
|
1063
|
+
string;
|
|
1064
|
+
/** Data format for response. */
|
|
1065
|
+
alt?:
|
|
1066
|
+
string;
|
|
1067
|
+
/** JSONP */
|
|
1068
|
+
callback?:
|
|
1069
|
+
string;
|
|
1070
|
+
/** Required. The resource name of the environment, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}" */
|
|
1071
|
+
environment:
|
|
1072
|
+
string;
|
|
1073
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1074
|
+
fields?:
|
|
1075
|
+
string;
|
|
1076
|
+
/** 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. */
|
|
1077
|
+
key?:
|
|
1078
|
+
string;
|
|
1079
|
+
/** OAuth 2.0 token for the current user. */
|
|
1080
|
+
oauth_token?:
|
|
1081
|
+
string;
|
|
1082
|
+
/** Returns response with indentations and line breaks. */
|
|
1083
|
+
prettyPrint?:
|
|
1084
|
+
boolean;
|
|
1085
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1086
|
+
quotaUser?:
|
|
1087
|
+
string;
|
|
1088
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1089
|
+
upload_protocol?:
|
|
1090
|
+
string;
|
|
1091
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1092
|
+
uploadType?:
|
|
1093
|
+
string;
|
|
1094
|
+
}): Request<FetchDatabasePropertiesResponse>;
|
|
610
1095
|
/** Get an existing environment. */
|
|
611
1096
|
get(request?: {
|
|
612
1097
|
/** V1 error format. */
|
|
613
|
-
"$.xgafv"?:
|
|
1098
|
+
"$.xgafv"?:
|
|
1099
|
+
string;
|
|
614
1100
|
/** OAuth access token. */
|
|
615
|
-
access_token?:
|
|
1101
|
+
access_token?:
|
|
1102
|
+
string;
|
|
616
1103
|
/** Data format for response. */
|
|
617
|
-
alt?:
|
|
1104
|
+
alt?:
|
|
1105
|
+
string;
|
|
618
1106
|
/** JSONP */
|
|
619
|
-
callback?:
|
|
1107
|
+
callback?:
|
|
1108
|
+
string;
|
|
620
1109
|
/** Selector specifying which fields to include in a partial response. */
|
|
621
|
-
fields?:
|
|
1110
|
+
fields?:
|
|
1111
|
+
string;
|
|
622
1112
|
/** 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. */
|
|
623
|
-
key?:
|
|
1113
|
+
key?:
|
|
1114
|
+
string;
|
|
624
1115
|
/** The resource name of the environment to get, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}" */
|
|
625
|
-
name:
|
|
1116
|
+
name:
|
|
1117
|
+
string;
|
|
626
1118
|
/** OAuth 2.0 token for the current user. */
|
|
627
|
-
oauth_token?:
|
|
1119
|
+
oauth_token?:
|
|
1120
|
+
string;
|
|
628
1121
|
/** Returns response with indentations and line breaks. */
|
|
629
|
-
prettyPrint?:
|
|
1122
|
+
prettyPrint?:
|
|
1123
|
+
boolean;
|
|
630
1124
|
/** 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. */
|
|
631
|
-
quotaUser?:
|
|
1125
|
+
quotaUser?:
|
|
1126
|
+
string;
|
|
632
1127
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
633
|
-
upload_protocol?:
|
|
1128
|
+
upload_protocol?:
|
|
1129
|
+
string;
|
|
634
1130
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
635
|
-
uploadType?:
|
|
1131
|
+
uploadType?:
|
|
1132
|
+
string;
|
|
636
1133
|
}): Request<Environment>;
|
|
637
1134
|
/** List environments. */
|
|
638
1135
|
list(request?: {
|
|
639
1136
|
/** V1 error format. */
|
|
640
|
-
"$.xgafv"?:
|
|
1137
|
+
"$.xgafv"?:
|
|
1138
|
+
string;
|
|
641
1139
|
/** OAuth access token. */
|
|
642
|
-
access_token?:
|
|
1140
|
+
access_token?:
|
|
1141
|
+
string;
|
|
643
1142
|
/** Data format for response. */
|
|
644
|
-
alt?:
|
|
1143
|
+
alt?:
|
|
1144
|
+
string;
|
|
645
1145
|
/** JSONP */
|
|
646
|
-
callback?:
|
|
1146
|
+
callback?:
|
|
1147
|
+
string;
|
|
647
1148
|
/** Selector specifying which fields to include in a partial response. */
|
|
648
|
-
fields?:
|
|
1149
|
+
fields?:
|
|
1150
|
+
string;
|
|
649
1151
|
/** 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. */
|
|
650
|
-
key?:
|
|
1152
|
+
key?:
|
|
1153
|
+
string;
|
|
651
1154
|
/** OAuth 2.0 token for the current user. */
|
|
652
|
-
oauth_token?:
|
|
1155
|
+
oauth_token?:
|
|
1156
|
+
string;
|
|
653
1157
|
/** The maximum number of environments to return. */
|
|
654
|
-
pageSize?:
|
|
1158
|
+
pageSize?:
|
|
1159
|
+
number;
|
|
655
1160
|
/** The next_page_token value returned from a previous List request, if any. */
|
|
656
|
-
pageToken?:
|
|
1161
|
+
pageToken?:
|
|
1162
|
+
string;
|
|
657
1163
|
/** List environments in the given project and location, in the form: "projects/{projectId}/locations/{locationId}" */
|
|
658
|
-
parent:
|
|
1164
|
+
parent:
|
|
1165
|
+
string;
|
|
659
1166
|
/** Returns response with indentations and line breaks. */
|
|
660
|
-
prettyPrint?:
|
|
1167
|
+
prettyPrint?:
|
|
1168
|
+
boolean;
|
|
661
1169
|
/** 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. */
|
|
662
|
-
quotaUser?:
|
|
1170
|
+
quotaUser?:
|
|
1171
|
+
string;
|
|
663
1172
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
664
|
-
upload_protocol?:
|
|
1173
|
+
upload_protocol?:
|
|
1174
|
+
string;
|
|
665
1175
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
666
|
-
uploadType?:
|
|
1176
|
+
uploadType?:
|
|
1177
|
+
string;
|
|
667
1178
|
}): Request<ListEnvironmentsResponse>;
|
|
668
1179
|
/** Loads a snapshot of a Cloud Composer environment. As a result of this operation, a snapshot of environment's specified in LoadSnapshotRequest is loaded into the environment. */
|
|
669
1180
|
loadSnapshot(request: {
|
|
670
1181
|
/** V1 error format. */
|
|
671
|
-
"$.xgafv"?:
|
|
1182
|
+
"$.xgafv"?:
|
|
1183
|
+
string;
|
|
672
1184
|
/** OAuth access token. */
|
|
673
|
-
access_token?:
|
|
1185
|
+
access_token?:
|
|
1186
|
+
string;
|
|
674
1187
|
/** Data format for response. */
|
|
675
|
-
alt?:
|
|
1188
|
+
alt?:
|
|
1189
|
+
string;
|
|
676
1190
|
/** JSONP */
|
|
677
|
-
callback?:
|
|
1191
|
+
callback?:
|
|
1192
|
+
string;
|
|
678
1193
|
/** The resource name of the target environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}" */
|
|
679
|
-
environment:
|
|
1194
|
+
environment:
|
|
1195
|
+
string;
|
|
680
1196
|
/** Selector specifying which fields to include in a partial response. */
|
|
681
|
-
fields?:
|
|
1197
|
+
fields?:
|
|
1198
|
+
string;
|
|
682
1199
|
/** 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. */
|
|
683
|
-
key?:
|
|
1200
|
+
key?:
|
|
1201
|
+
string;
|
|
684
1202
|
/** OAuth 2.0 token for the current user. */
|
|
685
|
-
oauth_token?:
|
|
1203
|
+
oauth_token?:
|
|
1204
|
+
string;
|
|
686
1205
|
/** Returns response with indentations and line breaks. */
|
|
687
|
-
prettyPrint?:
|
|
1206
|
+
prettyPrint?:
|
|
1207
|
+
boolean;
|
|
688
1208
|
/** 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. */
|
|
689
|
-
quotaUser?:
|
|
1209
|
+
quotaUser?:
|
|
1210
|
+
string;
|
|
690
1211
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
691
|
-
upload_protocol?:
|
|
1212
|
+
upload_protocol?:
|
|
1213
|
+
string;
|
|
692
1214
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
693
|
-
uploadType?:
|
|
1215
|
+
uploadType?:
|
|
1216
|
+
string;
|
|
694
1217
|
/** Request body */
|
|
695
|
-
resource:
|
|
1218
|
+
resource:
|
|
1219
|
+
LoadSnapshotRequest;
|
|
696
1220
|
}): Request<Operation>;
|
|
697
1221
|
loadSnapshot(request: {
|
|
698
1222
|
/** V1 error format. */
|
|
699
|
-
"$.xgafv"?:
|
|
1223
|
+
"$.xgafv"?:
|
|
1224
|
+
string;
|
|
700
1225
|
/** OAuth access token. */
|
|
701
|
-
access_token?:
|
|
1226
|
+
access_token?:
|
|
1227
|
+
string;
|
|
702
1228
|
/** Data format for response. */
|
|
703
|
-
alt?:
|
|
1229
|
+
alt?:
|
|
1230
|
+
string;
|
|
704
1231
|
/** JSONP */
|
|
705
|
-
callback?:
|
|
1232
|
+
callback?:
|
|
1233
|
+
string;
|
|
706
1234
|
/** The resource name of the target environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}" */
|
|
707
|
-
environment:
|
|
1235
|
+
environment:
|
|
1236
|
+
string;
|
|
708
1237
|
/** Selector specifying which fields to include in a partial response. */
|
|
709
|
-
fields?:
|
|
1238
|
+
fields?:
|
|
1239
|
+
string;
|
|
710
1240
|
/** 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. */
|
|
711
|
-
key?:
|
|
1241
|
+
key?:
|
|
1242
|
+
string;
|
|
712
1243
|
/** OAuth 2.0 token for the current user. */
|
|
713
|
-
oauth_token?:
|
|
1244
|
+
oauth_token?:
|
|
1245
|
+
string;
|
|
714
1246
|
/** Returns response with indentations and line breaks. */
|
|
715
|
-
prettyPrint?:
|
|
1247
|
+
prettyPrint?:
|
|
1248
|
+
boolean;
|
|
716
1249
|
/** 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. */
|
|
717
|
-
quotaUser?:
|
|
1250
|
+
quotaUser?:
|
|
1251
|
+
string;
|
|
718
1252
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
719
|
-
upload_protocol?:
|
|
1253
|
+
upload_protocol?:
|
|
1254
|
+
string;
|
|
720
1255
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
721
|
-
uploadType?:
|
|
1256
|
+
uploadType?:
|
|
1257
|
+
string;
|
|
722
1258
|
},
|
|
723
1259
|
body: LoadSnapshotRequest): Request<Operation>;
|
|
724
1260
|
/** Update an environment. */
|
|
725
1261
|
patch(request: {
|
|
726
1262
|
/** V1 error format. */
|
|
727
|
-
"$.xgafv"?:
|
|
1263
|
+
"$.xgafv"?:
|
|
1264
|
+
string;
|
|
728
1265
|
/** OAuth access token. */
|
|
729
|
-
access_token?:
|
|
1266
|
+
access_token?:
|
|
1267
|
+
string;
|
|
730
1268
|
/** Data format for response. */
|
|
731
|
-
alt?:
|
|
1269
|
+
alt?:
|
|
1270
|
+
string;
|
|
732
1271
|
/** JSONP */
|
|
733
|
-
callback?:
|
|
1272
|
+
callback?:
|
|
1273
|
+
string;
|
|
734
1274
|
/** Selector specifying which fields to include in a partial response. */
|
|
735
|
-
fields?:
|
|
1275
|
+
fields?:
|
|
1276
|
+
string;
|
|
736
1277
|
/** 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. */
|
|
737
|
-
key?:
|
|
1278
|
+
key?:
|
|
1279
|
+
string;
|
|
738
1280
|
/** The relative resource name of the environment to update, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}" */
|
|
739
|
-
name:
|
|
1281
|
+
name:
|
|
1282
|
+
string;
|
|
740
1283
|
/** OAuth 2.0 token for the current user. */
|
|
741
|
-
oauth_token?:
|
|
1284
|
+
oauth_token?:
|
|
1285
|
+
string;
|
|
742
1286
|
/** Returns response with indentations and line breaks. */
|
|
743
|
-
prettyPrint?:
|
|
1287
|
+
prettyPrint?:
|
|
1288
|
+
boolean;
|
|
744
1289
|
/** 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. */
|
|
745
|
-
quotaUser?:
|
|
1290
|
+
quotaUser?:
|
|
1291
|
+
string;
|
|
746
1292
|
/**
|
|
747
1293
|
* Required. A comma-separated list of paths, relative to `Environment`, of fields to update. For example, to set the version of scikit-learn to install in the environment to
|
|
748
1294
|
* 0.19.0 and to remove an existing installation of numpy, the `updateMask` parameter would include the following two `paths` values:
|
|
@@ -776,35 +1322,49 @@ declare namespace gapi.client {
|
|
|
776
1322
|
* `config.webServerConfig.machineType` * Machine type on which Airflow web server is running. It has to be one of: composer-n1-webserver-2, composer-n1-webserver-4 or
|
|
777
1323
|
* composer-n1-webserver-8. Supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
|
778
1324
|
*/
|
|
779
|
-
updateMask?:
|
|
1325
|
+
updateMask?:
|
|
1326
|
+
string;
|
|
780
1327
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
781
|
-
upload_protocol?:
|
|
1328
|
+
upload_protocol?:
|
|
1329
|
+
string;
|
|
782
1330
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
783
|
-
uploadType?:
|
|
1331
|
+
uploadType?:
|
|
1332
|
+
string;
|
|
784
1333
|
/** Request body */
|
|
785
|
-
resource:
|
|
1334
|
+
resource:
|
|
1335
|
+
Environment;
|
|
786
1336
|
}): Request<Operation>;
|
|
787
1337
|
patch(request: {
|
|
788
1338
|
/** V1 error format. */
|
|
789
|
-
"$.xgafv"?:
|
|
1339
|
+
"$.xgafv"?:
|
|
1340
|
+
string;
|
|
790
1341
|
/** OAuth access token. */
|
|
791
|
-
access_token?:
|
|
1342
|
+
access_token?:
|
|
1343
|
+
string;
|
|
792
1344
|
/** Data format for response. */
|
|
793
|
-
alt?:
|
|
1345
|
+
alt?:
|
|
1346
|
+
string;
|
|
794
1347
|
/** JSONP */
|
|
795
|
-
callback?:
|
|
1348
|
+
callback?:
|
|
1349
|
+
string;
|
|
796
1350
|
/** Selector specifying which fields to include in a partial response. */
|
|
797
|
-
fields?:
|
|
1351
|
+
fields?:
|
|
1352
|
+
string;
|
|
798
1353
|
/** 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. */
|
|
799
|
-
key?:
|
|
1354
|
+
key?:
|
|
1355
|
+
string;
|
|
800
1356
|
/** The relative resource name of the environment to update, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}" */
|
|
801
|
-
name:
|
|
1357
|
+
name:
|
|
1358
|
+
string;
|
|
802
1359
|
/** OAuth 2.0 token for the current user. */
|
|
803
|
-
oauth_token?:
|
|
1360
|
+
oauth_token?:
|
|
1361
|
+
string;
|
|
804
1362
|
/** Returns response with indentations and line breaks. */
|
|
805
|
-
prettyPrint?:
|
|
1363
|
+
prettyPrint?:
|
|
1364
|
+
boolean;
|
|
806
1365
|
/** 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. */
|
|
807
|
-
quotaUser?:
|
|
1366
|
+
quotaUser?:
|
|
1367
|
+
string;
|
|
808
1368
|
/**
|
|
809
1369
|
* Required. A comma-separated list of paths, relative to `Environment`, of fields to update. For example, to set the version of scikit-learn to install in the environment to
|
|
810
1370
|
* 0.19.0 and to remove an existing installation of numpy, the `updateMask` parameter would include the following two `paths` values:
|
|
@@ -838,103 +1398,308 @@ declare namespace gapi.client {
|
|
|
838
1398
|
* `config.webServerConfig.machineType` * Machine type on which Airflow web server is running. It has to be one of: composer-n1-webserver-2, composer-n1-webserver-4 or
|
|
839
1399
|
* composer-n1-webserver-8. Supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
|
840
1400
|
*/
|
|
841
|
-
updateMask?:
|
|
1401
|
+
updateMask?:
|
|
1402
|
+
string;
|
|
842
1403
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
843
|
-
upload_protocol?:
|
|
1404
|
+
upload_protocol?:
|
|
1405
|
+
string;
|
|
844
1406
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
845
|
-
uploadType?:
|
|
1407
|
+
uploadType?:
|
|
1408
|
+
string;
|
|
846
1409
|
},
|
|
847
1410
|
body: Environment): Request<Operation>;
|
|
1411
|
+
/** Polls Airflow CLI command execution and fetches logs. */
|
|
1412
|
+
pollAirflowCommand(request: {
|
|
1413
|
+
/** V1 error format. */
|
|
1414
|
+
"$.xgafv"?:
|
|
1415
|
+
string;
|
|
1416
|
+
/** OAuth access token. */
|
|
1417
|
+
access_token?:
|
|
1418
|
+
string;
|
|
1419
|
+
/** Data format for response. */
|
|
1420
|
+
alt?:
|
|
1421
|
+
string;
|
|
1422
|
+
/** JSONP */
|
|
1423
|
+
callback?:
|
|
1424
|
+
string;
|
|
1425
|
+
/** The resource name of the environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}" */
|
|
1426
|
+
environment:
|
|
1427
|
+
string;
|
|
1428
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1429
|
+
fields?:
|
|
1430
|
+
string;
|
|
1431
|
+
/** 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. */
|
|
1432
|
+
key?:
|
|
1433
|
+
string;
|
|
1434
|
+
/** OAuth 2.0 token for the current user. */
|
|
1435
|
+
oauth_token?:
|
|
1436
|
+
string;
|
|
1437
|
+
/** Returns response with indentations and line breaks. */
|
|
1438
|
+
prettyPrint?:
|
|
1439
|
+
boolean;
|
|
1440
|
+
/** 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. */
|
|
1441
|
+
quotaUser?:
|
|
1442
|
+
string;
|
|
1443
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1444
|
+
upload_protocol?:
|
|
1445
|
+
string;
|
|
1446
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1447
|
+
uploadType?:
|
|
1448
|
+
string;
|
|
1449
|
+
/** Request body */
|
|
1450
|
+
resource:
|
|
1451
|
+
PollAirflowCommandRequest;
|
|
1452
|
+
}): Request<PollAirflowCommandResponse>;
|
|
1453
|
+
pollAirflowCommand(request: {
|
|
1454
|
+
/** V1 error format. */
|
|
1455
|
+
"$.xgafv"?:
|
|
1456
|
+
string;
|
|
1457
|
+
/** OAuth access token. */
|
|
1458
|
+
access_token?:
|
|
1459
|
+
string;
|
|
1460
|
+
/** Data format for response. */
|
|
1461
|
+
alt?:
|
|
1462
|
+
string;
|
|
1463
|
+
/** JSONP */
|
|
1464
|
+
callback?:
|
|
1465
|
+
string;
|
|
1466
|
+
/** The resource name of the environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}" */
|
|
1467
|
+
environment:
|
|
1468
|
+
string;
|
|
1469
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1470
|
+
fields?:
|
|
1471
|
+
string;
|
|
1472
|
+
/** 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. */
|
|
1473
|
+
key?:
|
|
1474
|
+
string;
|
|
1475
|
+
/** OAuth 2.0 token for the current user. */
|
|
1476
|
+
oauth_token?:
|
|
1477
|
+
string;
|
|
1478
|
+
/** Returns response with indentations and line breaks. */
|
|
1479
|
+
prettyPrint?:
|
|
1480
|
+
boolean;
|
|
1481
|
+
/** 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. */
|
|
1482
|
+
quotaUser?:
|
|
1483
|
+
string;
|
|
1484
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1485
|
+
upload_protocol?:
|
|
1486
|
+
string;
|
|
1487
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1488
|
+
uploadType?:
|
|
1489
|
+
string;
|
|
1490
|
+
},
|
|
1491
|
+
body: PollAirflowCommandRequest): Request<PollAirflowCommandResponse>;
|
|
848
1492
|
/** Creates a snapshots of a Cloud Composer environment. As a result of this operation, snapshot of environment's state is stored in a location specified in the SaveSnapshotRequest. */
|
|
849
1493
|
saveSnapshot(request: {
|
|
850
1494
|
/** V1 error format. */
|
|
851
|
-
"$.xgafv"?:
|
|
1495
|
+
"$.xgafv"?:
|
|
1496
|
+
string;
|
|
852
1497
|
/** OAuth access token. */
|
|
853
|
-
access_token?:
|
|
1498
|
+
access_token?:
|
|
1499
|
+
string;
|
|
854
1500
|
/** Data format for response. */
|
|
855
|
-
alt?:
|
|
1501
|
+
alt?:
|
|
1502
|
+
string;
|
|
856
1503
|
/** JSONP */
|
|
857
|
-
callback?:
|
|
1504
|
+
callback?:
|
|
1505
|
+
string;
|
|
858
1506
|
/** The resource name of the source environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}" */
|
|
859
|
-
environment:
|
|
1507
|
+
environment:
|
|
1508
|
+
string;
|
|
860
1509
|
/** Selector specifying which fields to include in a partial response. */
|
|
861
|
-
fields?:
|
|
1510
|
+
fields?:
|
|
1511
|
+
string;
|
|
862
1512
|
/** 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. */
|
|
863
|
-
key?:
|
|
1513
|
+
key?:
|
|
1514
|
+
string;
|
|
864
1515
|
/** OAuth 2.0 token for the current user. */
|
|
865
|
-
oauth_token?:
|
|
1516
|
+
oauth_token?:
|
|
1517
|
+
string;
|
|
866
1518
|
/** Returns response with indentations and line breaks. */
|
|
867
|
-
prettyPrint?:
|
|
1519
|
+
prettyPrint?:
|
|
1520
|
+
boolean;
|
|
868
1521
|
/** 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. */
|
|
869
|
-
quotaUser?:
|
|
1522
|
+
quotaUser?:
|
|
1523
|
+
string;
|
|
870
1524
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
871
|
-
upload_protocol?:
|
|
1525
|
+
upload_protocol?:
|
|
1526
|
+
string;
|
|
872
1527
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
873
|
-
uploadType?:
|
|
1528
|
+
uploadType?:
|
|
1529
|
+
string;
|
|
874
1530
|
/** Request body */
|
|
875
|
-
resource:
|
|
1531
|
+
resource:
|
|
1532
|
+
SaveSnapshotRequest;
|
|
876
1533
|
}): Request<Operation>;
|
|
877
1534
|
saveSnapshot(request: {
|
|
878
1535
|
/** V1 error format. */
|
|
879
|
-
"$.xgafv"?:
|
|
1536
|
+
"$.xgafv"?:
|
|
1537
|
+
string;
|
|
880
1538
|
/** OAuth access token. */
|
|
881
|
-
access_token?:
|
|
1539
|
+
access_token?:
|
|
1540
|
+
string;
|
|
882
1541
|
/** Data format for response. */
|
|
883
|
-
alt?:
|
|
1542
|
+
alt?:
|
|
1543
|
+
string;
|
|
884
1544
|
/** JSONP */
|
|
885
|
-
callback?:
|
|
1545
|
+
callback?:
|
|
1546
|
+
string;
|
|
886
1547
|
/** The resource name of the source environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}" */
|
|
887
|
-
environment:
|
|
1548
|
+
environment:
|
|
1549
|
+
string;
|
|
888
1550
|
/** Selector specifying which fields to include in a partial response. */
|
|
889
|
-
fields?:
|
|
1551
|
+
fields?:
|
|
1552
|
+
string;
|
|
890
1553
|
/** 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. */
|
|
891
|
-
key?:
|
|
1554
|
+
key?:
|
|
1555
|
+
string;
|
|
892
1556
|
/** OAuth 2.0 token for the current user. */
|
|
893
|
-
oauth_token?:
|
|
1557
|
+
oauth_token?:
|
|
1558
|
+
string;
|
|
894
1559
|
/** Returns response with indentations and line breaks. */
|
|
895
|
-
prettyPrint?:
|
|
1560
|
+
prettyPrint?:
|
|
1561
|
+
boolean;
|
|
896
1562
|
/** 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. */
|
|
897
|
-
quotaUser?:
|
|
1563
|
+
quotaUser?:
|
|
1564
|
+
string;
|
|
898
1565
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
899
|
-
upload_protocol?:
|
|
1566
|
+
upload_protocol?:
|
|
1567
|
+
string;
|
|
900
1568
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
901
|
-
uploadType?:
|
|
1569
|
+
uploadType?:
|
|
1570
|
+
string;
|
|
902
1571
|
},
|
|
903
1572
|
body: SaveSnapshotRequest): Request<Operation>;
|
|
1573
|
+
/** Stops Airflow CLI command execution. */
|
|
1574
|
+
stopAirflowCommand(request: {
|
|
1575
|
+
/** V1 error format. */
|
|
1576
|
+
"$.xgafv"?:
|
|
1577
|
+
string;
|
|
1578
|
+
/** OAuth access token. */
|
|
1579
|
+
access_token?:
|
|
1580
|
+
string;
|
|
1581
|
+
/** Data format for response. */
|
|
1582
|
+
alt?:
|
|
1583
|
+
string;
|
|
1584
|
+
/** JSONP */
|
|
1585
|
+
callback?:
|
|
1586
|
+
string;
|
|
1587
|
+
/** The resource name of the environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}". */
|
|
1588
|
+
environment:
|
|
1589
|
+
string;
|
|
1590
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1591
|
+
fields?:
|
|
1592
|
+
string;
|
|
1593
|
+
/** 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. */
|
|
1594
|
+
key?:
|
|
1595
|
+
string;
|
|
1596
|
+
/** OAuth 2.0 token for the current user. */
|
|
1597
|
+
oauth_token?:
|
|
1598
|
+
string;
|
|
1599
|
+
/** Returns response with indentations and line breaks. */
|
|
1600
|
+
prettyPrint?:
|
|
1601
|
+
boolean;
|
|
1602
|
+
/** 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. */
|
|
1603
|
+
quotaUser?:
|
|
1604
|
+
string;
|
|
1605
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1606
|
+
upload_protocol?:
|
|
1607
|
+
string;
|
|
1608
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1609
|
+
uploadType?:
|
|
1610
|
+
string;
|
|
1611
|
+
/** Request body */
|
|
1612
|
+
resource:
|
|
1613
|
+
StopAirflowCommandRequest;
|
|
1614
|
+
}): Request<StopAirflowCommandResponse>;
|
|
1615
|
+
stopAirflowCommand(request: {
|
|
1616
|
+
/** V1 error format. */
|
|
1617
|
+
"$.xgafv"?:
|
|
1618
|
+
string;
|
|
1619
|
+
/** OAuth access token. */
|
|
1620
|
+
access_token?:
|
|
1621
|
+
string;
|
|
1622
|
+
/** Data format for response. */
|
|
1623
|
+
alt?:
|
|
1624
|
+
string;
|
|
1625
|
+
/** JSONP */
|
|
1626
|
+
callback?:
|
|
1627
|
+
string;
|
|
1628
|
+
/** The resource name of the environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}". */
|
|
1629
|
+
environment:
|
|
1630
|
+
string;
|
|
1631
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1632
|
+
fields?:
|
|
1633
|
+
string;
|
|
1634
|
+
/** 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. */
|
|
1635
|
+
key?:
|
|
1636
|
+
string;
|
|
1637
|
+
/** OAuth 2.0 token for the current user. */
|
|
1638
|
+
oauth_token?:
|
|
1639
|
+
string;
|
|
1640
|
+
/** Returns response with indentations and line breaks. */
|
|
1641
|
+
prettyPrint?:
|
|
1642
|
+
boolean;
|
|
1643
|
+
/** 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. */
|
|
1644
|
+
quotaUser?:
|
|
1645
|
+
string;
|
|
1646
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1647
|
+
upload_protocol?:
|
|
1648
|
+
string;
|
|
1649
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1650
|
+
uploadType?:
|
|
1651
|
+
string;
|
|
1652
|
+
},
|
|
1653
|
+
body: StopAirflowCommandRequest): Request<StopAirflowCommandResponse>;
|
|
904
1654
|
}
|
|
905
1655
|
interface ImageVersionsResource {
|
|
906
1656
|
/** List ImageVersions for provided location. */
|
|
907
1657
|
list(request?: {
|
|
908
1658
|
/** V1 error format. */
|
|
909
|
-
"$.xgafv"?:
|
|
1659
|
+
"$.xgafv"?:
|
|
1660
|
+
string;
|
|
910
1661
|
/** OAuth access token. */
|
|
911
|
-
access_token?:
|
|
1662
|
+
access_token?:
|
|
1663
|
+
string;
|
|
912
1664
|
/** Data format for response. */
|
|
913
|
-
alt?:
|
|
1665
|
+
alt?:
|
|
1666
|
+
string;
|
|
914
1667
|
/** JSONP */
|
|
915
|
-
callback?:
|
|
1668
|
+
callback?:
|
|
1669
|
+
string;
|
|
916
1670
|
/** Selector specifying which fields to include in a partial response. */
|
|
917
|
-
fields?:
|
|
1671
|
+
fields?:
|
|
1672
|
+
string;
|
|
918
1673
|
/** Whether or not image versions from old releases should be included. */
|
|
919
|
-
includePastReleases?:
|
|
1674
|
+
includePastReleases?:
|
|
1675
|
+
boolean;
|
|
920
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. */
|
|
921
|
-
key?:
|
|
1677
|
+
key?:
|
|
1678
|
+
string;
|
|
922
1679
|
/** OAuth 2.0 token for the current user. */
|
|
923
|
-
oauth_token?:
|
|
1680
|
+
oauth_token?:
|
|
1681
|
+
string;
|
|
924
1682
|
/** The maximum number of image_versions to return. */
|
|
925
|
-
pageSize?:
|
|
1683
|
+
pageSize?:
|
|
1684
|
+
number;
|
|
926
1685
|
/** The next_page_token value returned from a previous List request, if any. */
|
|
927
|
-
pageToken?:
|
|
1686
|
+
pageToken?:
|
|
1687
|
+
string;
|
|
928
1688
|
/** List ImageVersions in the given project and location, in the form: "projects/{projectId}/locations/{locationId}" */
|
|
929
|
-
parent:
|
|
1689
|
+
parent:
|
|
1690
|
+
string;
|
|
930
1691
|
/** Returns response with indentations and line breaks. */
|
|
931
|
-
prettyPrint?:
|
|
1692
|
+
prettyPrint?:
|
|
1693
|
+
boolean;
|
|
932
1694
|
/** 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. */
|
|
933
|
-
quotaUser?:
|
|
1695
|
+
quotaUser?:
|
|
1696
|
+
string;
|
|
934
1697
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
935
|
-
upload_protocol?:
|
|
1698
|
+
upload_protocol?:
|
|
1699
|
+
string;
|
|
936
1700
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
937
|
-
uploadType?:
|
|
1701
|
+
uploadType?:
|
|
1702
|
+
string;
|
|
938
1703
|
}): Request<ListImageVersionsResponse>;
|
|
939
1704
|
}
|
|
940
1705
|
interface OperationsResource {
|
|
@@ -944,98 +1709,141 @@ declare namespace gapi.client {
|
|
|
944
1709
|
*/
|
|
945
1710
|
delete(request?: {
|
|
946
1711
|
/** V1 error format. */
|
|
947
|
-
"$.xgafv"?:
|
|
1712
|
+
"$.xgafv"?:
|
|
1713
|
+
string;
|
|
948
1714
|
/** OAuth access token. */
|
|
949
|
-
access_token?:
|
|
1715
|
+
access_token?:
|
|
1716
|
+
string;
|
|
950
1717
|
/** Data format for response. */
|
|
951
|
-
alt?:
|
|
1718
|
+
alt?:
|
|
1719
|
+
string;
|
|
952
1720
|
/** JSONP */
|
|
953
|
-
callback?:
|
|
1721
|
+
callback?:
|
|
1722
|
+
string;
|
|
954
1723
|
/** Selector specifying which fields to include in a partial response. */
|
|
955
|
-
fields?:
|
|
1724
|
+
fields?:
|
|
1725
|
+
string;
|
|
956
1726
|
/** 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. */
|
|
957
|
-
key?:
|
|
1727
|
+
key?:
|
|
1728
|
+
string;
|
|
958
1729
|
/** The name of the operation resource to be deleted. */
|
|
959
|
-
name:
|
|
1730
|
+
name:
|
|
1731
|
+
string;
|
|
960
1732
|
/** OAuth 2.0 token for the current user. */
|
|
961
|
-
oauth_token?:
|
|
1733
|
+
oauth_token?:
|
|
1734
|
+
string;
|
|
962
1735
|
/** Returns response with indentations and line breaks. */
|
|
963
|
-
prettyPrint?:
|
|
1736
|
+
prettyPrint?:
|
|
1737
|
+
boolean;
|
|
964
1738
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
965
|
-
quotaUser?:
|
|
1739
|
+
quotaUser?:
|
|
1740
|
+
string;
|
|
966
1741
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
967
|
-
upload_protocol?:
|
|
1742
|
+
upload_protocol?:
|
|
1743
|
+
string;
|
|
968
1744
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
969
|
-
uploadType?:
|
|
1745
|
+
uploadType?:
|
|
1746
|
+
string;
|
|
970
1747
|
}): Request<{}>;
|
|
971
1748
|
/** 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. */
|
|
972
1749
|
get(request?: {
|
|
973
1750
|
/** V1 error format. */
|
|
974
|
-
"$.xgafv"?:
|
|
1751
|
+
"$.xgafv"?:
|
|
1752
|
+
string;
|
|
975
1753
|
/** OAuth access token. */
|
|
976
|
-
access_token?:
|
|
1754
|
+
access_token?:
|
|
1755
|
+
string;
|
|
977
1756
|
/** Data format for response. */
|
|
978
|
-
alt?:
|
|
1757
|
+
alt?:
|
|
1758
|
+
string;
|
|
979
1759
|
/** JSONP */
|
|
980
|
-
callback?:
|
|
1760
|
+
callback?:
|
|
1761
|
+
string;
|
|
981
1762
|
/** Selector specifying which fields to include in a partial response. */
|
|
982
|
-
fields?:
|
|
1763
|
+
fields?:
|
|
1764
|
+
string;
|
|
983
1765
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
984
|
-
key?:
|
|
1766
|
+
key?:
|
|
1767
|
+
string;
|
|
985
1768
|
/** The name of the operation resource. */
|
|
986
|
-
name:
|
|
1769
|
+
name:
|
|
1770
|
+
string;
|
|
987
1771
|
/** OAuth 2.0 token for the current user. */
|
|
988
|
-
oauth_token?:
|
|
1772
|
+
oauth_token?:
|
|
1773
|
+
string;
|
|
989
1774
|
/** Returns response with indentations and line breaks. */
|
|
990
|
-
prettyPrint?:
|
|
1775
|
+
prettyPrint?:
|
|
1776
|
+
boolean;
|
|
991
1777
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
992
|
-
quotaUser?:
|
|
1778
|
+
quotaUser?:
|
|
1779
|
+
string;
|
|
993
1780
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
994
|
-
upload_protocol?:
|
|
1781
|
+
upload_protocol?:
|
|
1782
|
+
string;
|
|
995
1783
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
996
|
-
uploadType?:
|
|
1784
|
+
uploadType?:
|
|
1785
|
+
string;
|
|
997
1786
|
}): Request<Operation>;
|
|
998
1787
|
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
|
|
999
1788
|
list(request?: {
|
|
1000
1789
|
/** V1 error format. */
|
|
1001
|
-
"$.xgafv"?:
|
|
1790
|
+
"$.xgafv"?:
|
|
1791
|
+
string;
|
|
1002
1792
|
/** OAuth access token. */
|
|
1003
|
-
access_token?:
|
|
1793
|
+
access_token?:
|
|
1794
|
+
string;
|
|
1004
1795
|
/** Data format for response. */
|
|
1005
|
-
alt?:
|
|
1796
|
+
alt?:
|
|
1797
|
+
string;
|
|
1006
1798
|
/** JSONP */
|
|
1007
|
-
callback?:
|
|
1799
|
+
callback?:
|
|
1800
|
+
string;
|
|
1008
1801
|
/** Selector specifying which fields to include in a partial response. */
|
|
1009
|
-
fields?:
|
|
1802
|
+
fields?:
|
|
1803
|
+
string;
|
|
1010
1804
|
/** The standard list filter. */
|
|
1011
|
-
filter?:
|
|
1805
|
+
filter?:
|
|
1806
|
+
string;
|
|
1012
1807
|
/** 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. */
|
|
1013
|
-
key?:
|
|
1808
|
+
key?:
|
|
1809
|
+
string;
|
|
1014
1810
|
/** The name of the operation's parent resource. */
|
|
1015
|
-
name:
|
|
1811
|
+
name:
|
|
1812
|
+
string;
|
|
1016
1813
|
/** OAuth 2.0 token for the current user. */
|
|
1017
|
-
oauth_token?:
|
|
1814
|
+
oauth_token?:
|
|
1815
|
+
string;
|
|
1018
1816
|
/** The standard list page size. */
|
|
1019
|
-
pageSize?:
|
|
1817
|
+
pageSize?:
|
|
1818
|
+
number;
|
|
1020
1819
|
/** The standard list page token. */
|
|
1021
|
-
pageToken?:
|
|
1820
|
+
pageToken?:
|
|
1821
|
+
string;
|
|
1022
1822
|
/** Returns response with indentations and line breaks. */
|
|
1023
|
-
prettyPrint?:
|
|
1823
|
+
prettyPrint?:
|
|
1824
|
+
boolean;
|
|
1024
1825
|
/** 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. */
|
|
1025
|
-
quotaUser?:
|
|
1826
|
+
quotaUser?:
|
|
1827
|
+
string;
|
|
1026
1828
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1027
|
-
upload_protocol?:
|
|
1829
|
+
upload_protocol?:
|
|
1830
|
+
string;
|
|
1028
1831
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1029
|
-
uploadType?:
|
|
1832
|
+
uploadType?:
|
|
1833
|
+
string;
|
|
1030
1834
|
}): Request<ListOperationsResponse>;
|
|
1031
1835
|
}
|
|
1032
1836
|
interface LocationsResource {
|
|
1033
|
-
environments:
|
|
1034
|
-
|
|
1035
|
-
|
|
1837
|
+
environments:
|
|
1838
|
+
EnvironmentsResource;
|
|
1839
|
+
imageVersions:
|
|
1840
|
+
ImageVersionsResource;
|
|
1841
|
+
operations:
|
|
1842
|
+
OperationsResource;
|
|
1036
1843
|
}
|
|
1037
1844
|
interface ProjectsResource {
|
|
1038
|
-
locations:
|
|
1845
|
+
locations:
|
|
1846
|
+
LocationsResource;
|
|
1039
1847
|
}
|
|
1040
1848
|
|
|
1041
1849
|
const projects: ProjectsResource;
|