Skip to content

Commit d14049b

Browse files
feat: Automated regeneration of checks v1alpha client (googleapis#24446)
Auto-created at 2025-09-28 10:40:33 +0000 using the toys pull request generator.
1 parent 68dc169 commit d14049b

File tree

6 files changed

+29
-4
lines changed

6 files changed

+29
-4
lines changed

api_names_out.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61230,6 +61230,8 @@
6123061230
"/checks:v1alpha/ListOperationsResponse/nextPageToken": next_page_token
6123161231
"/checks:v1alpha/ListOperationsResponse/operations": operations
6123261232
"/checks:v1alpha/ListOperationsResponse/operations/operation": operation
61233+
"/checks:v1alpha/ListOperationsResponse/unreachable": unreachable
61234+
"/checks:v1alpha/ListOperationsResponse/unreachable/unreachable": unreachable
6123361235
"/checks:v1alpha/ListPrivacyPoliciesResponse": list_privacy_policies_response
6123461236
"/checks:v1alpha/ListPrivacyPoliciesResponse/nextPageToken": next_page_token
6123561237
"/checks:v1alpha/ListPrivacyPoliciesResponse/privacyPolicies": privacy_policies
@@ -61291,6 +61293,7 @@
6129161293
"/checks:v1alpha/checks.accounts.apps.operations.list/name": name
6129261294
"/checks:v1alpha/checks.accounts.apps.operations.list/pageSize": page_size
6129361295
"/checks:v1alpha/checks.accounts.apps.operations.list/pageToken": page_token
61296+
"/checks:v1alpha/checks.accounts.apps.operations.list/returnPartialSuccess": return_partial_success
6129461297
"/checks:v1alpha/checks.accounts.apps.operations.wait": wait_operation
6129561298
"/checks:v1alpha/checks.accounts.apps.operations.wait/name": name
6129661299
"/checks:v1alpha/checks.accounts.apps.reports.get": get_account_app_report

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

3+
### v0.15.0 (2025-09-28)
4+
5+
* Regenerated from discovery document revision 20250925
6+
* Regenerated using generator version 0.18.0
7+
38
### v0.14.0 (2025-05-04)
49

510
* Regenerated from discovery document revision 20241203

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1662,6 +1662,13 @@ class ListOperationsResponse
16621662
# @return [Array<Google::Apis::ChecksV1alpha::Operation>]
16631663
attr_accessor :operations
16641664

1665+
# Unordered list. Unreachable resources. Populated when the request sets `
1666+
# ListOperationsRequest.return_partial_success` and reads across collections e.g.
1667+
# when attempting to list all resources across all supported locations.
1668+
# Corresponds to the JSON property `unreachable`
1669+
# @return [Array<String>]
1670+
attr_accessor :unreachable
1671+
16651672
def initialize(**args)
16661673
update!(**args)
16671674
end
@@ -1670,6 +1677,7 @@ def initialize(**args)
16701677
def update!(**args)
16711678
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
16721679
@operations = args[:operations] if args.key?(:operations)
1680+
@unreachable = args[:unreachable] if args.key?(:unreachable)
16731681
end
16741682
end
16751683

generated/google-apis-checks_v1alpha/lib/google/apis/checks_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 ChecksV1alpha
1818
# Version of the google-apis-checks_v1alpha gem
19-
GEM_VERSION = "0.14.0"
19+
GEM_VERSION = "0.15.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 = "20241203"
25+
REVISION = "20250925"
2626
end
2727
end
2828
end

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -977,6 +977,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
977977
property :next_page_token, as: 'nextPageToken'
978978
collection :operations, as: 'operations', class: Google::Apis::ChecksV1alpha::Operation, decorator: Google::Apis::ChecksV1alpha::Operation::Representation
979979

980+
collection :unreachable, as: 'unreachable'
980981
end
981982
end
982983

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

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,13 @@ def get_account_app_operation(name, fields: nil, quota_user: nil, options: nil,
235235
# The standard list page size.
236236
# @param [String] page_token
237237
# The standard list page token.
238+
# @param [Boolean] return_partial_success
239+
# When set to `true`, operations that are reachable are returned as normal, and
240+
# those that are unreachable are returned in the [ListOperationsResponse.
241+
# unreachable] field. This can only be `true` when reading across collections e.
242+
# g. when `parent` is set to `"projects/example/locations/-"`. This field is not
243+
# by default supported and will result in an `UNIMPLEMENTED` error if set unless
244+
# explicitly documented otherwise in service or product specific documentation.
238245
# @param [String] fields
239246
# Selector specifying which fields to include in a partial response.
240247
# @param [String] quota_user
@@ -252,14 +259,15 @@ def get_account_app_operation(name, fields: nil, quota_user: nil, options: nil,
252259
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
253260
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
254261
# @raise [Google::Apis::AuthorizationError] Authorization is required
255-
def list_account_app_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
262+
def list_account_app_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
256263
command = make_simple_command(:get, 'v1alpha/{+name}/operations', options)
257264
command.response_representation = Google::Apis::ChecksV1alpha::ListOperationsResponse::Representation
258265
command.response_class = Google::Apis::ChecksV1alpha::ListOperationsResponse
259266
command.params['name'] = name unless name.nil?
260267
command.query['filter'] = filter unless filter.nil?
261268
command.query['pageSize'] = page_size unless page_size.nil?
262269
command.query['pageToken'] = page_token unless page_token.nil?
270+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
263271
command.query['fields'] = fields unless fields.nil?
264272
command.query['quotaUser'] = quota_user unless quota_user.nil?
265273
execute_or_queue_command(command, &block)

0 commit comments

Comments
 (0)