@maxim_mazurok/gapi.client.composer-v1 0.0.20230417 → 0.0.20230510
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 +663 -332
- package/package.json +1 -1
- package/tests.ts +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://composer.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230510
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -24,146 +24,190 @@ 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;
|
|
59
69
|
}
|
|
60
70
|
interface Date {
|
|
61
71
|
/** 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?:
|
|
72
|
+
day?:
|
|
73
|
+
number;
|
|
63
74
|
/** Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day. */
|
|
64
|
-
month?:
|
|
75
|
+
month?:
|
|
76
|
+
number;
|
|
65
77
|
/** Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. */
|
|
66
|
-
year?:
|
|
78
|
+
year?:
|
|
79
|
+
number;
|
|
67
80
|
}
|
|
68
81
|
// tslint:disable-next-line:no-empty-interface
|
|
69
82
|
interface Empty {
|
|
70
83
|
}
|
|
71
84
|
interface EncryptionConfig {
|
|
72
85
|
/** 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?:
|
|
86
|
+
kmsKeyName?:
|
|
87
|
+
string;
|
|
74
88
|
}
|
|
75
89
|
interface Environment {
|
|
76
90
|
/** Configuration parameters for this environment. */
|
|
77
|
-
config?:
|
|
91
|
+
config?:
|
|
92
|
+
EnvironmentConfig;
|
|
78
93
|
/** Output only. The time at which this environment was created. */
|
|
79
|
-
createTime?:
|
|
94
|
+
createTime?:
|
|
95
|
+
string;
|
|
80
96
|
/**
|
|
81
97
|
* 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
98
|
* 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
99
|
* be <= 128 bytes in size.
|
|
84
100
|
*/
|
|
85
|
-
labels?:
|
|
101
|
+
labels?:
|
|
102
|
+
{ [P in string]: string };
|
|
86
103
|
/**
|
|
87
104
|
* The resource name of the environment, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}" EnvironmentId must start with a lowercase letter
|
|
88
105
|
* followed by up to 63 lowercase letters, numbers, or hyphens, and cannot end with a hyphen.
|
|
89
106
|
*/
|
|
90
|
-
name?:
|
|
107
|
+
name?:
|
|
108
|
+
string;
|
|
91
109
|
/** The current state of the environment. */
|
|
92
|
-
state?:
|
|
110
|
+
state?:
|
|
111
|
+
string;
|
|
93
112
|
/** Output only. The time at which this environment was last modified. */
|
|
94
|
-
updateTime?:
|
|
113
|
+
updateTime?:
|
|
114
|
+
string;
|
|
95
115
|
/** Output only. The UUID (Universally Unique IDentifier) associated with this environment. This value is generated when the environment is created. */
|
|
96
|
-
uuid?:
|
|
116
|
+
uuid?:
|
|
117
|
+
string;
|
|
97
118
|
}
|
|
98
119
|
interface EnvironmentConfig {
|
|
99
120
|
/**
|
|
100
121
|
* 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
122
|
* identity federation (see [Access environments with workforce identity federation](/composer/docs/composer-2/access-environments-with-workforce-identity-federation)).
|
|
102
123
|
*/
|
|
103
|
-
airflowByoidUri?:
|
|
124
|
+
airflowByoidUri?:
|
|
125
|
+
string;
|
|
104
126
|
/** 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?:
|
|
127
|
+
airflowUri?:
|
|
128
|
+
string;
|
|
106
129
|
/**
|
|
107
130
|
* 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
131
|
* "/"-delimited object name prefixes. DAG objects for this environment reside in a simulated directory with the given prefix.
|
|
109
132
|
*/
|
|
110
|
-
dagGcsPrefix?:
|
|
133
|
+
dagGcsPrefix?:
|
|
134
|
+
string;
|
|
111
135
|
/** Optional. The configuration settings for Cloud SQL instance used internally by Apache Airflow software. */
|
|
112
|
-
databaseConfig?:
|
|
136
|
+
databaseConfig?:
|
|
137
|
+
DatabaseConfig;
|
|
113
138
|
/** Optional. The encryption options for the Cloud Composer environment and its dependencies. Cannot be updated. */
|
|
114
|
-
encryptionConfig?:
|
|
139
|
+
encryptionConfig?:
|
|
140
|
+
EncryptionConfig;
|
|
115
141
|
/** 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?:
|
|
142
|
+
environmentSize?:
|
|
143
|
+
string;
|
|
117
144
|
/** Output only. The Kubernetes Engine cluster used to run this environment. */
|
|
118
|
-
gkeCluster?:
|
|
145
|
+
gkeCluster?:
|
|
146
|
+
string;
|
|
119
147
|
/**
|
|
120
148
|
* 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
149
|
* 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
150
|
* 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
151
|
* default value for maintenance window will be applied. The default value is Saturday and Sunday 00-06 GMT.
|
|
124
152
|
*/
|
|
125
|
-
maintenanceWindow?:
|
|
153
|
+
maintenanceWindow?:
|
|
154
|
+
MaintenanceWindow;
|
|
126
155
|
/**
|
|
127
156
|
* 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
157
|
* external networks allowlisted. - in case of public environment: disabled.
|
|
129
158
|
*/
|
|
130
|
-
masterAuthorizedNetworksConfig?:
|
|
159
|
+
masterAuthorizedNetworksConfig?:
|
|
160
|
+
MasterAuthorizedNetworksConfig;
|
|
131
161
|
/** The configuration used for the Kubernetes Engine cluster. */
|
|
132
|
-
nodeConfig?:
|
|
162
|
+
nodeConfig?:
|
|
163
|
+
NodeConfig;
|
|
133
164
|
/**
|
|
134
165
|
* 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
166
|
* composer-1.*.*-airflow-*.*.*.
|
|
136
167
|
*/
|
|
137
|
-
nodeCount?:
|
|
168
|
+
nodeCount?:
|
|
169
|
+
number;
|
|
138
170
|
/** The configuration used for the Private IP Cloud Composer environment. */
|
|
139
|
-
privateEnvironmentConfig?:
|
|
171
|
+
privateEnvironmentConfig?:
|
|
172
|
+
PrivateEnvironmentConfig;
|
|
140
173
|
/** 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?:
|
|
174
|
+
recoveryConfig?:
|
|
175
|
+
RecoveryConfig;
|
|
142
176
|
/** The configuration settings for software inside the environment. */
|
|
143
|
-
softwareConfig?:
|
|
177
|
+
softwareConfig?:
|
|
178
|
+
SoftwareConfig;
|
|
144
179
|
/** Optional. The configuration settings for the Airflow web server App Engine instance. */
|
|
145
|
-
webServerConfig?:
|
|
180
|
+
webServerConfig?:
|
|
181
|
+
WebServerConfig;
|
|
146
182
|
/** Optional. The network-level access control policy for the Airflow web server. If unspecified, no network-level access restrictions will be applied. */
|
|
147
|
-
webServerNetworkAccessControl?:
|
|
183
|
+
webServerNetworkAccessControl?:
|
|
184
|
+
WebServerNetworkAccessControl;
|
|
148
185
|
/**
|
|
149
186
|
* 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
187
|
* workloads. This field is supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer.
|
|
151
188
|
*/
|
|
152
|
-
workloadsConfig?:
|
|
189
|
+
workloadsConfig?:
|
|
190
|
+
WorkloadsConfig;
|
|
153
191
|
}
|
|
154
192
|
interface ImageVersion {
|
|
155
193
|
/** Whether it is impossible to create an environment with the image version. */
|
|
156
|
-
creationDisabled?:
|
|
194
|
+
creationDisabled?:
|
|
195
|
+
boolean;
|
|
157
196
|
/** The string identifier of the ImageVersion, in the form: "composer-x.y.z-airflow-a.b.c" */
|
|
158
|
-
imageVersionId?:
|
|
197
|
+
imageVersionId?:
|
|
198
|
+
string;
|
|
159
199
|
/** Whether this is the default ImageVersion used by Composer during environment creation if no input ImageVersion is specified. */
|
|
160
|
-
isDefault?:
|
|
200
|
+
isDefault?:
|
|
201
|
+
boolean;
|
|
161
202
|
/** The date of the version release. */
|
|
162
|
-
releaseDate?:
|
|
203
|
+
releaseDate?:
|
|
204
|
+
Date;
|
|
163
205
|
/** supported python versions */
|
|
164
|
-
supportedPythonVersions?:
|
|
206
|
+
supportedPythonVersions?:
|
|
207
|
+
string[];
|
|
165
208
|
/** Whether it is impossible to upgrade an environment running with the image version. */
|
|
166
|
-
upgradeDisabled?:
|
|
209
|
+
upgradeDisabled?:
|
|
210
|
+
boolean;
|
|
167
211
|
}
|
|
168
212
|
// tslint:disable-next-line:interface-name
|
|
169
213
|
interface IPAllocationPolicy {
|
|
@@ -173,97 +217,122 @@ declare namespace gapi.client {
|
|
|
173
217
|
* 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
218
|
* `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range to use.
|
|
175
219
|
*/
|
|
176
|
-
clusterIpv4CidrBlock?:
|
|
220
|
+
clusterIpv4CidrBlock?:
|
|
221
|
+
string;
|
|
177
222
|
/**
|
|
178
223
|
* 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
224
|
* is applicable only when `use_ip_aliases` is true.
|
|
180
225
|
*/
|
|
181
|
-
clusterSecondaryRangeName?:
|
|
226
|
+
clusterSecondaryRangeName?:
|
|
227
|
+
string;
|
|
182
228
|
/**
|
|
183
229
|
* 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
230
|
* 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
231
|
* 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
232
|
* `192.168.0.0/16`) to pick a specific range to use.
|
|
187
233
|
*/
|
|
188
|
-
servicesIpv4CidrBlock?:
|
|
234
|
+
servicesIpv4CidrBlock?:
|
|
235
|
+
string;
|
|
189
236
|
/**
|
|
190
237
|
* 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
238
|
* field is applicable only when `use_ip_aliases` is true.
|
|
192
239
|
*/
|
|
193
|
-
servicesSecondaryRangeName?:
|
|
240
|
+
servicesSecondaryRangeName?:
|
|
241
|
+
string;
|
|
194
242
|
/**
|
|
195
243
|
* 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
244
|
* composer-1.*.*-airflow-*.*.*. Environments in newer versions always use VPC-native GKE clusters.
|
|
197
245
|
*/
|
|
198
|
-
useIpAliases?:
|
|
246
|
+
useIpAliases?:
|
|
247
|
+
boolean;
|
|
199
248
|
}
|
|
200
249
|
interface ListEnvironmentsResponse {
|
|
201
250
|
/** The list of environments returned by a ListEnvironmentsRequest. */
|
|
202
|
-
environments?:
|
|
251
|
+
environments?:
|
|
252
|
+
Environment[];
|
|
203
253
|
/** The page token used to query for the next page if one exists. */
|
|
204
|
-
nextPageToken?:
|
|
254
|
+
nextPageToken?:
|
|
255
|
+
string;
|
|
205
256
|
}
|
|
206
257
|
interface ListImageVersionsResponse {
|
|
207
258
|
/** The list of supported ImageVersions in a location. */
|
|
208
|
-
imageVersions?:
|
|
259
|
+
imageVersions?:
|
|
260
|
+
ImageVersion[];
|
|
209
261
|
/** The page token used to query for the next page if one exists. */
|
|
210
|
-
nextPageToken?:
|
|
262
|
+
nextPageToken?:
|
|
263
|
+
string;
|
|
211
264
|
}
|
|
212
265
|
interface ListOperationsResponse {
|
|
213
266
|
/** The standard List next-page token. */
|
|
214
|
-
nextPageToken?:
|
|
267
|
+
nextPageToken?:
|
|
268
|
+
string;
|
|
215
269
|
/** A list of operations that matches the specified filter in the request. */
|
|
216
|
-
operations?:
|
|
270
|
+
operations?:
|
|
271
|
+
Operation[];
|
|
217
272
|
}
|
|
218
273
|
interface LoadSnapshotRequest {
|
|
219
274
|
/** Whether or not to skip setting Airflow overrides when loading the environment's state. */
|
|
220
|
-
skipAirflowOverridesSetting?:
|
|
275
|
+
skipAirflowOverridesSetting?:
|
|
276
|
+
boolean;
|
|
221
277
|
/** Whether or not to skip setting environment variables when loading the environment's state. */
|
|
222
|
-
skipEnvironmentVariablesSetting?:
|
|
278
|
+
skipEnvironmentVariablesSetting?:
|
|
279
|
+
boolean;
|
|
223
280
|
/** Whether or not to skip copying Cloud Storage data when loading the environment's state. */
|
|
224
|
-
skipGcsDataCopying?:
|
|
281
|
+
skipGcsDataCopying?:
|
|
282
|
+
boolean;
|
|
225
283
|
/** Whether or not to skip installing Pypi packages when loading the environment's state. */
|
|
226
|
-
skipPypiPackagesInstallation?:
|
|
284
|
+
skipPypiPackagesInstallation?:
|
|
285
|
+
boolean;
|
|
227
286
|
/** A Cloud Storage path to a snapshot to load, e.g.: "gs://my-bucket/snapshots/project_location_environment_timestamp". */
|
|
228
|
-
snapshotPath?:
|
|
287
|
+
snapshotPath?:
|
|
288
|
+
string;
|
|
229
289
|
}
|
|
230
290
|
// tslint:disable-next-line:no-empty-interface
|
|
231
291
|
interface LoadSnapshotResponse {
|
|
232
292
|
}
|
|
233
293
|
interface MaintenanceWindow {
|
|
234
294
|
/** 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?:
|
|
295
|
+
endTime?:
|
|
296
|
+
string;
|
|
236
297
|
/**
|
|
237
298
|
* 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
299
|
* `FREQ=WEEKLY;BYDAY=...` Example values: `FREQ=WEEKLY;BYDAY=TU,WE`, `FREQ=DAILY`.
|
|
239
300
|
*/
|
|
240
|
-
recurrence?:
|
|
301
|
+
recurrence?:
|
|
302
|
+
string;
|
|
241
303
|
/** Required. Start time of the first recurrence of the maintenance window. */
|
|
242
|
-
startTime?:
|
|
304
|
+
startTime?:
|
|
305
|
+
string;
|
|
243
306
|
}
|
|
244
307
|
interface MasterAuthorizedNetworksConfig {
|
|
245
308
|
/** Up to 50 external networks that could access Kubernetes master through HTTPS. */
|
|
246
|
-
cidrBlocks?:
|
|
309
|
+
cidrBlocks?:
|
|
310
|
+
CidrBlock[];
|
|
247
311
|
/** Whether or not master authorized networks feature is enabled. */
|
|
248
|
-
enabled?:
|
|
312
|
+
enabled?:
|
|
313
|
+
boolean;
|
|
249
314
|
}
|
|
250
315
|
interface NetworkingConfig {
|
|
251
316
|
/** 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?:
|
|
317
|
+
connectionType?:
|
|
318
|
+
string;
|
|
253
319
|
}
|
|
254
320
|
interface NodeConfig {
|
|
255
321
|
/**
|
|
256
322
|
* 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
323
|
* in versions composer-1.*.*-airflow-*.*.*.
|
|
258
324
|
*/
|
|
259
|
-
diskSizeGb?:
|
|
325
|
+
diskSizeGb?:
|
|
326
|
+
number;
|
|
260
327
|
/**
|
|
261
328
|
* 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
329
|
* except between pods traffic. See: https://cloud.google.com/kubernetes-engine/docs/how-to/ip-masquerade-agent
|
|
263
330
|
*/
|
|
264
|
-
enableIpMasqAgent?:
|
|
331
|
+
enableIpMasqAgent?:
|
|
332
|
+
boolean;
|
|
265
333
|
/** Optional. The configuration for controlling how IPs are allocated in the GKE cluster. */
|
|
266
|
-
ipAllocationPolicy?:
|
|
334
|
+
ipAllocationPolicy?:
|
|
335
|
+
IPAllocationPolicy;
|
|
267
336
|
/**
|
|
268
337
|
* 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
338
|
* 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 +341,8 @@ declare namespace gapi.client {
|
|
|
272
341
|
* 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
342
|
* composer-1.*.*-airflow-*.*.*.
|
|
274
343
|
*/
|
|
275
|
-
location?:
|
|
344
|
+
location?:
|
|
345
|
+
string;
|
|
276
346
|
/**
|
|
277
347
|
* Optional. The Compute Engine [machine type](/compute/docs/machine-types) used for cluster instances, specified as a [relative resource
|
|
278
348
|
* name](/apis/design/resource_names#relative_resource_name). For example: "projects/{projectId}/zones/{zoneId}/machineTypes/{machineTypeId}". The `machineType` must belong to the
|
|
@@ -282,154 +352,195 @@ declare namespace gapi.client {
|
|
|
282
352
|
* [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
353
|
* Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
|
284
354
|
*/
|
|
285
|
-
machineType?:
|
|
355
|
+
machineType?:
|
|
356
|
+
string;
|
|
286
357
|
/**
|
|
287
358
|
* 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
359
|
* "projects/{projectId}/global/networks/{networkId}". If unspecified, the "default" network ID in the environment's project is used. If a [Custom Subnet
|
|
289
360
|
* 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
361
|
* `nodeConfig.subnetwork`.
|
|
291
362
|
*/
|
|
292
|
-
network?:
|
|
363
|
+
network?:
|
|
364
|
+
string;
|
|
293
365
|
/**
|
|
294
366
|
* 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
367
|
* updated. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
|
296
368
|
*/
|
|
297
|
-
oauthScopes?:
|
|
369
|
+
oauthScopes?:
|
|
370
|
+
string[];
|
|
298
371
|
/**
|
|
299
372
|
* 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
373
|
* be updated.
|
|
301
374
|
*/
|
|
302
|
-
serviceAccount?:
|
|
375
|
+
serviceAccount?:
|
|
376
|
+
string;
|
|
303
377
|
/**
|
|
304
378
|
* 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
379
|
* example: "projects/{projectId}/regions/{regionId}/subnetworks/{subnetworkId}" If a subnetwork is provided, `nodeConfig.network` must also be provided, and the subnetwork must belong
|
|
306
380
|
* to the enclosing environment's project and location.
|
|
307
381
|
*/
|
|
308
|
-
subnetwork?:
|
|
382
|
+
subnetwork?:
|
|
383
|
+
string;
|
|
309
384
|
/**
|
|
310
385
|
* 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
386
|
* [RFC1035](https://www.ietf.org/rfc/rfc1035.txt). Cannot be updated.
|
|
312
387
|
*/
|
|
313
|
-
tags?:
|
|
388
|
+
tags?:
|
|
389
|
+
string[];
|
|
314
390
|
}
|
|
315
391
|
interface Operation {
|
|
316
392
|
/** 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?:
|
|
393
|
+
done?:
|
|
394
|
+
boolean;
|
|
318
395
|
/** The error result of the operation in case of failure or cancellation. */
|
|
319
|
-
error?:
|
|
396
|
+
error?:
|
|
397
|
+
Status;
|
|
320
398
|
/**
|
|
321
399
|
* 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
400
|
* metadata. Any method that returns a long-running operation should document the metadata type, if any.
|
|
323
401
|
*/
|
|
324
|
-
metadata?:
|
|
402
|
+
metadata?:
|
|
403
|
+
{ [P in string]: any };
|
|
325
404
|
/**
|
|
326
405
|
* 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
406
|
* with `operations/{unique_id}`.
|
|
328
407
|
*/
|
|
329
|
-
name?:
|
|
408
|
+
name?:
|
|
409
|
+
string;
|
|
330
410
|
/**
|
|
331
411
|
* 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
412
|
* 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
413
|
* original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
|
|
334
414
|
*/
|
|
335
|
-
response?:
|
|
415
|
+
response?:
|
|
416
|
+
{ [P in string]: any };
|
|
336
417
|
}
|
|
337
418
|
interface OperationMetadata {
|
|
338
419
|
/** Output only. The time the operation was submitted to the server. */
|
|
339
|
-
createTime?:
|
|
420
|
+
createTime?:
|
|
421
|
+
string;
|
|
340
422
|
/** Output only. The time when the operation terminated, regardless of its success. This field is unset if the operation is still ongoing. */
|
|
341
|
-
endTime?:
|
|
423
|
+
endTime?:
|
|
424
|
+
string;
|
|
342
425
|
/** Output only. The type of operation being performed. */
|
|
343
|
-
operationType?:
|
|
426
|
+
operationType?:
|
|
427
|
+
string;
|
|
344
428
|
/** Output only. The resource being operated on, as a [relative resource name]( /apis/design/resource_names#relative_resource_name). */
|
|
345
|
-
resource?:
|
|
429
|
+
resource?:
|
|
430
|
+
string;
|
|
346
431
|
/** Output only. The UUID of the resource being operated on. */
|
|
347
|
-
resourceUuid?:
|
|
432
|
+
resourceUuid?:
|
|
433
|
+
string;
|
|
348
434
|
/** Output only. The current operation state. */
|
|
349
|
-
state?:
|
|
435
|
+
state?:
|
|
436
|
+
string;
|
|
350
437
|
}
|
|
351
438
|
interface PrivateClusterConfig {
|
|
352
439
|
/** Optional. If `true`, access to the public endpoint of the GKE cluster is denied. */
|
|
353
|
-
enablePrivateEndpoint?:
|
|
440
|
+
enablePrivateEndpoint?:
|
|
441
|
+
boolean;
|
|
354
442
|
/** 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?:
|
|
443
|
+
masterIpv4CidrBlock?:
|
|
444
|
+
string;
|
|
356
445
|
/**
|
|
357
446
|
* 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
447
|
* 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
448
|
*/
|
|
360
|
-
masterIpv4ReservedRange?:
|
|
449
|
+
masterIpv4ReservedRange?:
|
|
450
|
+
string;
|
|
361
451
|
}
|
|
362
452
|
interface PrivateEnvironmentConfig {
|
|
363
453
|
/**
|
|
364
454
|
* 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
455
|
* Customer Project will use an IP address from this subnetwork.
|
|
366
456
|
*/
|
|
367
|
-
cloudComposerConnectionSubnetwork?:
|
|
457
|
+
cloudComposerConnectionSubnetwork?:
|
|
458
|
+
string;
|
|
368
459
|
/**
|
|
369
460
|
* 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
461
|
* and cloud_sql_ipv4_cidr_block. This field is supported for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer.
|
|
371
462
|
*/
|
|
372
|
-
cloudComposerNetworkIpv4CidrBlock?:
|
|
463
|
+
cloudComposerNetworkIpv4CidrBlock?:
|
|
464
|
+
string;
|
|
373
465
|
/**
|
|
374
466
|
* 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
467
|
* and newer.
|
|
376
468
|
*/
|
|
377
|
-
cloudComposerNetworkIpv4ReservedRange?:
|
|
469
|
+
cloudComposerNetworkIpv4ReservedRange?:
|
|
470
|
+
string;
|
|
378
471
|
/** 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?:
|
|
472
|
+
cloudSqlIpv4CidrBlock?:
|
|
473
|
+
string;
|
|
380
474
|
/**
|
|
381
475
|
* 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
476
|
* environments in versions composer-1.*.*-airflow-*.*.*.
|
|
383
477
|
*/
|
|
384
|
-
enablePrivateEnvironment?:
|
|
478
|
+
enablePrivateEnvironment?:
|
|
479
|
+
boolean;
|
|
385
480
|
/** 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?:
|
|
481
|
+
enablePrivatelyUsedPublicIps?:
|
|
482
|
+
boolean;
|
|
387
483
|
/** Optional. Configuration for the network connections configuration in the environment. */
|
|
388
|
-
networkingConfig?:
|
|
484
|
+
networkingConfig?:
|
|
485
|
+
NetworkingConfig;
|
|
389
486
|
/** Optional. Configuration for the private GKE cluster for a Private IP Cloud Composer environment. */
|
|
390
|
-
privateClusterConfig?:
|
|
487
|
+
privateClusterConfig?:
|
|
488
|
+
PrivateClusterConfig;
|
|
391
489
|
/**
|
|
392
490
|
* 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
491
|
* `cloud_sql_ipv4_cidr_block`. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
|
394
492
|
*/
|
|
395
|
-
webServerIpv4CidrBlock?:
|
|
493
|
+
webServerIpv4CidrBlock?:
|
|
494
|
+
string;
|
|
396
495
|
/** 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?:
|
|
496
|
+
webServerIpv4ReservedRange?:
|
|
497
|
+
string;
|
|
398
498
|
}
|
|
399
499
|
interface RecoveryConfig {
|
|
400
500
|
/** Optional. The configuration for scheduled snapshot creation mechanism. */
|
|
401
|
-
scheduledSnapshotsConfig?:
|
|
501
|
+
scheduledSnapshotsConfig?:
|
|
502
|
+
ScheduledSnapshotsConfig;
|
|
402
503
|
}
|
|
403
504
|
interface SaveSnapshotRequest {
|
|
404
505
|
/** Location in a Cloud Storage where the snapshot is going to be stored, e.g.: "gs://my-bucket/snapshots". */
|
|
405
|
-
snapshotLocation?:
|
|
506
|
+
snapshotLocation?:
|
|
507
|
+
string;
|
|
406
508
|
}
|
|
407
509
|
interface SaveSnapshotResponse {
|
|
408
510
|
/**
|
|
409
511
|
* 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
512
|
* creation was successful.
|
|
411
513
|
*/
|
|
412
|
-
snapshotPath?:
|
|
514
|
+
snapshotPath?:
|
|
515
|
+
string;
|
|
413
516
|
}
|
|
414
517
|
interface ScheduledSnapshotsConfig {
|
|
415
518
|
/** Optional. Whether scheduled snapshots creation is enabled. */
|
|
416
|
-
enabled?:
|
|
519
|
+
enabled?:
|
|
520
|
+
boolean;
|
|
417
521
|
/** 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?:
|
|
522
|
+
snapshotCreationSchedule?:
|
|
523
|
+
string;
|
|
419
524
|
/** Optional. The Cloud Storage location for storing automatically created snapshots. */
|
|
420
|
-
snapshotLocation?:
|
|
525
|
+
snapshotLocation?:
|
|
526
|
+
string;
|
|
421
527
|
/** Optional. Time zone that sets the context to interpret snapshot_creation_schedule. */
|
|
422
|
-
timeZone?:
|
|
528
|
+
timeZone?:
|
|
529
|
+
string;
|
|
423
530
|
}
|
|
424
531
|
interface SchedulerResource {
|
|
425
532
|
/** Optional. The number of schedulers. */
|
|
426
|
-
count?:
|
|
533
|
+
count?:
|
|
534
|
+
number;
|
|
427
535
|
/** Optional. CPU request and limit for a single Airflow scheduler replica. */
|
|
428
|
-
cpu?:
|
|
536
|
+
cpu?:
|
|
537
|
+
number;
|
|
429
538
|
/** Optional. Memory (GB) request and limit for a single Airflow scheduler replica. */
|
|
430
|
-
memoryGb?:
|
|
539
|
+
memoryGb?:
|
|
540
|
+
number;
|
|
431
541
|
/** Optional. Storage (GB) request and limit for a single Airflow scheduler replica. */
|
|
432
|
-
storageGb?:
|
|
542
|
+
storageGb?:
|
|
543
|
+
number;
|
|
433
544
|
}
|
|
434
545
|
interface SoftwareConfig {
|
|
435
546
|
/**
|
|
@@ -439,14 +550,16 @@ declare namespace gapi.client {
|
|
|
439
550
|
* 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
551
|
* Airflow configuration property values are [blocked](/composer/docs/concepts/airflow-configurations), and cannot be overridden.
|
|
441
552
|
*/
|
|
442
|
-
airflowConfigOverrides?:
|
|
553
|
+
airflowConfigOverrides?:
|
|
554
|
+
{ [P in string]: string };
|
|
443
555
|
/**
|
|
444
556
|
* Optional. Additional environment variables to provide to the Apache Airflow scheduler, worker, and webserver processes. Environment variable names must match the regular expression
|
|
445
557
|
* `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
558
|
* 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
559
|
* `SQL_INSTANCE` * `SQL_PASSWORD` * `SQL_PROJECT` * `SQL_REGION` * `SQL_USER`
|
|
448
560
|
*/
|
|
449
|
-
envVariables?:
|
|
561
|
+
envVariables?:
|
|
562
|
+
{ [P in string]: string };
|
|
450
563
|
/**
|
|
451
564
|
* 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
565
|
* 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 +570,410 @@ declare namespace gapi.client {
|
|
|
457
570
|
* 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
571
|
* overview](/composer/docs/concepts/versioning/composer-versioning-overview).
|
|
459
572
|
*/
|
|
460
|
-
imageVersion?:
|
|
573
|
+
imageVersion?:
|
|
574
|
+
string;
|
|
461
575
|
/**
|
|
462
576
|
* 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
577
|
* 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
578
|
* as the value.
|
|
465
579
|
*/
|
|
466
|
-
pypiPackages?:
|
|
580
|
+
pypiPackages?:
|
|
581
|
+
{ [P in string]: string };
|
|
467
582
|
/**
|
|
468
583
|
* 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
584
|
* 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
585
|
* version 3.
|
|
471
586
|
*/
|
|
472
|
-
pythonVersion?:
|
|
587
|
+
pythonVersion?:
|
|
588
|
+
string;
|
|
473
589
|
/** Optional. The number of schedulers for Airflow. This field is supported for Cloud Composer environments in versions composer-1.*.*-airflow-2.*.*. */
|
|
474
|
-
schedulerCount?:
|
|
590
|
+
schedulerCount?:
|
|
591
|
+
number;
|
|
475
592
|
}
|
|
476
593
|
interface Status {
|
|
477
594
|
/** The status code, which should be an enum value of google.rpc.Code. */
|
|
478
|
-
code?:
|
|
595
|
+
code?:
|
|
596
|
+
number;
|
|
479
597
|
/** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
|
|
480
|
-
details?:
|
|
598
|
+
details?:
|
|
599
|
+
Array<{ [P in string]: any }>;
|
|
481
600
|
/**
|
|
482
601
|
* 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
602
|
* client.
|
|
484
603
|
*/
|
|
485
|
-
message?:
|
|
604
|
+
message?:
|
|
605
|
+
string;
|
|
486
606
|
}
|
|
487
607
|
interface WebServerConfig {
|
|
488
608
|
/**
|
|
489
609
|
* 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
610
|
* 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
611
|
*/
|
|
492
|
-
machineType?:
|
|
612
|
+
machineType?:
|
|
613
|
+
string;
|
|
493
614
|
}
|
|
494
615
|
interface WebServerNetworkAccessControl {
|
|
495
616
|
/** A collection of allowed IP ranges with descriptions. */
|
|
496
|
-
allowedIpRanges?:
|
|
617
|
+
allowedIpRanges?:
|
|
618
|
+
AllowedIpRange[];
|
|
497
619
|
}
|
|
498
620
|
interface WebServerResource {
|
|
499
621
|
/** Optional. CPU request and limit for Airflow web server. */
|
|
500
|
-
cpu?:
|
|
622
|
+
cpu?:
|
|
623
|
+
number;
|
|
501
624
|
/** Optional. Memory (GB) request and limit for Airflow web server. */
|
|
502
|
-
memoryGb?:
|
|
625
|
+
memoryGb?:
|
|
626
|
+
number;
|
|
503
627
|
/** Optional. Storage (GB) request and limit for Airflow web server. */
|
|
504
|
-
storageGb?:
|
|
628
|
+
storageGb?:
|
|
629
|
+
number;
|
|
505
630
|
}
|
|
506
631
|
interface WorkerResource {
|
|
507
632
|
/** Optional. CPU request and limit for a single Airflow worker replica. */
|
|
508
|
-
cpu?:
|
|
633
|
+
cpu?:
|
|
634
|
+
number;
|
|
509
635
|
/** Optional. Maximum number of workers for autoscaling. */
|
|
510
|
-
maxCount?:
|
|
636
|
+
maxCount?:
|
|
637
|
+
number;
|
|
511
638
|
/** Optional. Memory (GB) request and limit for a single Airflow worker replica. */
|
|
512
|
-
memoryGb?:
|
|
639
|
+
memoryGb?:
|
|
640
|
+
number;
|
|
513
641
|
/** Optional. Minimum number of workers for autoscaling. */
|
|
514
|
-
minCount?:
|
|
642
|
+
minCount?:
|
|
643
|
+
number;
|
|
515
644
|
/** Optional. Storage (GB) request and limit for a single Airflow worker replica. */
|
|
516
|
-
storageGb?:
|
|
645
|
+
storageGb?:
|
|
646
|
+
number;
|
|
517
647
|
}
|
|
518
648
|
interface WorkloadsConfig {
|
|
519
649
|
/** Optional. Resources used by Airflow schedulers. */
|
|
520
|
-
scheduler?:
|
|
650
|
+
scheduler?:
|
|
651
|
+
SchedulerResource;
|
|
521
652
|
/** Optional. Resources used by Airflow web server. */
|
|
522
|
-
webServer?:
|
|
653
|
+
webServer?:
|
|
654
|
+
WebServerResource;
|
|
523
655
|
/** Optional. Resources used by Airflow workers. */
|
|
524
|
-
worker?:
|
|
656
|
+
worker?:
|
|
657
|
+
WorkerResource;
|
|
525
658
|
}
|
|
526
659
|
interface EnvironmentsResource {
|
|
527
660
|
/** Create a new environment. */
|
|
528
661
|
create(request: {
|
|
529
662
|
/** V1 error format. */
|
|
530
|
-
"$.xgafv"?:
|
|
663
|
+
"$.xgafv"?:
|
|
664
|
+
string;
|
|
531
665
|
/** OAuth access token. */
|
|
532
|
-
access_token?:
|
|
666
|
+
access_token?:
|
|
667
|
+
string;
|
|
533
668
|
/** Data format for response. */
|
|
534
|
-
alt?:
|
|
669
|
+
alt?:
|
|
670
|
+
string;
|
|
535
671
|
/** JSONP */
|
|
536
|
-
callback?:
|
|
672
|
+
callback?:
|
|
673
|
+
string;
|
|
537
674
|
/** Selector specifying which fields to include in a partial response. */
|
|
538
|
-
fields?:
|
|
675
|
+
fields?:
|
|
676
|
+
string;
|
|
539
677
|
/** 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?:
|
|
678
|
+
key?:
|
|
679
|
+
string;
|
|
541
680
|
/** OAuth 2.0 token for the current user. */
|
|
542
|
-
oauth_token?:
|
|
681
|
+
oauth_token?:
|
|
682
|
+
string;
|
|
543
683
|
/** The parent must be of the form "projects/{projectId}/locations/{locationId}". */
|
|
544
|
-
parent:
|
|
684
|
+
parent:
|
|
685
|
+
string;
|
|
545
686
|
/** Returns response with indentations and line breaks. */
|
|
546
|
-
prettyPrint?:
|
|
687
|
+
prettyPrint?:
|
|
688
|
+
boolean;
|
|
547
689
|
/** 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?:
|
|
690
|
+
quotaUser?:
|
|
691
|
+
string;
|
|
549
692
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
550
|
-
upload_protocol?:
|
|
693
|
+
upload_protocol?:
|
|
694
|
+
string;
|
|
551
695
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
552
|
-
uploadType?:
|
|
696
|
+
uploadType?:
|
|
697
|
+
string;
|
|
553
698
|
/** Request body */
|
|
554
|
-
resource:
|
|
699
|
+
resource:
|
|
700
|
+
Environment;
|
|
555
701
|
}): Request<Operation>;
|
|
556
702
|
create(request: {
|
|
557
703
|
/** V1 error format. */
|
|
558
|
-
"$.xgafv"?:
|
|
704
|
+
"$.xgafv"?:
|
|
705
|
+
string;
|
|
559
706
|
/** OAuth access token. */
|
|
560
|
-
access_token?:
|
|
707
|
+
access_token?:
|
|
708
|
+
string;
|
|
561
709
|
/** Data format for response. */
|
|
562
|
-
alt?:
|
|
710
|
+
alt?:
|
|
711
|
+
string;
|
|
563
712
|
/** JSONP */
|
|
564
|
-
callback?:
|
|
713
|
+
callback?:
|
|
714
|
+
string;
|
|
565
715
|
/** Selector specifying which fields to include in a partial response. */
|
|
566
|
-
fields?:
|
|
716
|
+
fields?:
|
|
717
|
+
string;
|
|
567
718
|
/** 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?:
|
|
719
|
+
key?:
|
|
720
|
+
string;
|
|
569
721
|
/** OAuth 2.0 token for the current user. */
|
|
570
|
-
oauth_token?:
|
|
722
|
+
oauth_token?:
|
|
723
|
+
string;
|
|
571
724
|
/** The parent must be of the form "projects/{projectId}/locations/{locationId}". */
|
|
572
|
-
parent:
|
|
725
|
+
parent:
|
|
726
|
+
string;
|
|
573
727
|
/** Returns response with indentations and line breaks. */
|
|
574
|
-
prettyPrint?:
|
|
728
|
+
prettyPrint?:
|
|
729
|
+
boolean;
|
|
575
730
|
/** 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?:
|
|
731
|
+
quotaUser?:
|
|
732
|
+
string;
|
|
577
733
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
578
|
-
upload_protocol?:
|
|
734
|
+
upload_protocol?:
|
|
735
|
+
string;
|
|
579
736
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
580
|
-
uploadType?:
|
|
737
|
+
uploadType?:
|
|
738
|
+
string;
|
|
581
739
|
},
|
|
582
740
|
body: Environment): Request<Operation>;
|
|
583
741
|
/** Delete an environment. */
|
|
584
742
|
delete(request?: {
|
|
585
743
|
/** V1 error format. */
|
|
586
|
-
"$.xgafv"?:
|
|
744
|
+
"$.xgafv"?:
|
|
745
|
+
string;
|
|
587
746
|
/** OAuth access token. */
|
|
588
|
-
access_token?:
|
|
747
|
+
access_token?:
|
|
748
|
+
string;
|
|
589
749
|
/** Data format for response. */
|
|
590
|
-
alt?:
|
|
750
|
+
alt?:
|
|
751
|
+
string;
|
|
591
752
|
/** JSONP */
|
|
592
|
-
callback?:
|
|
753
|
+
callback?:
|
|
754
|
+
string;
|
|
593
755
|
/** Selector specifying which fields to include in a partial response. */
|
|
594
|
-
fields?:
|
|
756
|
+
fields?:
|
|
757
|
+
string;
|
|
595
758
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
596
|
-
key?:
|
|
759
|
+
key?:
|
|
760
|
+
string;
|
|
597
761
|
/** The environment to delete, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}" */
|
|
598
|
-
name:
|
|
762
|
+
name:
|
|
763
|
+
string;
|
|
599
764
|
/** OAuth 2.0 token for the current user. */
|
|
600
|
-
oauth_token?:
|
|
765
|
+
oauth_token?:
|
|
766
|
+
string;
|
|
601
767
|
/** Returns response with indentations and line breaks. */
|
|
602
|
-
prettyPrint?:
|
|
768
|
+
prettyPrint?:
|
|
769
|
+
boolean;
|
|
603
770
|
/** 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?:
|
|
771
|
+
quotaUser?:
|
|
772
|
+
string;
|
|
605
773
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
606
|
-
upload_protocol?:
|
|
774
|
+
upload_protocol?:
|
|
775
|
+
string;
|
|
607
776
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
608
|
-
uploadType?:
|
|
777
|
+
uploadType?:
|
|
778
|
+
string;
|
|
609
779
|
}): Request<Operation>;
|
|
610
780
|
/** Get an existing environment. */
|
|
611
781
|
get(request?: {
|
|
612
782
|
/** V1 error format. */
|
|
613
|
-
"$.xgafv"?:
|
|
783
|
+
"$.xgafv"?:
|
|
784
|
+
string;
|
|
614
785
|
/** OAuth access token. */
|
|
615
|
-
access_token?:
|
|
786
|
+
access_token?:
|
|
787
|
+
string;
|
|
616
788
|
/** Data format for response. */
|
|
617
|
-
alt?:
|
|
789
|
+
alt?:
|
|
790
|
+
string;
|
|
618
791
|
/** JSONP */
|
|
619
|
-
callback?:
|
|
792
|
+
callback?:
|
|
793
|
+
string;
|
|
620
794
|
/** Selector specifying which fields to include in a partial response. */
|
|
621
|
-
fields?:
|
|
795
|
+
fields?:
|
|
796
|
+
string;
|
|
622
797
|
/** 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?:
|
|
798
|
+
key?:
|
|
799
|
+
string;
|
|
624
800
|
/** The resource name of the environment to get, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}" */
|
|
625
|
-
name:
|
|
801
|
+
name:
|
|
802
|
+
string;
|
|
626
803
|
/** OAuth 2.0 token for the current user. */
|
|
627
|
-
oauth_token?:
|
|
804
|
+
oauth_token?:
|
|
805
|
+
string;
|
|
628
806
|
/** Returns response with indentations and line breaks. */
|
|
629
|
-
prettyPrint?:
|
|
807
|
+
prettyPrint?:
|
|
808
|
+
boolean;
|
|
630
809
|
/** 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?:
|
|
810
|
+
quotaUser?:
|
|
811
|
+
string;
|
|
632
812
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
633
|
-
upload_protocol?:
|
|
813
|
+
upload_protocol?:
|
|
814
|
+
string;
|
|
634
815
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
635
|
-
uploadType?:
|
|
816
|
+
uploadType?:
|
|
817
|
+
string;
|
|
636
818
|
}): Request<Environment>;
|
|
637
819
|
/** List environments. */
|
|
638
820
|
list(request?: {
|
|
639
821
|
/** V1 error format. */
|
|
640
|
-
"$.xgafv"?:
|
|
822
|
+
"$.xgafv"?:
|
|
823
|
+
string;
|
|
641
824
|
/** OAuth access token. */
|
|
642
|
-
access_token?:
|
|
825
|
+
access_token?:
|
|
826
|
+
string;
|
|
643
827
|
/** Data format for response. */
|
|
644
|
-
alt?:
|
|
828
|
+
alt?:
|
|
829
|
+
string;
|
|
645
830
|
/** JSONP */
|
|
646
|
-
callback?:
|
|
831
|
+
callback?:
|
|
832
|
+
string;
|
|
647
833
|
/** Selector specifying which fields to include in a partial response. */
|
|
648
|
-
fields?:
|
|
834
|
+
fields?:
|
|
835
|
+
string;
|
|
649
836
|
/** 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?:
|
|
837
|
+
key?:
|
|
838
|
+
string;
|
|
651
839
|
/** OAuth 2.0 token for the current user. */
|
|
652
|
-
oauth_token?:
|
|
840
|
+
oauth_token?:
|
|
841
|
+
string;
|
|
653
842
|
/** The maximum number of environments to return. */
|
|
654
|
-
pageSize?:
|
|
843
|
+
pageSize?:
|
|
844
|
+
number;
|
|
655
845
|
/** The next_page_token value returned from a previous List request, if any. */
|
|
656
|
-
pageToken?:
|
|
846
|
+
pageToken?:
|
|
847
|
+
string;
|
|
657
848
|
/** List environments in the given project and location, in the form: "projects/{projectId}/locations/{locationId}" */
|
|
658
|
-
parent:
|
|
849
|
+
parent:
|
|
850
|
+
string;
|
|
659
851
|
/** Returns response with indentations and line breaks. */
|
|
660
|
-
prettyPrint?:
|
|
852
|
+
prettyPrint?:
|
|
853
|
+
boolean;
|
|
661
854
|
/** 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?:
|
|
855
|
+
quotaUser?:
|
|
856
|
+
string;
|
|
663
857
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
664
|
-
upload_protocol?:
|
|
858
|
+
upload_protocol?:
|
|
859
|
+
string;
|
|
665
860
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
666
|
-
uploadType?:
|
|
861
|
+
uploadType?:
|
|
862
|
+
string;
|
|
667
863
|
}): Request<ListEnvironmentsResponse>;
|
|
668
864
|
/** 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
865
|
loadSnapshot(request: {
|
|
670
866
|
/** V1 error format. */
|
|
671
|
-
"$.xgafv"?:
|
|
867
|
+
"$.xgafv"?:
|
|
868
|
+
string;
|
|
672
869
|
/** OAuth access token. */
|
|
673
|
-
access_token?:
|
|
870
|
+
access_token?:
|
|
871
|
+
string;
|
|
674
872
|
/** Data format for response. */
|
|
675
|
-
alt?:
|
|
873
|
+
alt?:
|
|
874
|
+
string;
|
|
676
875
|
/** JSONP */
|
|
677
|
-
callback?:
|
|
876
|
+
callback?:
|
|
877
|
+
string;
|
|
678
878
|
/** The resource name of the target environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}" */
|
|
679
|
-
environment:
|
|
879
|
+
environment:
|
|
880
|
+
string;
|
|
680
881
|
/** Selector specifying which fields to include in a partial response. */
|
|
681
|
-
fields?:
|
|
882
|
+
fields?:
|
|
883
|
+
string;
|
|
682
884
|
/** 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?:
|
|
885
|
+
key?:
|
|
886
|
+
string;
|
|
684
887
|
/** OAuth 2.0 token for the current user. */
|
|
685
|
-
oauth_token?:
|
|
888
|
+
oauth_token?:
|
|
889
|
+
string;
|
|
686
890
|
/** Returns response with indentations and line breaks. */
|
|
687
|
-
prettyPrint?:
|
|
891
|
+
prettyPrint?:
|
|
892
|
+
boolean;
|
|
688
893
|
/** 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?:
|
|
894
|
+
quotaUser?:
|
|
895
|
+
string;
|
|
690
896
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
691
|
-
upload_protocol?:
|
|
897
|
+
upload_protocol?:
|
|
898
|
+
string;
|
|
692
899
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
693
|
-
uploadType?:
|
|
900
|
+
uploadType?:
|
|
901
|
+
string;
|
|
694
902
|
/** Request body */
|
|
695
|
-
resource:
|
|
903
|
+
resource:
|
|
904
|
+
LoadSnapshotRequest;
|
|
696
905
|
}): Request<Operation>;
|
|
697
906
|
loadSnapshot(request: {
|
|
698
907
|
/** V1 error format. */
|
|
699
|
-
"$.xgafv"?:
|
|
908
|
+
"$.xgafv"?:
|
|
909
|
+
string;
|
|
700
910
|
/** OAuth access token. */
|
|
701
|
-
access_token?:
|
|
911
|
+
access_token?:
|
|
912
|
+
string;
|
|
702
913
|
/** Data format for response. */
|
|
703
|
-
alt?:
|
|
914
|
+
alt?:
|
|
915
|
+
string;
|
|
704
916
|
/** JSONP */
|
|
705
|
-
callback?:
|
|
917
|
+
callback?:
|
|
918
|
+
string;
|
|
706
919
|
/** The resource name of the target environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}" */
|
|
707
|
-
environment:
|
|
920
|
+
environment:
|
|
921
|
+
string;
|
|
708
922
|
/** Selector specifying which fields to include in a partial response. */
|
|
709
|
-
fields?:
|
|
923
|
+
fields?:
|
|
924
|
+
string;
|
|
710
925
|
/** 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?:
|
|
926
|
+
key?:
|
|
927
|
+
string;
|
|
712
928
|
/** OAuth 2.0 token for the current user. */
|
|
713
|
-
oauth_token?:
|
|
929
|
+
oauth_token?:
|
|
930
|
+
string;
|
|
714
931
|
/** Returns response with indentations and line breaks. */
|
|
715
|
-
prettyPrint?:
|
|
932
|
+
prettyPrint?:
|
|
933
|
+
boolean;
|
|
716
934
|
/** 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?:
|
|
935
|
+
quotaUser?:
|
|
936
|
+
string;
|
|
718
937
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
719
|
-
upload_protocol?:
|
|
938
|
+
upload_protocol?:
|
|
939
|
+
string;
|
|
720
940
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
721
|
-
uploadType?:
|
|
941
|
+
uploadType?:
|
|
942
|
+
string;
|
|
722
943
|
},
|
|
723
944
|
body: LoadSnapshotRequest): Request<Operation>;
|
|
724
945
|
/** Update an environment. */
|
|
725
946
|
patch(request: {
|
|
726
947
|
/** V1 error format. */
|
|
727
|
-
"$.xgafv"?:
|
|
948
|
+
"$.xgafv"?:
|
|
949
|
+
string;
|
|
728
950
|
/** OAuth access token. */
|
|
729
|
-
access_token?:
|
|
951
|
+
access_token?:
|
|
952
|
+
string;
|
|
730
953
|
/** Data format for response. */
|
|
731
|
-
alt?:
|
|
954
|
+
alt?:
|
|
955
|
+
string;
|
|
732
956
|
/** JSONP */
|
|
733
|
-
callback?:
|
|
957
|
+
callback?:
|
|
958
|
+
string;
|
|
734
959
|
/** Selector specifying which fields to include in a partial response. */
|
|
735
|
-
fields?:
|
|
960
|
+
fields?:
|
|
961
|
+
string;
|
|
736
962
|
/** 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?:
|
|
963
|
+
key?:
|
|
964
|
+
string;
|
|
738
965
|
/** The relative resource name of the environment to update, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}" */
|
|
739
|
-
name:
|
|
966
|
+
name:
|
|
967
|
+
string;
|
|
740
968
|
/** OAuth 2.0 token for the current user. */
|
|
741
|
-
oauth_token?:
|
|
969
|
+
oauth_token?:
|
|
970
|
+
string;
|
|
742
971
|
/** Returns response with indentations and line breaks. */
|
|
743
|
-
prettyPrint?:
|
|
972
|
+
prettyPrint?:
|
|
973
|
+
boolean;
|
|
744
974
|
/** 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?:
|
|
975
|
+
quotaUser?:
|
|
976
|
+
string;
|
|
746
977
|
/**
|
|
747
978
|
* 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
979
|
* 0.19.0 and to remove an existing installation of numpy, the `updateMask` parameter would include the following two `paths` values:
|
|
@@ -776,35 +1007,49 @@ declare namespace gapi.client {
|
|
|
776
1007
|
* `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
1008
|
* composer-n1-webserver-8. Supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
|
778
1009
|
*/
|
|
779
|
-
updateMask?:
|
|
1010
|
+
updateMask?:
|
|
1011
|
+
string;
|
|
780
1012
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
781
|
-
upload_protocol?:
|
|
1013
|
+
upload_protocol?:
|
|
1014
|
+
string;
|
|
782
1015
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
783
|
-
uploadType?:
|
|
1016
|
+
uploadType?:
|
|
1017
|
+
string;
|
|
784
1018
|
/** Request body */
|
|
785
|
-
resource:
|
|
1019
|
+
resource:
|
|
1020
|
+
Environment;
|
|
786
1021
|
}): Request<Operation>;
|
|
787
1022
|
patch(request: {
|
|
788
1023
|
/** V1 error format. */
|
|
789
|
-
"$.xgafv"?:
|
|
1024
|
+
"$.xgafv"?:
|
|
1025
|
+
string;
|
|
790
1026
|
/** OAuth access token. */
|
|
791
|
-
access_token?:
|
|
1027
|
+
access_token?:
|
|
1028
|
+
string;
|
|
792
1029
|
/** Data format for response. */
|
|
793
|
-
alt?:
|
|
1030
|
+
alt?:
|
|
1031
|
+
string;
|
|
794
1032
|
/** JSONP */
|
|
795
|
-
callback?:
|
|
1033
|
+
callback?:
|
|
1034
|
+
string;
|
|
796
1035
|
/** Selector specifying which fields to include in a partial response. */
|
|
797
|
-
fields?:
|
|
1036
|
+
fields?:
|
|
1037
|
+
string;
|
|
798
1038
|
/** 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?:
|
|
1039
|
+
key?:
|
|
1040
|
+
string;
|
|
800
1041
|
/** The relative resource name of the environment to update, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}" */
|
|
801
|
-
name:
|
|
1042
|
+
name:
|
|
1043
|
+
string;
|
|
802
1044
|
/** OAuth 2.0 token for the current user. */
|
|
803
|
-
oauth_token?:
|
|
1045
|
+
oauth_token?:
|
|
1046
|
+
string;
|
|
804
1047
|
/** Returns response with indentations and line breaks. */
|
|
805
|
-
prettyPrint?:
|
|
1048
|
+
prettyPrint?:
|
|
1049
|
+
boolean;
|
|
806
1050
|
/** 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?:
|
|
1051
|
+
quotaUser?:
|
|
1052
|
+
string;
|
|
808
1053
|
/**
|
|
809
1054
|
* 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
1055
|
* 0.19.0 and to remove an existing installation of numpy, the `updateMask` parameter would include the following two `paths` values:
|
|
@@ -838,67 +1083,95 @@ declare namespace gapi.client {
|
|
|
838
1083
|
* `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
1084
|
* composer-n1-webserver-8. Supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
|
840
1085
|
*/
|
|
841
|
-
updateMask?:
|
|
1086
|
+
updateMask?:
|
|
1087
|
+
string;
|
|
842
1088
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
843
|
-
upload_protocol?:
|
|
1089
|
+
upload_protocol?:
|
|
1090
|
+
string;
|
|
844
1091
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
845
|
-
uploadType?:
|
|
1092
|
+
uploadType?:
|
|
1093
|
+
string;
|
|
846
1094
|
},
|
|
847
1095
|
body: Environment): Request<Operation>;
|
|
848
1096
|
/** 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
1097
|
saveSnapshot(request: {
|
|
850
1098
|
/** V1 error format. */
|
|
851
|
-
"$.xgafv"?:
|
|
1099
|
+
"$.xgafv"?:
|
|
1100
|
+
string;
|
|
852
1101
|
/** OAuth access token. */
|
|
853
|
-
access_token?:
|
|
1102
|
+
access_token?:
|
|
1103
|
+
string;
|
|
854
1104
|
/** Data format for response. */
|
|
855
|
-
alt?:
|
|
1105
|
+
alt?:
|
|
1106
|
+
string;
|
|
856
1107
|
/** JSONP */
|
|
857
|
-
callback?:
|
|
1108
|
+
callback?:
|
|
1109
|
+
string;
|
|
858
1110
|
/** The resource name of the source environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}" */
|
|
859
|
-
environment:
|
|
1111
|
+
environment:
|
|
1112
|
+
string;
|
|
860
1113
|
/** Selector specifying which fields to include in a partial response. */
|
|
861
|
-
fields?:
|
|
1114
|
+
fields?:
|
|
1115
|
+
string;
|
|
862
1116
|
/** 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?:
|
|
1117
|
+
key?:
|
|
1118
|
+
string;
|
|
864
1119
|
/** OAuth 2.0 token for the current user. */
|
|
865
|
-
oauth_token?:
|
|
1120
|
+
oauth_token?:
|
|
1121
|
+
string;
|
|
866
1122
|
/** Returns response with indentations and line breaks. */
|
|
867
|
-
prettyPrint?:
|
|
1123
|
+
prettyPrint?:
|
|
1124
|
+
boolean;
|
|
868
1125
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
869
|
-
quotaUser?:
|
|
1126
|
+
quotaUser?:
|
|
1127
|
+
string;
|
|
870
1128
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
871
|
-
upload_protocol?:
|
|
1129
|
+
upload_protocol?:
|
|
1130
|
+
string;
|
|
872
1131
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
873
|
-
uploadType?:
|
|
1132
|
+
uploadType?:
|
|
1133
|
+
string;
|
|
874
1134
|
/** Request body */
|
|
875
|
-
resource:
|
|
1135
|
+
resource:
|
|
1136
|
+
SaveSnapshotRequest;
|
|
876
1137
|
}): Request<Operation>;
|
|
877
1138
|
saveSnapshot(request: {
|
|
878
1139
|
/** V1 error format. */
|
|
879
|
-
"$.xgafv"?:
|
|
1140
|
+
"$.xgafv"?:
|
|
1141
|
+
string;
|
|
880
1142
|
/** OAuth access token. */
|
|
881
|
-
access_token?:
|
|
1143
|
+
access_token?:
|
|
1144
|
+
string;
|
|
882
1145
|
/** Data format for response. */
|
|
883
|
-
alt?:
|
|
1146
|
+
alt?:
|
|
1147
|
+
string;
|
|
884
1148
|
/** JSONP */
|
|
885
|
-
callback?:
|
|
1149
|
+
callback?:
|
|
1150
|
+
string;
|
|
886
1151
|
/** The resource name of the source environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}" */
|
|
887
|
-
environment:
|
|
1152
|
+
environment:
|
|
1153
|
+
string;
|
|
888
1154
|
/** Selector specifying which fields to include in a partial response. */
|
|
889
|
-
fields?:
|
|
1155
|
+
fields?:
|
|
1156
|
+
string;
|
|
890
1157
|
/** 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?:
|
|
1158
|
+
key?:
|
|
1159
|
+
string;
|
|
892
1160
|
/** OAuth 2.0 token for the current user. */
|
|
893
|
-
oauth_token?:
|
|
1161
|
+
oauth_token?:
|
|
1162
|
+
string;
|
|
894
1163
|
/** Returns response with indentations and line breaks. */
|
|
895
|
-
prettyPrint?:
|
|
1164
|
+
prettyPrint?:
|
|
1165
|
+
boolean;
|
|
896
1166
|
/** 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?:
|
|
1167
|
+
quotaUser?:
|
|
1168
|
+
string;
|
|
898
1169
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
899
|
-
upload_protocol?:
|
|
1170
|
+
upload_protocol?:
|
|
1171
|
+
string;
|
|
900
1172
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
901
|
-
uploadType?:
|
|
1173
|
+
uploadType?:
|
|
1174
|
+
string;
|
|
902
1175
|
},
|
|
903
1176
|
body: SaveSnapshotRequest): Request<Operation>;
|
|
904
1177
|
}
|
|
@@ -906,35 +1179,50 @@ declare namespace gapi.client {
|
|
|
906
1179
|
/** List ImageVersions for provided location. */
|
|
907
1180
|
list(request?: {
|
|
908
1181
|
/** V1 error format. */
|
|
909
|
-
"$.xgafv"?:
|
|
1182
|
+
"$.xgafv"?:
|
|
1183
|
+
string;
|
|
910
1184
|
/** OAuth access token. */
|
|
911
|
-
access_token?:
|
|
1185
|
+
access_token?:
|
|
1186
|
+
string;
|
|
912
1187
|
/** Data format for response. */
|
|
913
|
-
alt?:
|
|
1188
|
+
alt?:
|
|
1189
|
+
string;
|
|
914
1190
|
/** JSONP */
|
|
915
|
-
callback?:
|
|
1191
|
+
callback?:
|
|
1192
|
+
string;
|
|
916
1193
|
/** Selector specifying which fields to include in a partial response. */
|
|
917
|
-
fields?:
|
|
1194
|
+
fields?:
|
|
1195
|
+
string;
|
|
918
1196
|
/** Whether or not image versions from old releases should be included. */
|
|
919
|
-
includePastReleases?:
|
|
1197
|
+
includePastReleases?:
|
|
1198
|
+
boolean;
|
|
920
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. */
|
|
921
|
-
key?:
|
|
1200
|
+
key?:
|
|
1201
|
+
string;
|
|
922
1202
|
/** OAuth 2.0 token for the current user. */
|
|
923
|
-
oauth_token?:
|
|
1203
|
+
oauth_token?:
|
|
1204
|
+
string;
|
|
924
1205
|
/** The maximum number of image_versions to return. */
|
|
925
|
-
pageSize?:
|
|
1206
|
+
pageSize?:
|
|
1207
|
+
number;
|
|
926
1208
|
/** The next_page_token value returned from a previous List request, if any. */
|
|
927
|
-
pageToken?:
|
|
1209
|
+
pageToken?:
|
|
1210
|
+
string;
|
|
928
1211
|
/** List ImageVersions in the given project and location, in the form: "projects/{projectId}/locations/{locationId}" */
|
|
929
|
-
parent:
|
|
1212
|
+
parent:
|
|
1213
|
+
string;
|
|
930
1214
|
/** Returns response with indentations and line breaks. */
|
|
931
|
-
prettyPrint?:
|
|
1215
|
+
prettyPrint?:
|
|
1216
|
+
boolean;
|
|
932
1217
|
/** 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?:
|
|
1218
|
+
quotaUser?:
|
|
1219
|
+
string;
|
|
934
1220
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
935
|
-
upload_protocol?:
|
|
1221
|
+
upload_protocol?:
|
|
1222
|
+
string;
|
|
936
1223
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
937
|
-
uploadType?:
|
|
1224
|
+
uploadType?:
|
|
1225
|
+
string;
|
|
938
1226
|
}): Request<ListImageVersionsResponse>;
|
|
939
1227
|
}
|
|
940
1228
|
interface OperationsResource {
|
|
@@ -944,98 +1232,141 @@ declare namespace gapi.client {
|
|
|
944
1232
|
*/
|
|
945
1233
|
delete(request?: {
|
|
946
1234
|
/** V1 error format. */
|
|
947
|
-
"$.xgafv"?:
|
|
1235
|
+
"$.xgafv"?:
|
|
1236
|
+
string;
|
|
948
1237
|
/** OAuth access token. */
|
|
949
|
-
access_token?:
|
|
1238
|
+
access_token?:
|
|
1239
|
+
string;
|
|
950
1240
|
/** Data format for response. */
|
|
951
|
-
alt?:
|
|
1241
|
+
alt?:
|
|
1242
|
+
string;
|
|
952
1243
|
/** JSONP */
|
|
953
|
-
callback?:
|
|
1244
|
+
callback?:
|
|
1245
|
+
string;
|
|
954
1246
|
/** Selector specifying which fields to include in a partial response. */
|
|
955
|
-
fields?:
|
|
1247
|
+
fields?:
|
|
1248
|
+
string;
|
|
956
1249
|
/** 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?:
|
|
1250
|
+
key?:
|
|
1251
|
+
string;
|
|
958
1252
|
/** The name of the operation resource to be deleted. */
|
|
959
|
-
name:
|
|
1253
|
+
name:
|
|
1254
|
+
string;
|
|
960
1255
|
/** OAuth 2.0 token for the current user. */
|
|
961
|
-
oauth_token?:
|
|
1256
|
+
oauth_token?:
|
|
1257
|
+
string;
|
|
962
1258
|
/** Returns response with indentations and line breaks. */
|
|
963
|
-
prettyPrint?:
|
|
1259
|
+
prettyPrint?:
|
|
1260
|
+
boolean;
|
|
964
1261
|
/** 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?:
|
|
1262
|
+
quotaUser?:
|
|
1263
|
+
string;
|
|
966
1264
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
967
|
-
upload_protocol?:
|
|
1265
|
+
upload_protocol?:
|
|
1266
|
+
string;
|
|
968
1267
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
969
|
-
uploadType?:
|
|
1268
|
+
uploadType?:
|
|
1269
|
+
string;
|
|
970
1270
|
}): Request<{}>;
|
|
971
1271
|
/** 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
1272
|
get(request?: {
|
|
973
1273
|
/** V1 error format. */
|
|
974
|
-
"$.xgafv"?:
|
|
1274
|
+
"$.xgafv"?:
|
|
1275
|
+
string;
|
|
975
1276
|
/** OAuth access token. */
|
|
976
|
-
access_token?:
|
|
1277
|
+
access_token?:
|
|
1278
|
+
string;
|
|
977
1279
|
/** Data format for response. */
|
|
978
|
-
alt?:
|
|
1280
|
+
alt?:
|
|
1281
|
+
string;
|
|
979
1282
|
/** JSONP */
|
|
980
|
-
callback?:
|
|
1283
|
+
callback?:
|
|
1284
|
+
string;
|
|
981
1285
|
/** Selector specifying which fields to include in a partial response. */
|
|
982
|
-
fields?:
|
|
1286
|
+
fields?:
|
|
1287
|
+
string;
|
|
983
1288
|
/** 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?:
|
|
1289
|
+
key?:
|
|
1290
|
+
string;
|
|
985
1291
|
/** The name of the operation resource. */
|
|
986
|
-
name:
|
|
1292
|
+
name:
|
|
1293
|
+
string;
|
|
987
1294
|
/** OAuth 2.0 token for the current user. */
|
|
988
|
-
oauth_token?:
|
|
1295
|
+
oauth_token?:
|
|
1296
|
+
string;
|
|
989
1297
|
/** Returns response with indentations and line breaks. */
|
|
990
|
-
prettyPrint?:
|
|
1298
|
+
prettyPrint?:
|
|
1299
|
+
boolean;
|
|
991
1300
|
/** 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?:
|
|
1301
|
+
quotaUser?:
|
|
1302
|
+
string;
|
|
993
1303
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
994
|
-
upload_protocol?:
|
|
1304
|
+
upload_protocol?:
|
|
1305
|
+
string;
|
|
995
1306
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
996
|
-
uploadType?:
|
|
1307
|
+
uploadType?:
|
|
1308
|
+
string;
|
|
997
1309
|
}): Request<Operation>;
|
|
998
1310
|
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
|
|
999
1311
|
list(request?: {
|
|
1000
1312
|
/** V1 error format. */
|
|
1001
|
-
"$.xgafv"?:
|
|
1313
|
+
"$.xgafv"?:
|
|
1314
|
+
string;
|
|
1002
1315
|
/** OAuth access token. */
|
|
1003
|
-
access_token?:
|
|
1316
|
+
access_token?:
|
|
1317
|
+
string;
|
|
1004
1318
|
/** Data format for response. */
|
|
1005
|
-
alt?:
|
|
1319
|
+
alt?:
|
|
1320
|
+
string;
|
|
1006
1321
|
/** JSONP */
|
|
1007
|
-
callback?:
|
|
1322
|
+
callback?:
|
|
1323
|
+
string;
|
|
1008
1324
|
/** Selector specifying which fields to include in a partial response. */
|
|
1009
|
-
fields?:
|
|
1325
|
+
fields?:
|
|
1326
|
+
string;
|
|
1010
1327
|
/** The standard list filter. */
|
|
1011
|
-
filter?:
|
|
1328
|
+
filter?:
|
|
1329
|
+
string;
|
|
1012
1330
|
/** 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?:
|
|
1331
|
+
key?:
|
|
1332
|
+
string;
|
|
1014
1333
|
/** The name of the operation's parent resource. */
|
|
1015
|
-
name:
|
|
1334
|
+
name:
|
|
1335
|
+
string;
|
|
1016
1336
|
/** OAuth 2.0 token for the current user. */
|
|
1017
|
-
oauth_token?:
|
|
1337
|
+
oauth_token?:
|
|
1338
|
+
string;
|
|
1018
1339
|
/** The standard list page size. */
|
|
1019
|
-
pageSize?:
|
|
1340
|
+
pageSize?:
|
|
1341
|
+
number;
|
|
1020
1342
|
/** The standard list page token. */
|
|
1021
|
-
pageToken?:
|
|
1343
|
+
pageToken?:
|
|
1344
|
+
string;
|
|
1022
1345
|
/** Returns response with indentations and line breaks. */
|
|
1023
|
-
prettyPrint?:
|
|
1346
|
+
prettyPrint?:
|
|
1347
|
+
boolean;
|
|
1024
1348
|
/** 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?:
|
|
1349
|
+
quotaUser?:
|
|
1350
|
+
string;
|
|
1026
1351
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1027
|
-
upload_protocol?:
|
|
1352
|
+
upload_protocol?:
|
|
1353
|
+
string;
|
|
1028
1354
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1029
|
-
uploadType?:
|
|
1355
|
+
uploadType?:
|
|
1356
|
+
string;
|
|
1030
1357
|
}): Request<ListOperationsResponse>;
|
|
1031
1358
|
}
|
|
1032
1359
|
interface LocationsResource {
|
|
1033
|
-
environments:
|
|
1034
|
-
|
|
1035
|
-
|
|
1360
|
+
environments:
|
|
1361
|
+
EnvironmentsResource;
|
|
1362
|
+
imageVersions:
|
|
1363
|
+
ImageVersionsResource;
|
|
1364
|
+
operations:
|
|
1365
|
+
OperationsResource;
|
|
1036
1366
|
}
|
|
1037
1367
|
interface ProjectsResource {
|
|
1038
|
-
locations:
|
|
1368
|
+
locations:
|
|
1369
|
+
LocationsResource;
|
|
1039
1370
|
}
|
|
1040
1371
|
|
|
1041
1372
|
const projects: ProjectsResource;
|