Skip to content

Commit 0d320fa

Browse files
feat: Automated regeneration of networkservices v1beta1 client (#24766)
Auto-created at 2025-11-02 09:09:34 +0000 using the toys pull request generator.
1 parent 45a7fd9 commit 0d320fa

File tree

6 files changed

+29
-5
lines changed

6 files changed

+29
-5
lines changed

api_names_out.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -310503,6 +310503,8 @@
310503310503
"/networkservices:v1beta1/ListOperationsResponse/nextPageToken": next_page_token
310504310504
"/networkservices:v1beta1/ListOperationsResponse/operations": operations
310505310505
"/networkservices:v1beta1/ListOperationsResponse/operations/operation": operation
310506+
"/networkservices:v1beta1/ListOperationsResponse/unreachable": unreachable
310507+
"/networkservices:v1beta1/ListOperationsResponse/unreachable/unreachable": unreachable
310506310508
"/networkservices:v1beta1/ListServiceBindingsResponse": list_service_bindings_response
310507310509
"/networkservices:v1beta1/ListServiceBindingsResponse/nextPageToken": next_page_token
310508310510
"/networkservices:v1beta1/ListServiceBindingsResponse/serviceBindings": service_bindings
@@ -310967,6 +310969,7 @@
310967310969
"/networkservices:v1beta1/networkservices.projects.locations.operations.list/name": name
310968310970
"/networkservices:v1beta1/networkservices.projects.locations.operations.list/pageSize": page_size
310969310971
"/networkservices:v1beta1/networkservices.projects.locations.operations.list/pageToken": page_token
310972+
"/networkservices:v1beta1/networkservices.projects.locations.operations.list/returnPartialSuccess": return_partial_success
310970310973
"/networkservices:v1beta1/networkservices.projects.locations.serviceBindings.create": create_project_location_service_binding
310971310974
"/networkservices:v1beta1/networkservices.projects.locations.serviceBindings.create/parent": parent
310972310975
"/networkservices:v1beta1/networkservices.projects.locations.serviceBindings.create/serviceBindingId": service_binding_id

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

3+
### v0.60.0 (2025-11-02)
4+
5+
* Regenerated from discovery document revision 20251017
6+
37
### v0.59.0 (2025-10-26)
48

59
* Regenerated from discovery document revision 20251015

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2874,6 +2874,13 @@ class ListOperationsResponse
28742874
# @return [Array<Google::Apis::NetworkservicesV1beta1::Operation>]
28752875
attr_accessor :operations
28762876

2877+
# Unordered list. Unreachable resources. Populated when the request sets `
2878+
# ListOperationsRequest.return_partial_success` and reads across collections e.g.
2879+
# when attempting to list all resources across all supported locations.
2880+
# Corresponds to the JSON property `unreachable`
2881+
# @return [Array<String>]
2882+
attr_accessor :unreachable
2883+
28772884
def initialize(**args)
28782885
update!(**args)
28792886
end
@@ -2882,6 +2889,7 @@ def initialize(**args)
28822889
def update!(**args)
28832890
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
28842891
@operations = args[:operations] if args.key?(:operations)
2892+
@unreachable = args[:unreachable] if args.key?(:unreachable)
28852893
end
28862894
end
28872895

generated/google-apis-networkservices_v1beta1/lib/google/apis/networkservices_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 NetworkservicesV1beta1
1818
# Version of the google-apis-networkservices_v1beta1 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
2222
GENERATOR_VERSION = "0.18.0"
2323

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

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1265,6 +1265,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
12651265
property :next_page_token, as: 'nextPageToken'
12661266
collection :operations, as: 'operations', class: Google::Apis::NetworkservicesV1beta1::Operation, decorator: Google::Apis::NetworkservicesV1beta1::Operation::Representation
12671267

1268+
collection :unreachable, as: 'unreachable'
12681269
end
12691270
end
12701271

generated/google-apis-networkservices_v1beta1/lib/google/apis/networkservices_v1beta1/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. Do not use this field. It is unsupported and is ignored unless
89-
# explicitly documented otherwise. This is primarily for internal usage.
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
@@ -2404,6 +2404,13 @@ def get_project_location_operation(name, fields: nil, quota_user: nil, options:
24042404
# The standard list page size.
24052405
# @param [String] page_token
24062406
# The standard list page token.
2407+
# @param [Boolean] return_partial_success
2408+
# When set to `true`, operations that are reachable are returned as normal, and
2409+
# those that are unreachable are returned in the [ListOperationsResponse.
2410+
# unreachable] field. This can only be `true` when reading across collections e.
2411+
# g. when `parent` is set to `"projects/example/locations/-"`. This field is not
2412+
# by default supported and will result in an `UNIMPLEMENTED` error if set unless
2413+
# explicitly documented otherwise in service or product specific documentation.
24072414
# @param [String] fields
24082415
# Selector specifying which fields to include in a partial response.
24092416
# @param [String] quota_user
@@ -2421,14 +2428,15 @@ def get_project_location_operation(name, fields: nil, quota_user: nil, options:
24212428
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
24222429
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
24232430
# @raise [Google::Apis::AuthorizationError] Authorization is required
2424-
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2431+
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)
24252432
command = make_simple_command(:get, 'v1beta1/{+name}/operations', options)
24262433
command.response_representation = Google::Apis::NetworkservicesV1beta1::ListOperationsResponse::Representation
24272434
command.response_class = Google::Apis::NetworkservicesV1beta1::ListOperationsResponse
24282435
command.params['name'] = name unless name.nil?
24292436
command.query['filter'] = filter unless filter.nil?
24302437
command.query['pageSize'] = page_size unless page_size.nil?
24312438
command.query['pageToken'] = page_token unless page_token.nil?
2439+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
24322440
command.query['fields'] = fields unless fields.nil?
24332441
command.query['quotaUser'] = quota_user unless quota_user.nil?
24342442
execute_or_queue_command(command, &block)

0 commit comments

Comments
 (0)