Skip to content

Commit 0cede7e

Browse files
feat: Automated regeneration of file v1 client (googleapis#22367)
Auto-created at 2025-04-06 09:57:49 +0000 using the toys pull request generator.
1 parent 8ce1561 commit 0cede7e

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
@@ -231104,6 +231104,7 @@
231104231104
"/file:v1/file.projects.locations.instances.snapshots.patch/name": name
231105231105
"/file:v1/file.projects.locations.instances.snapshots.patch/updateMask": update_mask
231106231106
"/file:v1/file.projects.locations.list": list_project_locations
231107+
"/file:v1/file.projects.locations.list/extraLocationTypes": extra_location_types
231107231108
"/file:v1/file.projects.locations.list/filter": filter
231108231109
"/file:v1/file.projects.locations.list/includeUnrevealedLocations": include_unrevealed_locations
231109231110
"/file:v1/file.projects.locations.list/name": name

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

3+
### v0.52.0 (2025-04-06)
4+
5+
* Regenerated from discovery document revision 20250404
6+
37
### v0.51.0 (2025-02-26)
48

59
* Regenerated from discovery document revision 20250205

generated/google-apis-file_v1/lib/google/apis/file_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 FileV1
1818
# Version of the google-apis-file_v1 gem
19-
GEM_VERSION = "0.51.0"
19+
GEM_VERSION = "0.52.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 = "20250205"
25+
REVISION = "20250404"
2626
end
2727
end
2828
end

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

Lines changed: 5 additions & 1 deletion
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
@@ -113,11 +116,12 @@ def get_project_location(name, fields: nil, quota_user: nil, options: nil, &bloc
113116
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
114117
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
115118
# @raise [Google::Apis::AuthorizationError] Authorization is required
116-
def list_project_locations(name, filter: nil, include_unrevealed_locations: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
119+
def list_project_locations(name, extra_location_types: nil, filter: nil, include_unrevealed_locations: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
117120
command = make_simple_command(:get, 'v1/{+name}/locations', options)
118121
command.response_representation = Google::Apis::FileV1::ListLocationsResponse::Representation
119122
command.response_class = Google::Apis::FileV1::ListLocationsResponse
120123
command.params['name'] = name unless name.nil?
124+
command.query['extraLocationTypes'] = extra_location_types unless extra_location_types.nil?
121125
command.query['filter'] = filter unless filter.nil?
122126
command.query['includeUnrevealedLocations'] = include_unrevealed_locations unless include_unrevealed_locations.nil?
123127
command.query['pageSize'] = page_size unless page_size.nil?

0 commit comments

Comments
 (0)