Skip to content

Commit 7dd28ff

Browse files
feat: Automated regeneration of apim v1alpha client (googleapis#23237)
Auto-created at 2025-05-25 09:39:37 +0000 using the toys pull request generator.
1 parent 47e5c89 commit 7dd28ff

File tree

4 files changed

+16
-6
lines changed

4 files changed

+16
-6
lines changed

api_names_out.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39457,6 +39457,7 @@
3945739457
"/apim:v1alpha/apim.projects.locations.get": get_project_location
3945839458
"/apim:v1alpha/apim.projects.locations.get/name": name
3945939459
"/apim:v1alpha/apim.projects.locations.list": list_project_locations
39460+
"/apim:v1alpha/apim.projects.locations.list/extraLocationTypes": extra_location_types
3946039461
"/apim:v1alpha/apim.projects.locations.list/filter": filter
3946139462
"/apim:v1alpha/apim.projects.locations.list/name": name
3946239463
"/apim:v1alpha/apim.projects.locations.list/pageSize": page_size

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

3+
### v0.4.0 (2025-05-25)
4+
5+
* Regenerated from discovery document revision 20250521
6+
* Regenerated using generator version 0.18.0
7+
38
### v0.3.0 (2025-05-04)
49

510
* Regenerated using generator version 0.17.0

generated/google-apis-apim_v1alpha/lib/google/apis/apim_v1alpha/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 ApimV1alpha
1818
# Version of the google-apis-apim_v1alpha gem
19-
GEM_VERSION = "0.3.0"
19+
GEM_VERSION = "0.4.0"
2020

2121
# Version of the code generator used to generate this client
22-
GENERATOR_VERSION = "0.17.0"
22+
GENERATOR_VERSION = "0.18.0"
2323

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

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

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,9 @@ def get_project_location(name, fields: nil, quota_user: nil, options: nil, &bloc
8484
# Lists information about the supported locations for this service.
8585
# @param [String] name
8686
# The resource that owns the locations collection, if applicable.
87+
# @param [Array<String>, String] extra_location_types
88+
# Optional. A list of extra location types that should be used as conditions for
89+
# controlling the visibility of the locations.
8790
# @param [String] filter
8891
# A filter to narrow down results to a preferred subset. The filtering language
8992
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
@@ -111,11 +114,12 @@ def get_project_location(name, fields: nil, quota_user: nil, options: nil, &bloc
111114
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
112115
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
113116
# @raise [Google::Apis::AuthorizationError] Authorization is required
114-
def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
117+
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)
115118
command = make_simple_command(:get, 'v1alpha/{+name}/locations', options)
116119
command.response_representation = Google::Apis::ApimV1alpha::ListLocationsResponse::Representation
117120
command.response_class = Google::Apis::ApimV1alpha::ListLocationsResponse
118121
command.params['name'] = name unless name.nil?
122+
command.query['extraLocationTypes'] = extra_location_types unless extra_location_types.nil?
119123
command.query['filter'] = filter unless filter.nil?
120124
command.query['pageSize'] = page_size unless page_size.nil?
121125
command.query['pageToken'] = page_token unless page_token.nil?
@@ -746,8 +750,8 @@ def list_project_location_observation_sources(parent, page_size: nil, page_token
746750
# Clients can use Operations.GetOperation or other methods to check whether the
747751
# cancellation succeeded or whether the operation completed despite cancellation.
748752
# On successful cancellation, the operation is not deleted; instead, it becomes
749-
# an operation with an Operation.error value with a google.rpc.Status.code of 1,
750-
# corresponding to `Code.CANCELLED`.
753+
# an operation with an Operation.error value with a google.rpc.Status.code of `1`
754+
# , corresponding to `Code.CANCELLED`.
751755
# @param [String] name
752756
# The name of the operation resource to be cancelled.
753757
# @param [Google::Apis::ApimV1alpha::CancelOperationRequest] cancel_operation_request_object

0 commit comments

Comments
 (0)