google-apis-composer_v1 0.44.0 → 0.46.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: e68cd04bd61e11dcfdf211e7655a2646b0f6b738874aa76025182354a865edab
4
- data.tar.gz: da955efa3e126df1c2b5d054011aee90bab993f4626f6a00cdce400514a5ee10
3
+ metadata.gz: 6b6bee91463abdc5870e53430258a36fed34df2d7370d2a42ecd8acf69da88b1
4
+ data.tar.gz: dc7ec5358fb891f3c9a2847654f0caffd1bd05bb46ba4b37dc69f2c9dba8ae6d
5
5
  SHA512:
6
- metadata.gz: 5ee72ce5209b0d95199aa6d4513fd674f12af76681efade20e9a9dca09e0689512040f64f130b356bb6592d12871f6c3a102693114077d46b5157a9ce59ecc52
7
- data.tar.gz: fd6ce0dc2780897a73aaa2f46aac1241beb9dbaf63dbe7bebcda5662cf3062364a1a4e1f3dfd9ff076d515285c0cd1142300e03f2ee899f76cae92c763c2c7fb
6
+ metadata.gz: e3fa6e55480b3a764348dd5820f4fa4fbe360b5abda20d119d51bd30f7fb4448ab664dd848d169912fa727e0183e6b8a324337b5ab5dd41e81bddbb5d0d6e28d
7
+ data.tar.gz: 10110e9f68f1600ba2b2fa6433097d5c6d0245cb0dffc240c4657257af342142dbd599a7d7b55340c9beddcd03dd55465daff2647098360857131df8b16a9eb2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-composer_v1
2
2
 
3
+ ### v0.46.0 (2024-03-17)
4
+
5
+ * Regenerated from discovery document revision 20240310
6
+
7
+ ### v0.45.0 (2024-03-03)
8
+
9
+ * Regenerated from discovery document revision 20240227
10
+
3
11
  ### v0.44.0 (2024-02-23)
4
12
 
5
13
  * Regenerated using generator version 0.14.0
@@ -22,6 +22,31 @@ module Google
22
22
  module Apis
23
23
  module ComposerV1
24
24
 
25
+ # The policy for airflow metadata database retention.
26
+ class AirflowMetadataRetentionPolicyConfig
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # Optional. How many days data should be retained for.
30
+ # Corresponds to the JSON property `retentionDays`
31
+ # @return [Fixnum]
32
+ attr_accessor :retention_days
33
+
34
+ # Optional. Retention can be either enabled or disabled.
35
+ # Corresponds to the JSON property `retentionMode`
36
+ # @return [String]
37
+ attr_accessor :retention_mode
38
+
39
+ def initialize(**args)
40
+ update!(**args)
41
+ end
42
+
43
+ # Update properties of this object
44
+ def update!(**args)
45
+ @retention_days = args[:retention_days] if args.key?(:retention_days)
46
+ @retention_mode = args[:retention_mode] if args.key?(:retention_mode)
47
+ end
48
+ end
49
+
25
50
  # Allowed IP range with user-provided description.
26
51
  class AllowedIpRange
27
52
  include Google::Apis::Core::Hashable
@@ -203,7 +228,9 @@ module Google
203
228
  end
204
229
  end
205
230
 
206
- # Configuration for resources used by Airflow DAG processors.
231
+ # Configuration for resources used by Airflow DAG processors. This field is
232
+ # supported for Cloud Composer environments in versions composer-3.*.*-airflow-*.
233
+ # *.* and newer.
207
234
  class DagProcessorResource
208
235
  include Google::Apis::Core::Hashable
209
236
 
@@ -247,6 +274,11 @@ module Google
247
274
  class DataRetentionConfig
248
275
  include Google::Apis::Core::Hashable
249
276
 
277
+ # The policy for airflow metadata database retention.
278
+ # Corresponds to the JSON property `airflowMetadataRetentionConfig`
279
+ # @return [Google::Apis::ComposerV1::AirflowMetadataRetentionPolicyConfig]
280
+ attr_accessor :airflow_metadata_retention_config
281
+
250
282
  # The configuration setting for Task Logs.
251
283
  # Corresponds to the JSON property `taskLogsRetentionConfig`
252
284
  # @return [Google::Apis::ComposerV1::TaskLogsRetentionConfig]
@@ -258,6 +290,7 @@ module Google
258
290
 
259
291
  # Update properties of this object
260
292
  def update!(**args)
293
+ @airflow_metadata_retention_config = args[:airflow_metadata_retention_config] if args.key?(:airflow_metadata_retention_config)
261
294
  @task_logs_retention_config = args[:task_logs_retention_config] if args.key?(:task_logs_retention_config)
262
295
  end
263
296
  end
@@ -2082,8 +2115,7 @@ module Google
2082
2115
  class TaskLogsRetentionConfig
2083
2116
  include Google::Apis::Core::Hashable
2084
2117
 
2085
- # Optional. The mode of storage for Airflow workers task logs. For details, see
2086
- # go/composer-store-task-logs-in-cloud-logging-only-design-doc
2118
+ # Optional. The mode of storage for Airflow workers task logs.
2087
2119
  # Corresponds to the JSON property `storageMode`
2088
2120
  # @return [String]
2089
2121
  attr_accessor :storage_mode
@@ -2314,7 +2346,9 @@ module Google
2314
2346
  class WorkloadsConfig
2315
2347
  include Google::Apis::Core::Hashable
2316
2348
 
2317
- # Configuration for resources used by Airflow DAG processors.
2349
+ # Configuration for resources used by Airflow DAG processors. This field is
2350
+ # supported for Cloud Composer environments in versions composer-3.*.*-airflow-*.
2351
+ # *.* and newer.
2318
2352
  # Corresponds to the JSON property `dagProcessor`
2319
2353
  # @return [Google::Apis::ComposerV1::DagProcessorResource]
2320
2354
  attr_accessor :dag_processor
@@ -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.44.0"
19
+ GEM_VERSION = "0.46.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240204"
25
+ REVISION = "20240310"
26
26
  end
27
27
  end
28
28
  end
@@ -22,6 +22,12 @@ module Google
22
22
  module Apis
23
23
  module ComposerV1
24
24
 
25
+ class AirflowMetadataRetentionPolicyConfig
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
25
31
  class AllowedIpRange
26
32
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
33
 
@@ -382,6 +388,14 @@ module Google
382
388
  include Google::Apis::Core::JsonObjectSupport
383
389
  end
384
390
 
391
+ class AirflowMetadataRetentionPolicyConfig
392
+ # @private
393
+ class Representation < Google::Apis::Core::JsonRepresentation
394
+ property :retention_days, as: 'retentionDays'
395
+ property :retention_mode, as: 'retentionMode'
396
+ end
397
+ end
398
+
385
399
  class AllowedIpRange
386
400
  # @private
387
401
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -448,6 +462,8 @@ module Google
448
462
  class DataRetentionConfig
449
463
  # @private
450
464
  class Representation < Google::Apis::Core::JsonRepresentation
465
+ property :airflow_metadata_retention_config, as: 'airflowMetadataRetentionConfig', class: Google::Apis::ComposerV1::AirflowMetadataRetentionPolicyConfig, decorator: Google::Apis::ComposerV1::AirflowMetadataRetentionPolicyConfig::Representation
466
+
451
467
  property :task_logs_retention_config, as: 'taskLogsRetentionConfig', class: Google::Apis::ComposerV1::TaskLogsRetentionConfig, decorator: Google::Apis::ComposerV1::TaskLogsRetentionConfig::Representation
452
468
 
453
469
  end
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.44.0
4
+ version: 0.46.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: 2024-02-25 00:00:00.000000000 Z
11
+ date: 2024-03-17 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.44.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-composer_v1/v0.46.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: []