google-apis-composer_v1beta1 0.41.0 → 0.43.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: ee40fd4726a8d9042eec5e03d6929a48f416bf16e74cdaf92d34fa1a94be41d5
4
- data.tar.gz: 3235e706cf2375525e0cc0656c223c75badf2bd0e4adb357583571afc39826d8
3
+ metadata.gz: 87e14540ad0dc1f601a2a402b14ec621daa9baa39f4f37271de673aad674069c
4
+ data.tar.gz: d624ce378025fe5c1e0cd4e84d5c24b2f81a2c8f8d090f5aca30f9a5f962e0fe
5
5
  SHA512:
6
- metadata.gz: 7f6da589c3565dd630b3537baadc9ac68bb8cb53fabafb2efe783eb073a6b326dc0e74507382129d13d3dd47280a36a7d96517e77b1b7331fa242aff4ffa7d73
7
- data.tar.gz: d12dbbfb2651f303973ac5bd595a28390314c64ebb6b50eba840bcc50f676c12ae578c8836258dc306baedc05edc39184e7c74e1ac7d2572d1e427ea7d3d4488
6
+ metadata.gz: 335fba2639fc7cc4ce3b935eb7636810fda97f36e672b5d7fab46976ac6781bbc810b6b6f3c90172d1c9be7d4bb82b0efb213939545947674e97e9140255a69a
7
+ data.tar.gz: 1850881272a5c1e563c2530c7dad8672b844b30338476d850c205328327b43133afef75ed764392def4c06fa10bbd6275d56961a0edbb65e4dbc19b6d65496ac
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-composer_v1beta1
2
2
 
3
+ ### v0.43.0 (2024-03-03)
4
+
5
+ * Regenerated from discovery document revision 20240227
6
+
7
+ ### v0.42.0 (2024-02-23)
8
+
9
+ * Regenerated using generator version 0.14.0
10
+
3
11
  ### v0.41.0 (2024-02-04)
4
12
 
5
13
  * Regenerated from discovery document revision 20240123
data/OVERVIEW.md CHANGED
@@ -83,9 +83,9 @@ The [product documentation](https://cloud.google.com/composer/) may provide guid
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
86
- This library is supported on Ruby 2.5+.
86
+ This library is supported on Ruby 2.7+.
87
87
 
88
- Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Currently, this means Ruby 2.5 and later. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
88
+ Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
89
89
 
90
90
  ## License
91
91
 
@@ -22,6 +22,31 @@ module Google
22
22
  module Apis
23
23
  module ComposerV1beta1
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
@@ -283,6 +308,18 @@ module Google
283
308
  class DataRetentionConfig
284
309
  include Google::Apis::Core::Hashable
285
310
 
311
+ # Optional. The number of days describing for how long to store event-based
312
+ # records in airflow database. If the retention mechanism is enabled this value
313
+ # must be a positive integer otherwise, value should be set to 0.
314
+ # Corresponds to the JSON property `airflowDatabaseRetentionDays`
315
+ # @return [Fixnum]
316
+ attr_accessor :airflow_database_retention_days
317
+
318
+ # The policy for airflow metadata database retention.
319
+ # Corresponds to the JSON property `airflowMetadataRetentionConfig`
320
+ # @return [Google::Apis::ComposerV1beta1::AirflowMetadataRetentionPolicyConfig]
321
+ attr_accessor :airflow_metadata_retention_config
322
+
286
323
  # The configuration setting for Task Logs.
287
324
  # Corresponds to the JSON property `taskLogsRetentionConfig`
288
325
  # @return [Google::Apis::ComposerV1beta1::TaskLogsRetentionConfig]
@@ -294,6 +331,8 @@ module Google
294
331
 
295
332
  # Update properties of this object
296
333
  def update!(**args)
334
+ @airflow_database_retention_days = args[:airflow_database_retention_days] if args.key?(:airflow_database_retention_days)
335
+ @airflow_metadata_retention_config = args[:airflow_metadata_retention_config] if args.key?(:airflow_metadata_retention_config)
297
336
  @task_logs_retention_config = args[:task_logs_retention_config] if args.key?(:task_logs_retention_config)
298
337
  end
299
338
  end
@@ -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.41.0"
19
+ GEM_VERSION = "0.43.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.13.1"
22
+ GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240123"
25
+ REVISION = "20240227"
26
26
  end
27
27
  end
28
28
  end
@@ -22,6 +22,12 @@ module Google
22
22
  module Apis
23
23
  module ComposerV1beta1
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
 
@@ -394,6 +400,14 @@ module Google
394
400
  include Google::Apis::Core::JsonObjectSupport
395
401
  end
396
402
 
403
+ class AirflowMetadataRetentionPolicyConfig
404
+ # @private
405
+ class Representation < Google::Apis::Core::JsonRepresentation
406
+ property :retention_days, as: 'retentionDays'
407
+ property :retention_mode, as: 'retentionMode'
408
+ end
409
+ end
410
+
397
411
  class AllowedIpRange
398
412
  # @private
399
413
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -467,6 +481,9 @@ module Google
467
481
  class DataRetentionConfig
468
482
  # @private
469
483
  class Representation < Google::Apis::Core::JsonRepresentation
484
+ property :airflow_database_retention_days, as: 'airflowDatabaseRetentionDays'
485
+ property :airflow_metadata_retention_config, as: 'airflowMetadataRetentionConfig', class: Google::Apis::ComposerV1beta1::AirflowMetadataRetentionPolicyConfig, decorator: Google::Apis::ComposerV1beta1::AirflowMetadataRetentionPolicyConfig::Representation
486
+
470
487
  property :task_logs_retention_config, as: 'taskLogsRetentionConfig', class: Google::Apis::ComposerV1beta1::TaskLogsRetentionConfig, decorator: Google::Apis::ComposerV1beta1::TaskLogsRetentionConfig::Representation
471
488
 
472
489
  end
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.41.0
4
+ version: 0.43.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-04 00:00:00.000000000 Z
11
+ date: 2024-03-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.12.0
19
+ version: 0.14.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.12.0
29
+ version: 0.14.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.41.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-composer_v1beta1/v0.43.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: []
@@ -68,14 +68,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
68
68
  requirements:
69
69
  - - ">="
70
70
  - !ruby/object:Gem::Version
71
- version: '2.5'
71
+ version: '2.7'
72
72
  required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  requirements:
74
74
  - - ">="
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.5.3
78
+ rubygems_version: 3.5.6
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Composer API V1beta1