google-apis-composer_v1beta1 0.52.0 → 0.54.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: 5584ce75f14575e1653151e72c5c363954595bb4f1d89d5eca6ab6f66fe4b4eb
4
- data.tar.gz: a71105246eae0c1d7fbae1d99a876985bbf6b0a6405dc1c32d8ba218e8b740cc
3
+ metadata.gz: 29e2286a22e7cd81d4b6388ffede1bae7b26ab95669f30dc2a641bdea4a3a5e1
4
+ data.tar.gz: 1553f3e77491577aef2e7c7c0cf98d0eb29b03a4ef39d998bcfb2f234f8fa725
5
5
  SHA512:
6
- metadata.gz: 301ea92b02772e20a11a0c82880d4aca646b68d67cd479f27ca2d4c446ff76e9592b96fbc5901d62b478027b46bccbc13b979847c778abe1422aa136cc5cebd0
7
- data.tar.gz: b8d29af6ac179bca707c01cadd64976530f9d2e6d4b2701d8f50ce7458f0b5894728d56f0c6fe22a5b0e2c058a4d49d4cf00908f7501596ffc6e19884b19c0c5
6
+ metadata.gz: 504c5b6770edf9a904eadbe294d4d13f52e15fef4fea08577a3fb97ed16a048121c3d84c0950612dc694d1968edcb229afbe4db150c742b3eae25f4dfc59ef93
7
+ data.tar.gz: bb82de81f07e4dea1a59ff1aec3e20264b0f87bf6e5a6b5760aa6325f72616e21e5a0f85bc7209c8bd6dab92ed7f8ecde97352e16d4547c188bb21fbd40159ad
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-composer_v1beta1
2
2
 
3
+ ### v0.54.0 (2025-11-16)
4
+
5
+ * Regenerated from discovery document revision 20251104
6
+
7
+ ### v0.53.0 (2025-10-05)
8
+
9
+ * Regenerated from discovery document revision 20250928
10
+ * Regenerated using generator version 0.18.0
11
+
3
12
  ### v0.52.0 (2025-05-21)
4
13
 
5
14
  * Regenerated from discovery document revision 20250513
@@ -121,6 +121,12 @@ module Google
121
121
  # @return [String]
122
122
  attr_accessor :build_log_uri
123
123
 
124
+ # Output only. Contains information about environment configuration that is
125
+ # incompatible with the new image version, except for pypi modules conflicts.
126
+ # Corresponds to the JSON property `configConflicts`
127
+ # @return [Array<Google::Apis::ComposerV1beta1::ConfigConflict>]
128
+ attr_accessor :config_conflicts
129
+
124
130
  # Output only. Whether build has succeeded or failed on modules conflicts.
125
131
  # Corresponds to the JSON property `containsPypiModulesConflict`
126
132
  # @return [String]
@@ -150,6 +156,7 @@ module Google
150
156
  # Update properties of this object
151
157
  def update!(**args)
152
158
  @build_log_uri = args[:build_log_uri] if args.key?(:build_log_uri)
159
+ @config_conflicts = args[:config_conflicts] if args.key?(:config_conflicts)
153
160
  @contains_pypi_modules_conflict = args[:contains_pypi_modules_conflict] if args.key?(:contains_pypi_modules_conflict)
154
161
  @image_version = args[:image_version] if args.key?(:image_version)
155
162
  @pypi_conflict_build_log_extract = args[:pypi_conflict_build_log_extract] if args.key?(:pypi_conflict_build_log_extract)
@@ -264,6 +271,31 @@ module Google
264
271
  end
265
272
  end
266
273
 
274
+ # Environment configuration conflict.
275
+ class ConfigConflict
276
+ include Google::Apis::Core::Hashable
277
+
278
+ # Conflict message.
279
+ # Corresponds to the JSON property `message`
280
+ # @return [String]
281
+ attr_accessor :message
282
+
283
+ # Conflict type. It can be blocking or non-blocking.
284
+ # Corresponds to the JSON property `type`
285
+ # @return [String]
286
+ attr_accessor :type
287
+
288
+ def initialize(**args)
289
+ update!(**args)
290
+ end
291
+
292
+ # Update properties of this object
293
+ def update!(**args)
294
+ @message = args[:message] if args.key?(:message)
295
+ @type = args[:type] if args.key?(:type)
296
+ end
297
+ end
298
+
267
299
  # Configuration for resources used by Airflow DAG processors. This field is
268
300
  # supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-
269
301
  # build.* and newer.
@@ -1071,6 +1103,13 @@ module Google
1071
1103
  # @return [Array<Google::Apis::ComposerV1beta1::Operation>]
1072
1104
  attr_accessor :operations
1073
1105
 
1106
+ # Unordered list. Unreachable resources. Populated when the request sets `
1107
+ # ListOperationsRequest.return_partial_success` and reads across collections e.g.
1108
+ # when attempting to list all resources across all supported locations.
1109
+ # Corresponds to the JSON property `unreachable`
1110
+ # @return [Array<String>]
1111
+ attr_accessor :unreachable
1112
+
1074
1113
  def initialize(**args)
1075
1114
  update!(**args)
1076
1115
  end
@@ -1079,6 +1118,7 @@ module Google
1079
1118
  def update!(**args)
1080
1119
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1081
1120
  @operations = args[:operations] if args.key?(:operations)
1121
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
1082
1122
  end
1083
1123
  end
1084
1124
 
@@ -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.52.0"
19
+ GEM_VERSION = "0.54.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.17.0"
22
+ GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250513"
25
+ REVISION = "20251104"
26
26
  end
27
27
  end
28
28
  end
@@ -70,6 +70,12 @@ module Google
70
70
  include Google::Apis::Core::JsonObjectSupport
71
71
  end
72
72
 
73
+ class ConfigConflict
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
73
79
  class DagProcessorResource
74
80
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
81
 
@@ -427,6 +433,8 @@ module Google
427
433
  # @private
428
434
  class Representation < Google::Apis::Core::JsonRepresentation
429
435
  property :build_log_uri, as: 'buildLogUri'
436
+ collection :config_conflicts, as: 'configConflicts', class: Google::Apis::ComposerV1beta1::ConfigConflict, decorator: Google::Apis::ComposerV1beta1::ConfigConflict::Representation
437
+
430
438
  property :contains_pypi_modules_conflict, as: 'containsPypiModulesConflict'
431
439
  property :image_version, as: 'imageVersion'
432
440
  property :pypi_conflict_build_log_extract, as: 'pypiConflictBuildLogExtract'
@@ -468,6 +476,14 @@ module Google
468
476
  end
469
477
  end
470
478
 
479
+ class ConfigConflict
480
+ # @private
481
+ class Representation < Google::Apis::Core::JsonRepresentation
482
+ property :message, as: 'message'
483
+ property :type, as: 'type'
484
+ end
485
+ end
486
+
471
487
  class DagProcessorResource
472
488
  # @private
473
489
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -678,6 +694,7 @@ module Google
678
694
  property :next_page_token, as: 'nextPageToken'
679
695
  collection :operations, as: 'operations', class: Google::Apis::ComposerV1beta1::Operation, decorator: Google::Apis::ComposerV1beta1::Operation::Representation
680
696
 
697
+ collection :unreachable, as: 'unreachable'
681
698
  end
682
699
  end
683
700
 
@@ -612,6 +612,70 @@ module Google
612
612
  execute_or_queue_command(command, &block)
613
613
  end
614
614
 
615
+ # Start a new task analysis operation.
616
+ # @param [String] task_instance
617
+ # Required. Fully qualified task instance resource name in the form: projects/`
618
+ # project`/locations/`location`/environments/`environment`/dags/`dag`/dagRuns/`
619
+ # dag_run`/taskInstances/`task_instance_with_optional_map_index`
620
+ # @param [String] fields
621
+ # Selector specifying which fields to include in a partial response.
622
+ # @param [String] quota_user
623
+ # Available to use for quota purposes for server-side applications. Can be any
624
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
625
+ # @param [Google::Apis::RequestOptions] options
626
+ # Request-specific options
627
+ #
628
+ # @yield [result, err] Result & error if block supplied
629
+ # @yieldparam result [Google::Apis::ComposerV1beta1::Operation] parsed result object
630
+ # @yieldparam err [StandardError] error object if request failed
631
+ #
632
+ # @return [Google::Apis::ComposerV1beta1::Operation]
633
+ #
634
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
635
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
636
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
637
+ def analyze_task_instance_task(task_instance, fields: nil, quota_user: nil, options: nil, &block)
638
+ command = make_simple_command(:post, 'v1beta1/{+taskInstance}:analyzeTask', options)
639
+ command.response_representation = Google::Apis::ComposerV1beta1::Operation::Representation
640
+ command.response_class = Google::Apis::ComposerV1beta1::Operation
641
+ command.params['taskInstance'] = task_instance unless task_instance.nil?
642
+ command.query['fields'] = fields unless fields.nil?
643
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
644
+ execute_or_queue_command(command, &block)
645
+ end
646
+
647
+ # Retrieve task analysis operation for a task instance if it exists.
648
+ # @param [String] task_instance
649
+ # Required. Fully qualified task instance resource name in the form: projects/`
650
+ # project`/locations/`location`/environments/`environment`/dags/`dag`/dagRuns/`
651
+ # dag_run`/taskInstances/`task_instance_with_optional_map_index`
652
+ # @param [String] fields
653
+ # Selector specifying which fields to include in a partial response.
654
+ # @param [String] quota_user
655
+ # Available to use for quota purposes for server-side applications. Can be any
656
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
657
+ # @param [Google::Apis::RequestOptions] options
658
+ # Request-specific options
659
+ #
660
+ # @yield [result, err] Result & error if block supplied
661
+ # @yieldparam result [Google::Apis::ComposerV1beta1::Operation] parsed result object
662
+ # @yieldparam err [StandardError] error object if request failed
663
+ #
664
+ # @return [Google::Apis::ComposerV1beta1::Operation]
665
+ #
666
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
667
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
668
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
669
+ def get_project_location_environment_dag_dag_run_task_instance_analyze_task_operation(task_instance, fields: nil, quota_user: nil, options: nil, &block)
670
+ command = make_simple_command(:get, 'v1beta1/{+taskInstance}:getAnalyzeTaskOperation', options)
671
+ command.response_representation = Google::Apis::ComposerV1beta1::Operation::Representation
672
+ command.response_class = Google::Apis::ComposerV1beta1::Operation
673
+ command.params['taskInstance'] = task_instance unless task_instance.nil?
674
+ command.query['fields'] = fields unless fields.nil?
675
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
676
+ execute_or_queue_command(command, &block)
677
+ end
678
+
615
679
  # Creates a user workloads ConfigMap. This method is supported for Cloud
616
680
  # Composer environments in versions composer-3-airflow-*.*.*-build.* and newer.
617
681
  # @param [String] parent
@@ -1126,6 +1190,13 @@ module Google
1126
1190
  # The standard list page size.
1127
1191
  # @param [String] page_token
1128
1192
  # The standard list page token.
1193
+ # @param [Boolean] return_partial_success
1194
+ # When set to `true`, operations that are reachable are returned as normal, and
1195
+ # those that are unreachable are returned in the [ListOperationsResponse.
1196
+ # unreachable] field. This can only be `true` when reading across collections e.
1197
+ # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
1198
+ # by default supported and will result in an `UNIMPLEMENTED` error if set unless
1199
+ # explicitly documented otherwise in service or product specific documentation.
1129
1200
  # @param [String] fields
1130
1201
  # Selector specifying which fields to include in a partial response.
1131
1202
  # @param [String] quota_user
@@ -1143,7 +1214,7 @@ module Google
1143
1214
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1144
1215
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1145
1216
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1146
- def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1217
+ def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
1147
1218
  command = make_simple_command(:get, 'v1beta1/{+name}/operations', options)
1148
1219
  command.response_representation = Google::Apis::ComposerV1beta1::ListOperationsResponse::Representation
1149
1220
  command.response_class = Google::Apis::ComposerV1beta1::ListOperationsResponse
@@ -1151,6 +1222,7 @@ module Google
1151
1222
  command.query['filter'] = filter unless filter.nil?
1152
1223
  command.query['pageSize'] = page_size unless page_size.nil?
1153
1224
  command.query['pageToken'] = page_token unless page_token.nil?
1225
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
1154
1226
  command.query['fields'] = fields unless fields.nil?
1155
1227
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1156
1228
  execute_or_queue_command(command, &block)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-composer_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.52.0
4
+ version: 0.54.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-composer_v1beta1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-composer_v1beta1/v0.52.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-composer_v1beta1/v0.54.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-composer_v1beta1
62
62
  rdoc_options: []
63
63
  require_paths: