google-apis-composer_v1 0.38.0 → 0.40.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: '09736bb7f1800734e1665c282133cc2b71c940a5572257b224ec1f62e7fee2eb'
4
- data.tar.gz: cc2b35ee29093015983f7f00717b06802fb4658547f547573793d746e1d17a79
3
+ metadata.gz: 1dd62828ed56fa2107f42e531643c17f5afba863f27993e707c96dbd2f4a7a2e
4
+ data.tar.gz: db34db845be7e11818de8cac78276558768fcee01acc14f21df7028d0f21c137
5
5
  SHA512:
6
- metadata.gz: 85d03e3dcb88acd4d378b1de1a1b10baa148fb0874aae93e1acddb0f1954ed94ec7bfa21c9b78e95e13495542d7e7e0d85c15c39ed1d2b4a60e3009186a7d182
7
- data.tar.gz: fe4d79d4065a4ed1ded09a5bf47105c3af283c714321c23dde81e908d3fef52e4be3970c951dbe047d6e48b65027b53de2d19e2c34885ba0abcbba4c19db76e1
6
+ metadata.gz: 7c7a06dffacc293eba72127a4c8c9f5a5c13b2fc8eaddaa0bf24d4349c6c834cd15b31c5a668086b78bb8a3b7b80b342b3e7c5f289615f5102b32c8bb1778c74
7
+ data.tar.gz: 8d1a6bfb3ebd44641f4788d60cec1e363e43c607633deacdbcab99b2a9af6b943ba6acce914680b78902cb5b4616598b529fc56fccfc765939bad0a4b5b88003
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-composer_v1
2
2
 
3
+ ### v0.40.0 (2023-10-08)
4
+
5
+ * Regenerated from discovery document revision 20231004
6
+
7
+ ### v0.39.0 (2023-09-24)
8
+
9
+ * Regenerated from discovery document revision 20230917
10
+
3
11
  ### v0.38.0 (2023-09-17)
4
12
 
5
13
  * Regenerated from discovery document revision 20230906
@@ -134,6 +134,15 @@ module Google
134
134
  # @return [String]
135
135
  attr_accessor :machine_type
136
136
 
137
+ # Optional. The Compute Engine zone where the Airflow database is created. If
138
+ # zone is provided, it must be in the region selected for the environment. If
139
+ # zone is not provided, a zone is automatically selected. The zone can only be
140
+ # set during environment creation. Supported for Cloud Composer environments in
141
+ # versions composer-2.*.*-airflow-*.*.*.
142
+ # Corresponds to the JSON property `zone`
143
+ # @return [String]
144
+ attr_accessor :zone
145
+
137
146
  def initialize(**args)
138
147
  update!(**args)
139
148
  end
@@ -141,6 +150,7 @@ module Google
141
150
  # Update properties of this object
142
151
  def update!(**args)
143
152
  @machine_type = args[:machine_type] if args.key?(:machine_type)
153
+ @zone = args[:zone] if args.key?(:zone)
144
154
  end
145
155
  end
146
156
 
@@ -281,6 +291,12 @@ module Google
281
291
  # @return [String]
282
292
  attr_accessor :name
283
293
 
294
+ # Output only. Reserved for future use.
295
+ # Corresponds to the JSON property `satisfiesPzs`
296
+ # @return [Boolean]
297
+ attr_accessor :satisfies_pzs
298
+ alias_method :satisfies_pzs?, :satisfies_pzs
299
+
284
300
  # The current state of the environment.
285
301
  # Corresponds to the JSON property `state`
286
302
  # @return [String]
@@ -312,6 +328,7 @@ module Google
312
328
  @create_time = args[:create_time] if args.key?(:create_time)
313
329
  @labels = args[:labels] if args.key?(:labels)
314
330
  @name = args[:name] if args.key?(:name)
331
+ @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
315
332
  @state = args[:state] if args.key?(:state)
316
333
  @storage_config = args[:storage_config] if args.key?(:storage_config)
317
334
  @update_time = args[:update_time] if args.key?(:update_time)
@@ -1771,12 +1788,50 @@ module Google
1771
1788
  class StorageConfig
1772
1789
  include Google::Apis::Core::Hashable
1773
1790
 
1791
+ # Optional. The name of the Cloud Storage bucket used by the environment. No `gs:
1792
+ # //` prefix.
1793
+ # Corresponds to the JSON property `bucket`
1794
+ # @return [String]
1795
+ attr_accessor :bucket
1796
+
1774
1797
  def initialize(**args)
1775
1798
  update!(**args)
1776
1799
  end
1777
1800
 
1778
1801
  # Update properties of this object
1779
1802
  def update!(**args)
1803
+ @bucket = args[:bucket] if args.key?(:bucket)
1804
+ end
1805
+ end
1806
+
1807
+ # Configuration for resources used by Airflow triggerers.
1808
+ class TriggererResource
1809
+ include Google::Apis::Core::Hashable
1810
+
1811
+ # Optional. The number of triggerers.
1812
+ # Corresponds to the JSON property `count`
1813
+ # @return [Fixnum]
1814
+ attr_accessor :count
1815
+
1816
+ # Optional. CPU request and limit for a single Airflow triggerer replica.
1817
+ # Corresponds to the JSON property `cpu`
1818
+ # @return [Float]
1819
+ attr_accessor :cpu
1820
+
1821
+ # Optional. Memory (GB) request and limit for a single Airflow triggerer replica.
1822
+ # Corresponds to the JSON property `memoryGb`
1823
+ # @return [Float]
1824
+ attr_accessor :memory_gb
1825
+
1826
+ def initialize(**args)
1827
+ update!(**args)
1828
+ end
1829
+
1830
+ # Update properties of this object
1831
+ def update!(**args)
1832
+ @count = args[:count] if args.key?(:count)
1833
+ @cpu = args[:cpu] if args.key?(:cpu)
1834
+ @memory_gb = args[:memory_gb] if args.key?(:memory_gb)
1780
1835
  end
1781
1836
  end
1782
1837
 
@@ -1909,6 +1964,11 @@ module Google
1909
1964
  # @return [Google::Apis::ComposerV1::SchedulerResource]
1910
1965
  attr_accessor :scheduler
1911
1966
 
1967
+ # Configuration for resources used by Airflow triggerers.
1968
+ # Corresponds to the JSON property `triggerer`
1969
+ # @return [Google::Apis::ComposerV1::TriggererResource]
1970
+ attr_accessor :triggerer
1971
+
1912
1972
  # Configuration for resources used by Airflow web server.
1913
1973
  # Corresponds to the JSON property `webServer`
1914
1974
  # @return [Google::Apis::ComposerV1::WebServerResource]
@@ -1926,6 +1986,7 @@ module Google
1926
1986
  # Update properties of this object
1927
1987
  def update!(**args)
1928
1988
  @scheduler = args[:scheduler] if args.key?(:scheduler)
1989
+ @triggerer = args[:triggerer] if args.key?(:triggerer)
1929
1990
  @web_server = args[:web_server] if args.key?(:web_server)
1930
1991
  @worker = args[:worker] if args.key?(:worker)
1931
1992
  end
@@ -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.38.0"
19
+ GEM_VERSION = "0.40.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 = "20230906"
25
+ REVISION = "20231004"
26
26
  end
27
27
  end
28
28
  end
@@ -280,6 +280,12 @@ module Google
280
280
  include Google::Apis::Core::JsonObjectSupport
281
281
  end
282
282
 
283
+ class TriggererResource
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
283
289
  class WebServerConfig
284
290
  class Representation < Google::Apis::Core::JsonRepresentation; end
285
291
 
@@ -341,6 +347,7 @@ module Google
341
347
  # @private
342
348
  class Representation < Google::Apis::Core::JsonRepresentation
343
349
  property :machine_type, as: 'machineType'
350
+ property :zone, as: 'zone'
344
351
  end
345
352
  end
346
353
 
@@ -386,6 +393,7 @@ module Google
386
393
  property :create_time, as: 'createTime'
387
394
  hash :labels, as: 'labels'
388
395
  property :name, as: 'name'
396
+ property :satisfies_pzs, as: 'satisfiesPzs'
389
397
  property :state, as: 'state'
390
398
  property :storage_config, as: 'storageConfig', class: Google::Apis::ComposerV1::StorageConfig, decorator: Google::Apis::ComposerV1::StorageConfig::Representation
391
399
 
@@ -739,6 +747,16 @@ module Google
739
747
  class StorageConfig
740
748
  # @private
741
749
  class Representation < Google::Apis::Core::JsonRepresentation
750
+ property :bucket, as: 'bucket'
751
+ end
752
+ end
753
+
754
+ class TriggererResource
755
+ # @private
756
+ class Representation < Google::Apis::Core::JsonRepresentation
757
+ property :count, as: 'count'
758
+ property :cpu, as: 'cpu'
759
+ property :memory_gb, as: 'memoryGb'
742
760
  end
743
761
  end
744
762
 
@@ -782,6 +800,8 @@ module Google
782
800
  class Representation < Google::Apis::Core::JsonRepresentation
783
801
  property :scheduler, as: 'scheduler', class: Google::Apis::ComposerV1::SchedulerResource, decorator: Google::Apis::ComposerV1::SchedulerResource::Representation
784
802
 
803
+ property :triggerer, as: 'triggerer', class: Google::Apis::ComposerV1::TriggererResource, decorator: Google::Apis::ComposerV1::TriggererResource::Representation
804
+
785
805
  property :web_server, as: 'webServer', class: Google::Apis::ComposerV1::WebServerResource, decorator: Google::Apis::ComposerV1::WebServerResource::Representation
786
806
 
787
807
  property :worker, as: 'worker', class: Google::Apis::ComposerV1::WorkerResource, decorator: Google::Apis::ComposerV1::WorkerResource::Representation
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.38.0
4
+ version: 0.40.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-09-17 00:00:00.000000000 Z
11
+ date: 2023-10-08 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.38.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-composer_v1/v0.40.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: []