Skip to content

Commit e74769c

Browse files
feat: Automated regeneration of datamigration v1 client (#24922)
Auto-created at 2025-11-09 10:21:51 +0000 using the toys pull request generator.
1 parent a0133d5 commit e74769c

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
@@ -157388,6 +157388,8 @@
157388157388
"/datamigration:v1/ListOperationsResponse/nextPageToken": next_page_token
157389157389
"/datamigration:v1/ListOperationsResponse/operations": operations
157390157390
"/datamigration:v1/ListOperationsResponse/operations/operation": operation
157391+
"/datamigration:v1/ListOperationsResponse/unreachable": unreachable
157392+
"/datamigration:v1/ListOperationsResponse/unreachable/unreachable": unreachable
157391157393
"/datamigration:v1/ListPrivateConnectionsResponse": list_private_connections_response
157392157394
"/datamigration:v1/ListPrivateConnectionsResponse/nextPageToken": next_page_token
157393157395
"/datamigration:v1/ListPrivateConnectionsResponse/privateConnections": private_connections
@@ -158052,6 +158054,7 @@
158052158054
"/datamigration:v1/datamigration.projects.locations.operations.list/name": name
158053158055
"/datamigration:v1/datamigration.projects.locations.operations.list/pageSize": page_size
158054158056
"/datamigration:v1/datamigration.projects.locations.operations.list/pageToken": page_token
158057+
"/datamigration:v1/datamigration.projects.locations.operations.list/returnPartialSuccess": return_partial_success
158055158058
"/datamigration:v1/datamigration.projects.locations.privateConnections.create": create_project_location_private_connection
158056158059
"/datamigration:v1/datamigration.projects.locations.privateConnections.create/parent": parent
158057158060
"/datamigration:v1/datamigration.projects.locations.privateConnections.create/privateConnectionId": private_connection_id

generated/google-apis-datamigration_v1/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_v1
22

3+
### v0.81.0 (2025-11-09)
4+
5+
* Regenerated from discovery document revision 20251029
6+
37
### v0.80.0 (2025-09-07)
48

59
* Regenerated from discovery document revision 20250826

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2658,6 +2658,13 @@ class ListOperationsResponse
26582658
# @return [Array<Google::Apis::DatamigrationV1::Operation>]
26592659
attr_accessor :operations
26602660

2661+
# Unordered list. Unreachable resources. Populated when the request sets `
2662+
# ListOperationsRequest.return_partial_success` and reads across collections e.g.
2663+
# when attempting to list all resources across all supported locations.
2664+
# Corresponds to the JSON property `unreachable`
2665+
# @return [Array<String>]
2666+
attr_accessor :unreachable
2667+
26612668
def initialize(**args)
26622669
update!(**args)
26632670
end
@@ -2666,6 +2673,7 @@ def initialize(**args)
26662673
def update!(**args)
26672674
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
26682675
@operations = args[:operations] if args.key?(:operations)
2676+
@unreachable = args[:unreachable] if args.key?(:unreachable)
26692677
end
26702678
end
26712679

generated/google-apis-datamigration_v1/lib/google/apis/datamigration_v1/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 DatamigrationV1
1818
# Version of the google-apis-datamigration_v1 gem
19-
GEM_VERSION = "0.80.0"
19+
GEM_VERSION = "0.81.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 = "20250826"
25+
REVISION = "20251029"
2626
end
2727
end
2828
end

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1639,6 +1639,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
16391639
property :next_page_token, as: 'nextPageToken'
16401640
collection :operations, as: 'operations', class: Google::Apis::DatamigrationV1::Operation, decorator: Google::Apis::DatamigrationV1::Operation::Representation
16411641

1642+
collection :unreachable, as: 'unreachable'
16421643
end
16431644
end
16441645

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

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2367,6 +2367,13 @@ def get_project_location_operation(name, fields: nil, quota_user: nil, options:
23672367
# The standard list page size.
23682368
# @param [String] page_token
23692369
# The standard list page token.
2370+
# @param [Boolean] return_partial_success
2371+
# When set to `true`, operations that are reachable are returned as normal, and
2372+
# those that are unreachable are returned in the [ListOperationsResponse.
2373+
# unreachable] field. This can only be `true` when reading across collections e.
2374+
# g. when `parent` is set to `"projects/example/locations/-"`. This field is not
2375+
# by default supported and will result in an `UNIMPLEMENTED` error if set unless
2376+
# explicitly documented otherwise in service or product specific documentation.
23702377
# @param [String] fields
23712378
# Selector specifying which fields to include in a partial response.
23722379
# @param [String] quota_user
@@ -2384,14 +2391,15 @@ def get_project_location_operation(name, fields: nil, quota_user: nil, options:
23842391
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
23852392
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
23862393
# @raise [Google::Apis::AuthorizationError] Authorization is required
2387-
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2394+
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)
23882395
command = make_simple_command(:get, 'v1/{+name}/operations', options)
23892396
command.response_representation = Google::Apis::DatamigrationV1::ListOperationsResponse::Representation
23902397
command.response_class = Google::Apis::DatamigrationV1::ListOperationsResponse
23912398
command.params['name'] = name unless name.nil?
23922399
command.query['filter'] = filter unless filter.nil?
23932400
command.query['pageSize'] = page_size unless page_size.nil?
23942401
command.query['pageToken'] = page_token unless page_token.nil?
2402+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
23952403
command.query['fields'] = fields unless fields.nil?
23962404
command.query['quotaUser'] = quota_user unless quota_user.nil?
23972405
execute_or_queue_command(command, &block)

0 commit comments

Comments
 (0)