Skip to content

Commit acecf50

Browse files
feat: Automated regeneration of composer v1beta1 client (#24508)
Auto-created at 2025-10-05 10:12:34 +0000 using the toys pull request generator.
1 parent c4b0e27 commit acecf50

File tree

6 files changed

+82
-4
lines changed

6 files changed

+82
-4
lines changed

api_names_out.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86172,6 +86172,8 @@
8617286172
"/composer:v1beta1/CheckUpgradeRequest/imageVersion": image_version
8617386173
"/composer:v1beta1/CheckUpgradeResponse": check_upgrade_response
8617486174
"/composer:v1beta1/CheckUpgradeResponse/buildLogUri": build_log_uri
86175+
"/composer:v1beta1/CheckUpgradeResponse/configConflicts": config_conflicts
86176+
"/composer:v1beta1/CheckUpgradeResponse/configConflicts/config_conflict": config_conflict
8617586177
"/composer:v1beta1/CheckUpgradeResponse/containsPypiModulesConflict": contains_pypi_modules_conflict
8617686178
"/composer:v1beta1/CheckUpgradeResponse/imageVersion": image_version
8617786179
"/composer:v1beta1/CheckUpgradeResponse/pypiConflictBuildLogExtract": pypi_conflict_build_log_extract
@@ -86190,6 +86192,9 @@
8619086192
"/composer:v1beta1/ComposerWorkloadStatus/detailedStatusMessage": detailed_status_message
8619186193
"/composer:v1beta1/ComposerWorkloadStatus/state": state
8619286194
"/composer:v1beta1/ComposerWorkloadStatus/statusMessage": status_message
86195+
"/composer:v1beta1/ConfigConflict": config_conflict
86196+
"/composer:v1beta1/ConfigConflict/message": message
86197+
"/composer:v1beta1/ConfigConflict/type": type
8619386198
"/composer:v1beta1/DagProcessorResource": dag_processor_resource
8619486199
"/composer:v1beta1/DagProcessorResource/count": count
8619586200
"/composer:v1beta1/DagProcessorResource/cpu": cpu
@@ -86289,6 +86294,8 @@
8628986294
"/composer:v1beta1/ListOperationsResponse/nextPageToken": next_page_token
8629086295
"/composer:v1beta1/ListOperationsResponse/operations": operations
8629186296
"/composer:v1beta1/ListOperationsResponse/operations/operation": operation
86297+
"/composer:v1beta1/ListOperationsResponse/unreachable": unreachable
86298+
"/composer:v1beta1/ListOperationsResponse/unreachable/unreachable": unreachable
8629286299
"/composer:v1beta1/ListUserWorkloadsConfigMapsResponse": list_user_workloads_config_maps_response
8629386300
"/composer:v1beta1/ListUserWorkloadsConfigMapsResponse/nextPageToken": next_page_token
8629486301
"/composer:v1beta1/ListUserWorkloadsConfigMapsResponse/userWorkloadsConfigMaps": user_workloads_config_maps
@@ -86534,6 +86541,7 @@
8653486541
"/composer:v1beta1/composer.projects.locations.operations.list/name": name
8653586542
"/composer:v1beta1/composer.projects.locations.operations.list/pageSize": page_size
8653686543
"/composer:v1beta1/composer.projects.locations.operations.list/pageToken": page_token
86544+
"/composer:v1beta1/composer.projects.locations.operations.list/returnPartialSuccess": return_partial_success
8653786545
"/composer:v1beta1/fields": fields
8653886546
"/composer:v1beta1/key": key
8653986547
"/composer:v1beta1/quotaUser": quota_user

generated/google-apis-composer_v1beta1/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Release history for google-apis-composer_v1beta1
22

3+
### v0.53.0 (2025-10-05)
4+
5+
* Regenerated from discovery document revision 20250928
6+
* Regenerated using generator version 0.18.0
7+
38
### v0.52.0 (2025-05-21)
49

510
* Regenerated from discovery document revision 20250513

generated/google-apis-composer_v1beta1/lib/google/apis/composer_v1beta1/classes.rb

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,12 @@ class CheckUpgradeResponse
121121
# @return [String]
122122
attr_accessor :build_log_uri
123123

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+
124130
# Output only. Whether build has succeeded or failed on modules conflicts.
125131
# Corresponds to the JSON property `containsPypiModulesConflict`
126132
# @return [String]
@@ -150,6 +156,7 @@ def initialize(**args)
150156
# Update properties of this object
151157
def update!(**args)
152158
@build_log_uri = args[:build_log_uri] if args.key?(:build_log_uri)
159+
@config_conflicts = args[:config_conflicts] if args.key?(:config_conflicts)
153160
@contains_pypi_modules_conflict = args[:contains_pypi_modules_conflict] if args.key?(:contains_pypi_modules_conflict)
154161
@image_version = args[:image_version] if args.key?(:image_version)
155162
@pypi_conflict_build_log_extract = args[:pypi_conflict_build_log_extract] if args.key?(:pypi_conflict_build_log_extract)
@@ -264,6 +271,31 @@ def update!(**args)
264271
end
265272
end
266273

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+
267299
# Configuration for resources used by Airflow DAG processors. This field is
268300
# supported for Cloud Composer environments in versions composer-3-airflow-*.*.*-
269301
# build.* and newer.
@@ -1071,6 +1103,13 @@ class ListOperationsResponse
10711103
# @return [Array<Google::Apis::ComposerV1beta1::Operation>]
10721104
attr_accessor :operations
10731105

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+
10741113
def initialize(**args)
10751114
update!(**args)
10761115
end
@@ -1079,6 +1118,7 @@ def initialize(**args)
10791118
def update!(**args)
10801119
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
10811120
@operations = args[:operations] if args.key?(:operations)
1121+
@unreachable = args[:unreachable] if args.key?(:unreachable)
10821122
end
10831123
end
10841124

generated/google-apis-composer_v1beta1/lib/google/apis/composer_v1beta1/gem_version.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module ComposerV1beta1
1818
# Version of the google-apis-composer_v1beta1 gem
19-
GEM_VERSION = "0.52.0"
19+
GEM_VERSION = "0.53.0"
2020

2121
# Version of the code generator used to generate this client
22-
GENERATOR_VERSION = "0.17.0"
22+
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20250513"
25+
REVISION = "20250928"
2626
end
2727
end
2828
end

generated/google-apis-composer_v1beta1/lib/google/apis/composer_v1beta1/representations.rb

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
7070
include Google::Apis::Core::JsonObjectSupport
7171
end
7272

73+
class ConfigConflict
74+
class Representation < Google::Apis::Core::JsonRepresentation; end
75+
76+
include Google::Apis::Core::JsonObjectSupport
77+
end
78+
7379
class DagProcessorResource
7480
class Representation < Google::Apis::Core::JsonRepresentation; end
7581

@@ -427,6 +433,8 @@ class CheckUpgradeResponse
427433
# @private
428434
class Representation < Google::Apis::Core::JsonRepresentation
429435
property :build_log_uri, as: 'buildLogUri'
436+
collection :config_conflicts, as: 'configConflicts', class: Google::Apis::ComposerV1beta1::ConfigConflict, decorator: Google::Apis::ComposerV1beta1::ConfigConflict::Representation
437+
430438
property :contains_pypi_modules_conflict, as: 'containsPypiModulesConflict'
431439
property :image_version, as: 'imageVersion'
432440
property :pypi_conflict_build_log_extract, as: 'pypiConflictBuildLogExtract'
@@ -468,6 +476,14 @@ class Representation < Google::Apis::Core::JsonRepresentation
468476
end
469477
end
470478

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+
471487
class DagProcessorResource
472488
# @private
473489
class Representation < Google::Apis::Core::JsonRepresentation
@@ -678,6 +694,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
678694
property :next_page_token, as: 'nextPageToken'
679695
collection :operations, as: 'operations', class: Google::Apis::ComposerV1beta1::Operation, decorator: Google::Apis::ComposerV1beta1::Operation::Representation
680696

697+
collection :unreachable, as: 'unreachable'
681698
end
682699
end
683700

generated/google-apis-composer_v1beta1/lib/google/apis/composer_v1beta1/service.rb

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1126,6 +1126,13 @@ def get_project_location_operation(name, fields: nil, quota_user: nil, options:
11261126
# The standard list page size.
11271127
# @param [String] page_token
11281128
# The standard list page token.
1129+
# @param [Boolean] return_partial_success
1130+
# When set to `true`, operations that are reachable are returned as normal, and
1131+
# those that are unreachable are returned in the [ListOperationsResponse.
1132+
# unreachable] field. This can only be `true` when reading across collections e.
1133+
# g. when `parent` is set to `"projects/example/locations/-"`. This field is not
1134+
# by default supported and will result in an `UNIMPLEMENTED` error if set unless
1135+
# explicitly documented otherwise in service or product specific documentation.
11291136
# @param [String] fields
11301137
# Selector specifying which fields to include in a partial response.
11311138
# @param [String] quota_user
@@ -1143,14 +1150,15 @@ def get_project_location_operation(name, fields: nil, quota_user: nil, options:
11431150
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
11441151
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
11451152
# @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)
1153+
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)
11471154
command = make_simple_command(:get, 'v1beta1/{+name}/operations', options)
11481155
command.response_representation = Google::Apis::ComposerV1beta1::ListOperationsResponse::Representation
11491156
command.response_class = Google::Apis::ComposerV1beta1::ListOperationsResponse
11501157
command.params['name'] = name unless name.nil?
11511158
command.query['filter'] = filter unless filter.nil?
11521159
command.query['pageSize'] = page_size unless page_size.nil?
11531160
command.query['pageToken'] = page_token unless page_token.nil?
1161+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
11541162
command.query['fields'] = fields unless fields.nil?
11551163
command.query['quotaUser'] = quota_user unless quota_user.nil?
11561164
execute_or_queue_command(command, &block)

0 commit comments

Comments
 (0)