@maxim_mazurok/gapi.client.connectors-v2 0.0.20250807 → 0.0.20250813
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.
- package/index.d.ts +117 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://connectors.googleapis.com/$discovery/rest?version=v2
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20250813
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -141,6 +141,14 @@ declare namespace gapi.client {
|
|
|
141
141
|
/** In the case of successful execution of the query the response contains results returned by the external system. For example, the result rows of the query are contained in the 'results' Struct list - "results": [ { "field1": "val1", "field2": "val2",.. },.. ] Each Struct row can contain fields any type of like nested Structs or lists. */
|
|
142
142
|
results?: Array<{[P in string]: any}>;
|
|
143
143
|
}
|
|
144
|
+
interface ExecuteToolRequest {
|
|
145
|
+
/** Input parameters for the tool. */
|
|
146
|
+
parameters?: {[P in string]: any};
|
|
147
|
+
}
|
|
148
|
+
interface ExecuteToolResponse {
|
|
149
|
+
/** Output from the tool execution. */
|
|
150
|
+
result?: {[P in string]: any};
|
|
151
|
+
}
|
|
144
152
|
interface Field {
|
|
145
153
|
/** The following map contains fields that are not explicitly mentioned above,this give connectors the flexibility to add new metadata fields. */
|
|
146
154
|
additionalDetails?: {[P in string]: any};
|
|
@@ -265,6 +273,12 @@ declare namespace gapi.client {
|
|
|
265
273
|
/** List of entity type names which contain unsupported Datatypes. Check datatype.proto for more information. */
|
|
266
274
|
unsupportedTypeNames?: string[];
|
|
267
275
|
}
|
|
276
|
+
interface ListToolsResponse {
|
|
277
|
+
/** Next page token. */
|
|
278
|
+
nextPageToken?: string;
|
|
279
|
+
/** List of available tools. */
|
|
280
|
+
tools?: Tool[];
|
|
281
|
+
}
|
|
268
282
|
interface MaintenancePolicy {
|
|
269
283
|
/** Output only. The time when the resource was created. */
|
|
270
284
|
createTime?: string;
|
|
@@ -404,6 +418,16 @@ declare namespace gapi.client {
|
|
|
404
418
|
/** Seconds of a minute. Must be greater than or equal to 0 and typically must be less than or equal to 59. An API may allow the value 60 if it allows leap-seconds. */
|
|
405
419
|
seconds?: number;
|
|
406
420
|
}
|
|
421
|
+
interface Tool {
|
|
422
|
+
/** Description of the tool. */
|
|
423
|
+
description?: string;
|
|
424
|
+
/** JSON schema for the input parameters of the tool. */
|
|
425
|
+
inputSchema?: JsonSchema;
|
|
426
|
+
/** Name of the tool. */
|
|
427
|
+
name?: string;
|
|
428
|
+
/** JSON schema for the output of the tool. */
|
|
429
|
+
outputSchema?: JsonSchema;
|
|
430
|
+
}
|
|
407
431
|
interface UpdateEntitiesWithConditionsResponse {
|
|
408
432
|
/** Metadata like service latency, etc. */
|
|
409
433
|
metadata?: {[P in string]: {[P in string]: any}};
|
|
@@ -911,6 +935,97 @@ declare namespace gapi.client {
|
|
|
911
935
|
}): Request<ListEntityTypesResponse>;
|
|
912
936
|
entities: EntitiesResource;
|
|
913
937
|
}
|
|
938
|
+
interface ToolsResource {
|
|
939
|
+
/** Executes a specific tool. */
|
|
940
|
+
execute(request: {
|
|
941
|
+
/** V1 error format. */
|
|
942
|
+
'$.xgafv'?: string;
|
|
943
|
+
/** OAuth access token. */
|
|
944
|
+
access_token?: string;
|
|
945
|
+
/** Data format for response. */
|
|
946
|
+
alt?: string;
|
|
947
|
+
/** JSONP */
|
|
948
|
+
callback?: string;
|
|
949
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
950
|
+
fields?: string;
|
|
951
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
952
|
+
key?: string;
|
|
953
|
+
/** Required. Resource name of the Tool. Format: projects/{project}/locations/{location}/connections/{connection}/tools/{tool} */
|
|
954
|
+
name: string;
|
|
955
|
+
/** OAuth 2.0 token for the current user. */
|
|
956
|
+
oauth_token?: string;
|
|
957
|
+
/** Returns response with indentations and line breaks. */
|
|
958
|
+
prettyPrint?: boolean;
|
|
959
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
960
|
+
quotaUser?: string;
|
|
961
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
962
|
+
upload_protocol?: string;
|
|
963
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
964
|
+
uploadType?: string;
|
|
965
|
+
/** Request body */
|
|
966
|
+
resource: ExecuteToolRequest;
|
|
967
|
+
}): Request<ExecuteToolResponse>;
|
|
968
|
+
execute(
|
|
969
|
+
request: {
|
|
970
|
+
/** V1 error format. */
|
|
971
|
+
'$.xgafv'?: string;
|
|
972
|
+
/** OAuth access token. */
|
|
973
|
+
access_token?: string;
|
|
974
|
+
/** Data format for response. */
|
|
975
|
+
alt?: string;
|
|
976
|
+
/** JSONP */
|
|
977
|
+
callback?: string;
|
|
978
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
979
|
+
fields?: string;
|
|
980
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
981
|
+
key?: string;
|
|
982
|
+
/** Required. Resource name of the Tool. Format: projects/{project}/locations/{location}/connections/{connection}/tools/{tool} */
|
|
983
|
+
name: string;
|
|
984
|
+
/** OAuth 2.0 token for the current user. */
|
|
985
|
+
oauth_token?: string;
|
|
986
|
+
/** Returns response with indentations and line breaks. */
|
|
987
|
+
prettyPrint?: boolean;
|
|
988
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
989
|
+
quotaUser?: string;
|
|
990
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
991
|
+
upload_protocol?: string;
|
|
992
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
993
|
+
uploadType?: string;
|
|
994
|
+
},
|
|
995
|
+
body: ExecuteToolRequest,
|
|
996
|
+
): Request<ExecuteToolResponse>;
|
|
997
|
+
/** Lists all available tools. */
|
|
998
|
+
list(request?: {
|
|
999
|
+
/** V1 error format. */
|
|
1000
|
+
'$.xgafv'?: string;
|
|
1001
|
+
/** OAuth access token. */
|
|
1002
|
+
access_token?: string;
|
|
1003
|
+
/** Data format for response. */
|
|
1004
|
+
alt?: string;
|
|
1005
|
+
/** JSONP */
|
|
1006
|
+
callback?: string;
|
|
1007
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1008
|
+
fields?: string;
|
|
1009
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1010
|
+
key?: string;
|
|
1011
|
+
/** OAuth 2.0 token for the current user. */
|
|
1012
|
+
oauth_token?: string;
|
|
1013
|
+
/** Page size. */
|
|
1014
|
+
pageSize?: number;
|
|
1015
|
+
/** Page token. */
|
|
1016
|
+
pageToken?: string;
|
|
1017
|
+
/** Required. Resource name of the Connection. Format: projects/{project}/locations/{location}/connections/{connection} */
|
|
1018
|
+
parent: string;
|
|
1019
|
+
/** Returns response with indentations and line breaks. */
|
|
1020
|
+
prettyPrint?: boolean;
|
|
1021
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1022
|
+
quotaUser?: string;
|
|
1023
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1024
|
+
upload_protocol?: string;
|
|
1025
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1026
|
+
uploadType?: string;
|
|
1027
|
+
}): Request<ListToolsResponse>;
|
|
1028
|
+
}
|
|
914
1029
|
interface ConnectionsResource {
|
|
915
1030
|
/** Reports readiness status of the connector. Similar logic to GetStatus but modified for kubernetes health check to understand. */
|
|
916
1031
|
checkReadiness(request?: {
|
|
@@ -1136,6 +1251,7 @@ declare namespace gapi.client {
|
|
|
1136
1251
|
): Request<RefreshAccessTokenResponse>;
|
|
1137
1252
|
actions: ActionsResource;
|
|
1138
1253
|
entityTypes: EntityTypesResource;
|
|
1254
|
+
tools: ToolsResource;
|
|
1139
1255
|
}
|
|
1140
1256
|
interface LocationsResource {
|
|
1141
1257
|
connections: ConnectionsResource;
|