google-apis-composer_v1 0.17.0 → 0.18.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: 8c68e50201104aac9a1671fea03a08212446821b656729783e37e55f89879536
4
- data.tar.gz: 9bc7c10deba2ca7b712995ce3d95db40894a448d7ac1b7617f63e0ab5540fbd8
3
+ metadata.gz: 748a8206a816a49a036f152bbde625feac6901ec531a7dd2c0748a4c9bdceb1c
4
+ data.tar.gz: 1a120c6a38dcfe66ad78bfaa198c59c01523eb2f6393a73540ced0011026ea24
5
5
  SHA512:
6
- metadata.gz: a8f7b40e622ba4aee8722a1989d8c4fe5f596c63150151fee855c7efc050dad42cf121f696e3e6dd7f70d59f7b7273f228d653fcb674318730e4f986c0ed0f0c
7
- data.tar.gz: 76bbd7398350f419e895adc0b3bae747d1a9560f6da551ee9c245e3b29ecb3496c3a15226cfb9f947087faaea0382be5fa09fa227eb08828a0989b43d857c6ef
6
+ metadata.gz: ecef5a025de7d8e44bbf8e7a578b104fe0da3e26c2f935e8975cd004a9c9d20d2dfe01674bc239be5afd2667dc3a6d1d6294b54b6929140ad0ba8db7e1399d28
7
+ data.tar.gz: 743687a2d447cdcf97140d4220e89b34784971c9ab6593fcb447f3379ef6be26329f914b3294bb2591904e5a4e0906fd4abcc9c81ab621588179a23210696aed
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-composer_v1
2
2
 
3
+ ### v0.18.0 (2021-12-07)
4
+
5
+ * Regenerated from discovery document revision 20211130
6
+
3
7
  ### v0.17.0 (2021-11-20)
4
8
 
5
9
  * Regenerated from discovery document revision 20211113
@@ -308,6 +308,15 @@ module Google
308
308
  # @return [String]
309
309
  attr_accessor :gke_cluster
310
310
 
311
+ # The configuration settings for Cloud Composer maintenance window. The
312
+ # following example: ``` ` "startTime":"2019-08-01T01:00:00Z" "endTime":"2019-08-
313
+ # 01T07:00:00Z" "recurrence":"FREQ=WEEKLY;BYDAY=TU,WE" ` ``` would define a
314
+ # maintenance window between 01 and 07 hours UTC during each Tuesday and
315
+ # Wednesday.
316
+ # Corresponds to the JSON property `maintenanceWindow`
317
+ # @return [Google::Apis::ComposerV1::MaintenanceWindow]
318
+ attr_accessor :maintenance_window
319
+
311
320
  # The configuration information for the Kubernetes Engine nodes running the
312
321
  # Apache Airflow software.
313
322
  # Corresponds to the JSON property `nodeConfig`
@@ -363,6 +372,7 @@ module Google
363
372
  @encryption_config = args[:encryption_config] if args.key?(:encryption_config)
364
373
  @environment_size = args[:environment_size] if args.key?(:environment_size)
365
374
  @gke_cluster = args[:gke_cluster] if args.key?(:gke_cluster)
375
+ @maintenance_window = args[:maintenance_window] if args.key?(:maintenance_window)
366
376
  @node_config = args[:node_config] if args.key?(:node_config)
367
377
  @node_count = args[:node_count] if args.key?(:node_count)
368
378
  @private_environment_config = args[:private_environment_config] if args.key?(:private_environment_config)
@@ -577,6 +587,46 @@ module Google
577
587
  end
578
588
  end
579
589
 
590
+ # The configuration settings for Cloud Composer maintenance window. The
591
+ # following example: ``` ` "startTime":"2019-08-01T01:00:00Z" "endTime":"2019-08-
592
+ # 01T07:00:00Z" "recurrence":"FREQ=WEEKLY;BYDAY=TU,WE" ` ``` would define a
593
+ # maintenance window between 01 and 07 hours UTC during each Tuesday and
594
+ # Wednesday.
595
+ class MaintenanceWindow
596
+ include Google::Apis::Core::Hashable
597
+
598
+ # Required. Maintenance window end time. It is used only to calculate the
599
+ # duration of the maintenance window. The value for end-time must be in the
600
+ # future, relative to `start_time`.
601
+ # Corresponds to the JSON property `endTime`
602
+ # @return [String]
603
+ attr_accessor :end_time
604
+
605
+ # Required. Maintenance window recurrence. Format is a subset of [RFC-5545](
606
+ # https://tools.ietf.org/html/rfc5545) `RRULE`. The only allowed values for `
607
+ # FREQ` field are `FREQ=DAILY` and `FREQ=WEEKLY;BYDAY=...` Example values: `FREQ=
608
+ # WEEKLY;BYDAY=TU,WE`, `FREQ=DAILY`.
609
+ # Corresponds to the JSON property `recurrence`
610
+ # @return [String]
611
+ attr_accessor :recurrence
612
+
613
+ # Required. Start time of the first recurrence of the maintenance window.
614
+ # Corresponds to the JSON property `startTime`
615
+ # @return [String]
616
+ attr_accessor :start_time
617
+
618
+ def initialize(**args)
619
+ update!(**args)
620
+ end
621
+
622
+ # Update properties of this object
623
+ def update!(**args)
624
+ @end_time = args[:end_time] if args.key?(:end_time)
625
+ @recurrence = args[:recurrence] if args.key?(:recurrence)
626
+ @start_time = args[:start_time] if args.key?(:start_time)
627
+ end
628
+ end
629
+
580
630
  # The configuration information for the Kubernetes Engine nodes running the
581
631
  # Apache Airflow software.
582
632
  class NodeConfig
@@ -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.17.0"
19
+ GEM_VERSION = "0.18.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 = "20211113"
25
+ REVISION = "20211130"
26
26
  end
27
27
  end
28
28
  end
@@ -100,6 +100,12 @@ module Google
100
100
  include Google::Apis::Core::JsonObjectSupport
101
101
  end
102
102
 
103
+ class MaintenanceWindow
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
103
109
  class NodeConfig
104
110
  class Representation < Google::Apis::Core::JsonRepresentation; end
105
111
 
@@ -251,6 +257,8 @@ module Google
251
257
 
252
258
  property :environment_size, as: 'environmentSize'
253
259
  property :gke_cluster, as: 'gkeCluster'
260
+ property :maintenance_window, as: 'maintenanceWindow', class: Google::Apis::ComposerV1::MaintenanceWindow, decorator: Google::Apis::ComposerV1::MaintenanceWindow::Representation
261
+
254
262
  property :node_config, as: 'nodeConfig', class: Google::Apis::ComposerV1::NodeConfig, decorator: Google::Apis::ComposerV1::NodeConfig::Representation
255
263
 
256
264
  property :node_count, as: 'nodeCount'
@@ -318,6 +326,15 @@ module Google
318
326
  end
319
327
  end
320
328
 
329
+ class MaintenanceWindow
330
+ # @private
331
+ class Representation < Google::Apis::Core::JsonRepresentation
332
+ property :end_time, as: 'endTime'
333
+ property :recurrence, as: 'recurrence'
334
+ property :start_time, as: 'startTime'
335
+ end
336
+ end
337
+
321
338
  class NodeConfig
322
339
  # @private
323
340
  class Representation < Google::Apis::Core::JsonRepresentation
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.17.0
4
+ version: 0.18.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-12-06 00:00:00.000000000 Z
11
+ date: 2021-12-13 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.17.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-composer_v1/v0.18.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: []