@@ -189,6 +189,71 @@ def execute_connection_sql_query(connection, execute_sql_query_request_object =
189189 execute_or_queue_command ( command , &block )
190190 end
191191
192+ # Generate toolspec override for the given list of toolNames.
193+ # @param [String] name
194+ # Required. Resource name of the Connection. Format: projects/`project`/
195+ # locations/`location`/connections/`connection`
196+ # @param [Google::Apis::ConnectorsV2::GenerateCustomToolspecRequest] generate_custom_toolspec_request_object
197+ # @param [String] fields
198+ # Selector specifying which fields to include in a partial response.
199+ # @param [String] quota_user
200+ # Available to use for quota purposes for server-side applications. Can be any
201+ # arbitrary string assigned to a user, but should not exceed 40 characters.
202+ # @param [Google::Apis::RequestOptions] options
203+ # Request-specific options
204+ #
205+ # @yield [result, err] Result & error if block supplied
206+ # @yieldparam result [Google::Apis::ConnectorsV2::GenerateCustomToolspecResponse] parsed result object
207+ # @yieldparam err [StandardError] error object if request failed
208+ #
209+ # @return [Google::Apis::ConnectorsV2::GenerateCustomToolspecResponse]
210+ #
211+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
212+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
213+ # @raise [Google::Apis::AuthorizationError] Authorization is required
214+ def generate_project_location_connection_connection_toolspec_override ( name , generate_custom_toolspec_request_object = nil , fields : nil , quota_user : nil , options : nil , &block )
215+ command = make_simple_command ( :post , 'v2/{+name}:generateConnectionToolspecOverride' , options )
216+ command . request_representation = Google ::Apis ::ConnectorsV2 ::GenerateCustomToolspecRequest ::Representation
217+ command . request_object = generate_custom_toolspec_request_object
218+ command . response_representation = Google ::Apis ::ConnectorsV2 ::GenerateCustomToolspecResponse ::Representation
219+ command . response_class = Google ::Apis ::ConnectorsV2 ::GenerateCustomToolspecResponse
220+ command . params [ 'name' ] = name unless name . nil?
221+ command . query [ 'fields' ] = fields unless fields . nil?
222+ command . query [ 'quotaUser' ] = quota_user unless quota_user . nil?
223+ execute_or_queue_command ( command , &block )
224+ end
225+
226+ # Lists custom tool names.
227+ # @param [String] name
228+ # Required. Resource name of the Connection. Format: projects/`project`/
229+ # locations/`location`/connections/`connection`
230+ # @param [String] fields
231+ # Selector specifying which fields to include in a partial response.
232+ # @param [String] quota_user
233+ # Available to use for quota purposes for server-side applications. Can be any
234+ # arbitrary string assigned to a user, but should not exceed 40 characters.
235+ # @param [Google::Apis::RequestOptions] options
236+ # Request-specific options
237+ #
238+ # @yield [result, err] Result & error if block supplied
239+ # @yieldparam result [Google::Apis::ConnectorsV2::ListCustomToolNamesResponse] parsed result object
240+ # @yieldparam err [StandardError] error object if request failed
241+ #
242+ # @return [Google::Apis::ConnectorsV2::ListCustomToolNamesResponse]
243+ #
244+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
245+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
246+ # @raise [Google::Apis::AuthorizationError] Authorization is required
247+ def list_project_location_connection_custom_tool_names ( name , fields : nil , quota_user : nil , options : nil , &block )
248+ command = make_simple_command ( :get , 'v2/{+name}:listCustomToolNames' , options )
249+ command . response_representation = Google ::Apis ::ConnectorsV2 ::ListCustomToolNamesResponse ::Representation
250+ command . response_class = Google ::Apis ::ConnectorsV2 ::ListCustomToolNamesResponse
251+ command . params [ 'name' ] = name unless name . nil?
252+ command . query [ 'fields' ] = fields unless fields . nil?
253+ command . query [ 'quotaUser' ] = quota_user unless quota_user . nil?
254+ execute_or_queue_command ( command , &block )
255+ end
256+
192257 # RefreshAccessToken exchanges the OAuth refresh token (and other necessary data)
193258 # for a new access token (and new associated credentials).
194259 # @param [String] name
0 commit comments