Skip to content

Commit b28e03a

Browse files
feat: Automated regeneration of cloudscheduler v1 client (googleapis#22515)
Auto-created at 2025-04-20 10:57:34 +0000 using the toys pull request generator.
1 parent 935ff23 commit b28e03a

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
@@ -74271,6 +74271,7 @@
7427174271
"/cloudscheduler:v1/cloudscheduler.projects.locations.jobs.run": run_job
7427274272
"/cloudscheduler:v1/cloudscheduler.projects.locations.jobs.run/name": name
7427374273
"/cloudscheduler:v1/cloudscheduler.projects.locations.list": list_project_locations
74274+
"/cloudscheduler:v1/cloudscheduler.projects.locations.list/extraLocationTypes": extra_location_types
7427474275
"/cloudscheduler:v1/cloudscheduler.projects.locations.list/filter": filter
7427574276
"/cloudscheduler:v1/cloudscheduler.projects.locations.list/name": name
7427674277
"/cloudscheduler:v1/cloudscheduler.projects.locations.list/pageSize": page_size

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

3+
### v0.37.0 (2025-04-20)
4+
5+
* Regenerated from discovery document revision 20250411
6+
* Regenerated using generator version 0.16.0
7+
38
### v0.36.0 (2024-12-15)
49

510
* Regenerated from discovery document revision 20241203

generated/google-apis-cloudscheduler_v1/lib/google/apis/cloudscheduler_v1/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 CloudschedulerV1
1818
# Version of the google-apis-cloudscheduler_v1 gem
19-
GEM_VERSION = "0.36.0"
19+
GEM_VERSION = "0.37.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 = "20241203"
25+
REVISION = "20250411"
2626
end
2727
end
2828
end

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,9 @@ def get_project_location(name, fields: nil, quota_user: nil, options: nil, &bloc
228228
# Lists information about the supported locations for this service.
229229
# @param [String] name
230230
# The resource that owns the locations collection, if applicable.
231+
# @param [Array<String>, String] extra_location_types
232+
# Optional. A list of extra location types that should be used as conditions for
233+
# controlling the visibility of the locations.
231234
# @param [String] filter
232235
# A filter to narrow down results to a preferred subset. The filtering language
233236
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
@@ -255,11 +258,12 @@ def get_project_location(name, fields: nil, quota_user: nil, options: nil, &bloc
255258
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
256259
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
257260
# @raise [Google::Apis::AuthorizationError] Authorization is required
258-
def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
261+
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)
259262
command = make_simple_command(:get, 'v1/{+name}/locations', options)
260263
command.response_representation = Google::Apis::CloudschedulerV1::ListLocationsResponse::Representation
261264
command.response_class = Google::Apis::CloudschedulerV1::ListLocationsResponse
262265
command.params['name'] = name unless name.nil?
266+
command.query['extraLocationTypes'] = extra_location_types unless extra_location_types.nil?
263267
command.query['filter'] = filter unless filter.nil?
264268
command.query['pageSize'] = page_size unless page_size.nil?
265269
command.query['pageToken'] = page_token unless page_token.nil?

0 commit comments

Comments
 (0)