google-apis-composer_v1 0.22.0 → 0.25.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1ee8b7a9697514ffd75790aa5f098fd854b1e1adfd53723edfea1c8e2caa7c61
|
4
|
+
data.tar.gz: d1eb33872d01033233ef7bb77f896cbadf933508da6f943ee29f0253404d5bdb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 542d781e8c3373dc31dc202a8aefbd17e438558b225da5216eda147eda8ff46abb4f101e7af8421a7a34d1bad40bc62bc3478b180962fe1dee7dc1854ab3804c
|
7
|
+
data.tar.gz: 6a2584c16865ddea2a4127097f05e25bd4cbce22db25b6d7b29af7be73aa54a76bd1e9305e77a19292dcd82041e460d42b798a0fb2f442c12ea84a9403cfb7cd
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release history for google-apis-composer_v1
|
2
2
|
|
3
|
+
### v0.25.0 (2022-06-05)
|
4
|
+
|
5
|
+
* Regenerated using generator version 0.5.0
|
6
|
+
|
7
|
+
### v0.24.0 (2022-05-25)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220518
|
10
|
+
|
11
|
+
### v0.23.0 (2022-05-17)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220512
|
14
|
+
|
3
15
|
### v0.22.0 (2022-04-01)
|
4
16
|
|
5
17
|
* Regenerated from discovery document revision 20220326
|
@@ -96,6 +96,31 @@ module Google
|
|
96
96
|
end
|
97
97
|
end
|
98
98
|
|
99
|
+
# CIDR block with an optional name.
|
100
|
+
class CidrBlock
|
101
|
+
include Google::Apis::Core::Hashable
|
102
|
+
|
103
|
+
# CIDR block that must be specified in CIDR notation.
|
104
|
+
# Corresponds to the JSON property `cidrBlock`
|
105
|
+
# @return [String]
|
106
|
+
attr_accessor :cidr_block
|
107
|
+
|
108
|
+
# User-defined name that identifies the CIDR block.
|
109
|
+
# Corresponds to the JSON property `displayName`
|
110
|
+
# @return [String]
|
111
|
+
attr_accessor :display_name
|
112
|
+
|
113
|
+
def initialize(**args)
|
114
|
+
update!(**args)
|
115
|
+
end
|
116
|
+
|
117
|
+
# Update properties of this object
|
118
|
+
def update!(**args)
|
119
|
+
@cidr_block = args[:cidr_block] if args.key?(:cidr_block)
|
120
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
121
|
+
end
|
122
|
+
end
|
123
|
+
|
99
124
|
# The configuration of Cloud SQL instance that is used by the Apache Airflow
|
100
125
|
# software.
|
101
126
|
class DatabaseConfig
|
@@ -315,6 +340,14 @@ module Google
|
|
315
340
|
# @return [Google::Apis::ComposerV1::MaintenanceWindow]
|
316
341
|
attr_accessor :maintenance_window
|
317
342
|
|
343
|
+
# Configuration options for the master authorized networks feature. Enabled
|
344
|
+
# master authorized networks will disallow all external traffic to access
|
345
|
+
# Kubernetes master through HTTPS except traffic from the given CIDR blocks,
|
346
|
+
# Google Compute Engine Public IPs and Google Prod IPs.
|
347
|
+
# Corresponds to the JSON property `masterAuthorizedNetworksConfig`
|
348
|
+
# @return [Google::Apis::ComposerV1::MasterAuthorizedNetworksConfig]
|
349
|
+
attr_accessor :master_authorized_networks_config
|
350
|
+
|
318
351
|
# The configuration information for the Kubernetes Engine nodes running the
|
319
352
|
# Apache Airflow software.
|
320
353
|
# Corresponds to the JSON property `nodeConfig`
|
@@ -371,6 +404,7 @@ module Google
|
|
371
404
|
@environment_size = args[:environment_size] if args.key?(:environment_size)
|
372
405
|
@gke_cluster = args[:gke_cluster] if args.key?(:gke_cluster)
|
373
406
|
@maintenance_window = args[:maintenance_window] if args.key?(:maintenance_window)
|
407
|
+
@master_authorized_networks_config = args[:master_authorized_networks_config] if args.key?(:master_authorized_networks_config)
|
374
408
|
@node_config = args[:node_config] if args.key?(:node_config)
|
375
409
|
@node_count = args[:node_count] if args.key?(:node_count)
|
376
410
|
@private_environment_config = args[:private_environment_config] if args.key?(:private_environment_config)
|
@@ -625,6 +659,35 @@ module Google
|
|
625
659
|
end
|
626
660
|
end
|
627
661
|
|
662
|
+
# Configuration options for the master authorized networks feature. Enabled
|
663
|
+
# master authorized networks will disallow all external traffic to access
|
664
|
+
# Kubernetes master through HTTPS except traffic from the given CIDR blocks,
|
665
|
+
# Google Compute Engine Public IPs and Google Prod IPs.
|
666
|
+
class MasterAuthorizedNetworksConfig
|
667
|
+
include Google::Apis::Core::Hashable
|
668
|
+
|
669
|
+
# Up to 50 external networks that could access Kubernetes master through HTTPS.
|
670
|
+
# Corresponds to the JSON property `cidrBlocks`
|
671
|
+
# @return [Array<Google::Apis::ComposerV1::CidrBlock>]
|
672
|
+
attr_accessor :cidr_blocks
|
673
|
+
|
674
|
+
# Whether or not master authorized networks feature is enabled.
|
675
|
+
# Corresponds to the JSON property `enabled`
|
676
|
+
# @return [Boolean]
|
677
|
+
attr_accessor :enabled
|
678
|
+
alias_method :enabled?, :enabled
|
679
|
+
|
680
|
+
def initialize(**args)
|
681
|
+
update!(**args)
|
682
|
+
end
|
683
|
+
|
684
|
+
# Update properties of this object
|
685
|
+
def update!(**args)
|
686
|
+
@cidr_blocks = args[:cidr_blocks] if args.key?(:cidr_blocks)
|
687
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
688
|
+
end
|
689
|
+
end
|
690
|
+
|
628
691
|
# The configuration information for the Kubernetes Engine nodes running the
|
629
692
|
# Apache Airflow software.
|
630
693
|
class NodeConfig
|
@@ -637,6 +700,15 @@ module Google
|
|
637
700
|
# @return [Fixnum]
|
638
701
|
attr_accessor :disk_size_gb
|
639
702
|
|
703
|
+
# Optional. Deploys 'ip-masq-agent' daemon set in the GKE cluster and defines
|
704
|
+
# nonMasqueradeCIDRs equals to pod IP range so IP masquerading is used for all
|
705
|
+
# destination addresses, except between pods traffic. See: https://cloud.google.
|
706
|
+
# com/kubernetes-engine/docs/how-to/ip-masquerade-agent
|
707
|
+
# Corresponds to the JSON property `enableIpMasqAgent`
|
708
|
+
# @return [Boolean]
|
709
|
+
attr_accessor :enable_ip_masq_agent
|
710
|
+
alias_method :enable_ip_masq_agent?, :enable_ip_masq_agent
|
711
|
+
|
640
712
|
# Configuration for controlling how IPs are allocated in the GKE cluster running
|
641
713
|
# the Apache Airflow software.
|
642
714
|
# Corresponds to the JSON property `ipAllocationPolicy`
|
@@ -732,6 +804,7 @@ module Google
|
|
732
804
|
# Update properties of this object
|
733
805
|
def update!(**args)
|
734
806
|
@disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
|
807
|
+
@enable_ip_masq_agent = args[:enable_ip_masq_agent] if args.key?(:enable_ip_masq_agent)
|
735
808
|
@ip_allocation_policy = args[:ip_allocation_policy] if args.key?(:ip_allocation_policy)
|
736
809
|
@location = args[:location] if args.key?(:location)
|
737
810
|
@machine_type = args[:machine_type] if args.key?(:machine_type)
|
@@ -938,6 +1011,14 @@ module Google
|
|
938
1011
|
attr_accessor :enable_private_environment
|
939
1012
|
alias_method :enable_private_environment?, :enable_private_environment
|
940
1013
|
|
1014
|
+
# Optional. When enabled, IPs from public (non-RFC1918) ranges can be used for `
|
1015
|
+
# IPAllocationPolicy.cluster_ipv4_cidr_block` and `IPAllocationPolicy.
|
1016
|
+
# service_ipv4_cidr_block`.
|
1017
|
+
# Corresponds to the JSON property `enablePrivatelyUsedPublicIps`
|
1018
|
+
# @return [Boolean]
|
1019
|
+
attr_accessor :enable_privately_used_public_ips
|
1020
|
+
alias_method :enable_privately_used_public_ips?, :enable_privately_used_public_ips
|
1021
|
+
|
941
1022
|
# Configuration options for the private GKE cluster in a Cloud Composer
|
942
1023
|
# environment.
|
943
1024
|
# Corresponds to the JSON property `privateClusterConfig`
|
@@ -970,6 +1051,7 @@ module Google
|
|
970
1051
|
@cloud_composer_network_ipv4_reserved_range = args[:cloud_composer_network_ipv4_reserved_range] if args.key?(:cloud_composer_network_ipv4_reserved_range)
|
971
1052
|
@cloud_sql_ipv4_cidr_block = args[:cloud_sql_ipv4_cidr_block] if args.key?(:cloud_sql_ipv4_cidr_block)
|
972
1053
|
@enable_private_environment = args[:enable_private_environment] if args.key?(:enable_private_environment)
|
1054
|
+
@enable_privately_used_public_ips = args[:enable_privately_used_public_ips] if args.key?(:enable_privately_used_public_ips)
|
973
1055
|
@private_cluster_config = args[:private_cluster_config] if args.key?(:private_cluster_config)
|
974
1056
|
@web_server_ipv4_cidr_block = args[:web_server_ipv4_cidr_block] if args.key?(:web_server_ipv4_cidr_block)
|
975
1057
|
@web_server_ipv4_reserved_range = args[:web_server_ipv4_reserved_range] if args.key?(:web_server_ipv4_reserved_range)
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ComposerV1
|
18
18
|
# Version of the google-apis-composer_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.25.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.5.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220518"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -34,6 +34,12 @@ module Google
|
|
34
34
|
include Google::Apis::Core::JsonObjectSupport
|
35
35
|
end
|
36
36
|
|
37
|
+
class CidrBlock
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
37
43
|
class DatabaseConfig
|
38
44
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
45
|
|
@@ -106,6 +112,12 @@ module Google
|
|
106
112
|
include Google::Apis::Core::JsonObjectSupport
|
107
113
|
end
|
108
114
|
|
115
|
+
class MasterAuthorizedNetworksConfig
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
+
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
119
|
+
end
|
120
|
+
|
109
121
|
class NodeConfig
|
110
122
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
123
|
|
@@ -203,6 +215,14 @@ module Google
|
|
203
215
|
end
|
204
216
|
end
|
205
217
|
|
218
|
+
class CidrBlock
|
219
|
+
# @private
|
220
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
221
|
+
property :cidr_block, as: 'cidrBlock'
|
222
|
+
property :display_name, as: 'displayName'
|
223
|
+
end
|
224
|
+
end
|
225
|
+
|
206
226
|
class DatabaseConfig
|
207
227
|
# @private
|
208
228
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -259,6 +279,8 @@ module Google
|
|
259
279
|
property :gke_cluster, as: 'gkeCluster'
|
260
280
|
property :maintenance_window, as: 'maintenanceWindow', class: Google::Apis::ComposerV1::MaintenanceWindow, decorator: Google::Apis::ComposerV1::MaintenanceWindow::Representation
|
261
281
|
|
282
|
+
property :master_authorized_networks_config, as: 'masterAuthorizedNetworksConfig', class: Google::Apis::ComposerV1::MasterAuthorizedNetworksConfig, decorator: Google::Apis::ComposerV1::MasterAuthorizedNetworksConfig::Representation
|
283
|
+
|
262
284
|
property :node_config, as: 'nodeConfig', class: Google::Apis::ComposerV1::NodeConfig, decorator: Google::Apis::ComposerV1::NodeConfig::Representation
|
263
285
|
|
264
286
|
property :node_count, as: 'nodeCount'
|
@@ -335,10 +357,20 @@ module Google
|
|
335
357
|
end
|
336
358
|
end
|
337
359
|
|
360
|
+
class MasterAuthorizedNetworksConfig
|
361
|
+
# @private
|
362
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
363
|
+
collection :cidr_blocks, as: 'cidrBlocks', class: Google::Apis::ComposerV1::CidrBlock, decorator: Google::Apis::ComposerV1::CidrBlock::Representation
|
364
|
+
|
365
|
+
property :enabled, as: 'enabled'
|
366
|
+
end
|
367
|
+
end
|
368
|
+
|
338
369
|
class NodeConfig
|
339
370
|
# @private
|
340
371
|
class Representation < Google::Apis::Core::JsonRepresentation
|
341
372
|
property :disk_size_gb, as: 'diskSizeGb'
|
373
|
+
property :enable_ip_masq_agent, as: 'enableIpMasqAgent'
|
342
374
|
property :ip_allocation_policy, as: 'ipAllocationPolicy', class: Google::Apis::ComposerV1::IpAllocationPolicy, decorator: Google::Apis::ComposerV1::IpAllocationPolicy::Representation
|
343
375
|
|
344
376
|
property :location, as: 'location'
|
@@ -392,6 +424,7 @@ module Google
|
|
392
424
|
property :cloud_composer_network_ipv4_reserved_range, as: 'cloudComposerNetworkIpv4ReservedRange'
|
393
425
|
property :cloud_sql_ipv4_cidr_block, as: 'cloudSqlIpv4CidrBlock'
|
394
426
|
property :enable_private_environment, as: 'enablePrivateEnvironment'
|
427
|
+
property :enable_privately_used_public_ips, as: 'enablePrivatelyUsedPublicIps'
|
395
428
|
property :private_cluster_config, as: 'privateClusterConfig', class: Google::Apis::ComposerV1::PrivateClusterConfig, decorator: Google::Apis::ComposerV1::PrivateClusterConfig::Representation
|
396
429
|
|
397
430
|
property :web_server_ipv4_cidr_block, as: 'webServerIpv4CidrBlock'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-composer_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.25.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: 2022-
|
11
|
+
date: 2022-06-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.5'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0.
|
29
|
+
version: '0.5'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -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_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-composer_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-composer_v1/v0.25.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-composer_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.3.
|
78
|
+
rubygems_version: 3.3.14
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud Composer API V1
|