google-apis-composer_v1beta1 0.14.0 → 0.15.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: e685d532206a89765b9897c70d4f5b5a1ee66cf16b60cec4bc68e924ba4d27fe
4
- data.tar.gz: a1da23bb687db2843012d593cca22c7fe6587238d63646a09580f48265fe3082
3
+ metadata.gz: 8de9c3df4cdf33b64ea91c625b1b1a72795294237e8e3d630f343049fb02fac2
4
+ data.tar.gz: 43e3373b344e999fcd3b2857c127114ca79a1114782e2feb1c523c8b0f98bfdd
5
5
  SHA512:
6
- metadata.gz: 2f4c48fe25d3e7e24503c5737d9f8541acdf001ef89c3d7ee2147efe87e3beb37cadfcaa1aceb777a33e7ce8f28798fb27500162b1005f139cc238423a646a06
7
- data.tar.gz: 17e804fa49b5c5005eb2fbfa4d2b525f40e603fbdb08abeab3e3d77cac4ad064101ebbbe02687abcdb5237efb584f67cae74a72f4ee4c9822ebfa2b1d38f4073
6
+ metadata.gz: 19c88dc518ca0b90388621dd550caad027960e5b08c1120ff3977825b10f6eb94384e84aa3c44d44e6720f0eb5569145cccbf87019626bfd1a105bb998c2b1c8
7
+ data.tar.gz: c74aeeed9c4278ed56c86ea421bd091fa4d8fc2c60653468095f3f8d0bcddba154c7f9cf2c75f79c1b2c998be97b62d3c00a0e6822ae7470b43476022a15be67
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-composer_v1beta1
2
2
 
3
+ ### v0.15.0 (2021-11-10)
4
+
5
+ * Regenerated from discovery document revision 20211102
6
+
3
7
  ### v0.14.0 (2021-10-20)
4
8
 
5
9
  * Unspecified changes
@@ -128,6 +128,31 @@ module Google
128
128
  end
129
129
  end
130
130
 
131
+ # CidrBlock contains an optional name and one CIDR block.
132
+ class CidrBlock
133
+ include Google::Apis::Core::Hashable
134
+
135
+ # cidr_block must be specified in CIDR notation.
136
+ # Corresponds to the JSON property `cidrBlock`
137
+ # @return [String]
138
+ attr_accessor :cidr_block
139
+
140
+ # display_name is a field for users to identify CIDR blocks.
141
+ # Corresponds to the JSON property `displayName`
142
+ # @return [String]
143
+ attr_accessor :display_name
144
+
145
+ def initialize(**args)
146
+ update!(**args)
147
+ end
148
+
149
+ # Update properties of this object
150
+ def update!(**args)
151
+ @cidr_block = args[:cidr_block] if args.key?(:cidr_block)
152
+ @display_name = args[:display_name] if args.key?(:display_name)
153
+ end
154
+ end
155
+
131
156
  # The configuration of Cloud SQL instance that is used by the Apache Airflow
132
157
  # software. Supported for Cloud Composer environments in versions composer-1.*.*-
133
158
  # airflow-*.*.*.
@@ -341,14 +366,22 @@ module Google
341
366
  attr_accessor :gke_cluster
342
367
 
343
368
  # The configuration settings for Cloud Composer maintenance window. The
344
- # following example: ` "startTime":"2019-08-01T01:00:00Z" "endTime":"2019-08-
345
- # 01T07:00:00Z" "recurrence":"FREQ=WEEKLY;BYDAY=TU,WE" ` would define a
369
+ # following example: ``` ` "startTime":"2019-08-01T01:00:00Z" "endTime":"2019-08-
370
+ # 01T07:00:00Z" "recurrence":"FREQ=WEEKLY;BYDAY=TU,WE" ` ``` would define a
346
371
  # maintenance window between 01 and 07 hours UTC during each Tuesday and
347
372
  # Wednesday.
348
373
  # Corresponds to the JSON property `maintenanceWindow`
349
374
  # @return [Google::Apis::ComposerV1beta1::MaintenanceWindow]
350
375
  attr_accessor :maintenance_window
351
376
 
377
+ # Configuration options for the master authorized networks feature. Enabled
378
+ # master authorized networks will disallow all external traffic to access
379
+ # Kubernetes master through HTTPS except traffic from the given CIDR blocks,
380
+ # Google Compute Engine Public IPs and Google Prod IPs.
381
+ # Corresponds to the JSON property `masterAuthorizedNetworksConfig`
382
+ # @return [Google::Apis::ComposerV1beta1::MasterAuthorizedNetworksConfig]
383
+ attr_accessor :master_authorized_networks_config
384
+
352
385
  # The configuration information for the Kubernetes Engine nodes running the
353
386
  # Apache Airflow software.
354
387
  # Corresponds to the JSON property `nodeConfig`
@@ -406,6 +439,7 @@ module Google
406
439
  @environment_size = args[:environment_size] if args.key?(:environment_size)
407
440
  @gke_cluster = args[:gke_cluster] if args.key?(:gke_cluster)
408
441
  @maintenance_window = args[:maintenance_window] if args.key?(:maintenance_window)
442
+ @master_authorized_networks_config = args[:master_authorized_networks_config] if args.key?(:master_authorized_networks_config)
409
443
  @node_config = args[:node_config] if args.key?(:node_config)
410
444
  @node_count = args[:node_count] if args.key?(:node_count)
411
445
  @private_environment_config = args[:private_environment_config] if args.key?(:private_environment_config)
@@ -625,8 +659,8 @@ module Google
625
659
  end
626
660
 
627
661
  # The configuration settings for Cloud Composer maintenance window. The
628
- # following example: ` "startTime":"2019-08-01T01:00:00Z" "endTime":"2019-08-
629
- # 01T07:00:00Z" "recurrence":"FREQ=WEEKLY;BYDAY=TU,WE" ` would define a
662
+ # following example: ``` ` "startTime":"2019-08-01T01:00:00Z" "endTime":"2019-08-
663
+ # 01T07:00:00Z" "recurrence":"FREQ=WEEKLY;BYDAY=TU,WE" ` ``` would define a
630
664
  # maintenance window between 01 and 07 hours UTC during each Tuesday and
631
665
  # Wednesday.
632
666
  class MaintenanceWindow
@@ -664,6 +698,36 @@ module Google
664
698
  end
665
699
  end
666
700
 
701
+ # Configuration options for the master authorized networks feature. Enabled
702
+ # master authorized networks will disallow all external traffic to access
703
+ # Kubernetes master through HTTPS except traffic from the given CIDR blocks,
704
+ # Google Compute Engine Public IPs and Google Prod IPs.
705
+ class MasterAuthorizedNetworksConfig
706
+ include Google::Apis::Core::Hashable
707
+
708
+ # cidr_blocks define up to 50 external networks that could access Kubernetes
709
+ # master through HTTPS.
710
+ # Corresponds to the JSON property `cidrBlocks`
711
+ # @return [Array<Google::Apis::ComposerV1beta1::CidrBlock>]
712
+ attr_accessor :cidr_blocks
713
+
714
+ # Whether or not master authorized networks is enabled.
715
+ # Corresponds to the JSON property `enabled`
716
+ # @return [Boolean]
717
+ attr_accessor :enabled
718
+ alias_method :enabled?, :enabled
719
+
720
+ def initialize(**args)
721
+ update!(**args)
722
+ end
723
+
724
+ # Update properties of this object
725
+ def update!(**args)
726
+ @cidr_blocks = args[:cidr_blocks] if args.key?(:cidr_blocks)
727
+ @enabled = args[:enabled] if args.key?(:enabled)
728
+ end
729
+ end
730
+
667
731
  # The configuration information for the Kubernetes Engine nodes running the
668
732
  # Apache Airflow software.
669
733
  class NodeConfig
@@ -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.14.0"
19
+ GEM_VERSION = "0.15.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 = "20210922"
25
+ REVISION = "20211102"
26
26
  end
27
27
  end
28
28
  end
@@ -40,6 +40,12 @@ module Google
40
40
  include Google::Apis::Core::JsonObjectSupport
41
41
  end
42
42
 
43
+ class CidrBlock
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
43
49
  class DatabaseConfig
44
50
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
51
 
@@ -112,6 +118,12 @@ module Google
112
118
  include Google::Apis::Core::JsonObjectSupport
113
119
  end
114
120
 
121
+ class MasterAuthorizedNetworksConfig
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
115
127
  class NodeConfig
116
128
  class Representation < Google::Apis::Core::JsonRepresentation; end
117
129
 
@@ -222,6 +234,14 @@ module Google
222
234
  end
223
235
  end
224
236
 
237
+ class CidrBlock
238
+ # @private
239
+ class Representation < Google::Apis::Core::JsonRepresentation
240
+ property :cidr_block, as: 'cidrBlock'
241
+ property :display_name, as: 'displayName'
242
+ end
243
+ end
244
+
225
245
  class DatabaseConfig
226
246
  # @private
227
247
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -278,6 +298,8 @@ module Google
278
298
  property :gke_cluster, as: 'gkeCluster'
279
299
  property :maintenance_window, as: 'maintenanceWindow', class: Google::Apis::ComposerV1beta1::MaintenanceWindow, decorator: Google::Apis::ComposerV1beta1::MaintenanceWindow::Representation
280
300
 
301
+ property :master_authorized_networks_config, as: 'masterAuthorizedNetworksConfig', class: Google::Apis::ComposerV1beta1::MasterAuthorizedNetworksConfig, decorator: Google::Apis::ComposerV1beta1::MasterAuthorizedNetworksConfig::Representation
302
+
281
303
  property :node_config, as: 'nodeConfig', class: Google::Apis::ComposerV1beta1::NodeConfig, decorator: Google::Apis::ComposerV1beta1::NodeConfig::Representation
282
304
 
283
305
  property :node_count, as: 'nodeCount'
@@ -354,6 +376,15 @@ module Google
354
376
  end
355
377
  end
356
378
 
379
+ class MasterAuthorizedNetworksConfig
380
+ # @private
381
+ class Representation < Google::Apis::Core::JsonRepresentation
382
+ collection :cidr_blocks, as: 'cidrBlocks', class: Google::Apis::ComposerV1beta1::CidrBlock, decorator: Google::Apis::ComposerV1beta1::CidrBlock::Representation
383
+
384
+ property :enabled, as: 'enabled'
385
+ end
386
+ end
387
+
357
388
  class NodeConfig
358
389
  # @private
359
390
  class Representation < Google::Apis::Core::JsonRepresentation
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.14.0
4
+ version: 0.15.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-10-27 00:00:00.000000000 Z
11
+ date: 2021-11-15 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.14.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-composer_v1beta1/v0.15.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: []