@maxim_mazurok/gapi.client.connectors-v2 0.0.20250721 → 0.0.20250807
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 +26 -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: 20250807
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -41,6 +41,8 @@ declare namespace gapi.client {
|
|
|
41
41
|
inputJsonSchema?: JsonSchema;
|
|
42
42
|
/** List containing input parameter metadata. */
|
|
43
43
|
inputParameters?: InputParameter[];
|
|
44
|
+
/** Metadata like service latency, etc. */
|
|
45
|
+
metadata?: {[P in string]: {[P in string]: any}};
|
|
44
46
|
/** Name of the action. */
|
|
45
47
|
name?: string;
|
|
46
48
|
/** JsonSchema representation of this actions's result schema */
|
|
@@ -64,6 +66,8 @@ declare namespace gapi.client {
|
|
|
64
66
|
interface CheckStatusResponse {
|
|
65
67
|
/** When the connector is not in ACTIVE state, the description must be populated to specify the reason why it's not in ACTIVE state. */
|
|
66
68
|
description?: string;
|
|
69
|
+
/** Metadata like service latency, etc. */
|
|
70
|
+
metadata?: {[P in string]: {[P in string]: any}};
|
|
67
71
|
/** State of the connector. */
|
|
68
72
|
state?: string;
|
|
69
73
|
}
|
|
@@ -93,14 +97,19 @@ declare namespace gapi.client {
|
|
|
93
97
|
interface Entity {
|
|
94
98
|
/** Fields of the entity. The key is name of the field and the value contains the applicable `google.protobuf.Value` entry for this field. */
|
|
95
99
|
fields?: {[P in string]: any};
|
|
100
|
+
/** Metadata like service latency, etc. */
|
|
101
|
+
metadata?: {[P in string]: {[P in string]: any}};
|
|
96
102
|
/** Output only. Resource name of the Entity. Format: projects/{project}/locations/{location}/connections/{connection}/entityTypes/{type}/entities/{id} */
|
|
97
103
|
name?: string;
|
|
98
104
|
}
|
|
99
105
|
interface EntityType {
|
|
106
|
+
defaultSortBy?: string;
|
|
100
107
|
/** List containing metadata information about each field of the entity type. */
|
|
101
108
|
fields?: Field[];
|
|
102
109
|
/** JsonSchema representation of this entity's schema */
|
|
103
110
|
jsonSchema?: JsonSchema;
|
|
111
|
+
/** Metadata like service latency, etc. */
|
|
112
|
+
metadata?: {[P in string]: {[P in string]: any}};
|
|
104
113
|
/** The name of the entity type. */
|
|
105
114
|
name?: string;
|
|
106
115
|
operations?: string[];
|
|
@@ -111,12 +120,16 @@ declare namespace gapi.client {
|
|
|
111
120
|
}
|
|
112
121
|
interface ExchangeAuthCodeResponse {
|
|
113
122
|
accessCredentials?: AccessCredentials;
|
|
123
|
+
/** Metadata like service latency, etc. */
|
|
124
|
+
metadata?: {[P in string]: {[P in string]: any}};
|
|
114
125
|
}
|
|
115
126
|
interface ExecuteActionRequest {
|
|
116
127
|
/** Parameters for executing the action. The parameters can be key/value pairs or nested structs. */
|
|
117
128
|
parameters?: {[P in string]: any};
|
|
118
129
|
}
|
|
119
130
|
interface ExecuteActionResponse {
|
|
131
|
+
/** Metadata like service latency, etc. */
|
|
132
|
+
metadata?: {[P in string]: {[P in string]: any}};
|
|
120
133
|
/** In the case of successful invocation of the specified action, the results Struct contains values based on the response of the action invoked. 1. If the action execution produces any entities as a result, they are returned as an array of Structs with the 'key' being the field name and the 'value' being the value of that field in each result row. { 'results': [{'key': 'value'}, ...] } */
|
|
121
134
|
results?: Array<{[P in string]: any}>;
|
|
122
135
|
}
|
|
@@ -227,6 +240,8 @@ declare namespace gapi.client {
|
|
|
227
240
|
interface ListActionsResponse {
|
|
228
241
|
/** List of action metadata. */
|
|
229
242
|
actions?: Action[];
|
|
243
|
+
/** Metadata like service latency, etc. */
|
|
244
|
+
metadata?: {[P in string]: {[P in string]: any}};
|
|
230
245
|
/** Next page token if more actions available. */
|
|
231
246
|
nextPageToken?: string;
|
|
232
247
|
/** List of actions which contain unsupported Datatypes. Check datatype.proto for more information. */
|
|
@@ -235,10 +250,14 @@ declare namespace gapi.client {
|
|
|
235
250
|
interface ListEntitiesResponse {
|
|
236
251
|
/** List containing entity rows. */
|
|
237
252
|
entities?: Entity[];
|
|
253
|
+
/** Metadata like service latency, etc. */
|
|
254
|
+
metadata?: {[P in string]: {[P in string]: any}};
|
|
238
255
|
/** Next page token if more records are available. */
|
|
239
256
|
nextPageToken?: string;
|
|
240
257
|
}
|
|
241
258
|
interface ListEntityTypesResponse {
|
|
259
|
+
/** Metadata like service latency, etc. */
|
|
260
|
+
metadata?: {[P in string]: {[P in string]: any}};
|
|
242
261
|
/** Next page token if more entity types available. */
|
|
243
262
|
nextPageToken?: string;
|
|
244
263
|
/** List of metadata related to all entity types. */
|
|
@@ -336,6 +355,8 @@ declare namespace gapi.client {
|
|
|
336
355
|
}
|
|
337
356
|
interface RefreshAccessTokenResponse {
|
|
338
357
|
accessCredentials?: AccessCredentials;
|
|
358
|
+
/** Metadata like service latency, etc. */
|
|
359
|
+
metadata?: {[P in string]: {[P in string]: any}};
|
|
339
360
|
}
|
|
340
361
|
interface ResultMetadata {
|
|
341
362
|
/** The data type of the metadata field */
|
|
@@ -384,6 +405,8 @@ declare namespace gapi.client {
|
|
|
384
405
|
seconds?: number;
|
|
385
406
|
}
|
|
386
407
|
interface UpdateEntitiesWithConditionsResponse {
|
|
408
|
+
/** Metadata like service latency, etc. */
|
|
409
|
+
metadata?: {[P in string]: {[P in string]: any}};
|
|
387
410
|
/** Response returned by the external system. */
|
|
388
411
|
response?: {[P in string]: any};
|
|
389
412
|
}
|
|
@@ -832,6 +855,8 @@ declare namespace gapi.client {
|
|
|
832
855
|
alt?: string;
|
|
833
856
|
/** JSONP */
|
|
834
857
|
callback?: string;
|
|
858
|
+
/** Context metadata for request could be used to fetch customization of entity type schema. */
|
|
859
|
+
contextMetadata?: string;
|
|
835
860
|
/** Selector specifying which fields to include in a partial response. */
|
|
836
861
|
fields?: string;
|
|
837
862
|
/** 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. */
|