google-apis-composer_v1beta1 0.8.0 → 0.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/lib/google/apis/composer_v1beta1/classes.rb +284 -30
- data/lib/google/apis/composer_v1beta1/gem_version.rb +2 -2
- data/lib/google/apis/composer_v1beta1/representations.rb +76 -0
- data/lib/google/apis/composer_v1beta1/service.rb +52 -37
- data/lib/google/apis/composer_v1beta1.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d6b36ca675fd8637b705fff0e531250d9876673f97e4c13490970e87af9d029c
|
4
|
+
data.tar.gz: a55d1a07645d2ef110cfcc97b2b39029a01c7ff8dcea7496ef7c73a374cab102
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dce08e04b31a3b80879b10ebdd8caadc03473e1673b07e39883cdf7863592624945b5632f4277c1086997c29a5170a132e04392f034747ad561b584f45f51fae
|
7
|
+
data.tar.gz: 80d83c0301ba27b77e2ca1e0bf7947ffd511f3b49cce09eff1bbc6eeaa7616d4dd617afe622408f11f5d07d5310316051dee2db53543d2469bf9c285d58cab4f
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release history for google-apis-composer_v1beta1
|
2
2
|
|
3
|
+
### v0.12.0 (2021-09-01)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210810
|
6
|
+
|
7
|
+
### v0.11.0 (2021-08-04)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210728
|
10
|
+
|
11
|
+
### v0.10.0 (2021-07-14)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210705
|
14
|
+
|
15
|
+
### v0.9.0 (2021-07-06)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210625
|
18
|
+
|
3
19
|
### v0.8.0 (2021-06-29)
|
4
20
|
|
5
21
|
* Regenerated using generator version 0.4.0
|
@@ -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,12 +122,15 @@ 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
|
|
118
131
|
# The configuration of Cloud SQL instance that is used by the Apache Airflow
|
119
|
-
# software.
|
132
|
+
# software. Supported for Cloud Composer environments in versions composer-1.*.*-
|
133
|
+
# airflow-*.*.*.
|
120
134
|
class DatabaseConfig
|
121
135
|
include Google::Apis::Core::Hashable
|
122
136
|
|
@@ -196,6 +210,8 @@ module Google
|
|
196
210
|
end
|
197
211
|
|
198
212
|
# The encryption options for the Cloud Composer environment and its dependencies.
|
213
|
+
# Supported for Cloud Composer environments in versions composer-1.*.*-airflow-*
|
214
|
+
# .*.*.
|
199
215
|
class EncryptionConfig
|
200
216
|
include Google::Apis::Core::Hashable
|
201
217
|
|
@@ -299,16 +315,26 @@ module Google
|
|
299
315
|
attr_accessor :dag_gcs_prefix
|
300
316
|
|
301
317
|
# The configuration of Cloud SQL instance that is used by the Apache Airflow
|
302
|
-
# software.
|
318
|
+
# software. Supported for Cloud Composer environments in versions composer-1.*.*-
|
319
|
+
# airflow-*.*.*.
|
303
320
|
# Corresponds to the JSON property `databaseConfig`
|
304
321
|
# @return [Google::Apis::ComposerV1beta1::DatabaseConfig]
|
305
322
|
attr_accessor :database_config
|
306
323
|
|
307
324
|
# The encryption options for the Cloud Composer environment and its dependencies.
|
325
|
+
# Supported for Cloud Composer environments in versions composer-1.*.*-airflow-*
|
326
|
+
# .*.*.
|
308
327
|
# Corresponds to the JSON property `encryptionConfig`
|
309
328
|
# @return [Google::Apis::ComposerV1beta1::EncryptionConfig]
|
310
329
|
attr_accessor :encryption_config
|
311
330
|
|
331
|
+
# Optional. The size of the Cloud Composer environment. This field is supported
|
332
|
+
# for Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and
|
333
|
+
# newer.
|
334
|
+
# Corresponds to the JSON property `environmentSize`
|
335
|
+
# @return [String]
|
336
|
+
attr_accessor :environment_size
|
337
|
+
|
312
338
|
# Output only. The Kubernetes Engine cluster used to run this environment.
|
313
339
|
# Corresponds to the JSON property `gkeCluster`
|
314
340
|
# @return [String]
|
@@ -330,7 +356,8 @@ module Google
|
|
330
356
|
attr_accessor :node_config
|
331
357
|
|
332
358
|
# The number of nodes in the Kubernetes Engine cluster that will be used to run
|
333
|
-
# this environment.
|
359
|
+
# this environment. This field is supported for Cloud Composer environments in
|
360
|
+
# versions composer-1.*.*-airflow-*.*.*.
|
334
361
|
# Corresponds to the JSON property `nodeCount`
|
335
362
|
# @return [Fixnum]
|
336
363
|
attr_accessor :node_count
|
@@ -347,15 +374,25 @@ module Google
|
|
347
374
|
attr_accessor :software_config
|
348
375
|
|
349
376
|
# The configuration settings for the Airflow web server App Engine instance.
|
377
|
+
# Supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.
|
378
|
+
# *.*.
|
350
379
|
# Corresponds to the JSON property `webServerConfig`
|
351
380
|
# @return [Google::Apis::ComposerV1beta1::WebServerConfig]
|
352
381
|
attr_accessor :web_server_config
|
353
382
|
|
354
|
-
# Network-level access control policy for the Airflow web server.
|
383
|
+
# Network-level access control policy for the Airflow web server. Supported for
|
384
|
+
# Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
355
385
|
# Corresponds to the JSON property `webServerNetworkAccessControl`
|
356
386
|
# @return [Google::Apis::ComposerV1beta1::WebServerNetworkAccessControl]
|
357
387
|
attr_accessor :web_server_network_access_control
|
358
388
|
|
389
|
+
# The Kubernetes workloads configuration for GKE cluster associated with the
|
390
|
+
# Cloud Composer environment. Supported for Cloud Composer environments in
|
391
|
+
# versions composer-2.*.*-airflow-*.*.* and newer.
|
392
|
+
# Corresponds to the JSON property `workloadsConfig`
|
393
|
+
# @return [Google::Apis::ComposerV1beta1::WorkloadsConfig]
|
394
|
+
attr_accessor :workloads_config
|
395
|
+
|
359
396
|
def initialize(**args)
|
360
397
|
update!(**args)
|
361
398
|
end
|
@@ -366,6 +403,7 @@ module Google
|
|
366
403
|
@dag_gcs_prefix = args[:dag_gcs_prefix] if args.key?(:dag_gcs_prefix)
|
367
404
|
@database_config = args[:database_config] if args.key?(:database_config)
|
368
405
|
@encryption_config = args[:encryption_config] if args.key?(:encryption_config)
|
406
|
+
@environment_size = args[:environment_size] if args.key?(:environment_size)
|
369
407
|
@gke_cluster = args[:gke_cluster] if args.key?(:gke_cluster)
|
370
408
|
@maintenance_window = args[:maintenance_window] if args.key?(:maintenance_window)
|
371
409
|
@node_config = args[:node_config] if args.key?(:node_config)
|
@@ -374,6 +412,7 @@ module Google
|
|
374
412
|
@software_config = args[:software_config] if args.key?(:software_config)
|
375
413
|
@web_server_config = args[:web_server_config] if args.key?(:web_server_config)
|
376
414
|
@web_server_network_access_control = args[:web_server_network_access_control] if args.key?(:web_server_network_access_control)
|
415
|
+
@workloads_config = args[:workloads_config] if args.key?(:workloads_config)
|
377
416
|
end
|
378
417
|
end
|
379
418
|
|
@@ -382,12 +421,14 @@ module Google
|
|
382
421
|
include Google::Apis::Core::Hashable
|
383
422
|
|
384
423
|
# Optional. The IP address range used to allocate IP addresses to pods in the
|
385
|
-
# cluster. This field is applicable only when `use_ip_aliases` is true.
|
386
|
-
#
|
387
|
-
#
|
388
|
-
#
|
389
|
-
#
|
390
|
-
#
|
424
|
+
# cluster. This field is applicable only when `use_ip_aliases` is true. For
|
425
|
+
# Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*, this
|
426
|
+
# field is applicable only when `use_ip_aliases` is true. Set to blank to have
|
427
|
+
# GKE choose a range with the default size. Set to /netmask (e.g. `/14`) to have
|
428
|
+
# GKE choose a range with a specific netmask. Set to a [CIDR](https://en.
|
429
|
+
# wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/
|
430
|
+
# 14`) from the RFC-1918 private networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `
|
431
|
+
# 192.168.0.0/16`) to pick a specific range to use. Specify `
|
391
432
|
# cluster_secondary_range_name` or `cluster_ipv4_cidr_block` but not both.
|
392
433
|
# Corresponds to the JSON property `clusterIpv4CidrBlock`
|
393
434
|
# @return [String]
|
@@ -396,19 +437,23 @@ module Google
|
|
396
437
|
# Optional. The name of the cluster's secondary range used to allocate IP
|
397
438
|
# addresses to pods. Specify either `cluster_secondary_range_name` or `
|
398
439
|
# cluster_ipv4_cidr_block` but not both. This field is applicable only when `
|
399
|
-
# use_ip_aliases` is true.
|
440
|
+
# use_ip_aliases` is true. For Cloud Composer environments in versions composer-
|
441
|
+
# 1.*.*-airflow-*.*.*, this field is applicable only when `use_ip_aliases` is
|
442
|
+
# true.
|
400
443
|
# Corresponds to the JSON property `clusterSecondaryRangeName`
|
401
444
|
# @return [String]
|
402
445
|
attr_accessor :cluster_secondary_range_name
|
403
446
|
|
404
447
|
# Optional. The IP address range of the services IP addresses in this cluster.
|
405
|
-
# This field is applicable only when `use_ip_aliases` is true.
|
406
|
-
#
|
407
|
-
#
|
408
|
-
#
|
409
|
-
#
|
410
|
-
#
|
411
|
-
#
|
448
|
+
# This field is applicable only when `use_ip_aliases` is true. For Cloud
|
449
|
+
# Composer environments in versions composer-1.*.*-airflow-*.*.*, this field is
|
450
|
+
# applicable only when `use_ip_aliases` is true. Set to blank to have GKE choose
|
451
|
+
# a range with the default size. Set to /netmask (e.g. `/14`) to have GKE choose
|
452
|
+
# a range with a specific netmask. Set to a [CIDR](https://en.wikipedia.org/wiki/
|
453
|
+
# Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-
|
454
|
+
# 1918 private networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`)
|
455
|
+
# to pick a specific range to use. Specify `services_secondary_range_name` or `
|
456
|
+
# services_ipv4_cidr_block` but not both.
|
412
457
|
# Corresponds to the JSON property `servicesIpv4CidrBlock`
|
413
458
|
# @return [String]
|
414
459
|
attr_accessor :services_ipv4_cidr_block
|
@@ -416,13 +461,17 @@ module Google
|
|
416
461
|
# Optional. The name of the services' secondary range used to allocate IP
|
417
462
|
# addresses to the cluster. Specify either `services_secondary_range_name` or `
|
418
463
|
# services_ipv4_cidr_block` but not both. This field is applicable only when `
|
419
|
-
# use_ip_aliases` is true.
|
464
|
+
# use_ip_aliases` is true. For Cloud Composer environments in versions composer-
|
465
|
+
# 1.*.*-airflow-*.*.*, this field is applicable only when `use_ip_aliases` is
|
466
|
+
# true.
|
420
467
|
# Corresponds to the JSON property `servicesSecondaryRangeName`
|
421
468
|
# @return [String]
|
422
469
|
attr_accessor :services_secondary_range_name
|
423
470
|
|
424
471
|
# Optional. Whether or not to enable Alias IPs in the GKE cluster. If `true`, a
|
425
|
-
# VPC-native cluster is created.
|
472
|
+
# VPC-native cluster is created. This field is only supported for Cloud Composer
|
473
|
+
# environments in versions composer-1.*.*-airflow-*.*.*. Environments in newer
|
474
|
+
# versions always use VPC-native GKE clusters.
|
426
475
|
# Corresponds to the JSON property `useIpAliases`
|
427
476
|
# @return [Boolean]
|
428
477
|
attr_accessor :use_ip_aliases
|
@@ -625,11 +674,21 @@ module Google
|
|
625
674
|
include Google::Apis::Core::Hashable
|
626
675
|
|
627
676
|
# Optional. The disk size in GB used for node VMs. Minimum size is 20GB. If
|
628
|
-
# unspecified, defaults to 100GB. Cannot be updated.
|
677
|
+
# unspecified, defaults to 100GB. Cannot be updated. This field is supported for
|
678
|
+
# Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
629
679
|
# Corresponds to the JSON property `diskSizeGb`
|
630
680
|
# @return [Fixnum]
|
631
681
|
attr_accessor :disk_size_gb
|
632
682
|
|
683
|
+
# Optional. Deploys 'ip-masq-agent' daemon set in the GKE cluster and defines
|
684
|
+
# nonMasqueradeCIDRs equals to pod IP range so IP masquerading is used for all
|
685
|
+
# destination addresses, except between pods traffic. See: https://cloud.google.
|
686
|
+
# com/kubernetes-engine/docs/how-to/ip-masquerade-agent
|
687
|
+
# Corresponds to the JSON property `enableIpMasqAgent`
|
688
|
+
# @return [Boolean]
|
689
|
+
attr_accessor :enable_ip_masq_agent
|
690
|
+
alias_method :enable_ip_masq_agent?, :enable_ip_masq_agent
|
691
|
+
|
633
692
|
# Configuration for controlling how IPs are allocated in the GKE cluster.
|
634
693
|
# Corresponds to the JSON property `ipAllocationPolicy`
|
635
694
|
# @return [Google::Apis::ComposerV1beta1::IpAllocationPolicy]
|
@@ -645,7 +704,9 @@ module Google
|
|
645
704
|
# zone in the Compute Engine region corresponding to the Cloud Composer location,
|
646
705
|
# and propagate that choice to both fields. If only one field (`location` or `
|
647
706
|
# nodeConfig.machineType`) is specified, the location information from the
|
648
|
-
# specified field will be propagated to the unspecified field.
|
707
|
+
# specified field will be propagated to the unspecified field. This field is
|
708
|
+
# supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.
|
709
|
+
# *.*.
|
649
710
|
# Corresponds to the JSON property `location`
|
650
711
|
# @return [String]
|
651
712
|
attr_accessor :location
|
@@ -663,6 +724,8 @@ module Google
|
|
663
724
|
# field will be propagated to the unspecified field. The `machineTypeId` must
|
664
725
|
# not be a [shared-core machine type](/compute/docs/machine-types#sharedcore).
|
665
726
|
# If this field is unspecified, the `machineTypeId` defaults to "n1-standard-1".
|
727
|
+
# This field is supported for Cloud Composer environments in versions composer-1.
|
728
|
+
# *.*-airflow-*.*.*.
|
666
729
|
# Corresponds to the JSON property `machineType`
|
667
730
|
# @return [String]
|
668
731
|
attr_accessor :machine_type
|
@@ -675,7 +738,8 @@ module Google
|
|
675
738
|
# newly created node pools if their value is not explicitly set during node pool
|
676
739
|
# creation. For more information, see [Optimizing IP address allocation] (https:/
|
677
740
|
# /cloud.google.com/kubernetes-engine/docs/how-to/flexible-pod-cidr). Cannot be
|
678
|
-
# updated.
|
741
|
+
# updated. This field is supported for Cloud Composer environments in versions
|
742
|
+
# composer-1.*.*-airflow-*.*.*.
|
679
743
|
# Corresponds to the JSON property `maxPodsPerNode`
|
680
744
|
# @return [Fixnum]
|
681
745
|
attr_accessor :max_pods_per_node
|
@@ -693,14 +757,15 @@ module Google
|
|
693
757
|
|
694
758
|
# Optional. The set of Google API scopes to be made available on all node VMs.
|
695
759
|
# If `oauth_scopes` is empty, defaults to ["https://www.googleapis.com/auth/
|
696
|
-
# cloud-platform"]. Cannot be updated.
|
760
|
+
# cloud-platform"]. Cannot be updated. This field is supported for Cloud
|
761
|
+
# Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
697
762
|
# Corresponds to the JSON property `oauthScopes`
|
698
763
|
# @return [Array<String>]
|
699
764
|
attr_accessor :oauth_scopes
|
700
765
|
|
701
766
|
# Optional. The Google Cloud Platform Service Account to be used by the
|
702
767
|
# workloads. If a service account is not specified, the "default" Compute Engine
|
703
|
-
# service account is used. Cannot be updated
|
768
|
+
# service account is used. Cannot be updated.
|
704
769
|
# Corresponds to the JSON property `serviceAccount`
|
705
770
|
# @return [String]
|
706
771
|
attr_accessor :service_account
|
@@ -718,7 +783,8 @@ module Google
|
|
718
783
|
# Optional. The list of instance tags applied to all node VMs. Tags are used to
|
719
784
|
# identify valid sources or targets for network firewalls. Each tag within the
|
720
785
|
# list must comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt). Cannot
|
721
|
-
# be updated.
|
786
|
+
# be updated. This field is supported for Cloud Composer environments in
|
787
|
+
# versions composer-1.*.*-airflow-*.*.*.
|
722
788
|
# Corresponds to the JSON property `tags`
|
723
789
|
# @return [Array<String>]
|
724
790
|
attr_accessor :tags
|
@@ -730,6 +796,7 @@ module Google
|
|
730
796
|
# Update properties of this object
|
731
797
|
def update!(**args)
|
732
798
|
@disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
|
799
|
+
@enable_ip_masq_agent = args[:enable_ip_masq_agent] if args.key?(:enable_ip_masq_agent)
|
733
800
|
@ip_allocation_policy = args[:ip_allocation_policy] if args.key?(:ip_allocation_policy)
|
734
801
|
@location = args[:location] if args.key?(:location)
|
735
802
|
@machine_type = args[:machine_type] if args.key?(:machine_type)
|
@@ -899,6 +966,22 @@ module Google
|
|
899
966
|
class PrivateEnvironmentConfig
|
900
967
|
include Google::Apis::Core::Hashable
|
901
968
|
|
969
|
+
# Optional. The CIDR block from which IP range for Cloud Composer Network in
|
970
|
+
# tenant project will be reserved. Needs to be disjoint from
|
971
|
+
# private_cluster_config.master_ipv4_cidr_block and cloud_sql_ipv4_cidr_block.
|
972
|
+
# This field is supported for Cloud Composer environments in versions composer-2.
|
973
|
+
# *.*-airflow-*.*.* and newer.
|
974
|
+
# Corresponds to the JSON property `cloudComposerNetworkIpv4CidrBlock`
|
975
|
+
# @return [String]
|
976
|
+
attr_accessor :cloud_composer_network_ipv4_cidr_block
|
977
|
+
|
978
|
+
# Output only. The IP range reserved for the tenant project's Cloud Composer
|
979
|
+
# network. This field is supported for Cloud Composer environments in versions
|
980
|
+
# composer-2.*.*-airflow-*.*.* and newer.
|
981
|
+
# Corresponds to the JSON property `cloudComposerNetworkIpv4ReservedRange`
|
982
|
+
# @return [String]
|
983
|
+
attr_accessor :cloud_composer_network_ipv4_reserved_range
|
984
|
+
|
902
985
|
# Optional. The CIDR block from which IP range in tenant project will be
|
903
986
|
# reserved for Cloud SQL. Needs to be disjoint from web_server_ipv4_cidr_block
|
904
987
|
# Corresponds to the JSON property `cloudSqlIpv4CidrBlock`
|
@@ -907,12 +990,20 @@ module Google
|
|
907
990
|
|
908
991
|
# Optional. If `true`, a Private IP Cloud Composer environment is created. If
|
909
992
|
# this field is set to true, `IPAllocationPolicy.use_ip_aliases` must be set to
|
910
|
-
# true
|
993
|
+
# true for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
911
994
|
# Corresponds to the JSON property `enablePrivateEnvironment`
|
912
995
|
# @return [Boolean]
|
913
996
|
attr_accessor :enable_private_environment
|
914
997
|
alias_method :enable_private_environment?, :enable_private_environment
|
915
998
|
|
999
|
+
# Optional. When enabled, IPs from public (non-RFC1918) ranges can be used for `
|
1000
|
+
# IPAllocationPolicy.cluster_ipv4_cidr_block` and `IPAllocationPolicy.
|
1001
|
+
# service_ipv4_cidr_block`.
|
1002
|
+
# Corresponds to the JSON property `enablePrivatelyUsedPublicIps`
|
1003
|
+
# @return [Boolean]
|
1004
|
+
attr_accessor :enable_privately_used_public_ips
|
1005
|
+
alias_method :enable_privately_used_public_ips?, :enable_privately_used_public_ips
|
1006
|
+
|
916
1007
|
# Configuration options for the private GKE cluster in a Cloud Composer
|
917
1008
|
# environment.
|
918
1009
|
# Corresponds to the JSON property `privateClusterConfig`
|
@@ -921,12 +1012,15 @@ module Google
|
|
921
1012
|
|
922
1013
|
# Optional. The CIDR block from which IP range for web server will be reserved.
|
923
1014
|
# Needs to be disjoint from private_cluster_config.master_ipv4_cidr_block and
|
924
|
-
# cloud_sql_ipv4_cidr_block.
|
1015
|
+
# cloud_sql_ipv4_cidr_block. This field is supported for Cloud Composer
|
1016
|
+
# environments in versions composer-1.*.*-airflow-*.*.*.
|
925
1017
|
# Corresponds to the JSON property `webServerIpv4CidrBlock`
|
926
1018
|
# @return [String]
|
927
1019
|
attr_accessor :web_server_ipv4_cidr_block
|
928
1020
|
|
929
1021
|
# Output only. The IP range reserved for the tenant project's App Engine VMs.
|
1022
|
+
# This field is supported for Cloud Composer environments in versions composer-1.
|
1023
|
+
# *.*-airflow-*.*.*.
|
930
1024
|
# Corresponds to the JSON property `webServerIpv4ReservedRange`
|
931
1025
|
# @return [String]
|
932
1026
|
attr_accessor :web_server_ipv4_reserved_range
|
@@ -937,8 +1031,11 @@ module Google
|
|
937
1031
|
|
938
1032
|
# Update properties of this object
|
939
1033
|
def update!(**args)
|
1034
|
+
@cloud_composer_network_ipv4_cidr_block = args[:cloud_composer_network_ipv4_cidr_block] if args.key?(:cloud_composer_network_ipv4_cidr_block)
|
1035
|
+
@cloud_composer_network_ipv4_reserved_range = args[:cloud_composer_network_ipv4_reserved_range] if args.key?(:cloud_composer_network_ipv4_reserved_range)
|
940
1036
|
@cloud_sql_ipv4_cidr_block = args[:cloud_sql_ipv4_cidr_block] if args.key?(:cloud_sql_ipv4_cidr_block)
|
941
1037
|
@enable_private_environment = args[:enable_private_environment] if args.key?(:enable_private_environment)
|
1038
|
+
@enable_privately_used_public_ips = args[:enable_privately_used_public_ips] if args.key?(:enable_privately_used_public_ips)
|
942
1039
|
@private_cluster_config = args[:private_cluster_config] if args.key?(:private_cluster_config)
|
943
1040
|
@web_server_ipv4_cidr_block = args[:web_server_ipv4_cidr_block] if args.key?(:web_server_ipv4_cidr_block)
|
944
1041
|
@web_server_ipv4_reserved_range = args[:web_server_ipv4_reserved_range] if args.key?(:web_server_ipv4_reserved_range)
|
@@ -958,6 +1055,44 @@ module Google
|
|
958
1055
|
end
|
959
1056
|
end
|
960
1057
|
|
1058
|
+
# Configuration for resources used by Airflow schedulers.
|
1059
|
+
class SchedulerResource
|
1060
|
+
include Google::Apis::Core::Hashable
|
1061
|
+
|
1062
|
+
# Optional. The number of schedulers.
|
1063
|
+
# Corresponds to the JSON property `count`
|
1064
|
+
# @return [Fixnum]
|
1065
|
+
attr_accessor :count
|
1066
|
+
|
1067
|
+
# Optional. CPU request and limit for a single Airflow scheduler replica.
|
1068
|
+
# Corresponds to the JSON property `cpu`
|
1069
|
+
# @return [Float]
|
1070
|
+
attr_accessor :cpu
|
1071
|
+
|
1072
|
+
# Optional. Memory (GB) request and limit for a single Airflow scheduler replica.
|
1073
|
+
# Corresponds to the JSON property `memoryGb`
|
1074
|
+
# @return [Float]
|
1075
|
+
attr_accessor :memory_gb
|
1076
|
+
|
1077
|
+
# Optional. Storage (GB) request and limit for a single Airflow scheduler
|
1078
|
+
# replica.
|
1079
|
+
# Corresponds to the JSON property `storageGb`
|
1080
|
+
# @return [Float]
|
1081
|
+
attr_accessor :storage_gb
|
1082
|
+
|
1083
|
+
def initialize(**args)
|
1084
|
+
update!(**args)
|
1085
|
+
end
|
1086
|
+
|
1087
|
+
# Update properties of this object
|
1088
|
+
def update!(**args)
|
1089
|
+
@count = args[:count] if args.key?(:count)
|
1090
|
+
@cpu = args[:cpu] if args.key?(:cpu)
|
1091
|
+
@memory_gb = args[:memory_gb] if args.key?(:memory_gb)
|
1092
|
+
@storage_gb = args[:storage_gb] if args.key?(:storage_gb)
|
1093
|
+
end
|
1094
|
+
end
|
1095
|
+
|
961
1096
|
# Specifies the selection and configuration of software inside the environment.
|
962
1097
|
class SoftwareConfig
|
963
1098
|
include Google::Apis::Core::Hashable
|
@@ -1019,11 +1154,19 @@ module Google
|
|
1019
1154
|
|
1020
1155
|
# Optional. The major version of Python used to run the Apache Airflow scheduler,
|
1021
1156
|
# worker, and webserver processes. Can be set to '2' or '3'. If not specified,
|
1022
|
-
# the default is '3'. Cannot be updated.
|
1157
|
+
# the default is '3'. Cannot be updated. This field is only supported for Cloud
|
1158
|
+
# Composer environments in versions composer-1.*.*-airflow-*.*.*. Environments
|
1159
|
+
# in newer versions always use Python major version 3.
|
1023
1160
|
# Corresponds to the JSON property `pythonVersion`
|
1024
1161
|
# @return [String]
|
1025
1162
|
attr_accessor :python_version
|
1026
1163
|
|
1164
|
+
# Optional. The number of schedulers for Airflow. This field is supported for
|
1165
|
+
# Cloud Composer environments in versions composer-1.*.*-airflow-2.*.*.
|
1166
|
+
# Corresponds to the JSON property `schedulerCount`
|
1167
|
+
# @return [Fixnum]
|
1168
|
+
attr_accessor :scheduler_count
|
1169
|
+
|
1027
1170
|
def initialize(**args)
|
1028
1171
|
update!(**args)
|
1029
1172
|
end
|
@@ -1035,6 +1178,7 @@ module Google
|
|
1035
1178
|
@image_version = args[:image_version] if args.key?(:image_version)
|
1036
1179
|
@pypi_packages = args[:pypi_packages] if args.key?(:pypi_packages)
|
1037
1180
|
@python_version = args[:python_version] if args.key?(:python_version)
|
1181
|
+
@scheduler_count = args[:scheduler_count] if args.key?(:scheduler_count)
|
1038
1182
|
end
|
1039
1183
|
end
|
1040
1184
|
|
@@ -1078,6 +1222,8 @@ module Google
|
|
1078
1222
|
end
|
1079
1223
|
|
1080
1224
|
# The configuration settings for the Airflow web server App Engine instance.
|
1225
|
+
# Supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.
|
1226
|
+
# *.*.
|
1081
1227
|
class WebServerConfig
|
1082
1228
|
include Google::Apis::Core::Hashable
|
1083
1229
|
|
@@ -1100,7 +1246,8 @@ module Google
|
|
1100
1246
|
end
|
1101
1247
|
end
|
1102
1248
|
|
1103
|
-
# Network-level access control policy for the Airflow web server.
|
1249
|
+
# Network-level access control policy for the Airflow web server. Supported for
|
1250
|
+
# Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
1104
1251
|
class WebServerNetworkAccessControl
|
1105
1252
|
include Google::Apis::Core::Hashable
|
1106
1253
|
|
@@ -1118,6 +1265,113 @@ module Google
|
|
1118
1265
|
@allowed_ip_ranges = args[:allowed_ip_ranges] if args.key?(:allowed_ip_ranges)
|
1119
1266
|
end
|
1120
1267
|
end
|
1268
|
+
|
1269
|
+
# Configuration for resources used by Airflow web server.
|
1270
|
+
class WebServerResource
|
1271
|
+
include Google::Apis::Core::Hashable
|
1272
|
+
|
1273
|
+
# Optional. CPU request and limit for Airflow web server.
|
1274
|
+
# Corresponds to the JSON property `cpu`
|
1275
|
+
# @return [Float]
|
1276
|
+
attr_accessor :cpu
|
1277
|
+
|
1278
|
+
# Optional. Memory (GB) request and limit for Airflow web server.
|
1279
|
+
# Corresponds to the JSON property `memoryGb`
|
1280
|
+
# @return [Float]
|
1281
|
+
attr_accessor :memory_gb
|
1282
|
+
|
1283
|
+
# Optional. Storage (GB) request and limit for Airflow web server.
|
1284
|
+
# Corresponds to the JSON property `storageGb`
|
1285
|
+
# @return [Float]
|
1286
|
+
attr_accessor :storage_gb
|
1287
|
+
|
1288
|
+
def initialize(**args)
|
1289
|
+
update!(**args)
|
1290
|
+
end
|
1291
|
+
|
1292
|
+
# Update properties of this object
|
1293
|
+
def update!(**args)
|
1294
|
+
@cpu = args[:cpu] if args.key?(:cpu)
|
1295
|
+
@memory_gb = args[:memory_gb] if args.key?(:memory_gb)
|
1296
|
+
@storage_gb = args[:storage_gb] if args.key?(:storage_gb)
|
1297
|
+
end
|
1298
|
+
end
|
1299
|
+
|
1300
|
+
# Configuration for resources used by Airflow workers.
|
1301
|
+
class WorkerResource
|
1302
|
+
include Google::Apis::Core::Hashable
|
1303
|
+
|
1304
|
+
# Optional. CPU request and limit for a single Airflow worker replica.
|
1305
|
+
# Corresponds to the JSON property `cpu`
|
1306
|
+
# @return [Float]
|
1307
|
+
attr_accessor :cpu
|
1308
|
+
|
1309
|
+
# Optional. Maximum number of workers for autoscaling.
|
1310
|
+
# Corresponds to the JSON property `maxCount`
|
1311
|
+
# @return [Fixnum]
|
1312
|
+
attr_accessor :max_count
|
1313
|
+
|
1314
|
+
# Optional. Memory (GB) request and limit for a single Airflow worker replica.
|
1315
|
+
# Corresponds to the JSON property `memoryGb`
|
1316
|
+
# @return [Float]
|
1317
|
+
attr_accessor :memory_gb
|
1318
|
+
|
1319
|
+
# Optional. Minimum number of workers for autoscaling.
|
1320
|
+
# Corresponds to the JSON property `minCount`
|
1321
|
+
# @return [Fixnum]
|
1322
|
+
attr_accessor :min_count
|
1323
|
+
|
1324
|
+
# Optional. Storage (GB) request and limit for a single Airflow worker replica.
|
1325
|
+
# Corresponds to the JSON property `storageGb`
|
1326
|
+
# @return [Float]
|
1327
|
+
attr_accessor :storage_gb
|
1328
|
+
|
1329
|
+
def initialize(**args)
|
1330
|
+
update!(**args)
|
1331
|
+
end
|
1332
|
+
|
1333
|
+
# Update properties of this object
|
1334
|
+
def update!(**args)
|
1335
|
+
@cpu = args[:cpu] if args.key?(:cpu)
|
1336
|
+
@max_count = args[:max_count] if args.key?(:max_count)
|
1337
|
+
@memory_gb = args[:memory_gb] if args.key?(:memory_gb)
|
1338
|
+
@min_count = args[:min_count] if args.key?(:min_count)
|
1339
|
+
@storage_gb = args[:storage_gb] if args.key?(:storage_gb)
|
1340
|
+
end
|
1341
|
+
end
|
1342
|
+
|
1343
|
+
# The Kubernetes workloads configuration for GKE cluster associated with the
|
1344
|
+
# Cloud Composer environment. Supported for Cloud Composer environments in
|
1345
|
+
# versions composer-2.*.*-airflow-*.*.* and newer.
|
1346
|
+
class WorkloadsConfig
|
1347
|
+
include Google::Apis::Core::Hashable
|
1348
|
+
|
1349
|
+
# Configuration for resources used by Airflow schedulers.
|
1350
|
+
# Corresponds to the JSON property `scheduler`
|
1351
|
+
# @return [Google::Apis::ComposerV1beta1::SchedulerResource]
|
1352
|
+
attr_accessor :scheduler
|
1353
|
+
|
1354
|
+
# Configuration for resources used by Airflow web server.
|
1355
|
+
# Corresponds to the JSON property `webServer`
|
1356
|
+
# @return [Google::Apis::ComposerV1beta1::WebServerResource]
|
1357
|
+
attr_accessor :web_server
|
1358
|
+
|
1359
|
+
# Configuration for resources used by Airflow workers.
|
1360
|
+
# Corresponds to the JSON property `worker`
|
1361
|
+
# @return [Google::Apis::ComposerV1beta1::WorkerResource]
|
1362
|
+
attr_accessor :worker
|
1363
|
+
|
1364
|
+
def initialize(**args)
|
1365
|
+
update!(**args)
|
1366
|
+
end
|
1367
|
+
|
1368
|
+
# Update properties of this object
|
1369
|
+
def update!(**args)
|
1370
|
+
@scheduler = args[:scheduler] if args.key?(:scheduler)
|
1371
|
+
@web_server = args[:web_server] if args.key?(:web_server)
|
1372
|
+
@worker = args[:worker] if args.key?(:worker)
|
1373
|
+
end
|
1374
|
+
end
|
1121
1375
|
end
|
1122
1376
|
end
|
1123
1377
|
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.12.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210810"
|
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
|
|
@@ -329,6 +358,7 @@ module Google
|
|
329
358
|
# @private
|
330
359
|
class Representation < Google::Apis::Core::JsonRepresentation
|
331
360
|
property :disk_size_gb, as: 'diskSizeGb'
|
361
|
+
property :enable_ip_masq_agent, as: 'enableIpMasqAgent'
|
332
362
|
property :ip_allocation_policy, as: 'ipAllocationPolicy', class: Google::Apis::ComposerV1beta1::IpAllocationPolicy, decorator: Google::Apis::ComposerV1beta1::IpAllocationPolicy::Representation
|
333
363
|
|
334
364
|
property :location, as: 'location'
|
@@ -378,8 +408,11 @@ module Google
|
|
378
408
|
class PrivateEnvironmentConfig
|
379
409
|
# @private
|
380
410
|
class Representation < Google::Apis::Core::JsonRepresentation
|
411
|
+
property :cloud_composer_network_ipv4_cidr_block, as: 'cloudComposerNetworkIpv4CidrBlock'
|
412
|
+
property :cloud_composer_network_ipv4_reserved_range, as: 'cloudComposerNetworkIpv4ReservedRange'
|
381
413
|
property :cloud_sql_ipv4_cidr_block, as: 'cloudSqlIpv4CidrBlock'
|
382
414
|
property :enable_private_environment, as: 'enablePrivateEnvironment'
|
415
|
+
property :enable_privately_used_public_ips, as: 'enablePrivatelyUsedPublicIps'
|
383
416
|
property :private_cluster_config, as: 'privateClusterConfig', class: Google::Apis::ComposerV1beta1::PrivateClusterConfig, decorator: Google::Apis::ComposerV1beta1::PrivateClusterConfig::Representation
|
384
417
|
|
385
418
|
property :web_server_ipv4_cidr_block, as: 'webServerIpv4CidrBlock'
|
@@ -393,6 +426,16 @@ module Google
|
|
393
426
|
end
|
394
427
|
end
|
395
428
|
|
429
|
+
class SchedulerResource
|
430
|
+
# @private
|
431
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
432
|
+
property :count, as: 'count'
|
433
|
+
property :cpu, as: 'cpu'
|
434
|
+
property :memory_gb, as: 'memoryGb'
|
435
|
+
property :storage_gb, as: 'storageGb'
|
436
|
+
end
|
437
|
+
end
|
438
|
+
|
396
439
|
class SoftwareConfig
|
397
440
|
# @private
|
398
441
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -401,6 +444,7 @@ module Google
|
|
401
444
|
property :image_version, as: 'imageVersion'
|
402
445
|
hash :pypi_packages, as: 'pypiPackages'
|
403
446
|
property :python_version, as: 'pythonVersion'
|
447
|
+
property :scheduler_count, as: 'schedulerCount'
|
404
448
|
end
|
405
449
|
end
|
406
450
|
|
@@ -427,6 +471,38 @@ module Google
|
|
427
471
|
|
428
472
|
end
|
429
473
|
end
|
474
|
+
|
475
|
+
class WebServerResource
|
476
|
+
# @private
|
477
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
478
|
+
property :cpu, as: 'cpu'
|
479
|
+
property :memory_gb, as: 'memoryGb'
|
480
|
+
property :storage_gb, as: 'storageGb'
|
481
|
+
end
|
482
|
+
end
|
483
|
+
|
484
|
+
class WorkerResource
|
485
|
+
# @private
|
486
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
487
|
+
property :cpu, as: 'cpu'
|
488
|
+
property :max_count, as: 'maxCount'
|
489
|
+
property :memory_gb, as: 'memoryGb'
|
490
|
+
property :min_count, as: 'minCount'
|
491
|
+
property :storage_gb, as: 'storageGb'
|
492
|
+
end
|
493
|
+
end
|
494
|
+
|
495
|
+
class WorkloadsConfig
|
496
|
+
# @private
|
497
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
498
|
+
property :scheduler, as: 'scheduler', class: Google::Apis::ComposerV1beta1::SchedulerResource, decorator: Google::Apis::ComposerV1beta1::SchedulerResource::Representation
|
499
|
+
|
500
|
+
property :web_server, as: 'webServer', class: Google::Apis::ComposerV1beta1::WebServerResource, decorator: Google::Apis::ComposerV1beta1::WebServerResource::Representation
|
501
|
+
|
502
|
+
property :worker, as: 'worker', class: Google::Apis::ComposerV1beta1::WorkerResource, decorator: Google::Apis::ComposerV1beta1::WorkerResource::Representation
|
503
|
+
|
504
|
+
end
|
505
|
+
end
|
430
506
|
end
|
431
507
|
end
|
432
508
|
end
|
@@ -246,52 +246,67 @@ 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
|
-
#
|
268
|
-
#
|
269
|
-
#
|
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. Supported for Cloud Composer
|
268
|
+
# environments in versions composer-1.*.*-airflow-*.*.*. * `config.
|
269
|
+
# webServerNetworkAccessControl` * Replace the environment's current
|
270
|
+
# WebServerNetworkAccessControl. Supported for Cloud Composer environments in
|
271
|
+
# versions composer-1.*.*-airflow-*.*.*. * `config.softwareConfig.
|
272
|
+
# airflowConfigOverrides` * Replace all Apache Airflow config overrides. If a
|
270
273
|
# replacement config overrides map is not included in `environment`, all config
|
271
274
|
# overrides are cleared. It is an error to provide both this mask and a mask
|
272
|
-
# specifying one or more individual config overrides. * config.softwareConfig.
|
273
|
-
# airflowConfigOverrides
|
274
|
-
# property name in the section named section
|
275
|
-
# delete the property override, include it in `updateMask` and omit its
|
276
|
-
# in `environment.config.softwareConfig.airflowConfigOverrides`. It is
|
277
|
-
# to provide both a mask of this form and the
|
278
|
-
# airflowConfigOverrides
|
275
|
+
# specifying one or more individual config overrides. * `config.softwareConfig.
|
276
|
+
# airflowConfigOverrides.`section-name * Override the Apache Airflow config
|
277
|
+
# property *name* in the section named *section*, preserving other properties.
|
278
|
+
# To delete the property override, include it in `updateMask` and omit its
|
279
|
+
# mapping in `environment.config.softwareConfig.airflowConfigOverrides`. It is
|
280
|
+
# an error to provide both a mask of this form and the `config.softwareConfig.
|
281
|
+
# airflowConfigOverrides` mask. * `config.softwareConfig.envVariables` * Replace
|
279
282
|
# all environment variables. If a replacement environment variable map is not
|
280
283
|
# included in `environment`, all custom environment variables are cleared. It is
|
281
284
|
# an error to provide both this mask and a mask specifying one or more
|
282
|
-
# individual environment variables. * config.softwareConfig.imageVersion *
|
285
|
+
# individual environment variables. * `config.softwareConfig.imageVersion` *
|
283
286
|
# Upgrade the version of the environment in-place. Refer to `SoftwareConfig.
|
284
287
|
# image_version` for information on how to format the new image version.
|
285
288
|
# Additionally, the new image version cannot effect a version downgrade and must
|
286
289
|
# match the current image version's Composer major version and Airflow major and
|
287
|
-
# minor versions. Consult the Cloud Composer Version List
|
288
|
-
#
|
289
|
-
#
|
290
|
-
#
|
291
|
-
#
|
292
|
-
#
|
293
|
-
# config.
|
294
|
-
#
|
290
|
+
# minor versions. Consult the [Cloud Composer Version List](https://cloud.google.
|
291
|
+
# com/composer/docs/concepts/versioning/composer-versions) for valid values. * `
|
292
|
+
# config.softwareConfig.schedulerCount` * Horizontally scale the number of
|
293
|
+
# schedulers in Airflow. A positive integer not greater than the number of nodes
|
294
|
+
# must be provided in the `config.softwareConfig.schedulerCount` field.
|
295
|
+
# Supported for Cloud Composer environments in versions composer-1.*.*-airflow-2.
|
296
|
+
# *.*. * `config.databaseConfig.machineType` * Cloud SQL machine type used by
|
297
|
+
# Airflow database. It has to be one of: db-n1-standard-2, db-n1-standard-4, db-
|
298
|
+
# n1-standard-8 or db-n1-standard-16. Supported for Cloud Composer environments
|
299
|
+
# in versions composer-1.*.*-airflow-*.*.*. * `config.webServerConfig.
|
300
|
+
# machineType` * Machine type on which Airflow web server is running. It has to
|
301
|
+
# be one of: composer-n1-webserver-2, composer-n1-webserver-4 or composer-n1-
|
302
|
+
# webserver-8. Supported for Cloud Composer environments in versions composer-1.*
|
303
|
+
# .*-airflow-*.*.*. * `config.maintenanceWindow` * Maintenance window during
|
304
|
+
# which Cloud Composer components may be under maintenance. * `config.
|
305
|
+
# workloadsConfig` * The workloads configuration settings for the GKE cluster
|
306
|
+
# associated with the Cloud Composer environment. Supported for Cloud Composer
|
307
|
+
# environments in versions composer-2.*.*-airflow-*.*.* and newer. * `config.
|
308
|
+
# environmentSize` * The size of the Cloud Composer environment. Supported for
|
309
|
+
# Cloud Composer environments in versions composer-2.*.*-airflow-*.*.* and newer.
|
295
310
|
# @param [String] fields
|
296
311
|
# Selector specifying which fields to include in a partial response.
|
297
312
|
# @param [String] quota_user
|
@@ -29,7 +29,7 @@ module Google
|
|
29
29
|
# This is NOT the gem version.
|
30
30
|
VERSION = 'V1beta1'
|
31
31
|
|
32
|
-
# See, edit, configure, and delete your Google Cloud
|
32
|
+
# See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
34
34
|
end
|
35
35
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.12.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-09-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-composer_v1beta1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-composer_v1beta1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-composer_v1beta1/v0.12.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-composer_v1beta1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|