Skip to content

Commit 6cc6d62

Browse files
feat: Automated regeneration of observability v1 client (#24504)
Auto-created at 2025-10-05 10:07:09 +0000 using the toys pull request generator.
1 parent 70fcd48 commit 6cc6d62

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
@@ -307138,6 +307138,8 @@
307138307138
"/observability:v1/ListOperationsResponse/nextPageToken": next_page_token
307139307139
"/observability:v1/ListOperationsResponse/operations": operations
307140307140
"/observability:v1/ListOperationsResponse/operations/operation": operation
307141+
"/observability:v1/ListOperationsResponse/unreachable": unreachable
307142+
"/observability:v1/ListOperationsResponse/unreachable/unreachable": unreachable
307141307143
"/observability:v1/ListTraceScopesResponse": list_trace_scopes_response
307142307144
"/observability:v1/ListTraceScopesResponse/nextPageToken": next_page_token
307143307145
"/observability:v1/ListTraceScopesResponse/traceScopes": trace_scopes
@@ -307205,6 +307207,7 @@
307205307207
"/observability:v1/observability.projects.locations.operations.list/name": name
307206307208
"/observability:v1/observability.projects.locations.operations.list/pageSize": page_size
307207307209
"/observability:v1/observability.projects.locations.operations.list/pageToken": page_token
307210+
"/observability:v1/observability.projects.locations.operations.list/returnPartialSuccess": return_partial_success
307208307211
"/observability:v1/observability.projects.locations.scopes.get": get_project_location_scope
307209307212
"/observability:v1/observability.projects.locations.scopes.get/name": name
307210307213
"/observability:v1/observability.projects.locations.scopes.patch": patch_project_location_scope

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

3+
### v0.8.0 (2025-10-05)
4+
5+
* Regenerated from discovery document revision 20250925
6+
37
### v0.7.0 (2025-09-14)
48

59
* Regenerated from discovery document revision 20250904

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,13 @@ class ListOperationsResponse
9090
# @return [Array<Google::Apis::ObservabilityV1::Operation>]
9191
attr_accessor :operations
9292

93+
# Unordered list. Unreachable resources. Populated when the request sets `
94+
# ListOperationsRequest.return_partial_success` and reads across collections e.g.
95+
# when attempting to list all resources across all supported locations.
96+
# Corresponds to the JSON property `unreachable`
97+
# @return [Array<String>]
98+
attr_accessor :unreachable
99+
93100
def initialize(**args)
94101
update!(**args)
95102
end
@@ -98,6 +105,7 @@ def initialize(**args)
98105
def update!(**args)
99106
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
100107
@operations = args[:operations] if args.key?(:operations)
108+
@unreachable = args[:unreachable] if args.key?(:unreachable)
101109
end
102110
end
103111

generated/google-apis-observability_v1/lib/google/apis/observability_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 ObservabilityV1
1818
# Version of the google-apis-observability_v1 gem
19-
GEM_VERSION = "0.7.0"
19+
GEM_VERSION = "0.8.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 = "20250904"
25+
REVISION = "20250925"
2626
end
2727
end
2828
end

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
115115
property :next_page_token, as: 'nextPageToken'
116116
collection :operations, as: 'operations', class: Google::Apis::ObservabilityV1::Operation, decorator: Google::Apis::ObservabilityV1::Operation::Representation
117117

118+
collection :unreachable, as: 'unreachable'
118119
end
119120
end
120121

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

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,13 @@ def get_project_location_operation(name, fields: nil, quota_user: nil, options:
242242
# The standard list page size.
243243
# @param [String] page_token
244244
# The standard list page token.
245+
# @param [Boolean] return_partial_success
246+
# When set to `true`, operations that are reachable are returned as normal, and
247+
# those that are unreachable are returned in the [ListOperationsResponse.
248+
# unreachable] field. This can only be `true` when reading across collections e.
249+
# g. when `parent` is set to `"projects/example/locations/-"`. This field is not
250+
# by default supported and will result in an `UNIMPLEMENTED` error if set unless
251+
# explicitly documented otherwise in service or product specific documentation.
245252
# @param [String] fields
246253
# Selector specifying which fields to include in a partial response.
247254
# @param [String] quota_user
@@ -259,14 +266,15 @@ def get_project_location_operation(name, fields: nil, quota_user: nil, options:
259266
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
260267
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
261268
# @raise [Google::Apis::AuthorizationError] Authorization is required
262-
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
269+
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)
263270
command = make_simple_command(:get, 'v1/{+name}/operations', options)
264271
command.response_representation = Google::Apis::ObservabilityV1::ListOperationsResponse::Representation
265272
command.response_class = Google::Apis::ObservabilityV1::ListOperationsResponse
266273
command.params['name'] = name unless name.nil?
267274
command.query['filter'] = filter unless filter.nil?
268275
command.query['pageSize'] = page_size unless page_size.nil?
269276
command.query['pageToken'] = page_token unless page_token.nil?
277+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
270278
command.query['fields'] = fields unless fields.nil?
271279
command.query['quotaUser'] = quota_user unless quota_user.nil?
272280
execute_or_queue_command(command, &block)

0 commit comments

Comments
 (0)