Skip to content

Commit c1dba52

Browse files
feat: Automated regeneration of ondemandscanning v1beta1 client (#24533)
Auto-created at 2025-10-05 10:35:07 +0000 using the toys pull request generator.
1 parent 7051c41 commit c1dba52

File tree

6 files changed

+27
-3
lines changed

6 files changed

+27
-3
lines changed

api_names_out.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308445,6 +308445,8 @@
308445308445
"/ondemandscanning:v1beta1/ListOperationsResponse/nextPageToken": next_page_token
308446308446
"/ondemandscanning:v1beta1/ListOperationsResponse/operations": operations
308447308447
"/ondemandscanning:v1beta1/ListOperationsResponse/operations/operation": operation
308448+
"/ondemandscanning:v1beta1/ListOperationsResponse/unreachable": unreachable
308449+
"/ondemandscanning:v1beta1/ListOperationsResponse/unreachable/unreachable": unreachable
308448308450
"/ondemandscanning:v1beta1/ListVulnerabilitiesResponse": list_vulnerabilities_response
308449308451
"/ondemandscanning:v1beta1/ListVulnerabilitiesResponse/nextPageToken": next_page_token
308450308452
"/ondemandscanning:v1beta1/ListVulnerabilitiesResponse/occurrences": occurrences
@@ -308782,6 +308784,7 @@
308782308784
"/ondemandscanning:v1beta1/ondemandscanning.projects.locations.operations.list/name": name
308783308785
"/ondemandscanning:v1beta1/ondemandscanning.projects.locations.operations.list/pageSize": page_size
308784308786
"/ondemandscanning:v1beta1/ondemandscanning.projects.locations.operations.list/pageToken": page_token
308787+
"/ondemandscanning:v1beta1/ondemandscanning.projects.locations.operations.list/returnPartialSuccess": return_partial_success
308785308788
"/ondemandscanning:v1beta1/ondemandscanning.projects.locations.operations.wait": wait_project_location_operation
308786308789
"/ondemandscanning:v1beta1/ondemandscanning.projects.locations.operations.wait/name": name
308787308790
"/ondemandscanning:v1beta1/ondemandscanning.projects.locations.operations.wait/timeout": timeout

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

3+
### v0.57.0 (2025-10-05)
4+
5+
* Regenerated from discovery document revision 20250929
6+
37
### v0.56.0 (2025-08-24)
48

59
* Regenerated from discovery document revision 20250815

generated/google-apis-ondemandscanning_v1beta1/lib/google/apis/ondemandscanning_v1beta1/classes.rb

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2031,6 +2031,13 @@ class ListOperationsResponse
20312031
# @return [Array<Google::Apis::OndemandscanningV1beta1::Operation>]
20322032
attr_accessor :operations
20332033

2034+
# Unordered list. Unreachable resources. Populated when the request sets `
2035+
# ListOperationsRequest.return_partial_success` and reads across collections e.g.
2036+
# when attempting to list all resources across all supported locations.
2037+
# Corresponds to the JSON property `unreachable`
2038+
# @return [Array<String>]
2039+
attr_accessor :unreachable
2040+
20342041
def initialize(**args)
20352042
update!(**args)
20362043
end
@@ -2039,6 +2046,7 @@ def initialize(**args)
20392046
def update!(**args)
20402047
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
20412048
@operations = args[:operations] if args.key?(:operations)
2049+
@unreachable = args[:unreachable] if args.key?(:unreachable)
20422050
end
20432051
end
20442052

generated/google-apis-ondemandscanning_v1beta1/lib/google/apis/ondemandscanning_v1beta1/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 OndemandscanningV1beta1
1818
# Version of the google-apis-ondemandscanning_v1beta1 gem
19-
GEM_VERSION = "0.56.0"
19+
GEM_VERSION = "0.57.0"
2020

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

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

generated/google-apis-ondemandscanning_v1beta1/lib/google/apis/ondemandscanning_v1beta1/representations.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1234,6 +1234,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
12341234
property :next_page_token, as: 'nextPageToken'
12351235
collection :operations, as: 'operations', class: Google::Apis::OndemandscanningV1beta1::Operation, decorator: Google::Apis::OndemandscanningV1beta1::Operation::Representation
12361236

1237+
collection :unreachable, as: 'unreachable'
12371238
end
12381239
end
12391240

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

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,13 @@ def get_project_location_operation(name, fields: nil, quota_user: nil, options:
162162
# The standard list page size.
163163
# @param [String] page_token
164164
# The standard list page token.
165+
# @param [Boolean] return_partial_success
166+
# When set to `true`, operations that are reachable are returned as normal, and
167+
# those that are unreachable are returned in the [ListOperationsResponse.
168+
# unreachable] field. This can only be `true` when reading across collections e.
169+
# g. when `parent` is set to `"projects/example/locations/-"`. This field is not
170+
# by default supported and will result in an `UNIMPLEMENTED` error if set unless
171+
# explicitly documented otherwise in service or product specific documentation.
165172
# @param [String] fields
166173
# Selector specifying which fields to include in a partial response.
167174
# @param [String] quota_user
@@ -179,14 +186,15 @@ def get_project_location_operation(name, fields: nil, quota_user: nil, options:
179186
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
180187
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
181188
# @raise [Google::Apis::AuthorizationError] Authorization is required
182-
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
189+
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
183190
command = make_simple_command(:get, 'v1beta1/{+name}/operations', options)
184191
command.response_representation = Google::Apis::OndemandscanningV1beta1::ListOperationsResponse::Representation
185192
command.response_class = Google::Apis::OndemandscanningV1beta1::ListOperationsResponse
186193
command.params['name'] = name unless name.nil?
187194
command.query['filter'] = filter unless filter.nil?
188195
command.query['pageSize'] = page_size unless page_size.nil?
189196
command.query['pageToken'] = page_token unless page_token.nil?
197+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
190198
command.query['fields'] = fields unless fields.nil?
191199
command.query['quotaUser'] = quota_user unless quota_user.nil?
192200
execute_or_queue_command(command, &block)

0 commit comments

Comments
 (0)