google-apis-composer_v1 0.40.0 → 0.41.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: 1dd62828ed56fa2107f42e531643c17f5afba863f27993e707c96dbd2f4a7a2e
4
- data.tar.gz: db34db845be7e11818de8cac78276558768fcee01acc14f21df7028d0f21c137
3
+ metadata.gz: f76d75afa90209ee55001a6a74cf8bc208f93e6ec267d28801908f6a3b797860
4
+ data.tar.gz: d0fecc49132d9150b06dce8cc526cfb5319d108fe00cf714d840ca625cdf8df1
5
5
  SHA512:
6
- metadata.gz: 7c7a06dffacc293eba72127a4c8c9f5a5c13b2fc8eaddaa0bf24d4349c6c834cd15b31c5a668086b78bb8a3b7b80b342b3e7c5f289615f5102b32c8bb1778c74
7
- data.tar.gz: 8d1a6bfb3ebd44641f4788d60cec1e363e43c607633deacdbcab99b2a9af6b943ba6acce914680b78902cb5b4616598b529fc56fccfc765939bad0a4b5b88003
6
+ metadata.gz: 3310e4063d147542c7aa2147d881429fc56a0b114b78658d323820327a6171d2859b7fcb8591eb2f093dd34f589d1a58cc4f8db02efcad8e54fc4aeba08d68c5
7
+ data.tar.gz: 67fb2a0ae79dbad931e5f6dbcc5c6561d27bb99e0df54c9b1990ba18feb868a5d12dceebd1091123532b22435a15ba64ce6e5821f570c60c8209f499e307022a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-composer_v1
2
2
 
3
+ ### v0.41.0 (2024-01-22)
4
+
5
+ * Regenerated from discovery document revision 20240106
6
+ * Regenerated using generator version 0.13.0
7
+
3
8
  ### v0.40.0 (2023-10-08)
4
9
 
5
10
  * Regenerated from discovery document revision 20231004
@@ -121,6 +121,45 @@ module Google
121
121
  end
122
122
  end
123
123
 
124
+ # Configuration for Cloud Data Lineage integration.
125
+ class CloudDataLineageIntegration
126
+ include Google::Apis::Core::Hashable
127
+
128
+ # Optional. Whether or not Cloud Data Lineage integration is enabled.
129
+ # Corresponds to the JSON property `enabled`
130
+ # @return [Boolean]
131
+ attr_accessor :enabled
132
+ alias_method :enabled?, :enabled
133
+
134
+ def initialize(**args)
135
+ update!(**args)
136
+ end
137
+
138
+ # Update properties of this object
139
+ def update!(**args)
140
+ @enabled = args[:enabled] if args.key?(:enabled)
141
+ end
142
+ end
143
+
144
+ # The configuration setting for Airflow database data retention mechanism.
145
+ class DataRetentionConfig
146
+ include Google::Apis::Core::Hashable
147
+
148
+ # The configuration setting for Task Logs.
149
+ # Corresponds to the JSON property `taskLogsRetentionConfig`
150
+ # @return [Google::Apis::ComposerV1::TaskLogsRetentionConfig]
151
+ attr_accessor :task_logs_retention_config
152
+
153
+ def initialize(**args)
154
+ update!(**args)
155
+ end
156
+
157
+ # Update properties of this object
158
+ def update!(**args)
159
+ @task_logs_retention_config = args[:task_logs_retention_config] if args.key?(:task_logs_retention_config)
160
+ end
161
+ end
162
+
124
163
  # The configuration of Cloud SQL instance that is used by the Apache Airflow
125
164
  # software.
126
165
  class DatabaseConfig
@@ -364,6 +403,11 @@ module Google
364
403
  # @return [String]
365
404
  attr_accessor :dag_gcs_prefix
366
405
 
406
+ # The configuration setting for Airflow database data retention mechanism.
407
+ # Corresponds to the JSON property `dataRetentionConfig`
408
+ # @return [Google::Apis::ComposerV1::DataRetentionConfig]
409
+ attr_accessor :data_retention_config
410
+
367
411
  # The configuration of Cloud SQL instance that is used by the Apache Airflow
368
412
  # software.
369
413
  # Corresponds to the JSON property `databaseConfig`
@@ -470,6 +514,7 @@ module Google
470
514
  @airflow_byoid_uri = args[:airflow_byoid_uri] if args.key?(:airflow_byoid_uri)
471
515
  @airflow_uri = args[:airflow_uri] if args.key?(:airflow_uri)
472
516
  @dag_gcs_prefix = args[:dag_gcs_prefix] if args.key?(:dag_gcs_prefix)
517
+ @data_retention_config = args[:data_retention_config] if args.key?(:data_retention_config)
473
518
  @database_config = args[:database_config] if args.key?(:database_config)
474
519
  @encryption_config = args[:encryption_config] if args.key?(:encryption_config)
475
520
  @environment_size = args[:environment_size] if args.key?(:environment_size)
@@ -1606,6 +1651,11 @@ module Google
1606
1651
  # @return [Hash<String,String>]
1607
1652
  attr_accessor :airflow_config_overrides
1608
1653
 
1654
+ # Configuration for Cloud Data Lineage integration.
1655
+ # Corresponds to the JSON property `cloudDataLineageIntegration`
1656
+ # @return [Google::Apis::ComposerV1::CloudDataLineageIntegration]
1657
+ attr_accessor :cloud_data_lineage_integration
1658
+
1609
1659
  # Optional. Additional environment variables to provide to the Apache Airflow
1610
1660
  # scheduler, worker, and webserver processes. Environment variable names must
1611
1661
  # match the regular expression `a-zA-Z_*`. They cannot specify Apache Airflow
@@ -1672,6 +1722,7 @@ module Google
1672
1722
  # Update properties of this object
1673
1723
  def update!(**args)
1674
1724
  @airflow_config_overrides = args[:airflow_config_overrides] if args.key?(:airflow_config_overrides)
1725
+ @cloud_data_lineage_integration = args[:cloud_data_lineage_integration] if args.key?(:cloud_data_lineage_integration)
1675
1726
  @env_variables = args[:env_variables] if args.key?(:env_variables)
1676
1727
  @image_version = args[:image_version] if args.key?(:image_version)
1677
1728
  @pypi_packages = args[:pypi_packages] if args.key?(:pypi_packages)
@@ -1804,6 +1855,26 @@ module Google
1804
1855
  end
1805
1856
  end
1806
1857
 
1858
+ # The configuration setting for Task Logs.
1859
+ class TaskLogsRetentionConfig
1860
+ include Google::Apis::Core::Hashable
1861
+
1862
+ # Optional. The mode of storage for Airflow workers task logs. For details, see
1863
+ # go/composer-store-task-logs-in-cloud-logging-only-design-doc
1864
+ # Corresponds to the JSON property `storageMode`
1865
+ # @return [String]
1866
+ attr_accessor :storage_mode
1867
+
1868
+ def initialize(**args)
1869
+ update!(**args)
1870
+ end
1871
+
1872
+ # Update properties of this object
1873
+ def update!(**args)
1874
+ @storage_mode = args[:storage_mode] if args.key?(:storage_mode)
1875
+ end
1876
+ end
1877
+
1807
1878
  # Configuration for resources used by Airflow triggerers.
1808
1879
  class TriggererResource
1809
1880
  include Google::Apis::Core::Hashable
@@ -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.40.0"
19
+ GEM_VERSION = "0.41.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 = "20231004"
25
+ REVISION = "20240106"
26
26
  end
27
27
  end
28
28
  end
@@ -40,6 +40,18 @@ module Google
40
40
  include Google::Apis::Core::JsonObjectSupport
41
41
  end
42
42
 
43
+ class CloudDataLineageIntegration
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class DataRetentionConfig
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
43
55
  class DatabaseConfig
44
56
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
57
 
@@ -280,6 +292,12 @@ module Google
280
292
  include Google::Apis::Core::JsonObjectSupport
281
293
  end
282
294
 
295
+ class TaskLogsRetentionConfig
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
283
301
  class TriggererResource
284
302
  class Representation < Google::Apis::Core::JsonRepresentation; end
285
303
 
@@ -343,6 +361,21 @@ module Google
343
361
  end
344
362
  end
345
363
 
364
+ class CloudDataLineageIntegration
365
+ # @private
366
+ class Representation < Google::Apis::Core::JsonRepresentation
367
+ property :enabled, as: 'enabled'
368
+ end
369
+ end
370
+
371
+ class DataRetentionConfig
372
+ # @private
373
+ class Representation < Google::Apis::Core::JsonRepresentation
374
+ property :task_logs_retention_config, as: 'taskLogsRetentionConfig', class: Google::Apis::ComposerV1::TaskLogsRetentionConfig, decorator: Google::Apis::ComposerV1::TaskLogsRetentionConfig::Representation
375
+
376
+ end
377
+ end
378
+
346
379
  class DatabaseConfig
347
380
  # @private
348
381
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -408,6 +441,8 @@ module Google
408
441
  property :airflow_byoid_uri, as: 'airflowByoidUri'
409
442
  property :airflow_uri, as: 'airflowUri'
410
443
  property :dag_gcs_prefix, as: 'dagGcsPrefix'
444
+ property :data_retention_config, as: 'dataRetentionConfig', class: Google::Apis::ComposerV1::DataRetentionConfig, decorator: Google::Apis::ComposerV1::DataRetentionConfig::Representation
445
+
411
446
  property :database_config, as: 'databaseConfig', class: Google::Apis::ComposerV1::DatabaseConfig, decorator: Google::Apis::ComposerV1::DatabaseConfig::Representation
412
447
 
413
448
  property :encryption_config, as: 'encryptionConfig', class: Google::Apis::ComposerV1::EncryptionConfig, decorator: Google::Apis::ComposerV1::EncryptionConfig::Representation
@@ -709,6 +744,8 @@ module Google
709
744
  # @private
710
745
  class Representation < Google::Apis::Core::JsonRepresentation
711
746
  hash :airflow_config_overrides, as: 'airflowConfigOverrides'
747
+ property :cloud_data_lineage_integration, as: 'cloudDataLineageIntegration', class: Google::Apis::ComposerV1::CloudDataLineageIntegration, decorator: Google::Apis::ComposerV1::CloudDataLineageIntegration::Representation
748
+
712
749
  hash :env_variables, as: 'envVariables'
713
750
  property :image_version, as: 'imageVersion'
714
751
  hash :pypi_packages, as: 'pypiPackages'
@@ -751,6 +788,13 @@ module Google
751
788
  end
752
789
  end
753
790
 
791
+ class TaskLogsRetentionConfig
792
+ # @private
793
+ class Representation < Google::Apis::Core::JsonRepresentation
794
+ property :storage_mode, as: 'storageMode'
795
+ end
796
+ end
797
+
754
798
  class TriggererResource
755
799
  # @private
756
800
  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_v1',
48
50
  client_version: Google::Apis::ComposerV1::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_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.40.0
4
+ version: 0.41.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-10-08 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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-composer_v1/v0.40.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-composer_v1/v0.41.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: []
@@ -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 V1