Skip to content

Commit 2d8a507

Browse files
feat: Automated regeneration of logging v2 client (#24723)
Auto-created at 2025-10-26 09:50:22 +0000 using the toys pull request generator.
1 parent 26ac88a commit 2d8a507

File tree

6 files changed

+67
-7
lines changed

6 files changed

+67
-7
lines changed

api_names_out.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285805,6 +285805,8 @@
285805285805
"/logging:v2/ListOperationsResponse/nextPageToken": next_page_token
285806285806
"/logging:v2/ListOperationsResponse/operations": operations
285807285807
"/logging:v2/ListOperationsResponse/operations/operation": operation
285808+
"/logging:v2/ListOperationsResponse/unreachable": unreachable
285809+
"/logging:v2/ListOperationsResponse/unreachable/unreachable": unreachable
285808285810
"/logging:v2/ListRecentQueriesResponse": list_recent_queries_response
285809285811
"/logging:v2/ListRecentQueriesResponse/nextPageToken": next_page_token
285810285812
"/logging:v2/ListRecentQueriesResponse/recentQueries": recent_queries
@@ -286225,6 +286227,7 @@
286225286227
"/logging:v2/logging.billingAccounts.locations.operations.list/name": name
286226286228
"/logging:v2/logging.billingAccounts.locations.operations.list/pageSize": page_size
286227286229
"/logging:v2/logging.billingAccounts.locations.operations.list/pageToken": page_token
286230+
"/logging:v2/logging.billingAccounts.locations.operations.list/returnPartialSuccess": return_partial_success
286228286231
"/logging:v2/logging.billingAccounts.locations.recentQueries.list": list_billing_account_location_recent_queries
286229286232
"/logging:v2/logging.billingAccounts.locations.recentQueries.list/filter": filter
286230286233
"/logging:v2/logging.billingAccounts.locations.recentQueries.list/pageSize": page_size
@@ -286400,6 +286403,7 @@
286400286403
"/logging:v2/logging.folders.locations.operations.list/name": name
286401286404
"/logging:v2/logging.folders.locations.operations.list/pageSize": page_size
286402286405
"/logging:v2/logging.folders.locations.operations.list/pageToken": page_token
286406+
"/logging:v2/logging.folders.locations.operations.list/returnPartialSuccess": return_partial_success
286403286407
"/logging:v2/logging.folders.locations.recentQueries.list": list_folder_location_recent_queries
286404286408
"/logging:v2/logging.folders.locations.recentQueries.list/filter": filter
286405286409
"/logging:v2/logging.folders.locations.recentQueries.list/pageSize": page_size
@@ -286525,6 +286529,7 @@
286525286529
"/logging:v2/logging.locations.operations.list/name": name
286526286530
"/logging:v2/logging.locations.operations.list/pageSize": page_size
286527286531
"/logging:v2/logging.locations.operations.list/pageToken": page_token
286532+
"/logging:v2/logging.locations.operations.list/returnPartialSuccess": return_partial_success
286528286533
"/logging:v2/logging.logs.delete": delete_log
286529286534
"/logging:v2/logging.logs.delete/logName": log_name
286530286535
"/logging:v2/logging.logs.list": list_logs
@@ -286641,6 +286646,7 @@
286641286646
"/logging:v2/logging.organizations.locations.operations.list/name": name
286642286647
"/logging:v2/logging.organizations.locations.operations.list/pageSize": page_size
286643286648
"/logging:v2/logging.organizations.locations.operations.list/pageToken": page_token
286649+
"/logging:v2/logging.organizations.locations.operations.list/returnPartialSuccess": return_partial_success
286644286650
"/logging:v2/logging.organizations.locations.recentQueries.list": list_organization_location_recent_queries
286645286651
"/logging:v2/logging.organizations.locations.recentQueries.list/filter": filter
286646286652
"/logging:v2/logging.organizations.locations.recentQueries.list/pageSize": page_size
@@ -286803,6 +286809,7 @@
286803286809
"/logging:v2/logging.projects.locations.operations.list/name": name
286804286810
"/logging:v2/logging.projects.locations.operations.list/pageSize": page_size
286805286811
"/logging:v2/logging.projects.locations.operations.list/pageToken": page_token
286812+
"/logging:v2/logging.projects.locations.operations.list/returnPartialSuccess": return_partial_success
286806286813
"/logging:v2/logging.projects.locations.recentQueries.list": list_project_location_recent_queries
286807286814
"/logging:v2/logging.projects.locations.recentQueries.list/filter": filter
286808286815
"/logging:v2/logging.projects.locations.recentQueries.list/pageSize": page_size

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

3+
### v0.84.0 (2025-10-26)
4+
5+
* Regenerated from discovery document revision 20251017
6+
37
### v0.83.0 (2025-09-14)
48

59
* Regenerated from discovery document revision 20250905

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1606,6 +1606,13 @@ class ListOperationsResponse
16061606
# @return [Array<Google::Apis::LoggingV2::Operation>]
16071607
attr_accessor :operations
16081608

1609+
# Unordered list. Unreachable resources. Populated when the request sets
1610+
# ListOperationsRequest.return_partial_success and reads across collections e.g.
1611+
# when attempting to list all resources across all supported locations.
1612+
# Corresponds to the JSON property `unreachable`
1613+
# @return [Array<String>]
1614+
attr_accessor :unreachable
1615+
16091616
def initialize(**args)
16101617
update!(**args)
16111618
end
@@ -1614,6 +1621,7 @@ def initialize(**args)
16141621
def update!(**args)
16151622
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
16161623
@operations = args[:operations] if args.key?(:operations)
1624+
@unreachable = args[:unreachable] if args.key?(:unreachable)
16171625
end
16181626
end
16191627

generated/google-apis-logging_v2/lib/google/apis/logging_v2/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 LoggingV2
1818
# Version of the google-apis-logging_v2 gem
19-
GEM_VERSION = "0.83.0"
19+
GEM_VERSION = "0.84.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 = "20250905"
25+
REVISION = "20251017"
2626
end
2727
end
2828
end

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -931,6 +931,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
931931
property :next_page_token, as: 'nextPageToken'
932932
collection :operations, as: 'operations', class: Google::Apis::LoggingV2::Operation, decorator: Google::Apis::LoggingV2::Operation::Representation
933933

934+
collection :unreachable, as: 'unreachable'
934935
end
935936
end
936937

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

Lines changed: 45 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1222,6 +1222,13 @@ def get_billing_account_location_operation(name, fields: nil, quota_user: nil, o
12221222
# The standard list page size.
12231223
# @param [String] page_token
12241224
# The standard list page token.
1225+
# @param [Boolean] return_partial_success
1226+
# When set to true, operations that are reachable are returned as normal, and
1227+
# those that are unreachable are returned in the ListOperationsResponse.
1228+
# unreachable field.This can only be true when reading across collections e.g.
1229+
# when parent is set to "projects/example/locations/-".This field is not by
1230+
# default supported and will result in an UNIMPLEMENTED error if set unless
1231+
# explicitly documented otherwise in service or product specific documentation.
12251232
# @param [String] fields
12261233
# Selector specifying which fields to include in a partial response.
12271234
# @param [String] quota_user
@@ -1239,14 +1246,15 @@ def get_billing_account_location_operation(name, fields: nil, quota_user: nil, o
12391246
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
12401247
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
12411248
# @raise [Google::Apis::AuthorizationError] Authorization is required
1242-
def list_billing_account_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1249+
def list_billing_account_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
12431250
command = make_simple_command(:get, 'v2/{+name}/operations', options)
12441251
command.response_representation = Google::Apis::LoggingV2::ListOperationsResponse::Representation
12451252
command.response_class = Google::Apis::LoggingV2::ListOperationsResponse
12461253
command.params['name'] = name unless name.nil?
12471254
command.query['filter'] = filter unless filter.nil?
12481255
command.query['pageSize'] = page_size unless page_size.nil?
12491256
command.query['pageToken'] = page_token unless page_token.nil?
1257+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
12501258
command.query['fields'] = fields unless fields.nil?
12511259
command.query['quotaUser'] = quota_user unless quota_user.nil?
12521260
execute_or_queue_command(command, &block)
@@ -3784,6 +3792,13 @@ def get_folder_location_operation(name, fields: nil, quota_user: nil, options: n
37843792
# The standard list page size.
37853793
# @param [String] page_token
37863794
# The standard list page token.
3795+
# @param [Boolean] return_partial_success
3796+
# When set to true, operations that are reachable are returned as normal, and
3797+
# those that are unreachable are returned in the ListOperationsResponse.
3798+
# unreachable field.This can only be true when reading across collections e.g.
3799+
# when parent is set to "projects/example/locations/-".This field is not by
3800+
# default supported and will result in an UNIMPLEMENTED error if set unless
3801+
# explicitly documented otherwise in service or product specific documentation.
37873802
# @param [String] fields
37883803
# Selector specifying which fields to include in a partial response.
37893804
# @param [String] quota_user
@@ -3801,14 +3816,15 @@ def get_folder_location_operation(name, fields: nil, quota_user: nil, options: n
38013816
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
38023817
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
38033818
# @raise [Google::Apis::AuthorizationError] Authorization is required
3804-
def list_folder_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
3819+
def list_folder_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
38053820
command = make_simple_command(:get, 'v2/{+name}/operations', options)
38063821
command.response_representation = Google::Apis::LoggingV2::ListOperationsResponse::Representation
38073822
command.response_class = Google::Apis::LoggingV2::ListOperationsResponse
38083823
command.params['name'] = name unless name.nil?
38093824
command.query['filter'] = filter unless filter.nil?
38103825
command.query['pageSize'] = page_size unless page_size.nil?
38113826
command.query['pageToken'] = page_token unless page_token.nil?
3827+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
38123828
command.query['fields'] = fields unless fields.nil?
38133829
command.query['quotaUser'] = quota_user unless quota_user.nil?
38143830
execute_or_queue_command(command, &block)
@@ -5456,6 +5472,13 @@ def get_location_operation(name, fields: nil, quota_user: nil, options: nil, &bl
54565472
# The standard list page size.
54575473
# @param [String] page_token
54585474
# The standard list page token.
5475+
# @param [Boolean] return_partial_success
5476+
# When set to true, operations that are reachable are returned as normal, and
5477+
# those that are unreachable are returned in the ListOperationsResponse.
5478+
# unreachable field.This can only be true when reading across collections e.g.
5479+
# when parent is set to "projects/example/locations/-".This field is not by
5480+
# default supported and will result in an UNIMPLEMENTED error if set unless
5481+
# explicitly documented otherwise in service or product specific documentation.
54595482
# @param [String] fields
54605483
# Selector specifying which fields to include in a partial response.
54615484
# @param [String] quota_user
@@ -5473,14 +5496,15 @@ def get_location_operation(name, fields: nil, quota_user: nil, options: nil, &bl
54735496
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
54745497
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
54755498
# @raise [Google::Apis::AuthorizationError] Authorization is required
5476-
def list_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
5499+
def list_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
54775500
command = make_simple_command(:get, 'v2/{+name}/operations', options)
54785501
command.response_representation = Google::Apis::LoggingV2::ListOperationsResponse::Representation
54795502
command.response_class = Google::Apis::LoggingV2::ListOperationsResponse
54805503
command.params['name'] = name unless name.nil?
54815504
command.query['filter'] = filter unless filter.nil?
54825505
command.query['pageSize'] = page_size unless page_size.nil?
54835506
command.query['pageToken'] = page_token unless page_token.nil?
5507+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
54845508
command.query['fields'] = fields unless fields.nil?
54855509
command.query['quotaUser'] = quota_user unless quota_user.nil?
54865510
execute_or_queue_command(command, &block)
@@ -7193,6 +7217,13 @@ def get_organization_location_operation(name, fields: nil, quota_user: nil, opti
71937217
# The standard list page size.
71947218
# @param [String] page_token
71957219
# The standard list page token.
7220+
# @param [Boolean] return_partial_success
7221+
# When set to true, operations that are reachable are returned as normal, and
7222+
# those that are unreachable are returned in the ListOperationsResponse.
7223+
# unreachable field.This can only be true when reading across collections e.g.
7224+
# when parent is set to "projects/example/locations/-".This field is not by
7225+
# default supported and will result in an UNIMPLEMENTED error if set unless
7226+
# explicitly documented otherwise in service or product specific documentation.
71967227
# @param [String] fields
71977228
# Selector specifying which fields to include in a partial response.
71987229
# @param [String] quota_user
@@ -7210,14 +7241,15 @@ def get_organization_location_operation(name, fields: nil, quota_user: nil, opti
72107241
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
72117242
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
72127243
# @raise [Google::Apis::AuthorizationError] Authorization is required
7213-
def list_organization_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
7244+
def list_organization_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
72147245
command = make_simple_command(:get, 'v2/{+name}/operations', options)
72157246
command.response_representation = Google::Apis::LoggingV2::ListOperationsResponse::Representation
72167247
command.response_class = Google::Apis::LoggingV2::ListOperationsResponse
72177248
command.params['name'] = name unless name.nil?
72187249
command.query['filter'] = filter unless filter.nil?
72197250
command.query['pageSize'] = page_size unless page_size.nil?
72207251
command.query['pageToken'] = page_token unless page_token.nil?
7252+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
72217253
command.query['fields'] = fields unless fields.nil?
72227254
command.query['quotaUser'] = quota_user unless quota_user.nil?
72237255
execute_or_queue_command(command, &block)
@@ -9383,6 +9415,13 @@ def get_project_location_operation(name, fields: nil, quota_user: nil, options:
93839415
# The standard list page size.
93849416
# @param [String] page_token
93859417
# The standard list page token.
9418+
# @param [Boolean] return_partial_success
9419+
# When set to true, operations that are reachable are returned as normal, and
9420+
# those that are unreachable are returned in the ListOperationsResponse.
9421+
# unreachable field.This can only be true when reading across collections e.g.
9422+
# when parent is set to "projects/example/locations/-".This field is not by
9423+
# default supported and will result in an UNIMPLEMENTED error if set unless
9424+
# explicitly documented otherwise in service or product specific documentation.
93869425
# @param [String] fields
93879426
# Selector specifying which fields to include in a partial response.
93889427
# @param [String] quota_user
@@ -9400,14 +9439,15 @@ def get_project_location_operation(name, fields: nil, quota_user: nil, options:
94009439
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
94019440
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
94029441
# @raise [Google::Apis::AuthorizationError] Authorization is required
9403-
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
9442+
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)
94049443
command = make_simple_command(:get, 'v2/{+name}/operations', options)
94059444
command.response_representation = Google::Apis::LoggingV2::ListOperationsResponse::Representation
94069445
command.response_class = Google::Apis::LoggingV2::ListOperationsResponse
94079446
command.params['name'] = name unless name.nil?
94089447
command.query['filter'] = filter unless filter.nil?
94099448
command.query['pageSize'] = page_size unless page_size.nil?
94109449
command.query['pageToken'] = page_token unless page_token.nil?
9450+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
94119451
command.query['fields'] = fields unless fields.nil?
94129452
command.query['quotaUser'] = quota_user unless quota_user.nil?
94139453
execute_or_queue_command(command, &block)

0 commit comments

Comments
 (0)