google-apis-composer_v1beta1 0.38.0 → 0.39.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e6ab880c64cdd577c6b2ec42083138b357325bed8db956217e1d67b85ce317ac
4
- data.tar.gz: c1f50c64ba3404a87987c7b41069c38e2954a6d7b3b389e190ba195cd2ae07ab
3
+ metadata.gz: '01988a1162ddcf8cf7c0f46e5693f99d7790c63d447bc0659d204f35f22bc943'
4
+ data.tar.gz: 9cee9f9bbddbb5d9a6210ae669e835269cf71a2bb8ec351a00dfe6e001a204e5
5
5
  SHA512:
6
- metadata.gz: 7a6c34dad55abe9ce56428c53cd632a76ca2db5c56fe58a7921debd9df6e2f45d07fd6315e97d4973dc5ce302e7e9be36dfd36c339b805cf34e97780d48e77ee
7
- data.tar.gz: 86ee62bc4893a223a61f35f2c9b67bba23b9be9140169f627cc24d51a6f10c07240bb542f49409a3939563c9658d797581dd93dfd3570ae8bc8fcc175246552d
6
+ metadata.gz: e3cf1c0ea2dccf4a8136c72e2758f966e18ecd83b989ae9184a7d85dbaed773ba7e0beae1ff24611761096aa91008f68c4505df4d122012ceb409ff6a30c57e3
7
+ data.tar.gz: c1bdae28b3b3a20e172b6dbbf5a6797695e655cae005c12eedbc3610eaa72d3c8c17b5517ce5f2efe5664b6e763e17fc0f37e689b9b3d5d79f3945c62538349e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-composer_v1beta1
2
2
 
3
+ ### v0.39.0 (2023-12-10)
4
+
5
+ * Regenerated from discovery document revision 20231129
6
+
3
7
  ### v0.38.0 (2023-10-08)
4
8
 
5
9
  * Regenerated from discovery document revision 20231004
@@ -177,6 +177,46 @@ module Google
177
177
  end
178
178
  end
179
179
 
180
+ # Configuration for resources used by Airflow DAG processors.
181
+ class DagProcessorResource
182
+ include Google::Apis::Core::Hashable
183
+
184
+ # Optional. The number of DAG processors. If not provided or set to 0, a single
185
+ # DAG processor instance will be created.
186
+ # Corresponds to the JSON property `count`
187
+ # @return [Fixnum]
188
+ attr_accessor :count
189
+
190
+ # Optional. CPU request and limit for a single Airflow DAG processor replica.
191
+ # Corresponds to the JSON property `cpu`
192
+ # @return [Float]
193
+ attr_accessor :cpu
194
+
195
+ # Optional. Memory (GB) request and limit for a single Airflow DAG processor
196
+ # replica.
197
+ # Corresponds to the JSON property `memoryGb`
198
+ # @return [Float]
199
+ attr_accessor :memory_gb
200
+
201
+ # Optional. Storage (GB) request and limit for a single Airflow DAG processor
202
+ # replica.
203
+ # Corresponds to the JSON property `storageGb`
204
+ # @return [Float]
205
+ attr_accessor :storage_gb
206
+
207
+ def initialize(**args)
208
+ update!(**args)
209
+ end
210
+
211
+ # Update properties of this object
212
+ def update!(**args)
213
+ @count = args[:count] if args.key?(:count)
214
+ @cpu = args[:cpu] if args.key?(:cpu)
215
+ @memory_gb = args[:memory_gb] if args.key?(:memory_gb)
216
+ @storage_gb = args[:storage_gb] if args.key?(:storage_gb)
217
+ end
218
+ end
219
+
180
220
  # The configuration of Cloud SQL instance that is used by the Apache Airflow
181
221
  # software.
182
222
  class DatabaseConfig
@@ -1067,6 +1107,29 @@ module Google
1067
1107
  class NodeConfig
1068
1108
  include Google::Apis::Core::Hashable
1069
1109
 
1110
+ # Optional. The IP range in CIDR notation to use internally by Cloud Composer.
1111
+ # IP addresses are not reserved - and the same range can be used by multiple
1112
+ # Cloud Composer environments. In case of overlap, IPs from this range will not
1113
+ # be accessible in the user's VPC network. Cannot be updated. If not specified,
1114
+ # the default value of '100.64.128.0/20' is used. This field is supported for
1115
+ # Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and newer.
1116
+ # Corresponds to the JSON property `composerInternalIpv4CidrBlock`
1117
+ # @return [String]
1118
+ attr_accessor :composer_internal_ipv4_cidr_block
1119
+
1120
+ # Optional. Network Attachment that Cloud Composer environment is connected to,
1121
+ # which provides connectivity with a user's VPC network. Takes precedence over
1122
+ # network and subnetwork settings. If not provided, but network and subnetwork
1123
+ # are defined during environment, it will be provisioned. If not provided and
1124
+ # network and subnetwork are also empty, then connectivity to user's VPC network
1125
+ # is disabled. Network attachment must be provided in format projects/`project`/
1126
+ # regions/`region`/networkAttachments/`networkAttachment`. This field is
1127
+ # supported for Cloud Composer environments in versions composer-3.*.*-airflow-*.
1128
+ # *.* and newer.
1129
+ # Corresponds to the JSON property `composerNetworkAttachment`
1130
+ # @return [String]
1131
+ attr_accessor :composer_network_attachment
1132
+
1070
1133
  # Optional. The disk size in GB used for node VMs. Minimum size is 30GB. If
1071
1134
  # unspecified, defaults to 100GB. Cannot be updated. This field is supported for
1072
1135
  # Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
@@ -1188,6 +1251,8 @@ module Google
1188
1251
 
1189
1252
  # Update properties of this object
1190
1253
  def update!(**args)
1254
+ @composer_internal_ipv4_cidr_block = args[:composer_internal_ipv4_cidr_block] if args.key?(:composer_internal_ipv4_cidr_block)
1255
+ @composer_network_attachment = args[:composer_network_attachment] if args.key?(:composer_network_attachment)
1191
1256
  @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
1192
1257
  @enable_ip_masq_agent = args[:enable_ip_masq_agent] if args.key?(:enable_ip_masq_agent)
1193
1258
  @ip_allocation_policy = args[:ip_allocation_policy] if args.key?(:ip_allocation_policy)
@@ -1459,6 +1524,18 @@ module Google
1459
1524
  # @return [String]
1460
1525
  attr_accessor :cloud_sql_ipv4_cidr_block
1461
1526
 
1527
+ # Optional. If `true`, builds performed during operations that install Python
1528
+ # packages have only private connectivity to Google services (including Artifact
1529
+ # Registry) and VPC network (if either `NodeConfig.network` and `NodeConfig.
1530
+ # subnetwork` fields or `NodeConfig.composer_network_attachment` field are
1531
+ # specified). If `false`, the builds also have access to the internet. This
1532
+ # field is supported for Cloud Composer environments in versions composer-3.*.*-
1533
+ # airflow-*.*.* and newer.
1534
+ # Corresponds to the JSON property `enablePrivateBuildsOnly`
1535
+ # @return [Boolean]
1536
+ attr_accessor :enable_private_builds_only
1537
+ alias_method :enable_private_builds_only?, :enable_private_builds_only
1538
+
1462
1539
  # Optional. If `true`, a Private IP Cloud Composer environment is created. If
1463
1540
  # this field is set to true, `IPAllocationPolicy.use_ip_aliases` must be set to
1464
1541
  # true for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
@@ -1511,6 +1588,7 @@ module Google
1511
1588
  @cloud_composer_network_ipv4_cidr_block = args[:cloud_composer_network_ipv4_cidr_block] if args.key?(:cloud_composer_network_ipv4_cidr_block)
1512
1589
  @cloud_composer_network_ipv4_reserved_range = args[:cloud_composer_network_ipv4_reserved_range] if args.key?(:cloud_composer_network_ipv4_reserved_range)
1513
1590
  @cloud_sql_ipv4_cidr_block = args[:cloud_sql_ipv4_cidr_block] if args.key?(:cloud_sql_ipv4_cidr_block)
1591
+ @enable_private_builds_only = args[:enable_private_builds_only] if args.key?(:enable_private_builds_only)
1514
1592
  @enable_private_environment = args[:enable_private_environment] if args.key?(:enable_private_environment)
1515
1593
  @enable_privately_used_public_ips = args[:enable_privately_used_public_ips] if args.key?(:enable_privately_used_public_ips)
1516
1594
  @networking_config = args[:networking_config] if args.key?(:networking_config)
@@ -1756,6 +1834,13 @@ module Google
1756
1834
  # @return [Fixnum]
1757
1835
  attr_accessor :scheduler_count
1758
1836
 
1837
+ # Optional. Whether or not the web server uses custom plugins. If unspecified,
1838
+ # the field defaults to `PLUGINS_ENABLED`. This field is supported for Cloud
1839
+ # Composer environments in versions composer-3.*.*-airflow-*.*.* and newer.
1840
+ # Corresponds to the JSON property `webServerPluginsMode`
1841
+ # @return [String]
1842
+ attr_accessor :web_server_plugins_mode
1843
+
1759
1844
  def initialize(**args)
1760
1845
  update!(**args)
1761
1846
  end
@@ -1769,6 +1854,7 @@ module Google
1769
1854
  @pypi_packages = args[:pypi_packages] if args.key?(:pypi_packages)
1770
1855
  @python_version = args[:python_version] if args.key?(:python_version)
1771
1856
  @scheduler_count = args[:scheduler_count] if args.key?(:scheduler_count)
1857
+ @web_server_plugins_mode = args[:web_server_plugins_mode] if args.key?(:web_server_plugins_mode)
1772
1858
  end
1773
1859
  end
1774
1860
 
@@ -2051,6 +2137,11 @@ module Google
2051
2137
  class WorkloadsConfig
2052
2138
  include Google::Apis::Core::Hashable
2053
2139
 
2140
+ # Configuration for resources used by Airflow DAG processors.
2141
+ # Corresponds to the JSON property `dagProcessor`
2142
+ # @return [Google::Apis::ComposerV1beta1::DagProcessorResource]
2143
+ attr_accessor :dag_processor
2144
+
2054
2145
  # Configuration for resources used by Airflow schedulers.
2055
2146
  # Corresponds to the JSON property `scheduler`
2056
2147
  # @return [Google::Apis::ComposerV1beta1::SchedulerResource]
@@ -2077,6 +2168,7 @@ module Google
2077
2168
 
2078
2169
  # Update properties of this object
2079
2170
  def update!(**args)
2171
+ @dag_processor = args[:dag_processor] if args.key?(:dag_processor)
2080
2172
  @scheduler = args[:scheduler] if args.key?(:scheduler)
2081
2173
  @triggerer = args[:triggerer] if args.key?(:triggerer)
2082
2174
  @web_server = args[:web_server] if args.key?(:web_server)
@@ -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.38.0"
19
+ GEM_VERSION = "0.39.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20231004"
25
+ REVISION = "20231129"
26
26
  end
27
27
  end
28
28
  end
@@ -52,6 +52,12 @@ module Google
52
52
  include Google::Apis::Core::JsonObjectSupport
53
53
  end
54
54
 
55
+ class DagProcessorResource
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
55
61
  class DatabaseConfig
56
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
63
 
@@ -375,6 +381,16 @@ module Google
375
381
  end
376
382
  end
377
383
 
384
+ class DagProcessorResource
385
+ # @private
386
+ class Representation < Google::Apis::Core::JsonRepresentation
387
+ property :count, as: 'count'
388
+ property :cpu, as: 'cpu'
389
+ property :memory_gb, as: 'memoryGb'
390
+ property :storage_gb, as: 'storageGb'
391
+ end
392
+ end
393
+
378
394
  class DatabaseConfig
379
395
  # @private
380
396
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -609,6 +625,8 @@ module Google
609
625
  class NodeConfig
610
626
  # @private
611
627
  class Representation < Google::Apis::Core::JsonRepresentation
628
+ property :composer_internal_ipv4_cidr_block, as: 'composerInternalIpv4CidrBlock'
629
+ property :composer_network_attachment, as: 'composerNetworkAttachment'
612
630
  property :disk_size_gb, as: 'diskSizeGb'
613
631
  property :enable_ip_masq_agent, as: 'enableIpMasqAgent'
614
632
  property :ip_allocation_policy, as: 'ipAllocationPolicy', class: Google::Apis::ComposerV1beta1::IpAllocationPolicy, decorator: Google::Apis::ComposerV1beta1::IpAllocationPolicy::Representation
@@ -685,6 +703,7 @@ module Google
685
703
  property :cloud_composer_network_ipv4_cidr_block, as: 'cloudComposerNetworkIpv4CidrBlock'
686
704
  property :cloud_composer_network_ipv4_reserved_range, as: 'cloudComposerNetworkIpv4ReservedRange'
687
705
  property :cloud_sql_ipv4_cidr_block, as: 'cloudSqlIpv4CidrBlock'
706
+ property :enable_private_builds_only, as: 'enablePrivateBuildsOnly'
688
707
  property :enable_private_environment, as: 'enablePrivateEnvironment'
689
708
  property :enable_privately_used_public_ips, as: 'enablePrivatelyUsedPublicIps'
690
709
  property :networking_config, as: 'networkingConfig', class: Google::Apis::ComposerV1beta1::NetworkingConfig, decorator: Google::Apis::ComposerV1beta1::NetworkingConfig::Representation
@@ -755,6 +774,7 @@ module Google
755
774
  hash :pypi_packages, as: 'pypiPackages'
756
775
  property :python_version, as: 'pythonVersion'
757
776
  property :scheduler_count, as: 'schedulerCount'
777
+ property :web_server_plugins_mode, as: 'webServerPluginsMode'
758
778
  end
759
779
  end
760
780
 
@@ -839,6 +859,8 @@ module Google
839
859
  class WorkloadsConfig
840
860
  # @private
841
861
  class Representation < Google::Apis::Core::JsonRepresentation
862
+ property :dag_processor, as: 'dagProcessor', class: Google::Apis::ComposerV1beta1::DagProcessorResource, decorator: Google::Apis::ComposerV1beta1::DagProcessorResource::Representation
863
+
842
864
  property :scheduler, as: 'scheduler', class: Google::Apis::ComposerV1beta1::SchedulerResource, decorator: Google::Apis::ComposerV1beta1::SchedulerResource::Representation
843
865
 
844
866
  property :triggerer, as: 'triggerer', class: Google::Apis::ComposerV1beta1::TriggererResource, decorator: Google::Apis::ComposerV1beta1::TriggererResource::Representation
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.38.0
4
+ version: 0.39.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: 2023-10-08 00:00:00.000000000 Z
11
+ date: 2023-12-10 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/main/generated/google-apis-composer_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-composer_v1beta1/v0.38.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-composer_v1beta1/v0.39.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-composer_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []