Skip to content

Commit d17953c

Browse files
feat: Automated regeneration of datamigration v1beta1 client (#24905)
Auto-created at 2025-11-09 09:51:21 +0000 using the toys pull request generator.
1 parent 3040abe commit d17953c

File tree

6 files changed

+27
-3
lines changed

6 files changed

+27
-3
lines changed

api_names_out.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158128,6 +158128,8 @@
158128158128
"/datamigration:v1beta1/ListOperationsResponse/nextPageToken": next_page_token
158129158129
"/datamigration:v1beta1/ListOperationsResponse/operations": operations
158130158130
"/datamigration:v1beta1/ListOperationsResponse/operations/operation": operation
158131+
"/datamigration:v1beta1/ListOperationsResponse/unreachable": unreachable
158132+
"/datamigration:v1beta1/ListOperationsResponse/unreachable/unreachable": unreachable
158131158133
"/datamigration:v1beta1/Location": location
158132158134
"/datamigration:v1beta1/Location/displayName": display_name
158133158135
"/datamigration:v1beta1/Location/labels": labels
@@ -158324,6 +158326,7 @@
158324158326
"/datamigration:v1beta1/datamigration.projects.locations.operations.list/name": name
158325158327
"/datamigration:v1beta1/datamigration.projects.locations.operations.list/pageSize": page_size
158326158328
"/datamigration:v1beta1/datamigration.projects.locations.operations.list/pageToken": page_token
158329+
"/datamigration:v1beta1/datamigration.projects.locations.operations.list/returnPartialSuccess": return_partial_success
158327158330
"/datamigration:v1beta1/fields": fields
158328158331
"/datamigration:v1beta1/key": key
158329158332
"/datamigration:v1beta1/quotaUser": quota_user

generated/google-apis-datamigration_v1beta1/CHANGELOG.md

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

3+
### v0.37.0 (2025-11-09)
4+
5+
* Regenerated from discovery document revision 20251029
6+
37
### v0.36.0 (2025-08-24)
48

59
* Regenerated from discovery document revision 20250815

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -746,6 +746,13 @@ class ListOperationsResponse
746746
# @return [Array<Google::Apis::DatamigrationV1beta1::Operation>]
747747
attr_accessor :operations
748748

749+
# Unordered list. Unreachable resources. Populated when the request sets `
750+
# ListOperationsRequest.return_partial_success` and reads across collections e.g.
751+
# when attempting to list all resources across all supported locations.
752+
# Corresponds to the JSON property `unreachable`
753+
# @return [Array<String>]
754+
attr_accessor :unreachable
755+
749756
def initialize(**args)
750757
update!(**args)
751758
end
@@ -754,6 +761,7 @@ def initialize(**args)
754761
def update!(**args)
755762
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
756763
@operations = args[:operations] if args.key?(:operations)
764+
@unreachable = args[:unreachable] if args.key?(:unreachable)
757765
end
758766
end
759767

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module DatamigrationV1beta1
1818
# Version of the google-apis-datamigration_v1beta1 gem
19-
GEM_VERSION = "0.36.0"
19+
GEM_VERSION = "0.37.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.18.0"
2323

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

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -436,6 +436,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
436436
property :next_page_token, as: 'nextPageToken'
437437
collection :operations, as: 'operations', class: Google::Apis::DatamigrationV1beta1::Operation, decorator: Google::Apis::DatamigrationV1beta1::Operation::Representation
438438

439+
collection :unreachable, as: 'unreachable'
439440
end
440441
end
441442

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

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1148,6 +1148,13 @@ def get_project_location_operation(name, fields: nil, quota_user: nil, options:
11481148
# The standard list page size.
11491149
# @param [String] page_token
11501150
# The standard list page token.
1151+
# @param [Boolean] return_partial_success
1152+
# When set to `true`, operations that are reachable are returned as normal, and
1153+
# those that are unreachable are returned in the [ListOperationsResponse.
1154+
# unreachable] field. This can only be `true` when reading across collections e.
1155+
# g. when `parent` is set to `"projects/example/locations/-"`. This field is not
1156+
# by default supported and will result in an `UNIMPLEMENTED` error if set unless
1157+
# explicitly documented otherwise in service or product specific documentation.
11511158
# @param [String] fields
11521159
# Selector specifying which fields to include in a partial response.
11531160
# @param [String] quota_user
@@ -1165,14 +1172,15 @@ def get_project_location_operation(name, fields: nil, quota_user: nil, options:
11651172
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
11661173
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
11671174
# @raise [Google::Apis::AuthorizationError] Authorization is required
1168-
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1175+
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)
11691176
command = make_simple_command(:get, 'v1beta1/{+name}/operations', options)
11701177
command.response_representation = Google::Apis::DatamigrationV1beta1::ListOperationsResponse::Representation
11711178
command.response_class = Google::Apis::DatamigrationV1beta1::ListOperationsResponse
11721179
command.params['name'] = name unless name.nil?
11731180
command.query['filter'] = filter unless filter.nil?
11741181
command.query['pageSize'] = page_size unless page_size.nil?
11751182
command.query['pageToken'] = page_token unless page_token.nil?
1183+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
11761184
command.query['fields'] = fields unless fields.nil?
11771185
command.query['quotaUser'] = quota_user unless quota_user.nil?
11781186
execute_or_queue_command(command, &block)

0 commit comments

Comments
 (0)