google-apis-composer_v1 0.22.0 → 0.23.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: 83434a4e3c50e28131444b6b46e62ca8505369c2066ebd3d2ccc094d9d9f70fd
|
4
|
+
data.tar.gz: 246f0e07102db77fc657c87e1369d8af3801226cdd7145662bb9447499fbc12b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 48323abcc35e99822fb578cea28429ee8bbb576f94e0632b99fe64a7462d595beeb59c98b84cf70619322436882ea671ea06a2b4e0101a6c07f81f47b22f2bb9
|
7
|
+
data.tar.gz: 6063d21287299c7f607c4e723c8f4e5e9f057a4f59902f5af8760d93f26c038ba852aac0e683eb724a7476ea7e605aeab5bf02d68b9d384b33ec8c622161411a
|
data/CHANGELOG.md
CHANGED
@@ -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
|
@@ -938,6 +1001,14 @@ module Google
|
|
938
1001
|
attr_accessor :enable_private_environment
|
939
1002
|
alias_method :enable_private_environment?, :enable_private_environment
|
940
1003
|
|
1004
|
+
# Optional. When enabled, IPs from public (non-RFC1918) ranges can be used for `
|
1005
|
+
# IPAllocationPolicy.cluster_ipv4_cidr_block` and `IPAllocationPolicy.
|
1006
|
+
# service_ipv4_cidr_block`.
|
1007
|
+
# Corresponds to the JSON property `enablePrivatelyUsedPublicIps`
|
1008
|
+
# @return [Boolean]
|
1009
|
+
attr_accessor :enable_privately_used_public_ips
|
1010
|
+
alias_method :enable_privately_used_public_ips?, :enable_privately_used_public_ips
|
1011
|
+
|
941
1012
|
# Configuration options for the private GKE cluster in a Cloud Composer
|
942
1013
|
# environment.
|
943
1014
|
# Corresponds to the JSON property `privateClusterConfig`
|
@@ -970,6 +1041,7 @@ module Google
|
|
970
1041
|
@cloud_composer_network_ipv4_reserved_range = args[:cloud_composer_network_ipv4_reserved_range] if args.key?(:cloud_composer_network_ipv4_reserved_range)
|
971
1042
|
@cloud_sql_ipv4_cidr_block = args[:cloud_sql_ipv4_cidr_block] if args.key?(:cloud_sql_ipv4_cidr_block)
|
972
1043
|
@enable_private_environment = args[:enable_private_environment] if args.key?(:enable_private_environment)
|
1044
|
+
@enable_privately_used_public_ips = args[:enable_privately_used_public_ips] if args.key?(:enable_privately_used_public_ips)
|
973
1045
|
@private_cluster_config = args[:private_cluster_config] if args.key?(:private_cluster_config)
|
974
1046
|
@web_server_ipv4_cidr_block = args[:web_server_ipv4_cidr_block] if args.key?(:web_server_ipv4_cidr_block)
|
975
1047
|
@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.23.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220512"
|
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,6 +357,15 @@ 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
|
@@ -392,6 +423,7 @@ module Google
|
|
392
423
|
property :cloud_composer_network_ipv4_reserved_range, as: 'cloudComposerNetworkIpv4ReservedRange'
|
393
424
|
property :cloud_sql_ipv4_cidr_block, as: 'cloudSqlIpv4CidrBlock'
|
394
425
|
property :enable_private_environment, as: 'enablePrivateEnvironment'
|
426
|
+
property :enable_privately_used_public_ips, as: 'enablePrivatelyUsedPublicIps'
|
395
427
|
property :private_cluster_config, as: 'privateClusterConfig', class: Google::Apis::ComposerV1::PrivateClusterConfig, decorator: Google::Apis::ComposerV1::PrivateClusterConfig::Representation
|
396
428
|
|
397
429
|
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.23.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-05-23 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_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.23.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: []
|