Skip to content

Commit 638aec6

Browse files
feat: Automated regeneration of migrationcenter v1 client (#22329)
Auto-created at 2025-03-30 10:50:02 +0000 using the toys pull request generator.
1 parent c3db420 commit 638aec6

File tree

4 files changed

+12
-3
lines changed

4 files changed

+12
-3
lines changed

api_names_out.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273520,6 +273520,7 @@
273520273520
"/migrationcenter:v1/migrationcenter.projects.locations.importJobs.validate": validate_import_job
273521273521
"/migrationcenter:v1/migrationcenter.projects.locations.importJobs.validate/name": name
273522273522
"/migrationcenter:v1/migrationcenter.projects.locations.list": list_project_locations
273523+
"/migrationcenter:v1/migrationcenter.projects.locations.list/extraLocationTypes": extra_location_types
273523273524
"/migrationcenter:v1/migrationcenter.projects.locations.list/filter": filter
273524273525
"/migrationcenter:v1/migrationcenter.projects.locations.list/name": name
273525273526
"/migrationcenter:v1/migrationcenter.projects.locations.list/pageSize": page_size

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

3+
### v0.22.0 (2025-03-30)
4+
5+
* Regenerated from discovery document revision 20250320
6+
37
### v0.21.0 (2025-02-26)
48

59
* Regenerated from discovery document revision 20250220

generated/google-apis-migrationcenter_v1/lib/google/apis/migrationcenter_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 MigrationcenterV1
1818
# Version of the google-apis-migrationcenter_v1 gem
19-
GEM_VERSION = "0.21.0"
19+
GEM_VERSION = "0.22.0"
2020

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

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

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,9 @@ def get_project_location_settings(name, fields: nil, quota_user: nil, options: n
115115
# Lists information about the supported locations for this service.
116116
# @param [String] name
117117
# The resource that owns the locations collection, if applicable.
118+
# @param [Array<String>, String] extra_location_types
119+
# Optional. A list of extra location types that should be used as conditions for
120+
# controlling the visibility of the locations.
118121
# @param [String] filter
119122
# A filter to narrow down results to a preferred subset. The filtering language
120123
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
@@ -142,11 +145,12 @@ def get_project_location_settings(name, fields: nil, quota_user: nil, options: n
142145
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
143146
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
144147
# @raise [Google::Apis::AuthorizationError] Authorization is required
145-
def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
148+
def list_project_locations(name, extra_location_types: nil, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
146149
command = make_simple_command(:get, 'v1/{+name}/locations', options)
147150
command.response_representation = Google::Apis::MigrationcenterV1::ListLocationsResponse::Representation
148151
command.response_class = Google::Apis::MigrationcenterV1::ListLocationsResponse
149152
command.params['name'] = name unless name.nil?
153+
command.query['extraLocationTypes'] = extra_location_types unless extra_location_types.nil?
150154
command.query['filter'] = filter unless filter.nil?
151155
command.query['pageSize'] = page_size unless page_size.nil?
152156
command.query['pageToken'] = page_token unless page_token.nil?

0 commit comments

Comments
 (0)