google-apis-composer_v1 0.43.0 → 0.45.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: 251a7d0845e9e3498eae30276130cc260985bae0ad86a2465df2c8d3a6b4e401
4
- data.tar.gz: aa49ef060aa21f72d84414a25d63c9bd46581258eadfb5d796ccb908939ae69c
3
+ metadata.gz: e0d8627e6769e4f710424e118a291c8430cd1d75fca3ba9a687ebaedc398041b
4
+ data.tar.gz: 1135cc94a9f73659d42f63c334d8278d7060b03bafcc117cfeaa1c9a1d3fa583
5
5
  SHA512:
6
- metadata.gz: 03531df26aa79dd2e424166f6f2eb6043972383de31bb09157c7a52a171666e2b4b631b4917905988dbbb9e00207aba1b737e58eee4cdeeda912e0135f59fa7e
7
- data.tar.gz: 6cb38cf74edb56f3bafc4b2e0ace4cf840fd606449bb514a01ac7f7c1b6f07156b161c97306a4292a5029cda9621d8a07efc30150bc13593e3fc1efb36ec890d
6
+ metadata.gz: da43abd36c42ad2cf25ddaac5c6ed6181286ca853268bfa6d855cab70563f61851effeb7fb9f64d2bbd5929b8c16c6098c7b267fb6b3bf7314faea49ad9509fb
7
+ data.tar.gz: ea7347e49bf905acaf1c05248020b4810d3d1fda1dbb872c16d730f84ccdeb49b49aff91d4e2b3fcbd72338a3387640759cae1febf0545cedf5e9d21fe5e989b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-composer_v1
2
2
 
3
+ ### v0.45.0 (2024-03-03)
4
+
5
+ * Regenerated from discovery document revision 20240227
6
+
7
+ ### v0.44.0 (2024-02-23)
8
+
9
+ * Regenerated using generator version 0.14.0
10
+
3
11
  ### v0.43.0 (2024-02-11)
4
12
 
5
13
  * Regenerated from discovery document revision 20240204
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 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
@@ -247,6 +272,11 @@ module Google
247
272
  class DataRetentionConfig
248
273
  include Google::Apis::Core::Hashable
249
274
 
275
+ # The policy for airflow metadata database retention.
276
+ # Corresponds to the JSON property `airflowMetadataRetentionConfig`
277
+ # @return [Google::Apis::ComposerV1::AirflowMetadataRetentionPolicyConfig]
278
+ attr_accessor :airflow_metadata_retention_config
279
+
250
280
  # The configuration setting for Task Logs.
251
281
  # Corresponds to the JSON property `taskLogsRetentionConfig`
252
282
  # @return [Google::Apis::ComposerV1::TaskLogsRetentionConfig]
@@ -258,6 +288,7 @@ module Google
258
288
 
259
289
  # Update properties of this object
260
290
  def update!(**args)
291
+ @airflow_metadata_retention_config = args[:airflow_metadata_retention_config] if args.key?(:airflow_metadata_retention_config)
261
292
  @task_logs_retention_config = args[:task_logs_retention_config] if args.key?(:task_logs_retention_config)
262
293
  end
263
294
  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.43.0"
19
+ GEM_VERSION = "0.45.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 = "20240204"
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 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.43.0
4
+ version: 0.45.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-11 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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-composer_v1/v0.43.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-composer_v1/v0.45.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: []
@@ -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 V1