google-apis-composer_v1beta1 0.39.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: '01988a1162ddcf8cf7c0f46e5693f99d7790c63d447bc0659d204f35f22bc943'
4
- data.tar.gz: 9cee9f9bbddbb5d9a6210ae669e835269cf71a2bb8ec351a00dfe6e001a204e5
3
+ metadata.gz: 556da1d725ae4aeac91270a4d7b16ac5f7d449a1ca54dc967fd0b585696ab20b
4
+ data.tar.gz: 1e82ecd6795602acef2e5534dd5e3ef6d93bc3789b86c15189806e00dd7889ed
5
5
  SHA512:
6
- metadata.gz: e3cf1c0ea2dccf4a8136c72e2758f966e18ecd83b989ae9184a7d85dbaed773ba7e0beae1ff24611761096aa91008f68c4505df4d122012ceb409ff6a30c57e3
7
- data.tar.gz: c1bdae28b3b3a20e172b6dbbf5a6797695e655cae005c12eedbc3610eaa72d3c8c17b5517ce5f2efe5664b6e763e17fc0f37e689b9b3d5d79f3945c62538349e
6
+ metadata.gz: 47fbdebf7e55a303a22a0f6bbd19c765dba06d3b2b7c13d3559cdcac683d47928cf9b1c5d954351c16f324316197c0621969ab638f36ca2b6aa697a8ac861061
7
+ data.tar.gz: 26e55ea1d81b9872b1dc054856ea0f8bfd46c629a7de057572f6cd61a47566cd6d87b7613e5e1fca6f17cb132d06e710e75a27b0da3026cb55e6aeb3d64c95b3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-composer_v1beta1
2
2
 
3
+ ### v0.40.0 (2024-01-23)
4
+
5
+ * Regenerated from discovery document revision 20240106
6
+ * Regenerated using generator version 0.13.0
7
+
3
8
  ### v0.39.0 (2023-12-10)
4
9
 
5
10
  * Regenerated from discovery document revision 20231129
@@ -217,6 +217,25 @@ module Google
217
217
  end
218
218
  end
219
219
 
220
+ # The configuration setting for Airflow database data retention mechanism.
221
+ class DataRetentionConfig
222
+ include Google::Apis::Core::Hashable
223
+
224
+ # The configuration setting for Task Logs.
225
+ # Corresponds to the JSON property `taskLogsRetentionConfig`
226
+ # @return [Google::Apis::ComposerV1beta1::TaskLogsRetentionConfig]
227
+ attr_accessor :task_logs_retention_config
228
+
229
+ def initialize(**args)
230
+ update!(**args)
231
+ end
232
+
233
+ # Update properties of this object
234
+ def update!(**args)
235
+ @task_logs_retention_config = args[:task_logs_retention_config] if args.key?(:task_logs_retention_config)
236
+ end
237
+ end
238
+
220
239
  # The configuration of Cloud SQL instance that is used by the Apache Airflow
221
240
  # software.
222
241
  class DatabaseConfig
@@ -460,6 +479,11 @@ module Google
460
479
  # @return [String]
461
480
  attr_accessor :dag_gcs_prefix
462
481
 
482
+ # The configuration setting for Airflow database data retention mechanism.
483
+ # Corresponds to the JSON property `dataRetentionConfig`
484
+ # @return [Google::Apis::ComposerV1beta1::DataRetentionConfig]
485
+ attr_accessor :data_retention_config
486
+
463
487
  # The configuration of Cloud SQL instance that is used by the Apache Airflow
464
488
  # software.
465
489
  # Corresponds to the JSON property `databaseConfig`
@@ -566,6 +590,7 @@ module Google
566
590
  @airflow_byoid_uri = args[:airflow_byoid_uri] if args.key?(:airflow_byoid_uri)
567
591
  @airflow_uri = args[:airflow_uri] if args.key?(:airflow_uri)
568
592
  @dag_gcs_prefix = args[:dag_gcs_prefix] if args.key?(:dag_gcs_prefix)
593
+ @data_retention_config = args[:data_retention_config] if args.key?(:data_retention_config)
569
594
  @database_config = args[:database_config] if args.key?(:database_config)
570
595
  @encryption_config = args[:encryption_config] if args.key?(:encryption_config)
571
596
  @environment_size = args[:environment_size] if args.key?(:environment_size)
@@ -1982,6 +2007,26 @@ module Google
1982
2007
  end
1983
2008
  end
1984
2009
 
2010
+ # The configuration setting for Task Logs.
2011
+ class TaskLogsRetentionConfig
2012
+ include Google::Apis::Core::Hashable
2013
+
2014
+ # Optional. The mode of storage for Airflow workers task logs. For details, see
2015
+ # go/composer-store-task-logs-in-cloud-logging-only-design-doc
2016
+ # Corresponds to the JSON property `storageMode`
2017
+ # @return [String]
2018
+ attr_accessor :storage_mode
2019
+
2020
+ def initialize(**args)
2021
+ update!(**args)
2022
+ end
2023
+
2024
+ # Update properties of this object
2025
+ def update!(**args)
2026
+ @storage_mode = args[:storage_mode] if args.key?(:storage_mode)
2027
+ end
2028
+ end
2029
+
1985
2030
  # Configuration for resources used by Airflow triggerers.
1986
2031
  class TriggererResource
1987
2032
  include Google::Apis::Core::Hashable
@@ -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.39.0"
19
+ GEM_VERSION = "0.40.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.12.0"
22
+ GENERATOR_VERSION = "0.13.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20231129"
25
+ REVISION = "20240106"
26
26
  end
27
27
  end
28
28
  end
@@ -58,6 +58,12 @@ module Google
58
58
  include Google::Apis::Core::JsonObjectSupport
59
59
  end
60
60
 
61
+ class DataRetentionConfig
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
61
67
  class DatabaseConfig
62
68
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
69
 
@@ -304,6 +310,12 @@ module Google
304
310
  include Google::Apis::Core::JsonObjectSupport
305
311
  end
306
312
 
313
+ class TaskLogsRetentionConfig
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
307
319
  class TriggererResource
308
320
  class Representation < Google::Apis::Core::JsonRepresentation; end
309
321
 
@@ -391,6 +403,14 @@ module Google
391
403
  end
392
404
  end
393
405
 
406
+ class DataRetentionConfig
407
+ # @private
408
+ class Representation < Google::Apis::Core::JsonRepresentation
409
+ property :task_logs_retention_config, as: 'taskLogsRetentionConfig', class: Google::Apis::ComposerV1beta1::TaskLogsRetentionConfig, decorator: Google::Apis::ComposerV1beta1::TaskLogsRetentionConfig::Representation
410
+
411
+ end
412
+ end
413
+
394
414
  class DatabaseConfig
395
415
  # @private
396
416
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -456,6 +476,8 @@ module Google
456
476
  property :airflow_byoid_uri, as: 'airflowByoidUri'
457
477
  property :airflow_uri, as: 'airflowUri'
458
478
  property :dag_gcs_prefix, as: 'dagGcsPrefix'
479
+ property :data_retention_config, as: 'dataRetentionConfig', class: Google::Apis::ComposerV1beta1::DataRetentionConfig, decorator: Google::Apis::ComposerV1beta1::DataRetentionConfig::Representation
480
+
459
481
  property :database_config, as: 'databaseConfig', class: Google::Apis::ComposerV1beta1::DatabaseConfig, decorator: Google::Apis::ComposerV1beta1::DatabaseConfig::Representation
460
482
 
461
483
  property :encryption_config, as: 'encryptionConfig', class: Google::Apis::ComposerV1beta1::EncryptionConfig, decorator: Google::Apis::ComposerV1beta1::EncryptionConfig::Representation
@@ -812,6 +834,13 @@ module Google
812
834
  end
813
835
  end
814
836
 
837
+ class TaskLogsRetentionConfig
838
+ # @private
839
+ class Representation < Google::Apis::Core::JsonRepresentation
840
+ property :storage_mode, as: 'storageMode'
841
+ end
842
+ end
843
+
815
844
  class TriggererResource
816
845
  # @private
817
846
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -32,6 +32,8 @@ module Google
32
32
  #
33
33
  # @see https://cloud.google.com/composer/
34
34
  class CloudComposerService < Google::Apis::Core::BaseService
35
+ DEFAULT_ENDPOINT_TEMPLATE = "https://composer.$UNIVERSE_DOMAIN$/"
36
+
35
37
  # @return [String]
36
38
  # API key. Your API key identifies your project and provides you with API access,
37
39
  # quota, and reports. Required unless you provide an OAuth 2.0 token.
@@ -43,7 +45,7 @@ module Google
43
45
  attr_accessor :quota_user
44
46
 
45
47
  def initialize
46
- super('https://composer.googleapis.com/', '',
48
+ super(DEFAULT_ENDPOINT_TEMPLATE, '',
47
49
  client_name: 'google-apis-composer_v1beta1',
48
50
  client_version: Google::Apis::ComposerV1beta1::GEM_VERSION)
49
51
  @batch_path = 'batch'
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.39.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-12-10 00:00:00.000000000 Z
11
+ date: 2024-01-23 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.11.0
19
+ version: 0.12.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.11.0
29
+ version: 0.12.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.39.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-composer_v1beta1/v0.40.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.4.19
78
+ rubygems_version: 3.5.3
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Composer API V1beta1