google-apis-connectors_v1 0.63.0 → 0.65.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1092,6 +1092,8 @@ module Google
|
|
1092
1092
|
# Page size.
|
1093
1093
|
# @param [String] page_token
|
1094
1094
|
# Page token.
|
1095
|
+
# @param [Boolean] schema_as_string
|
1096
|
+
# Optional. Flag to indicate if schema should be returned as string or not
|
1095
1097
|
# @param [String] fields
|
1096
1098
|
# Selector specifying which fields to include in a partial response.
|
1097
1099
|
# @param [String] quota_user
|
@@ -1109,7 +1111,7 @@ module Google
|
|
1109
1111
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1110
1112
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1111
1113
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1112
|
-
def list_project_location_connection_runtime_action_schemas(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1114
|
+
def list_project_location_connection_runtime_action_schemas(parent, filter: nil, page_size: nil, page_token: nil, schema_as_string: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1113
1115
|
command = make_simple_command(:get, 'v1/{+parent}/runtimeActionSchemas', options)
|
1114
1116
|
command.response_representation = Google::Apis::ConnectorsV1::ListRuntimeActionSchemasResponse::Representation
|
1115
1117
|
command.response_class = Google::Apis::ConnectorsV1::ListRuntimeActionSchemasResponse
|
@@ -1117,6 +1119,7 @@ module Google
|
|
1117
1119
|
command.query['filter'] = filter unless filter.nil?
|
1118
1120
|
command.query['pageSize'] = page_size unless page_size.nil?
|
1119
1121
|
command.query['pageToken'] = page_token unless page_token.nil?
|
1122
|
+
command.query['schemaAsString'] = schema_as_string unless schema_as_string.nil?
|
1120
1123
|
command.query['fields'] = fields unless fields.nil?
|
1121
1124
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1122
1125
|
execute_or_queue_command(command, &block)
|
@@ -1264,6 +1267,78 @@ module Google
|
|
1264
1267
|
execute_or_queue_command(command, &block)
|
1265
1268
|
end
|
1266
1269
|
|
1270
|
+
# Publish request for the CustomConnectorVersion. Once approved, the
|
1271
|
+
# CustomConnectorVersion will be published as PartnerConnector.
|
1272
|
+
# @param [String] name
|
1273
|
+
# Required. Resource name of the form: `projects/`project`/locations/`location`/
|
1274
|
+
# customConnectors/`custom_connector`/customConnectorVersions/`
|
1275
|
+
# custom_connector_version``
|
1276
|
+
# @param [Google::Apis::ConnectorsV1::PublishCustomConnectorVersionRequest] publish_custom_connector_version_request_object
|
1277
|
+
# @param [String] fields
|
1278
|
+
# Selector specifying which fields to include in a partial response.
|
1279
|
+
# @param [String] quota_user
|
1280
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1281
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1282
|
+
# @param [Google::Apis::RequestOptions] options
|
1283
|
+
# Request-specific options
|
1284
|
+
#
|
1285
|
+
# @yield [result, err] Result & error if block supplied
|
1286
|
+
# @yieldparam result [Google::Apis::ConnectorsV1::Operation] parsed result object
|
1287
|
+
# @yieldparam err [StandardError] error object if request failed
|
1288
|
+
#
|
1289
|
+
# @return [Google::Apis::ConnectorsV1::Operation]
|
1290
|
+
#
|
1291
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1292
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1293
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1294
|
+
def publish_custom_connector_version(name, publish_custom_connector_version_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1295
|
+
command = make_simple_command(:post, 'v1/{+name}:publish', options)
|
1296
|
+
command.request_representation = Google::Apis::ConnectorsV1::PublishCustomConnectorVersionRequest::Representation
|
1297
|
+
command.request_object = publish_custom_connector_version_request_object
|
1298
|
+
command.response_representation = Google::Apis::ConnectorsV1::Operation::Representation
|
1299
|
+
command.response_class = Google::Apis::ConnectorsV1::Operation
|
1300
|
+
command.params['name'] = name unless name.nil?
|
1301
|
+
command.query['fields'] = fields unless fields.nil?
|
1302
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1303
|
+
execute_or_queue_command(command, &block)
|
1304
|
+
end
|
1305
|
+
|
1306
|
+
# Withdraw the publish request for the CustomConnectorVersion. This can only be
|
1307
|
+
# used before the CustomConnectorVersion is published.
|
1308
|
+
# @param [String] name
|
1309
|
+
# Required. Resource name of the form: `projects/`project`/locations/`location`/
|
1310
|
+
# customConnectors/`custom_connector`/customConnectorVersions/`
|
1311
|
+
# custom_connector_version``
|
1312
|
+
# @param [Google::Apis::ConnectorsV1::WithdrawCustomConnectorVersionRequest] withdraw_custom_connector_version_request_object
|
1313
|
+
# @param [String] fields
|
1314
|
+
# Selector specifying which fields to include in a partial response.
|
1315
|
+
# @param [String] quota_user
|
1316
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1317
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1318
|
+
# @param [Google::Apis::RequestOptions] options
|
1319
|
+
# Request-specific options
|
1320
|
+
#
|
1321
|
+
# @yield [result, err] Result & error if block supplied
|
1322
|
+
# @yieldparam result [Google::Apis::ConnectorsV1::Operation] parsed result object
|
1323
|
+
# @yieldparam err [StandardError] error object if request failed
|
1324
|
+
#
|
1325
|
+
# @return [Google::Apis::ConnectorsV1::Operation]
|
1326
|
+
#
|
1327
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1328
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1329
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1330
|
+
def withdraw_custom_connector_version(name, withdraw_custom_connector_version_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1331
|
+
command = make_simple_command(:post, 'v1/{+name}:withdraw', options)
|
1332
|
+
command.request_representation = Google::Apis::ConnectorsV1::WithdrawCustomConnectorVersionRequest::Representation
|
1333
|
+
command.request_object = withdraw_custom_connector_version_request_object
|
1334
|
+
command.response_representation = Google::Apis::ConnectorsV1::Operation::Representation
|
1335
|
+
command.response_class = Google::Apis::ConnectorsV1::Operation
|
1336
|
+
command.params['name'] = name unless name.nil?
|
1337
|
+
command.query['fields'] = fields unless fields.nil?
|
1338
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1339
|
+
execute_or_queue_command(command, &block)
|
1340
|
+
end
|
1341
|
+
|
1267
1342
|
# Creates a new EndpointAttachment in a given project and location.
|
1268
1343
|
# @param [String] parent
|
1269
1344
|
# Required. Parent resource of the EndpointAttachment, of the form: `projects/*/
|
@@ -1337,6 +1412,9 @@ module Google
|
|
1337
1412
|
# @param [String] name
|
1338
1413
|
# Required. Resource name of the form: `projects/*/locations/*/
|
1339
1414
|
# endpointAttachments/*`
|
1415
|
+
# @param [String] view
|
1416
|
+
# Optional. Specifies which fields of the EndpointAttachment are returned in the
|
1417
|
+
# response. Defaults to `ENDPOINT_ATTACHMENT_VIEW_BASIC` view.
|
1340
1418
|
# @param [String] fields
|
1341
1419
|
# Selector specifying which fields to include in a partial response.
|
1342
1420
|
# @param [String] quota_user
|
@@ -1354,11 +1432,12 @@ module Google
|
|
1354
1432
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1355
1433
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1356
1434
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1357
|
-
def get_project_location_endpoint_attachment(name, fields: nil, quota_user: nil, options: nil, &block)
|
1435
|
+
def get_project_location_endpoint_attachment(name, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1358
1436
|
command = make_simple_command(:get, 'v1/{+name}', options)
|
1359
1437
|
command.response_representation = Google::Apis::ConnectorsV1::EndpointAttachment::Representation
|
1360
1438
|
command.response_class = Google::Apis::ConnectorsV1::EndpointAttachment
|
1361
1439
|
command.params['name'] = name unless name.nil?
|
1440
|
+
command.query['view'] = view unless view.nil?
|
1362
1441
|
command.query['fields'] = fields unless fields.nil?
|
1363
1442
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1364
1443
|
execute_or_queue_command(command, &block)
|
@@ -1376,6 +1455,9 @@ module Google
|
|
1376
1455
|
# Page size.
|
1377
1456
|
# @param [String] page_token
|
1378
1457
|
# Page token.
|
1458
|
+
# @param [String] view
|
1459
|
+
# Optional. Specifies which fields of the EndpointAttachment are returned in the
|
1460
|
+
# response. Defaults to `ENDPOINT_ATTACHMENT_VIEW_BASIC` view.
|
1379
1461
|
# @param [String] fields
|
1380
1462
|
# Selector specifying which fields to include in a partial response.
|
1381
1463
|
# @param [String] quota_user
|
@@ -1393,7 +1475,7 @@ module Google
|
|
1393
1475
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1394
1476
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1395
1477
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1396
|
-
def list_project_location_endpoint_attachments(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1478
|
+
def list_project_location_endpoint_attachments(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1397
1479
|
command = make_simple_command(:get, 'v1/{+parent}/endpointAttachments', options)
|
1398
1480
|
command.response_representation = Google::Apis::ConnectorsV1::ListEndpointAttachmentsResponse::Representation
|
1399
1481
|
command.response_class = Google::Apis::ConnectorsV1::ListEndpointAttachmentsResponse
|
@@ -1402,6 +1484,7 @@ module Google
|
|
1402
1484
|
command.query['orderBy'] = order_by unless order_by.nil?
|
1403
1485
|
command.query['pageSize'] = page_size unless page_size.nil?
|
1404
1486
|
command.query['pageToken'] = page_token unless page_token.nil?
|
1487
|
+
command.query['view'] = view unless view.nil?
|
1405
1488
|
command.query['fields'] = fields unless fields.nil?
|
1406
1489
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1407
1490
|
execute_or_queue_command(command, &block)
|
@@ -1995,8 +2078,8 @@ module Google
|
|
1995
2078
|
# Clients can use Operations.GetOperation or other methods to check whether the
|
1996
2079
|
# cancellation succeeded or whether the operation completed despite cancellation.
|
1997
2080
|
# On successful cancellation, the operation is not deleted; instead, it becomes
|
1998
|
-
# an operation with an Operation.error value with a google.rpc.Status.code of 1
|
1999
|
-
# corresponding to `Code.CANCELLED`.
|
2081
|
+
# an operation with an Operation.error value with a google.rpc.Status.code of `1`
|
2082
|
+
# , corresponding to `Code.CANCELLED`.
|
2000
2083
|
# @param [String] name
|
2001
2084
|
# The name of the operation resource to be cancelled.
|
2002
2085
|
# @param [Google::Apis::ConnectorsV1::CancelOperationRequest] cancel_operation_request_object
|
@@ -2394,6 +2477,41 @@ module Google
|
|
2394
2477
|
execute_or_queue_command(command, &block)
|
2395
2478
|
end
|
2396
2479
|
|
2480
|
+
# fetch and return the list of auth config variables required to override the
|
2481
|
+
# connection backend auth.
|
2482
|
+
# @param [String] name
|
2483
|
+
# Required. Parent resource of the Connector Version, of the form: `projects/*/
|
2484
|
+
# locations/*/providers/*/connectors/*/versions/*`
|
2485
|
+
# @param [String] view
|
2486
|
+
# Optional. View of the AuthSchema. The default value is BASIC.
|
2487
|
+
# @param [String] fields
|
2488
|
+
# Selector specifying which fields to include in a partial response.
|
2489
|
+
# @param [String] quota_user
|
2490
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2491
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2492
|
+
# @param [Google::Apis::RequestOptions] options
|
2493
|
+
# Request-specific options
|
2494
|
+
#
|
2495
|
+
# @yield [result, err] Result & error if block supplied
|
2496
|
+
# @yieldparam result [Google::Apis::ConnectorsV1::FetchAuthSchemaResponse] parsed result object
|
2497
|
+
# @yieldparam err [StandardError] error object if request failed
|
2498
|
+
#
|
2499
|
+
# @return [Google::Apis::ConnectorsV1::FetchAuthSchemaResponse]
|
2500
|
+
#
|
2501
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2502
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2503
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2504
|
+
def fetch_project_location_provider_connector_version_auth_schema(name, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2505
|
+
command = make_simple_command(:get, 'v1/{+name}:fetchAuthSchema', options)
|
2506
|
+
command.response_representation = Google::Apis::ConnectorsV1::FetchAuthSchemaResponse::Representation
|
2507
|
+
command.response_class = Google::Apis::ConnectorsV1::FetchAuthSchemaResponse
|
2508
|
+
command.params['name'] = name unless name.nil?
|
2509
|
+
command.query['view'] = view unless view.nil?
|
2510
|
+
command.query['fields'] = fields unless fields.nil?
|
2511
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2512
|
+
execute_or_queue_command(command, &block)
|
2513
|
+
end
|
2514
|
+
|
2397
2515
|
# Gets details of a single connector version.
|
2398
2516
|
# @param [String] name
|
2399
2517
|
# Required. Resource name of the form: `projects/*/locations/*/providers/*/
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-connectors_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.65.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-12-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-connectors_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-connectors_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-connectors_v1/v0.65.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-connectors_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.5.
|
78
|
+
rubygems_version: 3.5.23
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Connectors API V1
|