google-apis-composer_v1beta1 0.6.0 → 0.10.0
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.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: de20326b78593f4adb4b34941232dd5b83cda97efa72a6eaf83c689cfc5c7a35
|
4
|
+
data.tar.gz: b0e5dceeb857251949809f85849cf1fb400982636b09419c616c9c7d0b80c1b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e90bb21287685f0861131394ae09fd0ab778b1a3d557666485a1d204f13804fdbf15ecb2fc056b2817aa4a2efda9bf20b650d9f0d975bb186cf436ffc6db8ca9
|
7
|
+
data.tar.gz: b2cf629311e059abaf37b30c858e2d87b2dd19161175012ad0fb88c64cd71d7e3186670b8269717a98911334a4e3f520b13d5c414f730c5cdcd51cda027ed8be
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release history for google-apis-composer_v1beta1
|
2
2
|
|
3
|
+
### v0.10.0 (2021-07-14)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210705
|
6
|
+
|
7
|
+
### v0.9.0 (2021-07-06)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210625
|
10
|
+
|
11
|
+
### v0.8.0 (2021-06-29)
|
12
|
+
|
13
|
+
* Regenerated using generator version 0.4.0
|
14
|
+
|
15
|
+
### v0.7.0 (2021-06-24)
|
16
|
+
|
17
|
+
* Unspecified changes
|
18
|
+
|
3
19
|
### v0.6.0 (2021-06-11)
|
4
20
|
|
5
21
|
* Regenerated from discovery document revision 20210601
|
@@ -97,12 +97,23 @@ module Google
|
|
97
97
|
# @return [String]
|
98
98
|
attr_accessor :contains_pypi_modules_conflict
|
99
99
|
|
100
|
+
# Composer image for which the build was happening.
|
101
|
+
# Corresponds to the JSON property `imageVersion`
|
102
|
+
# @return [String]
|
103
|
+
attr_accessor :image_version
|
104
|
+
|
100
105
|
# Output only. Extract from a docker image build log containing information
|
101
106
|
# about pypi modules conflicts.
|
102
107
|
# Corresponds to the JSON property `pypiConflictBuildLogExtract`
|
103
108
|
# @return [String]
|
104
109
|
attr_accessor :pypi_conflict_build_log_extract
|
105
110
|
|
111
|
+
# Pypi dependencies specified in the environment configuration, at the time when
|
112
|
+
# the build was triggered.
|
113
|
+
# Corresponds to the JSON property `pypiDependencies`
|
114
|
+
# @return [Hash<String,String>]
|
115
|
+
attr_accessor :pypi_dependencies
|
116
|
+
|
106
117
|
def initialize(**args)
|
107
118
|
update!(**args)
|
108
119
|
end
|
@@ -111,7 +122,9 @@ module Google
|
|
111
122
|
def update!(**args)
|
112
123
|
@build_log_uri = args[:build_log_uri] if args.key?(:build_log_uri)
|
113
124
|
@contains_pypi_modules_conflict = args[:contains_pypi_modules_conflict] if args.key?(:contains_pypi_modules_conflict)
|
125
|
+
@image_version = args[:image_version] if args.key?(:image_version)
|
114
126
|
@pypi_conflict_build_log_extract = args[:pypi_conflict_build_log_extract] if args.key?(:pypi_conflict_build_log_extract)
|
127
|
+
@pypi_dependencies = args[:pypi_dependencies] if args.key?(:pypi_dependencies)
|
115
128
|
end
|
116
129
|
end
|
117
130
|
|
@@ -309,6 +322,13 @@ module Google
|
|
309
322
|
# @return [Google::Apis::ComposerV1beta1::EncryptionConfig]
|
310
323
|
attr_accessor :encryption_config
|
311
324
|
|
325
|
+
# Optional. The size of the Cloud Composer environment. This field is supported
|
326
|
+
# for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and
|
327
|
+
# newer.
|
328
|
+
# Corresponds to the JSON property `environmentSize`
|
329
|
+
# @return [String]
|
330
|
+
attr_accessor :environment_size
|
331
|
+
|
312
332
|
# Output only. The Kubernetes Engine cluster used to run this environment.
|
313
333
|
# Corresponds to the JSON property `gkeCluster`
|
314
334
|
# @return [String]
|
@@ -356,6 +376,13 @@ module Google
|
|
356
376
|
# @return [Google::Apis::ComposerV1beta1::WebServerNetworkAccessControl]
|
357
377
|
attr_accessor :web_server_network_access_control
|
358
378
|
|
379
|
+
# The Kubernetes workloads configuration for GKE cluster associated with the
|
380
|
+
# Cloud Composer environment. Supported for Cloud Composer environments in
|
381
|
+
# versions composer-2.*.*-airflow-*.*.* and newer.
|
382
|
+
# Corresponds to the JSON property `workloadsConfig`
|
383
|
+
# @return [Google::Apis::ComposerV1beta1::WorkloadsConfig]
|
384
|
+
attr_accessor :workloads_config
|
385
|
+
|
359
386
|
def initialize(**args)
|
360
387
|
update!(**args)
|
361
388
|
end
|
@@ -366,6 +393,7 @@ module Google
|
|
366
393
|
@dag_gcs_prefix = args[:dag_gcs_prefix] if args.key?(:dag_gcs_prefix)
|
367
394
|
@database_config = args[:database_config] if args.key?(:database_config)
|
368
395
|
@encryption_config = args[:encryption_config] if args.key?(:encryption_config)
|
396
|
+
@environment_size = args[:environment_size] if args.key?(:environment_size)
|
369
397
|
@gke_cluster = args[:gke_cluster] if args.key?(:gke_cluster)
|
370
398
|
@maintenance_window = args[:maintenance_window] if args.key?(:maintenance_window)
|
371
399
|
@node_config = args[:node_config] if args.key?(:node_config)
|
@@ -374,6 +402,7 @@ module Google
|
|
374
402
|
@software_config = args[:software_config] if args.key?(:software_config)
|
375
403
|
@web_server_config = args[:web_server_config] if args.key?(:web_server_config)
|
376
404
|
@web_server_network_access_control = args[:web_server_network_access_control] if args.key?(:web_server_network_access_control)
|
405
|
+
@workloads_config = args[:workloads_config] if args.key?(:workloads_config)
|
377
406
|
end
|
378
407
|
end
|
379
408
|
|
@@ -700,7 +729,7 @@ module Google
|
|
700
729
|
|
701
730
|
# Optional. The Google Cloud Platform Service Account to be used by the
|
702
731
|
# workloads. If a service account is not specified, the "default" Compute Engine
|
703
|
-
# service account is used. Cannot be updated
|
732
|
+
# service account is used. Cannot be updated.
|
704
733
|
# Corresponds to the JSON property `serviceAccount`
|
705
734
|
# @return [String]
|
706
735
|
attr_accessor :service_account
|
@@ -899,6 +928,22 @@ module Google
|
|
899
928
|
class PrivateEnvironmentConfig
|
900
929
|
include Google::Apis::Core::Hashable
|
901
930
|
|
931
|
+
# Optional. The CIDR block from which IP range for Cloud Composer Network in
|
932
|
+
# tenant project will be reserved. Needs to be disjoint from
|
933
|
+
# private_cluster_config.master_ipv4_cidr_block and cloud_sql_ipv4_cidr_block.
|
934
|
+
# This field is supported for Cloud Composer environments in versions composer-2.
|
935
|
+
# *.*-airflow-*.*.* and newer.
|
936
|
+
# Corresponds to the JSON property `cloudComposerNetworkIpv4CidrBlock`
|
937
|
+
# @return [String]
|
938
|
+
attr_accessor :cloud_composer_network_ipv4_cidr_block
|
939
|
+
|
940
|
+
# Output only. The IP range reserved for the tenant project's Cloud Composer
|
941
|
+
# network. This field is supported for Cloud Composer environments in versions
|
942
|
+
# composer-2.*.*-airflow-*.*.* and newer.
|
943
|
+
# Corresponds to the JSON property `cloudComposerNetworkIpv4ReservedRange`
|
944
|
+
# @return [String]
|
945
|
+
attr_accessor :cloud_composer_network_ipv4_reserved_range
|
946
|
+
|
902
947
|
# Optional. The CIDR block from which IP range in tenant project will be
|
903
948
|
# reserved for Cloud SQL. Needs to be disjoint from web_server_ipv4_cidr_block
|
904
949
|
# Corresponds to the JSON property `cloudSqlIpv4CidrBlock`
|
@@ -937,6 +982,8 @@ module Google
|
|
937
982
|
|
938
983
|
# Update properties of this object
|
939
984
|
def update!(**args)
|
985
|
+
@cloud_composer_network_ipv4_cidr_block = args[:cloud_composer_network_ipv4_cidr_block] if args.key?(:cloud_composer_network_ipv4_cidr_block)
|
986
|
+
@cloud_composer_network_ipv4_reserved_range = args[:cloud_composer_network_ipv4_reserved_range] if args.key?(:cloud_composer_network_ipv4_reserved_range)
|
940
987
|
@cloud_sql_ipv4_cidr_block = args[:cloud_sql_ipv4_cidr_block] if args.key?(:cloud_sql_ipv4_cidr_block)
|
941
988
|
@enable_private_environment = args[:enable_private_environment] if args.key?(:enable_private_environment)
|
942
989
|
@private_cluster_config = args[:private_cluster_config] if args.key?(:private_cluster_config)
|
@@ -958,6 +1005,44 @@ module Google
|
|
958
1005
|
end
|
959
1006
|
end
|
960
1007
|
|
1008
|
+
# Configuration for resources used by Airflow schedulers.
|
1009
|
+
class SchedulerResource
|
1010
|
+
include Google::Apis::Core::Hashable
|
1011
|
+
|
1012
|
+
# Optional. The number of schedulers.
|
1013
|
+
# Corresponds to the JSON property `count`
|
1014
|
+
# @return [Fixnum]
|
1015
|
+
attr_accessor :count
|
1016
|
+
|
1017
|
+
# Optional. CPU request and limit for a single Airflow scheduler replica.
|
1018
|
+
# Corresponds to the JSON property `cpu`
|
1019
|
+
# @return [Float]
|
1020
|
+
attr_accessor :cpu
|
1021
|
+
|
1022
|
+
# Optional. Memory (GB) request and limit for a single Airflow scheduler replica.
|
1023
|
+
# Corresponds to the JSON property `memoryGb`
|
1024
|
+
# @return [Float]
|
1025
|
+
attr_accessor :memory_gb
|
1026
|
+
|
1027
|
+
# Optional. Storage (GB) request and limit for a single Airflow scheduler
|
1028
|
+
# replica.
|
1029
|
+
# Corresponds to the JSON property `storageGb`
|
1030
|
+
# @return [Float]
|
1031
|
+
attr_accessor :storage_gb
|
1032
|
+
|
1033
|
+
def initialize(**args)
|
1034
|
+
update!(**args)
|
1035
|
+
end
|
1036
|
+
|
1037
|
+
# Update properties of this object
|
1038
|
+
def update!(**args)
|
1039
|
+
@count = args[:count] if args.key?(:count)
|
1040
|
+
@cpu = args[:cpu] if args.key?(:cpu)
|
1041
|
+
@memory_gb = args[:memory_gb] if args.key?(:memory_gb)
|
1042
|
+
@storage_gb = args[:storage_gb] if args.key?(:storage_gb)
|
1043
|
+
end
|
1044
|
+
end
|
1045
|
+
|
961
1046
|
# Specifies the selection and configuration of software inside the environment.
|
962
1047
|
class SoftwareConfig
|
963
1048
|
include Google::Apis::Core::Hashable
|
@@ -1024,6 +1109,11 @@ module Google
|
|
1024
1109
|
# @return [String]
|
1025
1110
|
attr_accessor :python_version
|
1026
1111
|
|
1112
|
+
# Optional. The number of schedulers for Airflow.
|
1113
|
+
# Corresponds to the JSON property `schedulerCount`
|
1114
|
+
# @return [Fixnum]
|
1115
|
+
attr_accessor :scheduler_count
|
1116
|
+
|
1027
1117
|
def initialize(**args)
|
1028
1118
|
update!(**args)
|
1029
1119
|
end
|
@@ -1035,6 +1125,7 @@ module Google
|
|
1035
1125
|
@image_version = args[:image_version] if args.key?(:image_version)
|
1036
1126
|
@pypi_packages = args[:pypi_packages] if args.key?(:pypi_packages)
|
1037
1127
|
@python_version = args[:python_version] if args.key?(:python_version)
|
1128
|
+
@scheduler_count = args[:scheduler_count] if args.key?(:scheduler_count)
|
1038
1129
|
end
|
1039
1130
|
end
|
1040
1131
|
|
@@ -1118,6 +1209,113 @@ module Google
|
|
1118
1209
|
@allowed_ip_ranges = args[:allowed_ip_ranges] if args.key?(:allowed_ip_ranges)
|
1119
1210
|
end
|
1120
1211
|
end
|
1212
|
+
|
1213
|
+
# Configuration for resources used by Airflow web server.
|
1214
|
+
class WebServerResource
|
1215
|
+
include Google::Apis::Core::Hashable
|
1216
|
+
|
1217
|
+
# Optional. CPU request and limit for Airflow web server.
|
1218
|
+
# Corresponds to the JSON property `cpu`
|
1219
|
+
# @return [Float]
|
1220
|
+
attr_accessor :cpu
|
1221
|
+
|
1222
|
+
# Optional. Memory (GB) request and limit for Airflow web server.
|
1223
|
+
# Corresponds to the JSON property `memoryGb`
|
1224
|
+
# @return [Float]
|
1225
|
+
attr_accessor :memory_gb
|
1226
|
+
|
1227
|
+
# Optional. Storage (GB) request and limit for Airflow web server.
|
1228
|
+
# Corresponds to the JSON property `storageGb`
|
1229
|
+
# @return [Float]
|
1230
|
+
attr_accessor :storage_gb
|
1231
|
+
|
1232
|
+
def initialize(**args)
|
1233
|
+
update!(**args)
|
1234
|
+
end
|
1235
|
+
|
1236
|
+
# Update properties of this object
|
1237
|
+
def update!(**args)
|
1238
|
+
@cpu = args[:cpu] if args.key?(:cpu)
|
1239
|
+
@memory_gb = args[:memory_gb] if args.key?(:memory_gb)
|
1240
|
+
@storage_gb = args[:storage_gb] if args.key?(:storage_gb)
|
1241
|
+
end
|
1242
|
+
end
|
1243
|
+
|
1244
|
+
# Configuration for resources used by Airflow workers.
|
1245
|
+
class WorkerResource
|
1246
|
+
include Google::Apis::Core::Hashable
|
1247
|
+
|
1248
|
+
# Optional. CPU request and limit for a single Airflow worker replica.
|
1249
|
+
# Corresponds to the JSON property `cpu`
|
1250
|
+
# @return [Float]
|
1251
|
+
attr_accessor :cpu
|
1252
|
+
|
1253
|
+
# Optional. Maximum number of workers for autoscaling.
|
1254
|
+
# Corresponds to the JSON property `maxCount`
|
1255
|
+
# @return [Fixnum]
|
1256
|
+
attr_accessor :max_count
|
1257
|
+
|
1258
|
+
# Optional. Memory (GB) request and limit for a single Airflow worker replica.
|
1259
|
+
# Corresponds to the JSON property `memoryGb`
|
1260
|
+
# @return [Float]
|
1261
|
+
attr_accessor :memory_gb
|
1262
|
+
|
1263
|
+
# Optional. Minimum number of workers for autoscaling.
|
1264
|
+
# Corresponds to the JSON property `minCount`
|
1265
|
+
# @return [Fixnum]
|
1266
|
+
attr_accessor :min_count
|
1267
|
+
|
1268
|
+
# Optional. Storage (GB) request and limit for a single Airflow worker replica.
|
1269
|
+
# Corresponds to the JSON property `storageGb`
|
1270
|
+
# @return [Float]
|
1271
|
+
attr_accessor :storage_gb
|
1272
|
+
|
1273
|
+
def initialize(**args)
|
1274
|
+
update!(**args)
|
1275
|
+
end
|
1276
|
+
|
1277
|
+
# Update properties of this object
|
1278
|
+
def update!(**args)
|
1279
|
+
@cpu = args[:cpu] if args.key?(:cpu)
|
1280
|
+
@max_count = args[:max_count] if args.key?(:max_count)
|
1281
|
+
@memory_gb = args[:memory_gb] if args.key?(:memory_gb)
|
1282
|
+
@min_count = args[:min_count] if args.key?(:min_count)
|
1283
|
+
@storage_gb = args[:storage_gb] if args.key?(:storage_gb)
|
1284
|
+
end
|
1285
|
+
end
|
1286
|
+
|
1287
|
+
# The Kubernetes workloads configuration for GKE cluster associated with the
|
1288
|
+
# Cloud Composer environment. Supported for Cloud Composer environments in
|
1289
|
+
# versions composer-2.*.*-airflow-*.*.* and newer.
|
1290
|
+
class WorkloadsConfig
|
1291
|
+
include Google::Apis::Core::Hashable
|
1292
|
+
|
1293
|
+
# Configuration for resources used by Airflow schedulers.
|
1294
|
+
# Corresponds to the JSON property `scheduler`
|
1295
|
+
# @return [Google::Apis::ComposerV1beta1::SchedulerResource]
|
1296
|
+
attr_accessor :scheduler
|
1297
|
+
|
1298
|
+
# Configuration for resources used by Airflow web server.
|
1299
|
+
# Corresponds to the JSON property `webServer`
|
1300
|
+
# @return [Google::Apis::ComposerV1beta1::WebServerResource]
|
1301
|
+
attr_accessor :web_server
|
1302
|
+
|
1303
|
+
# Configuration for resources used by Airflow workers.
|
1304
|
+
# Corresponds to the JSON property `worker`
|
1305
|
+
# @return [Google::Apis::ComposerV1beta1::WorkerResource]
|
1306
|
+
attr_accessor :worker
|
1307
|
+
|
1308
|
+
def initialize(**args)
|
1309
|
+
update!(**args)
|
1310
|
+
end
|
1311
|
+
|
1312
|
+
# Update properties of this object
|
1313
|
+
def update!(**args)
|
1314
|
+
@scheduler = args[:scheduler] if args.key?(:scheduler)
|
1315
|
+
@web_server = args[:web_server] if args.key?(:web_server)
|
1316
|
+
@worker = args[:worker] if args.key?(:worker)
|
1317
|
+
end
|
1318
|
+
end
|
1121
1319
|
end
|
1122
1320
|
end
|
1123
1321
|
end
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ComposerV1beta1
|
18
18
|
# Version of the google-apis-composer_v1beta1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.10.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210705"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -148,6 +148,12 @@ module Google
|
|
148
148
|
include Google::Apis::Core::JsonObjectSupport
|
149
149
|
end
|
150
150
|
|
151
|
+
class SchedulerResource
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
|
+
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
155
|
+
end
|
156
|
+
|
151
157
|
class SoftwareConfig
|
152
158
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
159
|
|
@@ -172,6 +178,24 @@ module Google
|
|
172
178
|
include Google::Apis::Core::JsonObjectSupport
|
173
179
|
end
|
174
180
|
|
181
|
+
class WebServerResource
|
182
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
|
+
|
184
|
+
include Google::Apis::Core::JsonObjectSupport
|
185
|
+
end
|
186
|
+
|
187
|
+
class WorkerResource
|
188
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
|
+
|
190
|
+
include Google::Apis::Core::JsonObjectSupport
|
191
|
+
end
|
192
|
+
|
193
|
+
class WorkloadsConfig
|
194
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
|
+
|
196
|
+
include Google::Apis::Core::JsonObjectSupport
|
197
|
+
end
|
198
|
+
|
175
199
|
class AllowedIpRange
|
176
200
|
# @private
|
177
201
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -192,7 +216,9 @@ module Google
|
|
192
216
|
class Representation < Google::Apis::Core::JsonRepresentation
|
193
217
|
property :build_log_uri, as: 'buildLogUri'
|
194
218
|
property :contains_pypi_modules_conflict, as: 'containsPypiModulesConflict'
|
219
|
+
property :image_version, as: 'imageVersion'
|
195
220
|
property :pypi_conflict_build_log_extract, as: 'pypiConflictBuildLogExtract'
|
221
|
+
hash :pypi_dependencies, as: 'pypiDependencies'
|
196
222
|
end
|
197
223
|
end
|
198
224
|
|
@@ -248,6 +274,7 @@ module Google
|
|
248
274
|
|
249
275
|
property :encryption_config, as: 'encryptionConfig', class: Google::Apis::ComposerV1beta1::EncryptionConfig, decorator: Google::Apis::ComposerV1beta1::EncryptionConfig::Representation
|
250
276
|
|
277
|
+
property :environment_size, as: 'environmentSize'
|
251
278
|
property :gke_cluster, as: 'gkeCluster'
|
252
279
|
property :maintenance_window, as: 'maintenanceWindow', class: Google::Apis::ComposerV1beta1::MaintenanceWindow, decorator: Google::Apis::ComposerV1beta1::MaintenanceWindow::Representation
|
253
280
|
|
@@ -262,6 +289,8 @@ module Google
|
|
262
289
|
|
263
290
|
property :web_server_network_access_control, as: 'webServerNetworkAccessControl', class: Google::Apis::ComposerV1beta1::WebServerNetworkAccessControl, decorator: Google::Apis::ComposerV1beta1::WebServerNetworkAccessControl::Representation
|
264
291
|
|
292
|
+
property :workloads_config, as: 'workloadsConfig', class: Google::Apis::ComposerV1beta1::WorkloadsConfig, decorator: Google::Apis::ComposerV1beta1::WorkloadsConfig::Representation
|
293
|
+
|
265
294
|
end
|
266
295
|
end
|
267
296
|
|
@@ -378,6 +407,8 @@ module Google
|
|
378
407
|
class PrivateEnvironmentConfig
|
379
408
|
# @private
|
380
409
|
class Representation < Google::Apis::Core::JsonRepresentation
|
410
|
+
property :cloud_composer_network_ipv4_cidr_block, as: 'cloudComposerNetworkIpv4CidrBlock'
|
411
|
+
property :cloud_composer_network_ipv4_reserved_range, as: 'cloudComposerNetworkIpv4ReservedRange'
|
381
412
|
property :cloud_sql_ipv4_cidr_block, as: 'cloudSqlIpv4CidrBlock'
|
382
413
|
property :enable_private_environment, as: 'enablePrivateEnvironment'
|
383
414
|
property :private_cluster_config, as: 'privateClusterConfig', class: Google::Apis::ComposerV1beta1::PrivateClusterConfig, decorator: Google::Apis::ComposerV1beta1::PrivateClusterConfig::Representation
|
@@ -393,6 +424,16 @@ module Google
|
|
393
424
|
end
|
394
425
|
end
|
395
426
|
|
427
|
+
class SchedulerResource
|
428
|
+
# @private
|
429
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
430
|
+
property :count, as: 'count'
|
431
|
+
property :cpu, as: 'cpu'
|
432
|
+
property :memory_gb, as: 'memoryGb'
|
433
|
+
property :storage_gb, as: 'storageGb'
|
434
|
+
end
|
435
|
+
end
|
436
|
+
|
396
437
|
class SoftwareConfig
|
397
438
|
# @private
|
398
439
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -401,6 +442,7 @@ module Google
|
|
401
442
|
property :image_version, as: 'imageVersion'
|
402
443
|
hash :pypi_packages, as: 'pypiPackages'
|
403
444
|
property :python_version, as: 'pythonVersion'
|
445
|
+
property :scheduler_count, as: 'schedulerCount'
|
404
446
|
end
|
405
447
|
end
|
406
448
|
|
@@ -427,6 +469,38 @@ module Google
|
|
427
469
|
|
428
470
|
end
|
429
471
|
end
|
472
|
+
|
473
|
+
class WebServerResource
|
474
|
+
# @private
|
475
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
476
|
+
property :cpu, as: 'cpu'
|
477
|
+
property :memory_gb, as: 'memoryGb'
|
478
|
+
property :storage_gb, as: 'storageGb'
|
479
|
+
end
|
480
|
+
end
|
481
|
+
|
482
|
+
class WorkerResource
|
483
|
+
# @private
|
484
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
485
|
+
property :cpu, as: 'cpu'
|
486
|
+
property :max_count, as: 'maxCount'
|
487
|
+
property :memory_gb, as: 'memoryGb'
|
488
|
+
property :min_count, as: 'minCount'
|
489
|
+
property :storage_gb, as: 'storageGb'
|
490
|
+
end
|
491
|
+
end
|
492
|
+
|
493
|
+
class WorkloadsConfig
|
494
|
+
# @private
|
495
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
496
|
+
property :scheduler, as: 'scheduler', class: Google::Apis::ComposerV1beta1::SchedulerResource, decorator: Google::Apis::ComposerV1beta1::SchedulerResource::Representation
|
497
|
+
|
498
|
+
property :web_server, as: 'webServer', class: Google::Apis::ComposerV1beta1::WebServerResource, decorator: Google::Apis::ComposerV1beta1::WebServerResource::Representation
|
499
|
+
|
500
|
+
property :worker, as: 'worker', class: Google::Apis::ComposerV1beta1::WorkerResource, decorator: Google::Apis::ComposerV1beta1::WorkerResource::Representation
|
501
|
+
|
502
|
+
end
|
503
|
+
end
|
430
504
|
end
|
431
505
|
end
|
432
506
|
end
|
@@ -246,51 +246,56 @@ module Google
|
|
246
246
|
# pre-existing user-specified PyPI packages and install botocore at version 1.7.
|
247
247
|
# 14, the `updateMask` would contain the path "config.softwareConfig.
|
248
248
|
# pypiPackages", and the patch environment would be the following: ` "config":` "
|
249
|
-
# softwareConfig":` "pypiPackages":` "botocore":"==1.7.14" ` ` ` `
|
250
|
-
# the following fields can be updated: * config.softwareConfig.
|
251
|
-
# Replace all custom custom PyPI packages. If a replacement
|
252
|
-
# included in `environment`, all custom PyPI packages are
|
253
|
-
# error to provide both this mask and a mask specifying an
|
254
|
-
# config.softwareConfig.pypiPackages
|
255
|
-
# package packagename
|
256
|
-
# it in `updateMask`, and omit the mapping for it in
|
257
|
-
# softwareConfig.pypiPackages`. It is an error to provide
|
258
|
-
# form and the
|
259
|
-
# environment labels. If a replacement labels map is not
|
260
|
-
# environment`, all labels are cleared. It is an error to provide
|
261
|
-
# and a mask specifying one or more individual labels. * labels
|
262
|
-
# the label named labelName
|
263
|
-
# include it in `updateMask` and omit its mapping in `
|
264
|
-
# an error to provide both a mask of this form and
|
265
|
-
# nodeCount * Horizontally scale the number of
|
266
|
-
# integer greater than or equal to 3 must be
|
267
|
-
# field. * config.
|
268
|
-
#
|
269
|
-
#
|
270
|
-
#
|
271
|
-
# overrides
|
272
|
-
#
|
273
|
-
#
|
274
|
-
#
|
275
|
-
#
|
276
|
-
# in `
|
277
|
-
#
|
278
|
-
#
|
249
|
+
# softwareConfig":` "pypiPackages":` "botocore":"==1.7.14" ` ` ` ` **Note:**
|
250
|
+
# Only the following fields can be updated: * `config.softwareConfig.
|
251
|
+
# pypiPackages` * Replace all custom custom PyPI packages. If a replacement
|
252
|
+
# package map is not included in `environment`, all custom PyPI packages are
|
253
|
+
# cleared. It is an error to provide both this mask and a mask specifying an
|
254
|
+
# individual package. * `config.softwareConfig.pypiPackages.`packagename *
|
255
|
+
# Update the custom PyPI package *packagename*, preserving other packages. To
|
256
|
+
# delete the package, include it in `updateMask`, and omit the mapping for it in
|
257
|
+
# `environment.config.softwareConfig.pypiPackages`. It is an error to provide
|
258
|
+
# both a mask of this form and the `config.softwareConfig.pypiPackages` mask. * `
|
259
|
+
# labels` * Replace all environment labels. If a replacement labels map is not
|
260
|
+
# included in `environment`, all labels are cleared. It is an error to provide
|
261
|
+
# both this mask and a mask specifying one or more individual labels. * `labels.`
|
262
|
+
# labelName * Set the label named *labelName*, while preserving other labels. To
|
263
|
+
# delete the label, include it in `updateMask` and omit its mapping in `
|
264
|
+
# environment.labels`. It is an error to provide both a mask of this form and
|
265
|
+
# the `labels` mask. * `config.nodeCount` * Horizontally scale the number of
|
266
|
+
# nodes in the environment. An integer greater than or equal to 3 must be
|
267
|
+
# provided in the `config.nodeCount` field. * `config.
|
268
|
+
# webServerNetworkAccessControl` * Replace the environment's current
|
269
|
+
# WebServerNetworkAccessControl. * `config.softwareConfig.airflowConfigOverrides`
|
270
|
+
# * Replace all Apache Airflow config overrides. If a replacement config
|
271
|
+
# overrides map is not included in `environment`, all config overrides are
|
272
|
+
# cleared. It is an error to provide both this mask and a mask specifying one or
|
273
|
+
# more individual config overrides. * `config.softwareConfig.
|
274
|
+
# airflowConfigOverrides.`section-name * Override the Apache Airflow config
|
275
|
+
# property *name* in the section named *section*, preserving other properties.
|
276
|
+
# To delete the property override, include it in `updateMask` and omit its
|
277
|
+
# mapping in `environment.config.softwareConfig.airflowConfigOverrides`. It is
|
278
|
+
# an error to provide both a mask of this form and the `config.softwareConfig.
|
279
|
+
# airflowConfigOverrides` mask. * `config.softwareConfig.envVariables` * Replace
|
279
280
|
# all environment variables. If a replacement environment variable map is not
|
280
281
|
# included in `environment`, all custom environment variables are cleared. It is
|
281
282
|
# an error to provide both this mask and a mask specifying one or more
|
282
|
-
# individual environment variables. * config.softwareConfig.imageVersion *
|
283
|
+
# individual environment variables. * `config.softwareConfig.imageVersion` *
|
283
284
|
# Upgrade the version of the environment in-place. Refer to `SoftwareConfig.
|
284
285
|
# image_version` for information on how to format the new image version.
|
285
286
|
# Additionally, the new image version cannot effect a version downgrade and must
|
286
287
|
# match the current image version's Composer major version and Airflow major and
|
287
|
-
# minor versions. Consult the Cloud Composer Version List
|
288
|
-
#
|
288
|
+
# minor versions. Consult the [Cloud Composer Version List](https://cloud.google.
|
289
|
+
# com/composer/docs/concepts/versioning/composer-versions) for valid values. * `
|
290
|
+
# config.softwareConfig.schedulerCount` * Horizontally scale the number of
|
291
|
+
# schedulers in Airflow. A positive integer not greater than the number of nodes
|
292
|
+
# must be provided in the `config.softwareConfig.schedulerCount` field. * `
|
293
|
+
# config.databaseConfig.machineType` * Cloud SQL machine type used by Airflow
|
289
294
|
# database. It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-
|
290
|
-
# standard-8 or db-n1-standard-16. * config.webServerConfig.machineType *
|
295
|
+
# standard-8 or db-n1-standard-16. * `config.webServerConfig.machineType` *
|
291
296
|
# Machine type on which Airflow web server is running. It has to be one of:
|
292
297
|
# composer-n1-webserver-2, composer-n1-webserver-4 or composer-n1-webserver-8. *
|
293
|
-
# config.maintenanceWindow * Maintenance window during which Cloud Composer
|
298
|
+
# `config.maintenanceWindow` * Maintenance window during which Cloud Composer
|
294
299
|
# components may be under maintenance.
|
295
300
|
# @param [String] fields
|
296
301
|
# Selector specifying which fields to include in a partial response.
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-composer_v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.10.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-07-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.4'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 2.a
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0.4'
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
32
|
+
version: 2.a
|
27
33
|
description: This is the simple REST client for Cloud Composer API V1beta1. Simple
|
28
34
|
REST clients are Ruby client libraries that provide access to Google services via
|
29
35
|
their HTTP REST API endpoints. These libraries are generated and updated automatically
|
@@ -52,7 +58,7 @@ licenses:
|
|
52
58
|
metadata:
|
53
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-composer_v1beta1/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-composer_v1beta1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-composer_v1beta1/v0.10.0
|
56
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-composer_v1beta1
|
57
63
|
post_install_message:
|
58
64
|
rdoc_options: []
|