google-apis-composer_v1 0.39.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: f90de29b600834d7298250429e6b96ffbdb3a55dc0cc031d5dee5a05b3ce85cb
4
- data.tar.gz: b6a31aa3c3ea607c15b9c2505f4f68784e7dc19e2facde6f602f12f9def9d9eb
3
+ metadata.gz: f76d75afa90209ee55001a6a74cf8bc208f93e6ec267d28801908f6a3b797860
4
+ data.tar.gz: d0fecc49132d9150b06dce8cc526cfb5319d108fe00cf714d840ca625cdf8df1
5
5
  SHA512:
6
- metadata.gz: 9b3c058f41eadf50610594cb0769a325c9d5ca2344d690a3670b5fdc1a351c59964a5282aeacb95736dc2a3b94624738df376897893d3ef3c9fb805c4645a949
7
- data.tar.gz: d4f0f656f3ef0dc3a9d73088f0c1385d130d708215c43e409a55d62c26aa600c16281de32d4e9ed43a16edec530d25b246c15156be6cc52278b76307f09df166
6
+ metadata.gz: 3310e4063d147542c7aa2147d881429fc56a0b114b78658d323820327a6171d2859b7fcb8591eb2f093dd34f589d1a58cc4f8db02efcad8e54fc4aeba08d68c5
7
+ data.tar.gz: 67fb2a0ae79dbad931e5f6dbcc5c6561d27bb99e0df54c9b1990ba18feb868a5d12dceebd1091123532b22435a15ba64ce6e5821f570c60c8209f499e307022a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
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
+
8
+ ### v0.40.0 (2023-10-08)
9
+
10
+ * Regenerated from discovery document revision 20231004
11
+
3
12
  ### v0.39.0 (2023-09-24)
4
13
 
5
14
  * Regenerated from discovery document revision 20230917
@@ -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
@@ -134,6 +173,15 @@ module Google
134
173
  # @return [String]
135
174
  attr_accessor :machine_type
136
175
 
176
+ # Optional. The Compute Engine zone where the Airflow database is created. If
177
+ # zone is provided, it must be in the region selected for the environment. If
178
+ # zone is not provided, a zone is automatically selected. The zone can only be
179
+ # set during environment creation. Supported for Cloud Composer environments in
180
+ # versions composer-2.*.*-airflow-*.*.*.
181
+ # Corresponds to the JSON property `zone`
182
+ # @return [String]
183
+ attr_accessor :zone
184
+
137
185
  def initialize(**args)
138
186
  update!(**args)
139
187
  end
@@ -141,6 +189,7 @@ module Google
141
189
  # Update properties of this object
142
190
  def update!(**args)
143
191
  @machine_type = args[:machine_type] if args.key?(:machine_type)
192
+ @zone = args[:zone] if args.key?(:zone)
144
193
  end
145
194
  end
146
195
 
@@ -354,6 +403,11 @@ module Google
354
403
  # @return [String]
355
404
  attr_accessor :dag_gcs_prefix
356
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
+
357
411
  # The configuration of Cloud SQL instance that is used by the Apache Airflow
358
412
  # software.
359
413
  # Corresponds to the JSON property `databaseConfig`
@@ -460,6 +514,7 @@ module Google
460
514
  @airflow_byoid_uri = args[:airflow_byoid_uri] if args.key?(:airflow_byoid_uri)
461
515
  @airflow_uri = args[:airflow_uri] if args.key?(:airflow_uri)
462
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)
463
518
  @database_config = args[:database_config] if args.key?(:database_config)
464
519
  @encryption_config = args[:encryption_config] if args.key?(:encryption_config)
465
520
  @environment_size = args[:environment_size] if args.key?(:environment_size)
@@ -1596,6 +1651,11 @@ module Google
1596
1651
  # @return [Hash<String,String>]
1597
1652
  attr_accessor :airflow_config_overrides
1598
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
+
1599
1659
  # Optional. Additional environment variables to provide to the Apache Airflow
1600
1660
  # scheduler, worker, and webserver processes. Environment variable names must
1601
1661
  # match the regular expression `a-zA-Z_*`. They cannot specify Apache Airflow
@@ -1662,6 +1722,7 @@ module Google
1662
1722
  # Update properties of this object
1663
1723
  def update!(**args)
1664
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)
1665
1726
  @env_variables = args[:env_variables] if args.key?(:env_variables)
1666
1727
  @image_version = args[:image_version] if args.key?(:image_version)
1667
1728
  @pypi_packages = args[:pypi_packages] if args.key?(:pypi_packages)
@@ -1778,12 +1839,39 @@ module Google
1778
1839
  class StorageConfig
1779
1840
  include Google::Apis::Core::Hashable
1780
1841
 
1842
+ # Optional. The name of the Cloud Storage bucket used by the environment. No `gs:
1843
+ # //` prefix.
1844
+ # Corresponds to the JSON property `bucket`
1845
+ # @return [String]
1846
+ attr_accessor :bucket
1847
+
1848
+ def initialize(**args)
1849
+ update!(**args)
1850
+ end
1851
+
1852
+ # Update properties of this object
1853
+ def update!(**args)
1854
+ @bucket = args[:bucket] if args.key?(:bucket)
1855
+ end
1856
+ end
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
+
1781
1868
  def initialize(**args)
1782
1869
  update!(**args)
1783
1870
  end
1784
1871
 
1785
1872
  # Update properties of this object
1786
1873
  def update!(**args)
1874
+ @storage_mode = args[:storage_mode] if args.key?(:storage_mode)
1787
1875
  end
1788
1876
  end
1789
1877
 
@@ -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.39.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 = "20230917"
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,10 +361,26 @@ 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
349
382
  property :machine_type, as: 'machineType'
383
+ property :zone, as: 'zone'
350
384
  end
351
385
  end
352
386
 
@@ -407,6 +441,8 @@ module Google
407
441
  property :airflow_byoid_uri, as: 'airflowByoidUri'
408
442
  property :airflow_uri, as: 'airflowUri'
409
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
+
410
446
  property :database_config, as: 'databaseConfig', class: Google::Apis::ComposerV1::DatabaseConfig, decorator: Google::Apis::ComposerV1::DatabaseConfig::Representation
411
447
 
412
448
  property :encryption_config, as: 'encryptionConfig', class: Google::Apis::ComposerV1::EncryptionConfig, decorator: Google::Apis::ComposerV1::EncryptionConfig::Representation
@@ -708,6 +744,8 @@ module Google
708
744
  # @private
709
745
  class Representation < Google::Apis::Core::JsonRepresentation
710
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
+
711
749
  hash :env_variables, as: 'envVariables'
712
750
  property :image_version, as: 'imageVersion'
713
751
  hash :pypi_packages, as: 'pypiPackages'
@@ -746,6 +784,14 @@ module Google
746
784
  class StorageConfig
747
785
  # @private
748
786
  class Representation < Google::Apis::Core::JsonRepresentation
787
+ property :bucket, as: 'bucket'
788
+ end
789
+ end
790
+
791
+ class TaskLogsRetentionConfig
792
+ # @private
793
+ class Representation < Google::Apis::Core::JsonRepresentation
794
+ property :storage_mode, as: 'storageMode'
749
795
  end
750
796
  end
751
797
 
@@ -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.39.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-09-24 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.39.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