Skip to content

Commit b2e64c3

Browse files
feat: Automated regeneration of connectors v1 client (googleapis#23803)
Auto-created at 2025-07-27 10:38:22 +0000 using the toys pull request generator.
1 parent d7d6ddf commit b2e64c3

File tree

4 files changed

+14
-3
lines changed

4 files changed

+14
-3
lines changed

api_names_out.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125127,6 +125127,7 @@
125127125127
"/connectors:v1/connectors.projects.locations.connections.create/connectionId": connection_id
125128125128
"/connectors:v1/connectors.projects.locations.connections.create/parent": parent
125129125129
"/connectors:v1/connectors.projects.locations.connections.delete": delete_project_location_connection
125130+
"/connectors:v1/connectors.projects.locations.connections.delete/force": force
125130125131
"/connectors:v1/connectors.projects.locations.connections.delete/name": name
125131125132
"/connectors:v1/connectors.projects.locations.connections.endUserAuthentications.create": create_project_location_connection_end_user_authentication
125132125133
"/connectors:v1/connectors.projects.locations.connections.endUserAuthentications.create/endUserAuthenticationId": end_user_authentication_id

generated/google-apis-connectors_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-connectors_v1
22

3+
### v0.76.0 (2025-07-27)
4+
5+
* Regenerated from discovery document revision 20250721
6+
37
### v0.75.0 (2025-07-13)
48

59
* Regenerated from discovery document revision 20250703

generated/google-apis-connectors_v1/lib/google/apis/connectors_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 ConnectorsV1
1818
# Version of the google-apis-connectors_v1 gem
19-
GEM_VERSION = "0.75.0"
19+
GEM_VERSION = "0.76.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 = "20250703"
25+
REVISION = "20250721"
2626
end
2727
end
2828
end

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

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,11 @@ def create_project_location_connection(parent, connection_object = nil, connecti
269269
# Deletes a single Connection.
270270
# @param [String] name
271271
# Required. Resource name of the form: `projects/*/locations/*/connections/*`
272+
# @param [Boolean] force
273+
# Optional. If set to true, any child EndUserAuthentication/EventSubscription
274+
# resources will also be deleted. Otherwise, the request will fail if the
275+
# connection has any children. Followed the best practice from https://aip.dev/
276+
# 135#cascading-delete
272277
# @param [String] fields
273278
# Selector specifying which fields to include in a partial response.
274279
# @param [String] quota_user
@@ -286,11 +291,12 @@ def create_project_location_connection(parent, connection_object = nil, connecti
286291
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
287292
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
288293
# @raise [Google::Apis::AuthorizationError] Authorization is required
289-
def delete_project_location_connection(name, fields: nil, quota_user: nil, options: nil, &block)
294+
def delete_project_location_connection(name, force: nil, fields: nil, quota_user: nil, options: nil, &block)
290295
command = make_simple_command(:delete, 'v1/{+name}', options)
291296
command.response_representation = Google::Apis::ConnectorsV1::Operation::Representation
292297
command.response_class = Google::Apis::ConnectorsV1::Operation
293298
command.params['name'] = name unless name.nil?
299+
command.query['force'] = force unless force.nil?
294300
command.query['fields'] = fields unless fields.nil?
295301
command.query['quotaUser'] = quota_user unless quota_user.nil?
296302
execute_or_queue_command(command, &block)

0 commit comments

Comments
 (0)