Skip to content

Commit 7522d86

Browse files
feat: Automated regeneration of networkservices v1 client (googleapis#23138)
Auto-created at 2025-05-18 10:00:55 +0000 using the toys pull request generator.
1 parent 531d2d3 commit 7522d86

File tree

4 files changed

+50
-2
lines changed

4 files changed

+50
-2
lines changed

api_names_out.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290740,6 +290740,9 @@
290740290740
"/networkservices:v1/networkservices.projects.locations.serviceBindings.list/pageSize": page_size
290741290741
"/networkservices:v1/networkservices.projects.locations.serviceBindings.list/pageToken": page_token
290742290742
"/networkservices:v1/networkservices.projects.locations.serviceBindings.list/parent": parent
290743+
"/networkservices:v1/networkservices.projects.locations.serviceBindings.patch": patch_project_location_service_binding
290744+
"/networkservices:v1/networkservices.projects.locations.serviceBindings.patch/name": name
290745+
"/networkservices:v1/networkservices.projects.locations.serviceBindings.patch/updateMask": update_mask
290743290746
"/networkservices:v1/networkservices.projects.locations.serviceBindings.setIamPolicy": set_service_binding_iam_policy
290744290747
"/networkservices:v1/networkservices.projects.locations.serviceBindings.setIamPolicy/resource": resource
290745290748
"/networkservices:v1/networkservices.projects.locations.serviceBindings.testIamPermissions": test_service_binding_iam_permissions

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

3+
### v0.57.0 (2025-05-18)
4+
5+
* Regenerated from discovery document revision 20250508
6+
37
### v0.56.0 (2025-05-04)
48

59
* Regenerated from discovery document revision 20250423

generated/google-apis-networkservices_v1/lib/google/apis/networkservices_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 NetworkservicesV1
1818
# Version of the google-apis-networkservices_v1 gem
19-
GEM_VERSION = "0.56.0"
19+
GEM_VERSION = "0.57.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.17.0"
2323

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

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

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2492,6 +2492,47 @@ def list_project_location_service_bindings(parent, page_size: nil, page_token: n
24922492
execute_or_queue_command(command, &block)
24932493
end
24942494

2495+
# Updates the parameters of a single ServiceBinding.
2496+
# @param [String] name
2497+
# Identifier. Name of the ServiceBinding resource. It matches pattern `projects/*
2498+
# /locations/*/serviceBindings/`.
2499+
# @param [Google::Apis::NetworkservicesV1::ServiceBinding] service_binding_object
2500+
# @param [String] update_mask
2501+
# Optional. Field mask is used to specify the fields to be overwritten in the
2502+
# ServiceBinding resource by the update. The fields specified in the update_mask
2503+
# are relative to the resource, not the full request. A field will be
2504+
# overwritten if it is in the mask. If the user does not provide a mask then all
2505+
# fields will be overwritten.
2506+
# @param [String] fields
2507+
# Selector specifying which fields to include in a partial response.
2508+
# @param [String] quota_user
2509+
# Available to use for quota purposes for server-side applications. Can be any
2510+
# arbitrary string assigned to a user, but should not exceed 40 characters.
2511+
# @param [Google::Apis::RequestOptions] options
2512+
# Request-specific options
2513+
#
2514+
# @yield [result, err] Result & error if block supplied
2515+
# @yieldparam result [Google::Apis::NetworkservicesV1::Operation] parsed result object
2516+
# @yieldparam err [StandardError] error object if request failed
2517+
#
2518+
# @return [Google::Apis::NetworkservicesV1::Operation]
2519+
#
2520+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2521+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2522+
# @raise [Google::Apis::AuthorizationError] Authorization is required
2523+
def patch_project_location_service_binding(name, service_binding_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
2524+
command = make_simple_command(:patch, 'v1/{+name}', options)
2525+
command.request_representation = Google::Apis::NetworkservicesV1::ServiceBinding::Representation
2526+
command.request_object = service_binding_object
2527+
command.response_representation = Google::Apis::NetworkservicesV1::Operation::Representation
2528+
command.response_class = Google::Apis::NetworkservicesV1::Operation
2529+
command.params['name'] = name unless name.nil?
2530+
command.query['updateMask'] = update_mask unless update_mask.nil?
2531+
command.query['fields'] = fields unless fields.nil?
2532+
command.query['quotaUser'] = quota_user unless quota_user.nil?
2533+
execute_or_queue_command(command, &block)
2534+
end
2535+
24952536
# Creates a new ServiceLbPolicy in a given project and location.
24962537
# @param [String] parent
24972538
# Required. The parent resource of the ServiceLbPolicy. Must be in the format `

0 commit comments

Comments
 (0)