@@ -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