Skip to content

Commit 22fcfd2

Browse files
feat: Automated regeneration of baremetalsolution v2 client (googleapis#22509)
Auto-created at 2025-04-20 10:52:24 +0000 using the toys pull request generator.
1 parent b34aa4b commit 22fcfd2

File tree

4 files changed

+14
-4
lines changed

4 files changed

+14
-4
lines changed

api_names_out.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46501,6 +46501,7 @@
4650146501
"/baremetalsolution:v2/baremetalsolution.projects.locations.instances.testIamPermissions": test_instance_iam_permissions
4650246502
"/baremetalsolution:v2/baremetalsolution.projects.locations.instances.testIamPermissions/resource": resource
4650346503
"/baremetalsolution:v2/baremetalsolution.projects.locations.list": list_project_locations
46504+
"/baremetalsolution:v2/baremetalsolution.projects.locations.list/extraLocationTypes": extra_location_types
4650446505
"/baremetalsolution:v2/baremetalsolution.projects.locations.list/filter": filter
4650546506
"/baremetalsolution:v2/baremetalsolution.projects.locations.list/name": name
4650646507
"/baremetalsolution:v2/baremetalsolution.projects.locations.list/pageSize": page_size

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

3+
### v0.49.0 (2025-04-20)
4+
5+
* Regenerated from discovery document revision 20250414
6+
* Regenerated using generator version 0.16.0
7+
38
### v0.48.0 (2024-09-08)
49

510
* Regenerated from discovery document revision 20240830

generated/google-apis-baremetalsolution_v2/lib/google/apis/baremetalsolution_v2/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 BaremetalsolutionV2
1818
# Version of the google-apis-baremetalsolution_v2 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
22-
GENERATOR_VERSION = "0.15.1"
22+
GENERATOR_VERSION = "0.16.0"
2323

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

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,9 @@ def get_project_location(name, fields: nil, quota_user: nil, options: nil, &bloc
8585
# Lists information about the supported locations for this service.
8686
# @param [String] name
8787
# The resource that owns the locations collection, if applicable.
88+
# @param [Array<String>, String] extra_location_types
89+
# Optional. A list of extra location types that should be used as conditions for
90+
# controlling the visibility of the locations.
8891
# @param [String] filter
8992
# A filter to narrow down results to a preferred subset. The filtering language
9093
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
@@ -112,11 +115,12 @@ def get_project_location(name, fields: nil, quota_user: nil, options: nil, &bloc
112115
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
113116
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
114117
# @raise [Google::Apis::AuthorizationError] Authorization is required
115-
def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
118+
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)
116119
command = make_simple_command(:get, 'v2/{+name}/locations', options)
117120
command.response_representation = Google::Apis::BaremetalsolutionV2::ListLocationsResponse::Representation
118121
command.response_class = Google::Apis::BaremetalsolutionV2::ListLocationsResponse
119122
command.params['name'] = name unless name.nil?
123+
command.query['extraLocationTypes'] = extra_location_types unless extra_location_types.nil?
120124
command.query['filter'] = filter unless filter.nil?
121125
command.query['pageSize'] = page_size unless page_size.nil?
122126
command.query['pageToken'] = page_token unless page_token.nil?

0 commit comments

Comments
 (0)