google-apis-composer_v1beta1 0.37.0 → 0.39.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '01988a1162ddcf8cf7c0f46e5693f99d7790c63d447bc0659d204f35f22bc943'
|
4
|
+
data.tar.gz: 9cee9f9bbddbb5d9a6210ae669e835269cf71a2bb8ec351a00dfe6e001a204e5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e3cf1c0ea2dccf4a8136c72e2758f966e18ecd83b989ae9184a7d85dbaed773ba7e0beae1ff24611761096aa91008f68c4505df4d122012ceb409ff6a30c57e3
|
7
|
+
data.tar.gz: c1bdae28b3b3a20e172b6dbbf5a6797695e655cae005c12eedbc3610eaa72d3c8c17b5517ce5f2efe5664b6e763e17fc0f37e689b9b3d5d79f3945c62538349e
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
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
|
+
|
7
|
+
### v0.38.0 (2023-10-08)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20231004
|
10
|
+
|
3
11
|
### v0.37.0 (2023-09-24)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230917
|
@@ -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
|
@@ -190,6 +230,15 @@ module Google
|
|
190
230
|
# @return [String]
|
191
231
|
attr_accessor :machine_type
|
192
232
|
|
233
|
+
# Optional. The Compute Engine zone where the Airflow database is created. If
|
234
|
+
# zone is provided, it must be in the region selected for the environment. If
|
235
|
+
# zone is not provided, a zone is automatically selected. The zone can only be
|
236
|
+
# set during environment creation. Supported for Cloud Composer environments in
|
237
|
+
# versions composer-2.*.*-airflow-*.*.*.
|
238
|
+
# Corresponds to the JSON property `zone`
|
239
|
+
# @return [String]
|
240
|
+
attr_accessor :zone
|
241
|
+
|
193
242
|
def initialize(**args)
|
194
243
|
update!(**args)
|
195
244
|
end
|
@@ -197,6 +246,7 @@ module Google
|
|
197
246
|
# Update properties of this object
|
198
247
|
def update!(**args)
|
199
248
|
@machine_type = args[:machine_type] if args.key?(:machine_type)
|
249
|
+
@zone = args[:zone] if args.key?(:zone)
|
200
250
|
end
|
201
251
|
end
|
202
252
|
|
@@ -1057,6 +1107,29 @@ module Google
|
|
1057
1107
|
class NodeConfig
|
1058
1108
|
include Google::Apis::Core::Hashable
|
1059
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
|
+
|
1060
1133
|
# Optional. The disk size in GB used for node VMs. Minimum size is 30GB. If
|
1061
1134
|
# unspecified, defaults to 100GB. Cannot be updated. This field is supported for
|
1062
1135
|
# Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
@@ -1178,6 +1251,8 @@ module Google
|
|
1178
1251
|
|
1179
1252
|
# Update properties of this object
|
1180
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)
|
1181
1256
|
@disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
|
1182
1257
|
@enable_ip_masq_agent = args[:enable_ip_masq_agent] if args.key?(:enable_ip_masq_agent)
|
1183
1258
|
@ip_allocation_policy = args[:ip_allocation_policy] if args.key?(:ip_allocation_policy)
|
@@ -1449,6 +1524,18 @@ module Google
|
|
1449
1524
|
# @return [String]
|
1450
1525
|
attr_accessor :cloud_sql_ipv4_cidr_block
|
1451
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
|
+
|
1452
1539
|
# Optional. If `true`, a Private IP Cloud Composer environment is created. If
|
1453
1540
|
# this field is set to true, `IPAllocationPolicy.use_ip_aliases` must be set to
|
1454
1541
|
# true for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
@@ -1501,6 +1588,7 @@ module Google
|
|
1501
1588
|
@cloud_composer_network_ipv4_cidr_block = args[:cloud_composer_network_ipv4_cidr_block] if args.key?(:cloud_composer_network_ipv4_cidr_block)
|
1502
1589
|
@cloud_composer_network_ipv4_reserved_range = args[:cloud_composer_network_ipv4_reserved_range] if args.key?(:cloud_composer_network_ipv4_reserved_range)
|
1503
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)
|
1504
1592
|
@enable_private_environment = args[:enable_private_environment] if args.key?(:enable_private_environment)
|
1505
1593
|
@enable_privately_used_public_ips = args[:enable_privately_used_public_ips] if args.key?(:enable_privately_used_public_ips)
|
1506
1594
|
@networking_config = args[:networking_config] if args.key?(:networking_config)
|
@@ -1746,6 +1834,13 @@ module Google
|
|
1746
1834
|
# @return [Fixnum]
|
1747
1835
|
attr_accessor :scheduler_count
|
1748
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
|
+
|
1749
1844
|
def initialize(**args)
|
1750
1845
|
update!(**args)
|
1751
1846
|
end
|
@@ -1759,6 +1854,7 @@ module Google
|
|
1759
1854
|
@pypi_packages = args[:pypi_packages] if args.key?(:pypi_packages)
|
1760
1855
|
@python_version = args[:python_version] if args.key?(:python_version)
|
1761
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)
|
1762
1858
|
end
|
1763
1859
|
end
|
1764
1860
|
|
@@ -1870,12 +1966,19 @@ module Google
|
|
1870
1966
|
class StorageConfig
|
1871
1967
|
include Google::Apis::Core::Hashable
|
1872
1968
|
|
1969
|
+
# Optional. The name of the Cloud Storage bucket used by the environment. No `gs:
|
1970
|
+
# //` prefix.
|
1971
|
+
# Corresponds to the JSON property `bucket`
|
1972
|
+
# @return [String]
|
1973
|
+
attr_accessor :bucket
|
1974
|
+
|
1873
1975
|
def initialize(**args)
|
1874
1976
|
update!(**args)
|
1875
1977
|
end
|
1876
1978
|
|
1877
1979
|
# Update properties of this object
|
1878
1980
|
def update!(**args)
|
1981
|
+
@bucket = args[:bucket] if args.key?(:bucket)
|
1879
1982
|
end
|
1880
1983
|
end
|
1881
1984
|
|
@@ -2034,6 +2137,11 @@ module Google
|
|
2034
2137
|
class WorkloadsConfig
|
2035
2138
|
include Google::Apis::Core::Hashable
|
2036
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
|
+
|
2037
2145
|
# Configuration for resources used by Airflow schedulers.
|
2038
2146
|
# Corresponds to the JSON property `scheduler`
|
2039
2147
|
# @return [Google::Apis::ComposerV1beta1::SchedulerResource]
|
@@ -2060,6 +2168,7 @@ module Google
|
|
2060
2168
|
|
2061
2169
|
# Update properties of this object
|
2062
2170
|
def update!(**args)
|
2171
|
+
@dag_processor = args[:dag_processor] if args.key?(:dag_processor)
|
2063
2172
|
@scheduler = args[:scheduler] if args.key?(:scheduler)
|
2064
2173
|
@triggerer = args[:triggerer] if args.key?(:triggerer)
|
2065
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.
|
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 = "
|
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,10 +381,21 @@ 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
|
381
397
|
property :machine_type, as: 'machineType'
|
398
|
+
property :zone, as: 'zone'
|
382
399
|
end
|
383
400
|
end
|
384
401
|
|
@@ -608,6 +625,8 @@ module Google
|
|
608
625
|
class NodeConfig
|
609
626
|
# @private
|
610
627
|
class Representation < Google::Apis::Core::JsonRepresentation
|
628
|
+
property :composer_internal_ipv4_cidr_block, as: 'composerInternalIpv4CidrBlock'
|
629
|
+
property :composer_network_attachment, as: 'composerNetworkAttachment'
|
611
630
|
property :disk_size_gb, as: 'diskSizeGb'
|
612
631
|
property :enable_ip_masq_agent, as: 'enableIpMasqAgent'
|
613
632
|
property :ip_allocation_policy, as: 'ipAllocationPolicy', class: Google::Apis::ComposerV1beta1::IpAllocationPolicy, decorator: Google::Apis::ComposerV1beta1::IpAllocationPolicy::Representation
|
@@ -684,6 +703,7 @@ module Google
|
|
684
703
|
property :cloud_composer_network_ipv4_cidr_block, as: 'cloudComposerNetworkIpv4CidrBlock'
|
685
704
|
property :cloud_composer_network_ipv4_reserved_range, as: 'cloudComposerNetworkIpv4ReservedRange'
|
686
705
|
property :cloud_sql_ipv4_cidr_block, as: 'cloudSqlIpv4CidrBlock'
|
706
|
+
property :enable_private_builds_only, as: 'enablePrivateBuildsOnly'
|
687
707
|
property :enable_private_environment, as: 'enablePrivateEnvironment'
|
688
708
|
property :enable_privately_used_public_ips, as: 'enablePrivatelyUsedPublicIps'
|
689
709
|
property :networking_config, as: 'networkingConfig', class: Google::Apis::ComposerV1beta1::NetworkingConfig, decorator: Google::Apis::ComposerV1beta1::NetworkingConfig::Representation
|
@@ -754,6 +774,7 @@ module Google
|
|
754
774
|
hash :pypi_packages, as: 'pypiPackages'
|
755
775
|
property :python_version, as: 'pythonVersion'
|
756
776
|
property :scheduler_count, as: 'schedulerCount'
|
777
|
+
property :web_server_plugins_mode, as: 'webServerPluginsMode'
|
757
778
|
end
|
758
779
|
end
|
759
780
|
|
@@ -787,6 +808,7 @@ module Google
|
|
787
808
|
class StorageConfig
|
788
809
|
# @private
|
789
810
|
class Representation < Google::Apis::Core::JsonRepresentation
|
811
|
+
property :bucket, as: 'bucket'
|
790
812
|
end
|
791
813
|
end
|
792
814
|
|
@@ -837,6 +859,8 @@ module Google
|
|
837
859
|
class WorkloadsConfig
|
838
860
|
# @private
|
839
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
|
+
|
840
864
|
property :scheduler, as: 'scheduler', class: Google::Apis::ComposerV1beta1::SchedulerResource, decorator: Google::Apis::ComposerV1beta1::SchedulerResource::Representation
|
841
865
|
|
842
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.
|
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-
|
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.
|
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: []
|