Skip to content

Commit bad4488

Browse files
feat: Automated regeneration of notebooks v1 client (#24649)
Auto-created at 2025-10-19 09:22:10 +0000 using the toys pull request generator.
1 parent c6b76e6 commit bad4488

File tree

6 files changed

+31
-6
lines changed

6 files changed

+31
-6
lines changed

api_names_out.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308428,6 +308428,8 @@
308428308428
"/notebooks:v1/ListOperationsResponse/nextPageToken": next_page_token
308429308429
"/notebooks:v1/ListOperationsResponse/operations": operations
308430308430
"/notebooks:v1/ListOperationsResponse/operations/operation": operation
308431+
"/notebooks:v1/ListOperationsResponse/unreachable": unreachable
308432+
"/notebooks:v1/ListOperationsResponse/unreachable/unreachable": unreachable
308431308433
"/notebooks:v1/ListRuntimesResponse": list_runtimes_response
308432308434
"/notebooks:v1/ListRuntimesResponse/nextPageToken": next_page_token
308433308435
"/notebooks:v1/ListRuntimesResponse/runtimes": runtimes
@@ -308799,6 +308801,7 @@
308799308801
"/notebooks:v1/notebooks.projects.locations.operations.list/name": name
308800308802
"/notebooks:v1/notebooks.projects.locations.operations.list/pageSize": page_size
308801308803
"/notebooks:v1/notebooks.projects.locations.operations.list/pageToken": page_token
308804+
"/notebooks:v1/notebooks.projects.locations.operations.list/returnPartialSuccess": return_partial_success
308802308805
"/notebooks:v1/notebooks.projects.locations.runtimes.create": create_project_location_runtime
308803308806
"/notebooks:v1/notebooks.projects.locations.runtimes.create/parent": parent
308804308807
"/notebooks:v1/notebooks.projects.locations.runtimes.create/requestId": request_id

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

3+
### v0.60.0 (2025-10-19)
4+
5+
* Regenerated from discovery document revision 20251008
6+
* Regenerated using generator version 0.18.0
7+
38
### v0.59.0 (2025-05-11)
49

510
* Regenerated from discovery document revision 20250430

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1406,6 +1406,13 @@ class ListOperationsResponse
14061406
# @return [Array<Google::Apis::NotebooksV1::Operation>]
14071407
attr_accessor :operations
14081408

1409+
# Unordered list. Unreachable resources. Populated when the request sets `
1410+
# ListOperationsRequest.return_partial_success` and reads across collections e.g.
1411+
# when attempting to list all resources across all supported locations.
1412+
# Corresponds to the JSON property `unreachable`
1413+
# @return [Array<String>]
1414+
attr_accessor :unreachable
1415+
14091416
def initialize(**args)
14101417
update!(**args)
14111418
end
@@ -1414,6 +1421,7 @@ def initialize(**args)
14141421
def update!(**args)
14151422
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
14161423
@operations = args[:operations] if args.key?(:operations)
1424+
@unreachable = args[:unreachable] if args.key?(:unreachable)
14171425
end
14181426
end
14191427

generated/google-apis-notebooks_v1/lib/google/apis/notebooks_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 NotebooksV1
1818
# Version of the google-apis-notebooks_v1 gem
19-
GEM_VERSION = "0.59.0"
19+
GEM_VERSION = "0.60.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 = "20250430"
25+
REVISION = "20251008"
2626
end
2727
end
2828
end

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -844,6 +844,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
844844
property :next_page_token, as: 'nextPageToken'
845845
collection :operations, as: 'operations', class: Google::Apis::NotebooksV1::Operation, decorator: Google::Apis::NotebooksV1::Operation::Representation
846846

847+
collection :unreachable, as: 'unreachable'
847848
end
848849
end
849850

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

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ def get_project_location(name, fields: nil, quota_user: nil, options: nil, &bloc
8585
# @param [String] name
8686
# The resource that owns the locations collection, if applicable.
8787
# @param [Array<String>, String] extra_location_types
88-
# Optional. A list of extra location types that should be used as conditions for
89-
# controlling the visibility of the locations.
88+
# Optional. Unless explicitly documented otherwise, don't use this unsupported
89+
# field which is primarily intended for internal usage.
9090
# @param [String] filter
9191
# A filter to narrow down results to a preferred subset. The filtering language
9292
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
@@ -1434,6 +1434,13 @@ def get_project_location_operation(name, fields: nil, quota_user: nil, options:
14341434
# The standard list page size.
14351435
# @param [String] page_token
14361436
# The standard list page token.
1437+
# @param [Boolean] return_partial_success
1438+
# When set to `true`, operations that are reachable are returned as normal, and
1439+
# those that are unreachable are returned in the [ListOperationsResponse.
1440+
# unreachable] field. This can only be `true` when reading across collections e.
1441+
# g. when `parent` is set to `"projects/example/locations/-"`. This field is not
1442+
# by default supported and will result in an `UNIMPLEMENTED` error if set unless
1443+
# explicitly documented otherwise in service or product specific documentation.
14371444
# @param [String] fields
14381445
# Selector specifying which fields to include in a partial response.
14391446
# @param [String] quota_user
@@ -1451,14 +1458,15 @@ def get_project_location_operation(name, fields: nil, quota_user: nil, options:
14511458
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
14521459
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
14531460
# @raise [Google::Apis::AuthorizationError] Authorization is required
1454-
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1461+
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)
14551462
command = make_simple_command(:get, 'v1/{+name}/operations', options)
14561463
command.response_representation = Google::Apis::NotebooksV1::ListOperationsResponse::Representation
14571464
command.response_class = Google::Apis::NotebooksV1::ListOperationsResponse
14581465
command.params['name'] = name unless name.nil?
14591466
command.query['filter'] = filter unless filter.nil?
14601467
command.query['pageSize'] = page_size unless page_size.nil?
14611468
command.query['pageToken'] = page_token unless page_token.nil?
1469+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
14621470
command.query['fields'] = fields unless fields.nil?
14631471
command.query['quotaUser'] = quota_user unless quota_user.nil?
14641472
execute_or_queue_command(command, &block)

0 commit comments

Comments
 (0)