Skip to content

Commit 3676e1b

Browse files
feat: Automated regeneration of migrationcenter v1alpha1 client (#24516)
Auto-created at 2025-10-05 10:19:40 +0000 using the toys pull request generator.
1 parent 5a0a27b commit 3676e1b

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
@@ -293314,6 +293314,8 @@
293314293314
"/migrationcenter:v1alpha1/ListOperationsResponse/nextPageToken": next_page_token
293315293315
"/migrationcenter:v1alpha1/ListOperationsResponse/operations": operations
293316293316
"/migrationcenter:v1alpha1/ListOperationsResponse/operations/operation": operation
293317+
"/migrationcenter:v1alpha1/ListOperationsResponse/unreachable": unreachable
293318+
"/migrationcenter:v1alpha1/ListOperationsResponse/unreachable/unreachable": unreachable
293317293319
"/migrationcenter:v1alpha1/ListPreferenceSetsResponse": list_preference_sets_response
293318293320
"/migrationcenter:v1alpha1/ListPreferenceSetsResponse/nextPageToken": next_page_token
293319293321
"/migrationcenter:v1alpha1/ListPreferenceSetsResponse/preferenceSets": preference_sets
@@ -294072,6 +294074,7 @@
294072294074
"/migrationcenter:v1alpha1/migrationcenter.projects.locations.operations.list/name": name
294073294075
"/migrationcenter:v1alpha1/migrationcenter.projects.locations.operations.list/pageSize": page_size
294074294076
"/migrationcenter:v1alpha1/migrationcenter.projects.locations.operations.list/pageToken": page_token
294077+
"/migrationcenter:v1alpha1/migrationcenter.projects.locations.operations.list/returnPartialSuccess": return_partial_success
294075294078
"/migrationcenter:v1alpha1/migrationcenter.projects.locations.preferenceSets.create": create_project_location_preference_set
294076294079
"/migrationcenter:v1alpha1/migrationcenter.projects.locations.preferenceSets.create/parent": parent
294077294080
"/migrationcenter:v1alpha1/migrationcenter.projects.locations.preferenceSets.create/preferenceSetId": preference_set_id

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

3+
### v0.49.0 (2025-10-05)
4+
5+
* Regenerated from discovery document revision 20250928
6+
37
### v0.48.0 (2025-09-21)
48

59
* Regenerated from discovery document revision 20250917

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4625,6 +4625,13 @@ class ListOperationsResponse
46254625
# @return [Array<Google::Apis::MigrationcenterV1alpha1::Operation>]
46264626
attr_accessor :operations
46274627

4628+
# Unordered list. Unreachable resources. Populated when the request sets `
4629+
# ListOperationsRequest.return_partial_success` and reads across collections e.g.
4630+
# when attempting to list all resources across all supported locations.
4631+
# Corresponds to the JSON property `unreachable`
4632+
# @return [Array<String>]
4633+
attr_accessor :unreachable
4634+
46284635
def initialize(**args)
46294636
update!(**args)
46304637
end
@@ -4633,6 +4640,7 @@ def initialize(**args)
46334640
def update!(**args)
46344641
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
46354642
@operations = args[:operations] if args.key?(:operations)
4643+
@unreachable = args[:unreachable] if args.key?(:unreachable)
46364644
end
46374645
end
46384646

generated/google-apis-migrationcenter_v1alpha1/lib/google/apis/migrationcenter_v1alpha1/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 MigrationcenterV1alpha1
1818
# Version of the google-apis-migrationcenter_v1alpha1 gem
19-
GEM_VERSION = "0.48.0"
19+
GEM_VERSION = "0.49.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 = "20250917"
25+
REVISION = "20250928"
2626
end
2727
end
2828
end

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2935,6 +2935,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
29352935
property :next_page_token, as: 'nextPageToken'
29362936
collection :operations, as: 'operations', class: Google::Apis::MigrationcenterV1alpha1::Operation, decorator: Google::Apis::MigrationcenterV1alpha1::Operation::Representation
29372937

2938+
collection :unreachable, as: 'unreachable'
29382939
end
29392940
end
29402941

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

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1815,6 +1815,13 @@ def get_project_location_operation(name, fields: nil, quota_user: nil, options:
18151815
# The standard list page size.
18161816
# @param [String] page_token
18171817
# The standard list page token.
1818+
# @param [Boolean] return_partial_success
1819+
# When set to `true`, operations that are reachable are returned as normal, and
1820+
# those that are unreachable are returned in the [ListOperationsResponse.
1821+
# unreachable] field. This can only be `true` when reading across collections e.
1822+
# g. when `parent` is set to `"projects/example/locations/-"`. This field is not
1823+
# by default supported and will result in an `UNIMPLEMENTED` error if set unless
1824+
# explicitly documented otherwise in service or product specific documentation.
18181825
# @param [String] fields
18191826
# Selector specifying which fields to include in a partial response.
18201827
# @param [String] quota_user
@@ -1832,14 +1839,15 @@ def get_project_location_operation(name, fields: nil, quota_user: nil, options:
18321839
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
18331840
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
18341841
# @raise [Google::Apis::AuthorizationError] Authorization is required
1835-
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1842+
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)
18361843
command = make_simple_command(:get, 'v1alpha1/{+name}/operations', options)
18371844
command.response_representation = Google::Apis::MigrationcenterV1alpha1::ListOperationsResponse::Representation
18381845
command.response_class = Google::Apis::MigrationcenterV1alpha1::ListOperationsResponse
18391846
command.params['name'] = name unless name.nil?
18401847
command.query['filter'] = filter unless filter.nil?
18411848
command.query['pageSize'] = page_size unless page_size.nil?
18421849
command.query['pageToken'] = page_token unless page_token.nil?
1850+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
18431851
command.query['fields'] = fields unless fields.nil?
18441852
command.query['quotaUser'] = quota_user unless quota_user.nil?
18451853
execute_or_queue_command(command, &block)

0 commit comments

Comments
 (0)