@maxim_mazurok/gapi.client.connectors-v2 0.1.20250826 → 0.1.20250930
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 +108 -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: 20250930
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -146,6 +146,8 @@ declare namespace gapi.client {
|
|
|
146
146
|
parameters?: {[P in string]: any};
|
|
147
147
|
}
|
|
148
148
|
interface ExecuteToolResponse {
|
|
149
|
+
/** Metadata like service latency, etc. */
|
|
150
|
+
metadata?: {[P in string]: {[P in string]: any}};
|
|
149
151
|
/** Output from the tool execution. */
|
|
150
152
|
result?: {[P in string]: any};
|
|
151
153
|
}
|
|
@@ -169,6 +171,14 @@ declare namespace gapi.client {
|
|
|
169
171
|
/** Reference captures the association between two different entity types. Value links to the reference of another entity type. */
|
|
170
172
|
reference?: Reference;
|
|
171
173
|
}
|
|
174
|
+
interface GetResourceResponse {
|
|
175
|
+
/** The content of the resource. */
|
|
176
|
+
data?: string;
|
|
177
|
+
/** Metadata like service latency, etc. */
|
|
178
|
+
metadata?: {[P in string]: {[P in string]: any}};
|
|
179
|
+
/** The MIME type of the resource. */
|
|
180
|
+
mimeType?: string;
|
|
181
|
+
}
|
|
172
182
|
interface InputParameter {
|
|
173
183
|
/** The following map contains fields that are not explicitly mentioned above,this give connectors the flexibility to add new metadata fields. */
|
|
174
184
|
additionalDetails?: {[P in string]: any};
|
|
@@ -273,7 +283,17 @@ declare namespace gapi.client {
|
|
|
273
283
|
/** List of entity type names which contain unsupported Datatypes. Check datatype.proto for more information. */
|
|
274
284
|
unsupportedTypeNames?: string[];
|
|
275
285
|
}
|
|
286
|
+
interface ListResourcesResponse {
|
|
287
|
+
/** Metadata like service latency, etc. */
|
|
288
|
+
metadata?: {[P in string]: {[P in string]: any}};
|
|
289
|
+
/** Next page token if more resources available. */
|
|
290
|
+
nextPageToken?: string;
|
|
291
|
+
/** List of available resources. */
|
|
292
|
+
resources?: Resource[];
|
|
293
|
+
}
|
|
276
294
|
interface ListToolsResponse {
|
|
295
|
+
/** Metadata like service latency, etc. */
|
|
296
|
+
metadata?: {[P in string]: {[P in string]: any}};
|
|
277
297
|
/** Next page token. */
|
|
278
298
|
nextPageToken?: string;
|
|
279
299
|
/** List of available tools. */
|
|
@@ -372,6 +392,18 @@ declare namespace gapi.client {
|
|
|
372
392
|
/** Metadata like service latency, etc. */
|
|
373
393
|
metadata?: {[P in string]: {[P in string]: any}};
|
|
374
394
|
}
|
|
395
|
+
interface Resource {
|
|
396
|
+
/** A description of what this resource represents. */
|
|
397
|
+
description?: string;
|
|
398
|
+
/** The MIME type of this resource, if known. */
|
|
399
|
+
mimeType?: string;
|
|
400
|
+
/** A human-readable name for this resource. */
|
|
401
|
+
name?: string;
|
|
402
|
+
/** The size of the raw resource content, in bytes, if known. */
|
|
403
|
+
size?: string;
|
|
404
|
+
/** The URI of this resource. */
|
|
405
|
+
uri?: string;
|
|
406
|
+
}
|
|
375
407
|
interface ResultMetadata {
|
|
376
408
|
/** The data type of the metadata field */
|
|
377
409
|
dataType?: string;
|
|
@@ -419,6 +451,8 @@ declare namespace gapi.client {
|
|
|
419
451
|
seconds?: number;
|
|
420
452
|
}
|
|
421
453
|
interface Tool {
|
|
454
|
+
/** Annotations for the tool. */
|
|
455
|
+
annotations?: ToolAnnotations;
|
|
422
456
|
/** List of tool names that this tool depends on. */
|
|
423
457
|
dependsOn?: string[];
|
|
424
458
|
/** Description of the tool. */
|
|
@@ -430,6 +464,18 @@ declare namespace gapi.client {
|
|
|
430
464
|
/** JSON schema for the output of the tool. */
|
|
431
465
|
outputSchema?: JsonSchema;
|
|
432
466
|
}
|
|
467
|
+
interface ToolAnnotations {
|
|
468
|
+
/** If true, the tool may perform destructive updates to its environment. If false, the tool performs only additive updates. (This property is meaningful only when `read_only_hint == false`) */
|
|
469
|
+
destructiveHint?: boolean;
|
|
470
|
+
/** If true, calling the tool repeatedly with the same arguments will have no additional effect on the environment. (This property is meaningful only when `read_only_hint == false`) */
|
|
471
|
+
idempotentHint?: boolean;
|
|
472
|
+
/** If true, this tool may interact with an "open world" of external entities. If false, the tool's domain of interaction is closed. For example, the world of a web search tool is open, whereas that of a memory tool is not. */
|
|
473
|
+
openWorldHint?: boolean;
|
|
474
|
+
/** If true, the tool does not modify its environment. */
|
|
475
|
+
readOnlyHint?: boolean;
|
|
476
|
+
/** A human-readable title for the tool. */
|
|
477
|
+
title?: string;
|
|
478
|
+
}
|
|
433
479
|
interface UpdateEntitiesWithConditionsResponse {
|
|
434
480
|
/** Metadata like service latency, etc. */
|
|
435
481
|
metadata?: {[P in string]: {[P in string]: any}};
|
|
@@ -937,6 +983,66 @@ declare namespace gapi.client {
|
|
|
937
983
|
}): Request<ListEntityTypesResponse>;
|
|
938
984
|
entities: EntitiesResource;
|
|
939
985
|
}
|
|
986
|
+
interface ResourcesResource {
|
|
987
|
+
/** Gets a specific resource. */
|
|
988
|
+
get(request?: {
|
|
989
|
+
/** V1 error format. */
|
|
990
|
+
'$.xgafv'?: string;
|
|
991
|
+
/** OAuth access token. */
|
|
992
|
+
access_token?: string;
|
|
993
|
+
/** Data format for response. */
|
|
994
|
+
alt?: string;
|
|
995
|
+
/** JSONP */
|
|
996
|
+
callback?: string;
|
|
997
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
998
|
+
fields?: string;
|
|
999
|
+
/** 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. */
|
|
1000
|
+
key?: string;
|
|
1001
|
+
/** Required. Resource name of the Resource. Format: projects/{project}/locations/{location}/connections/{connection}/resources/{resource} */
|
|
1002
|
+
name: string;
|
|
1003
|
+
/** OAuth 2.0 token for the current user. */
|
|
1004
|
+
oauth_token?: string;
|
|
1005
|
+
/** Returns response with indentations and line breaks. */
|
|
1006
|
+
prettyPrint?: boolean;
|
|
1007
|
+
/** 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. */
|
|
1008
|
+
quotaUser?: string;
|
|
1009
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1010
|
+
upload_protocol?: string;
|
|
1011
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1012
|
+
uploadType?: string;
|
|
1013
|
+
}): Request<GetResourceResponse>;
|
|
1014
|
+
/** Lists all available resources. */
|
|
1015
|
+
list(request?: {
|
|
1016
|
+
/** V1 error format. */
|
|
1017
|
+
'$.xgafv'?: string;
|
|
1018
|
+
/** OAuth access token. */
|
|
1019
|
+
access_token?: string;
|
|
1020
|
+
/** Data format for response. */
|
|
1021
|
+
alt?: string;
|
|
1022
|
+
/** JSONP */
|
|
1023
|
+
callback?: string;
|
|
1024
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1025
|
+
fields?: string;
|
|
1026
|
+
/** 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. */
|
|
1027
|
+
key?: string;
|
|
1028
|
+
/** OAuth 2.0 token for the current user. */
|
|
1029
|
+
oauth_token?: string;
|
|
1030
|
+
/** Optional. Page size for the request. */
|
|
1031
|
+
pageSize?: number;
|
|
1032
|
+
/** Optional. Page token for the request. */
|
|
1033
|
+
pageToken?: string;
|
|
1034
|
+
/** Required. Resource name of the connection. Format: projects/{project}/locations/{location}/connections/{connection} */
|
|
1035
|
+
parent: string;
|
|
1036
|
+
/** Returns response with indentations and line breaks. */
|
|
1037
|
+
prettyPrint?: boolean;
|
|
1038
|
+
/** 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. */
|
|
1039
|
+
quotaUser?: string;
|
|
1040
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1041
|
+
upload_protocol?: string;
|
|
1042
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1043
|
+
uploadType?: string;
|
|
1044
|
+
}): Request<ListResourcesResponse>;
|
|
1045
|
+
}
|
|
940
1046
|
interface ToolsResource {
|
|
941
1047
|
/** Executes a specific tool. */
|
|
942
1048
|
execute(request: {
|
|
@@ -1253,6 +1359,7 @@ declare namespace gapi.client {
|
|
|
1253
1359
|
): Request<RefreshAccessTokenResponse>;
|
|
1254
1360
|
actions: ActionsResource;
|
|
1255
1361
|
entityTypes: EntityTypesResource;
|
|
1362
|
+
resources: ResourcesResource;
|
|
1256
1363
|
tools: ToolsResource;
|
|
1257
1364
|
}
|
|
1258
1365
|
interface LocationsResource {
|