google-apis-composer_v1beta1 0.9.0 → 0.13.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 +83 -25
- data/lib/google/apis/composer_v1beta1/gem_version.rb +2 -2
- data/lib/google/apis/composer_v1beta1/representations.rb +3 -0
- data/lib/google/apis/composer_v1beta1/service.rb +51 -39
- 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: 110eb33e873aec828ced08ca8b2cb4adbcfde37b84a87befcc722b93b516c294
|
4
|
+
data.tar.gz: 1469aa13b2b5ee7b1c5139511455057e0246826f1eece9d63d1a8ea1de299bd9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '09e64ad91ad80d23422d1e5c50f84187de800e896b8e677aec486cbe86e56cff3e34fd98707f648805336329e9dc32bbdec73dff10ffbc2ad51208bab272a0f6'
|
7
|
+
data.tar.gz: bfd15d52fc19699377685a852dfc4f2d4291cd82668dcb5c7ebef528849e76ea77b2455d4a88ce12966b998a6db3aa9fd2276df2b6aafae06f7e9d03c70a047e
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release history for google-apis-composer_v1beta1
|
2
2
|
|
3
|
+
### v0.13.0 (2021-09-28)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210922
|
6
|
+
|
7
|
+
### v0.12.0 (2021-09-01)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210810
|
10
|
+
|
11
|
+
### v0.11.0 (2021-08-04)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210728
|
14
|
+
|
15
|
+
### v0.10.0 (2021-07-14)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210705
|
18
|
+
|
3
19
|
### v0.9.0 (2021-07-06)
|
4
20
|
|
5
21
|
* Regenerated from discovery document revision 20210625
|
@@ -129,7 +129,8 @@ module Google
|
|
129
129
|
end
|
130
130
|
|
131
131
|
# The configuration of Cloud SQL instance that is used by the Apache Airflow
|
132
|
-
# software.
|
132
|
+
# software. Supported for Cloud Composer environments in versions composer-1.*.*-
|
133
|
+
# airflow-*.*.*.
|
133
134
|
class DatabaseConfig
|
134
135
|
include Google::Apis::Core::Hashable
|
135
136
|
|
@@ -209,6 +210,8 @@ module Google
|
|
209
210
|
end
|
210
211
|
|
211
212
|
# The encryption options for the Cloud Composer environment and its dependencies.
|
213
|
+
# Supported for Cloud Composer environments in versions composer-1.*.*-airflow-*
|
214
|
+
# .*.*.
|
212
215
|
class EncryptionConfig
|
213
216
|
include Google::Apis::Core::Hashable
|
214
217
|
|
@@ -312,12 +315,15 @@ module Google
|
|
312
315
|
attr_accessor :dag_gcs_prefix
|
313
316
|
|
314
317
|
# The configuration of Cloud SQL instance that is used by the Apache Airflow
|
315
|
-
# software.
|
318
|
+
# software. Supported for Cloud Composer environments in versions composer-1.*.*-
|
319
|
+
# airflow-*.*.*.
|
316
320
|
# Corresponds to the JSON property `databaseConfig`
|
317
321
|
# @return [Google::Apis::ComposerV1beta1::DatabaseConfig]
|
318
322
|
attr_accessor :database_config
|
319
323
|
|
320
324
|
# The encryption options for the Cloud Composer environment and its dependencies.
|
325
|
+
# Supported for Cloud Composer environments in versions composer-1.*.*-airflow-*
|
326
|
+
# .*.*.
|
321
327
|
# Corresponds to the JSON property `encryptionConfig`
|
322
328
|
# @return [Google::Apis::ComposerV1beta1::EncryptionConfig]
|
323
329
|
attr_accessor :encryption_config
|
@@ -350,7 +356,8 @@ module Google
|
|
350
356
|
attr_accessor :node_config
|
351
357
|
|
352
358
|
# The number of nodes in the Kubernetes Engine cluster that will be used to run
|
353
|
-
# this environment.
|
359
|
+
# this environment. This field is supported for Cloud Composer environments in
|
360
|
+
# versions composer-1.*.*-airflow-*.*.*.
|
354
361
|
# Corresponds to the JSON property `nodeCount`
|
355
362
|
# @return [Fixnum]
|
356
363
|
attr_accessor :node_count
|
@@ -367,11 +374,14 @@ module Google
|
|
367
374
|
attr_accessor :software_config
|
368
375
|
|
369
376
|
# The configuration settings for the Airflow web server App Engine instance.
|
377
|
+
# Supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.
|
378
|
+
# *.*.
|
370
379
|
# Corresponds to the JSON property `webServerConfig`
|
371
380
|
# @return [Google::Apis::ComposerV1beta1::WebServerConfig]
|
372
381
|
attr_accessor :web_server_config
|
373
382
|
|
374
|
-
# 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-*.*.*.
|
375
385
|
# Corresponds to the JSON property `webServerNetworkAccessControl`
|
376
386
|
# @return [Google::Apis::ComposerV1beta1::WebServerNetworkAccessControl]
|
377
387
|
attr_accessor :web_server_network_access_control
|
@@ -411,12 +421,13 @@ module Google
|
|
411
421
|
include Google::Apis::Core::Hashable
|
412
422
|
|
413
423
|
# Optional. The IP address range used to allocate IP addresses to pods in the
|
414
|
-
# cluster.
|
415
|
-
#
|
416
|
-
#
|
417
|
-
#
|
418
|
-
#
|
419
|
-
#
|
424
|
+
# cluster. For Cloud Composer environments in versions composer-1.*.*-airflow-*.*
|
425
|
+
# .*, this field is applicable only when `use_ip_aliases` is true. Set to blank
|
426
|
+
# to have GKE choose a range with the default size. Set to /netmask (e.g. `/14`)
|
427
|
+
# to have GKE choose a range with a specific netmask. Set to a [CIDR](https://en.
|
428
|
+
# wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/
|
429
|
+
# 14`) from the RFC-1918 private networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `
|
430
|
+
# 192.168.0.0/16`) to pick a specific range to use. Specify `
|
420
431
|
# cluster_secondary_range_name` or `cluster_ipv4_cidr_block` but not both.
|
421
432
|
# Corresponds to the JSON property `clusterIpv4CidrBlock`
|
422
433
|
# @return [String]
|
@@ -424,16 +435,18 @@ module Google
|
|
424
435
|
|
425
436
|
# Optional. The name of the cluster's secondary range used to allocate IP
|
426
437
|
# addresses to pods. Specify either `cluster_secondary_range_name` or `
|
427
|
-
# cluster_ipv4_cidr_block` but not both.
|
438
|
+
# cluster_ipv4_cidr_block` but not both. For Cloud Composer environments in
|
439
|
+
# versions composer-1.*.*-airflow-*.*.*, this field is applicable only when `
|
428
440
|
# use_ip_aliases` is true.
|
429
441
|
# Corresponds to the JSON property `clusterSecondaryRangeName`
|
430
442
|
# @return [String]
|
431
443
|
attr_accessor :cluster_secondary_range_name
|
432
444
|
|
433
445
|
# Optional. The IP address range of the services IP addresses in this cluster.
|
434
|
-
#
|
435
|
-
#
|
436
|
-
#
|
446
|
+
# For Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*, this
|
447
|
+
# field is applicable only when `use_ip_aliases` is true. Set to blank to have
|
448
|
+
# GKE choose a range with the default size. Set to /netmask (e.g. `/14`) to have
|
449
|
+
# GKE choose a range with a specific netmask. Set to a [CIDR](https://en.
|
437
450
|
# wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/
|
438
451
|
# 14`) from the RFC-1918 private networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `
|
439
452
|
# 192.168.0.0/16`) to pick a specific range to use. Specify `
|
@@ -444,14 +457,17 @@ module Google
|
|
444
457
|
|
445
458
|
# Optional. The name of the services' secondary range used to allocate IP
|
446
459
|
# addresses to the cluster. Specify either `services_secondary_range_name` or `
|
447
|
-
# services_ipv4_cidr_block` but not both.
|
460
|
+
# services_ipv4_cidr_block` but not both. For Cloud Composer environments in
|
461
|
+
# versions composer-1.*.*-airflow-*.*.*, this field is applicable only when `
|
448
462
|
# use_ip_aliases` is true.
|
449
463
|
# Corresponds to the JSON property `servicesSecondaryRangeName`
|
450
464
|
# @return [String]
|
451
465
|
attr_accessor :services_secondary_range_name
|
452
466
|
|
453
467
|
# Optional. Whether or not to enable Alias IPs in the GKE cluster. If `true`, a
|
454
|
-
# VPC-native cluster is created.
|
468
|
+
# VPC-native cluster is created. This field is only supported for Cloud Composer
|
469
|
+
# environments in versions composer-1.*.*-airflow-*.*.*. Environments in newer
|
470
|
+
# versions always use VPC-native GKE clusters.
|
455
471
|
# Corresponds to the JSON property `useIpAliases`
|
456
472
|
# @return [Boolean]
|
457
473
|
attr_accessor :use_ip_aliases
|
@@ -654,11 +670,21 @@ module Google
|
|
654
670
|
include Google::Apis::Core::Hashable
|
655
671
|
|
656
672
|
# Optional. The disk size in GB used for node VMs. Minimum size is 20GB. If
|
657
|
-
# unspecified, defaults to 100GB. Cannot be updated.
|
673
|
+
# unspecified, defaults to 100GB. Cannot be updated. This field is supported for
|
674
|
+
# Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
658
675
|
# Corresponds to the JSON property `diskSizeGb`
|
659
676
|
# @return [Fixnum]
|
660
677
|
attr_accessor :disk_size_gb
|
661
678
|
|
679
|
+
# Optional. Deploys 'ip-masq-agent' daemon set in the GKE cluster and defines
|
680
|
+
# nonMasqueradeCIDRs equals to pod IP range so IP masquerading is used for all
|
681
|
+
# destination addresses, except between pods traffic. See: https://cloud.google.
|
682
|
+
# com/kubernetes-engine/docs/how-to/ip-masquerade-agent
|
683
|
+
# Corresponds to the JSON property `enableIpMasqAgent`
|
684
|
+
# @return [Boolean]
|
685
|
+
attr_accessor :enable_ip_masq_agent
|
686
|
+
alias_method :enable_ip_masq_agent?, :enable_ip_masq_agent
|
687
|
+
|
662
688
|
# Configuration for controlling how IPs are allocated in the GKE cluster.
|
663
689
|
# Corresponds to the JSON property `ipAllocationPolicy`
|
664
690
|
# @return [Google::Apis::ComposerV1beta1::IpAllocationPolicy]
|
@@ -674,7 +700,9 @@ module Google
|
|
674
700
|
# zone in the Compute Engine region corresponding to the Cloud Composer location,
|
675
701
|
# and propagate that choice to both fields. If only one field (`location` or `
|
676
702
|
# nodeConfig.machineType`) is specified, the location information from the
|
677
|
-
# specified field will be propagated to the unspecified field.
|
703
|
+
# specified field will be propagated to the unspecified field. This field is
|
704
|
+
# supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.
|
705
|
+
# *.*.
|
678
706
|
# Corresponds to the JSON property `location`
|
679
707
|
# @return [String]
|
680
708
|
attr_accessor :location
|
@@ -692,6 +720,8 @@ module Google
|
|
692
720
|
# field will be propagated to the unspecified field. The `machineTypeId` must
|
693
721
|
# not be a [shared-core machine type](/compute/docs/machine-types#sharedcore).
|
694
722
|
# If this field is unspecified, the `machineTypeId` defaults to "n1-standard-1".
|
723
|
+
# This field is supported for Cloud Composer environments in versions composer-1.
|
724
|
+
# *.*-airflow-*.*.*.
|
695
725
|
# Corresponds to the JSON property `machineType`
|
696
726
|
# @return [String]
|
697
727
|
attr_accessor :machine_type
|
@@ -704,7 +734,8 @@ module Google
|
|
704
734
|
# newly created node pools if their value is not explicitly set during node pool
|
705
735
|
# creation. For more information, see [Optimizing IP address allocation] (https:/
|
706
736
|
# /cloud.google.com/kubernetes-engine/docs/how-to/flexible-pod-cidr). Cannot be
|
707
|
-
# updated.
|
737
|
+
# updated. This field is supported for Cloud Composer environments in versions
|
738
|
+
# composer-1.*.*-airflow-*.*.*.
|
708
739
|
# Corresponds to the JSON property `maxPodsPerNode`
|
709
740
|
# @return [Fixnum]
|
710
741
|
attr_accessor :max_pods_per_node
|
@@ -722,7 +753,8 @@ module Google
|
|
722
753
|
|
723
754
|
# Optional. The set of Google API scopes to be made available on all node VMs.
|
724
755
|
# If `oauth_scopes` is empty, defaults to ["https://www.googleapis.com/auth/
|
725
|
-
# cloud-platform"]. Cannot be updated.
|
756
|
+
# cloud-platform"]. Cannot be updated. This field is supported for Cloud
|
757
|
+
# Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
726
758
|
# Corresponds to the JSON property `oauthScopes`
|
727
759
|
# @return [Array<String>]
|
728
760
|
attr_accessor :oauth_scopes
|
@@ -747,7 +779,8 @@ module Google
|
|
747
779
|
# Optional. The list of instance tags applied to all node VMs. Tags are used to
|
748
780
|
# identify valid sources or targets for network firewalls. Each tag within the
|
749
781
|
# list must comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt). Cannot
|
750
|
-
# be updated.
|
782
|
+
# be updated. This field is supported for Cloud Composer environments in
|
783
|
+
# versions composer-1.*.*-airflow-*.*.*.
|
751
784
|
# Corresponds to the JSON property `tags`
|
752
785
|
# @return [Array<String>]
|
753
786
|
attr_accessor :tags
|
@@ -759,6 +792,7 @@ module Google
|
|
759
792
|
# Update properties of this object
|
760
793
|
def update!(**args)
|
761
794
|
@disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
|
795
|
+
@enable_ip_masq_agent = args[:enable_ip_masq_agent] if args.key?(:enable_ip_masq_agent)
|
762
796
|
@ip_allocation_policy = args[:ip_allocation_policy] if args.key?(:ip_allocation_policy)
|
763
797
|
@location = args[:location] if args.key?(:location)
|
764
798
|
@machine_type = args[:machine_type] if args.key?(:machine_type)
|
@@ -952,12 +986,20 @@ module Google
|
|
952
986
|
|
953
987
|
# Optional. If `true`, a Private IP Cloud Composer environment is created. If
|
954
988
|
# this field is set to true, `IPAllocationPolicy.use_ip_aliases` must be set to
|
955
|
-
# true
|
989
|
+
# true for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
956
990
|
# Corresponds to the JSON property `enablePrivateEnvironment`
|
957
991
|
# @return [Boolean]
|
958
992
|
attr_accessor :enable_private_environment
|
959
993
|
alias_method :enable_private_environment?, :enable_private_environment
|
960
994
|
|
995
|
+
# Optional. When enabled, IPs from public (non-RFC1918) ranges can be used for `
|
996
|
+
# IPAllocationPolicy.cluster_ipv4_cidr_block` and `IPAllocationPolicy.
|
997
|
+
# service_ipv4_cidr_block`.
|
998
|
+
# Corresponds to the JSON property `enablePrivatelyUsedPublicIps`
|
999
|
+
# @return [Boolean]
|
1000
|
+
attr_accessor :enable_privately_used_public_ips
|
1001
|
+
alias_method :enable_privately_used_public_ips?, :enable_privately_used_public_ips
|
1002
|
+
|
961
1003
|
# Configuration options for the private GKE cluster in a Cloud Composer
|
962
1004
|
# environment.
|
963
1005
|
# Corresponds to the JSON property `privateClusterConfig`
|
@@ -966,12 +1008,15 @@ module Google
|
|
966
1008
|
|
967
1009
|
# Optional. The CIDR block from which IP range for web server will be reserved.
|
968
1010
|
# Needs to be disjoint from private_cluster_config.master_ipv4_cidr_block and
|
969
|
-
# cloud_sql_ipv4_cidr_block.
|
1011
|
+
# cloud_sql_ipv4_cidr_block. This field is supported for Cloud Composer
|
1012
|
+
# environments in versions composer-1.*.*-airflow-*.*.*.
|
970
1013
|
# Corresponds to the JSON property `webServerIpv4CidrBlock`
|
971
1014
|
# @return [String]
|
972
1015
|
attr_accessor :web_server_ipv4_cidr_block
|
973
1016
|
|
974
1017
|
# Output only. The IP range reserved for the tenant project's App Engine VMs.
|
1018
|
+
# This field is supported for Cloud Composer environments in versions composer-1.
|
1019
|
+
# *.*-airflow-*.*.*.
|
975
1020
|
# Corresponds to the JSON property `webServerIpv4ReservedRange`
|
976
1021
|
# @return [String]
|
977
1022
|
attr_accessor :web_server_ipv4_reserved_range
|
@@ -986,6 +1031,7 @@ module Google
|
|
986
1031
|
@cloud_composer_network_ipv4_reserved_range = args[:cloud_composer_network_ipv4_reserved_range] if args.key?(:cloud_composer_network_ipv4_reserved_range)
|
987
1032
|
@cloud_sql_ipv4_cidr_block = args[:cloud_sql_ipv4_cidr_block] if args.key?(:cloud_sql_ipv4_cidr_block)
|
988
1033
|
@enable_private_environment = args[:enable_private_environment] if args.key?(:enable_private_environment)
|
1034
|
+
@enable_privately_used_public_ips = args[:enable_privately_used_public_ips] if args.key?(:enable_privately_used_public_ips)
|
989
1035
|
@private_cluster_config = args[:private_cluster_config] if args.key?(:private_cluster_config)
|
990
1036
|
@web_server_ipv4_cidr_block = args[:web_server_ipv4_cidr_block] if args.key?(:web_server_ipv4_cidr_block)
|
991
1037
|
@web_server_ipv4_reserved_range = args[:web_server_ipv4_reserved_range] if args.key?(:web_server_ipv4_reserved_range)
|
@@ -1104,11 +1150,19 @@ module Google
|
|
1104
1150
|
|
1105
1151
|
# Optional. The major version of Python used to run the Apache Airflow scheduler,
|
1106
1152
|
# worker, and webserver processes. Can be set to '2' or '3'. If not specified,
|
1107
|
-
# the default is '3'. Cannot be updated.
|
1153
|
+
# the default is '3'. Cannot be updated. This field is only supported for Cloud
|
1154
|
+
# Composer environments in versions composer-1.*.*-airflow-*.*.*. Environments
|
1155
|
+
# in newer versions always use Python major version 3.
|
1108
1156
|
# Corresponds to the JSON property `pythonVersion`
|
1109
1157
|
# @return [String]
|
1110
1158
|
attr_accessor :python_version
|
1111
1159
|
|
1160
|
+
# Optional. The number of schedulers for Airflow. This field is supported for
|
1161
|
+
# Cloud Composer environments in versions composer-1.*.*-airflow-2.*.*.
|
1162
|
+
# Corresponds to the JSON property `schedulerCount`
|
1163
|
+
# @return [Fixnum]
|
1164
|
+
attr_accessor :scheduler_count
|
1165
|
+
|
1112
1166
|
def initialize(**args)
|
1113
1167
|
update!(**args)
|
1114
1168
|
end
|
@@ -1120,6 +1174,7 @@ module Google
|
|
1120
1174
|
@image_version = args[:image_version] if args.key?(:image_version)
|
1121
1175
|
@pypi_packages = args[:pypi_packages] if args.key?(:pypi_packages)
|
1122
1176
|
@python_version = args[:python_version] if args.key?(:python_version)
|
1177
|
+
@scheduler_count = args[:scheduler_count] if args.key?(:scheduler_count)
|
1123
1178
|
end
|
1124
1179
|
end
|
1125
1180
|
|
@@ -1163,6 +1218,8 @@ module Google
|
|
1163
1218
|
end
|
1164
1219
|
|
1165
1220
|
# The configuration settings for the Airflow web server App Engine instance.
|
1221
|
+
# Supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.
|
1222
|
+
# *.*.
|
1166
1223
|
class WebServerConfig
|
1167
1224
|
include Google::Apis::Core::Hashable
|
1168
1225
|
|
@@ -1185,7 +1242,8 @@ module Google
|
|
1185
1242
|
end
|
1186
1243
|
end
|
1187
1244
|
|
1188
|
-
# Network-level access control policy for the Airflow web server.
|
1245
|
+
# Network-level access control policy for the Airflow web server. Supported for
|
1246
|
+
# Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
1189
1247
|
class WebServerNetworkAccessControl
|
1190
1248
|
include Google::Apis::Core::Hashable
|
1191
1249
|
|
@@ -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.13.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 = "20210922"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -358,6 +358,7 @@ module Google
|
|
358
358
|
# @private
|
359
359
|
class Representation < Google::Apis::Core::JsonRepresentation
|
360
360
|
property :disk_size_gb, as: 'diskSizeGb'
|
361
|
+
property :enable_ip_masq_agent, as: 'enableIpMasqAgent'
|
361
362
|
property :ip_allocation_policy, as: 'ipAllocationPolicy', class: Google::Apis::ComposerV1beta1::IpAllocationPolicy, decorator: Google::Apis::ComposerV1beta1::IpAllocationPolicy::Representation
|
362
363
|
|
363
364
|
property :location, as: 'location'
|
@@ -411,6 +412,7 @@ module Google
|
|
411
412
|
property :cloud_composer_network_ipv4_reserved_range, as: 'cloudComposerNetworkIpv4ReservedRange'
|
412
413
|
property :cloud_sql_ipv4_cidr_block, as: 'cloudSqlIpv4CidrBlock'
|
413
414
|
property :enable_private_environment, as: 'enablePrivateEnvironment'
|
415
|
+
property :enable_privately_used_public_ips, as: 'enablePrivatelyUsedPublicIps'
|
414
416
|
property :private_cluster_config, as: 'privateClusterConfig', class: Google::Apis::ComposerV1beta1::PrivateClusterConfig, decorator: Google::Apis::ComposerV1beta1::PrivateClusterConfig::Representation
|
415
417
|
|
416
418
|
property :web_server_ipv4_cidr_block, as: 'webServerIpv4CidrBlock'
|
@@ -442,6 +444,7 @@ module Google
|
|
442
444
|
property :image_version, as: 'imageVersion'
|
443
445
|
hash :pypi_packages, as: 'pypiPackages'
|
444
446
|
property :python_version, as: 'pythonVersion'
|
447
|
+
property :scheduler_count, as: 'schedulerCount'
|
445
448
|
end
|
446
449
|
end
|
447
450
|
|
@@ -246,55 +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
|
-
#
|
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
|
289
293
|
# schedulers in Airflow. A positive integer not greater than the number of nodes
|
290
|
-
# must be provided in the `config.softwareConfig.schedulerCount` field.
|
291
|
-
#
|
292
|
-
#
|
293
|
-
# db-n1-standard-
|
294
|
-
#
|
295
|
-
#
|
296
|
-
#
|
297
|
-
#
|
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.
|
298
310
|
# @param [String] fields
|
299
311
|
# Selector specifying which fields to include in a partial response.
|
300
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.13.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-10-04 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.13.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: []
|