@maxim_mazurok/gapi.client.connectors-v2 0.0.20230417 → 0.0.20230501
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 +505 -253
- package/package.json +1 -1
- package/tests.ts +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: 20230501
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -24,30 +24,38 @@ declare namespace gapi.client {
|
|
|
24
24
|
namespace connectors {
|
|
25
25
|
interface Action {
|
|
26
26
|
/** List containing input parameter metadata. */
|
|
27
|
-
inputParameters?:
|
|
27
|
+
inputParameters?:
|
|
28
|
+
InputParameter[];
|
|
28
29
|
/** Name of the action. */
|
|
29
|
-
name?:
|
|
30
|
+
name?:
|
|
31
|
+
string;
|
|
30
32
|
/** List containing the metadata of result fields. */
|
|
31
|
-
resultMetadata?:
|
|
33
|
+
resultMetadata?:
|
|
34
|
+
ResultMetadata[];
|
|
32
35
|
}
|
|
33
36
|
// tslint:disable-next-line:no-empty-interface
|
|
34
37
|
interface Empty {
|
|
35
38
|
}
|
|
36
39
|
interface Entity {
|
|
37
40
|
/** Fields of the entity. The key is name of the field and the value contains the applicable `google.protobuf.Value` entry for this field. */
|
|
38
|
-
fields?:
|
|
41
|
+
fields?:
|
|
42
|
+
{ [P in string]: any };
|
|
39
43
|
/** Output only. Resource name of the Entity. Format: projects/{project}/locations/{location}/connections/{connection}/entityTypes/{type}/entities/{id} */
|
|
40
|
-
name?:
|
|
44
|
+
name?:
|
|
45
|
+
string;
|
|
41
46
|
}
|
|
42
47
|
interface EntityType {
|
|
43
48
|
/** List containing metadata information about each field of the entity type. */
|
|
44
|
-
fields?:
|
|
49
|
+
fields?:
|
|
50
|
+
Field[];
|
|
45
51
|
/** The name of the entity type. */
|
|
46
|
-
name?:
|
|
52
|
+
name?:
|
|
53
|
+
string;
|
|
47
54
|
}
|
|
48
55
|
interface ExecuteActionRequest {
|
|
49
56
|
/** Parameters for executing the action. The parameters can be key/value pairs or nested structs. */
|
|
50
|
-
parameters?:
|
|
57
|
+
parameters?:
|
|
58
|
+
{ [P in string]: any };
|
|
51
59
|
}
|
|
52
60
|
interface ExecuteActionResponse {
|
|
53
61
|
/**
|
|
@@ -55,180 +63,250 @@ declare namespace gapi.client {
|
|
|
55
63
|
* 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':
|
|
56
64
|
* [{'key': 'value'}, ...] }
|
|
57
65
|
*/
|
|
58
|
-
results?:
|
|
66
|
+
results?:
|
|
67
|
+
Array<{ [P in string]: any }>;
|
|
59
68
|
}
|
|
60
69
|
interface ExecuteSqlQueryRequest {
|
|
61
70
|
/** Required. SQL statement passed by clients like Integration Platform, the query is passed as-is to the driver used for interfacing with external systems. */
|
|
62
|
-
query?:
|
|
71
|
+
query?:
|
|
72
|
+
Query;
|
|
63
73
|
}
|
|
64
74
|
interface ExecuteSqlQueryResponse {
|
|
65
75
|
/**
|
|
66
76
|
* 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
|
|
67
77
|
* 'results' Struct list - "results": [ { "field1": "val1", "field2": "val2",.. },.. ] Each Struct row can contain fields any type of like nested Structs or lists.
|
|
68
78
|
*/
|
|
69
|
-
results?:
|
|
79
|
+
results?:
|
|
80
|
+
Array<{ [P in string]: any }>;
|
|
70
81
|
}
|
|
71
82
|
interface Field {
|
|
72
83
|
/** The following map contains fields that are not explicitly mentioned above,this give connectors the flexibility to add new metadata fields. */
|
|
73
|
-
additionalDetails?:
|
|
84
|
+
additionalDetails?:
|
|
85
|
+
{ [P in string]: any };
|
|
74
86
|
/** The data type of the Field. */
|
|
75
|
-
dataType?:
|
|
87
|
+
dataType?:
|
|
88
|
+
string;
|
|
76
89
|
/** The following field specifies the default value of the Field provided by the external system if a value is not provided. */
|
|
77
|
-
defaultValue?:
|
|
90
|
+
defaultValue?:
|
|
91
|
+
any;
|
|
78
92
|
/** A brief description of the Field. */
|
|
79
|
-
description?:
|
|
93
|
+
description?:
|
|
94
|
+
string;
|
|
80
95
|
/** The following boolean field specifies if the current Field acts as a primary key or id if the parent is of type entity. */
|
|
81
|
-
key?:
|
|
96
|
+
key?:
|
|
97
|
+
boolean;
|
|
82
98
|
/** Name of the Field. */
|
|
83
|
-
name?:
|
|
99
|
+
name?:
|
|
100
|
+
string;
|
|
84
101
|
/** Specifies whether a null value is allowed. */
|
|
85
|
-
nullable?:
|
|
102
|
+
nullable?:
|
|
103
|
+
boolean;
|
|
86
104
|
/** Reference captures the association between two different entity types. Value links to the reference of another entity type. */
|
|
87
|
-
reference?:
|
|
105
|
+
reference?:
|
|
106
|
+
Reference;
|
|
88
107
|
}
|
|
89
108
|
interface InputParameter {
|
|
90
109
|
/** The data type of the Parameter */
|
|
91
|
-
dataType?:
|
|
110
|
+
dataType?:
|
|
111
|
+
string;
|
|
92
112
|
/** The following field specifies the default value of the Parameter provided by the external system if a value is not provided. */
|
|
93
|
-
defaultValue?:
|
|
113
|
+
defaultValue?:
|
|
114
|
+
any;
|
|
94
115
|
/** A brief description of the Parameter. */
|
|
95
|
-
description?:
|
|
116
|
+
description?:
|
|
117
|
+
string;
|
|
96
118
|
/** Name of the Parameter. */
|
|
97
|
-
name?:
|
|
119
|
+
name?:
|
|
120
|
+
string;
|
|
98
121
|
/** Specifies whether a null value is allowed. */
|
|
99
|
-
nullable?:
|
|
122
|
+
nullable?:
|
|
123
|
+
boolean;
|
|
100
124
|
}
|
|
101
125
|
interface ListActionsResponse {
|
|
102
126
|
/** List of action metadata. */
|
|
103
|
-
actions?:
|
|
127
|
+
actions?:
|
|
128
|
+
Action[];
|
|
104
129
|
/** Next page token if more actions available. */
|
|
105
|
-
nextPageToken?:
|
|
130
|
+
nextPageToken?:
|
|
131
|
+
string;
|
|
106
132
|
/** List of actions which contain unsupported Datatypes. Check datatype.proto for more information. */
|
|
107
|
-
unsupportedActionNames?:
|
|
133
|
+
unsupportedActionNames?:
|
|
134
|
+
string[];
|
|
108
135
|
}
|
|
109
136
|
interface ListEntitiesResponse {
|
|
110
137
|
/** List containing entity rows. */
|
|
111
|
-
entities?:
|
|
138
|
+
entities?:
|
|
139
|
+
Entity[];
|
|
112
140
|
/** Next page token if more records are available. */
|
|
113
|
-
nextPageToken?:
|
|
141
|
+
nextPageToken?:
|
|
142
|
+
string;
|
|
114
143
|
}
|
|
115
144
|
interface ListEntityTypesResponse {
|
|
116
145
|
/** Next page token if more entity types available. */
|
|
117
|
-
nextPageToken?:
|
|
146
|
+
nextPageToken?:
|
|
147
|
+
string;
|
|
118
148
|
/** List of metadata related to all entity types. */
|
|
119
|
-
types?:
|
|
149
|
+
types?:
|
|
150
|
+
EntityType[];
|
|
120
151
|
/** List of entity type names which contain unsupported Datatypes. Check datatype.proto for more information. */
|
|
121
|
-
unsupportedTypeNames?:
|
|
152
|
+
unsupportedTypeNames?:
|
|
153
|
+
string[];
|
|
122
154
|
}
|
|
123
155
|
interface Query {
|
|
124
156
|
/** Required. Sql query to execute. */
|
|
125
|
-
query?:
|
|
157
|
+
query?:
|
|
158
|
+
string;
|
|
126
159
|
}
|
|
127
160
|
interface Reference {
|
|
128
161
|
/** Name of the reference field. */
|
|
129
|
-
name?:
|
|
162
|
+
name?:
|
|
163
|
+
string;
|
|
130
164
|
/** Name of reference entity type. */
|
|
131
|
-
type?:
|
|
165
|
+
type?:
|
|
166
|
+
string;
|
|
132
167
|
}
|
|
133
168
|
interface ResultMetadata {
|
|
134
169
|
/** The data type of the metadata field */
|
|
135
|
-
dataType?:
|
|
170
|
+
dataType?:
|
|
171
|
+
string;
|
|
136
172
|
/** A brief description of the metadata field. */
|
|
137
|
-
description?:
|
|
173
|
+
description?:
|
|
174
|
+
string;
|
|
138
175
|
/** Name of the metadata field. */
|
|
139
|
-
name?:
|
|
176
|
+
name?:
|
|
177
|
+
string;
|
|
140
178
|
}
|
|
141
179
|
interface UpdateEntitiesWithConditionsResponse {
|
|
142
180
|
/** Response returned by the external system. */
|
|
143
|
-
response?:
|
|
181
|
+
response?:
|
|
182
|
+
{ [P in string]: any };
|
|
144
183
|
}
|
|
145
184
|
interface ActionsResource {
|
|
146
185
|
/** Executes an action with the name specified in the request. The input parameters for executing the action are passed through the body of the ExecuteAction request. */
|
|
147
186
|
execute(request: {
|
|
148
187
|
/** V1 error format. */
|
|
149
|
-
"$.xgafv"?:
|
|
188
|
+
"$.xgafv"?:
|
|
189
|
+
string;
|
|
150
190
|
/** OAuth access token. */
|
|
151
|
-
access_token?:
|
|
191
|
+
access_token?:
|
|
192
|
+
string;
|
|
152
193
|
/** Data format for response. */
|
|
153
|
-
alt?:
|
|
194
|
+
alt?:
|
|
195
|
+
string;
|
|
154
196
|
/** JSONP */
|
|
155
|
-
callback?:
|
|
197
|
+
callback?:
|
|
198
|
+
string;
|
|
156
199
|
/** Selector specifying which fields to include in a partial response. */
|
|
157
|
-
fields?:
|
|
200
|
+
fields?:
|
|
201
|
+
string;
|
|
158
202
|
/** 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. */
|
|
159
|
-
key?:
|
|
203
|
+
key?:
|
|
204
|
+
string;
|
|
160
205
|
/** Required. Resource name of the Action. Format: projects/{project}/locations/{location}/connections/{connection}/actions/{action} */
|
|
161
|
-
name:
|
|
206
|
+
name:
|
|
207
|
+
string;
|
|
162
208
|
/** OAuth 2.0 token for the current user. */
|
|
163
|
-
oauth_token?:
|
|
209
|
+
oauth_token?:
|
|
210
|
+
string;
|
|
164
211
|
/** Returns response with indentations and line breaks. */
|
|
165
|
-
prettyPrint?:
|
|
212
|
+
prettyPrint?:
|
|
213
|
+
boolean;
|
|
166
214
|
/** 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. */
|
|
167
|
-
quotaUser?:
|
|
215
|
+
quotaUser?:
|
|
216
|
+
string;
|
|
168
217
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
169
|
-
upload_protocol?:
|
|
218
|
+
upload_protocol?:
|
|
219
|
+
string;
|
|
170
220
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
171
|
-
uploadType?:
|
|
221
|
+
uploadType?:
|
|
222
|
+
string;
|
|
172
223
|
/** Request body */
|
|
173
|
-
resource:
|
|
224
|
+
resource:
|
|
225
|
+
ExecuteActionRequest;
|
|
174
226
|
}): Request<ExecuteActionResponse>;
|
|
175
227
|
execute(request: {
|
|
176
228
|
/** V1 error format. */
|
|
177
|
-
"$.xgafv"?:
|
|
229
|
+
"$.xgafv"?:
|
|
230
|
+
string;
|
|
178
231
|
/** OAuth access token. */
|
|
179
|
-
access_token?:
|
|
232
|
+
access_token?:
|
|
233
|
+
string;
|
|
180
234
|
/** Data format for response. */
|
|
181
|
-
alt?:
|
|
235
|
+
alt?:
|
|
236
|
+
string;
|
|
182
237
|
/** JSONP */
|
|
183
|
-
callback?:
|
|
238
|
+
callback?:
|
|
239
|
+
string;
|
|
184
240
|
/** Selector specifying which fields to include in a partial response. */
|
|
185
|
-
fields?:
|
|
241
|
+
fields?:
|
|
242
|
+
string;
|
|
186
243
|
/** 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. */
|
|
187
|
-
key?:
|
|
244
|
+
key?:
|
|
245
|
+
string;
|
|
188
246
|
/** Required. Resource name of the Action. Format: projects/{project}/locations/{location}/connections/{connection}/actions/{action} */
|
|
189
|
-
name:
|
|
247
|
+
name:
|
|
248
|
+
string;
|
|
190
249
|
/** OAuth 2.0 token for the current user. */
|
|
191
|
-
oauth_token?:
|
|
250
|
+
oauth_token?:
|
|
251
|
+
string;
|
|
192
252
|
/** Returns response with indentations and line breaks. */
|
|
193
|
-
prettyPrint?:
|
|
253
|
+
prettyPrint?:
|
|
254
|
+
boolean;
|
|
194
255
|
/** 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. */
|
|
195
|
-
quotaUser?:
|
|
256
|
+
quotaUser?:
|
|
257
|
+
string;
|
|
196
258
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
197
|
-
upload_protocol?:
|
|
259
|
+
upload_protocol?:
|
|
260
|
+
string;
|
|
198
261
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
199
|
-
uploadType?:
|
|
262
|
+
uploadType?:
|
|
263
|
+
string;
|
|
200
264
|
},
|
|
201
265
|
body: ExecuteActionRequest): Request<ExecuteActionResponse>;
|
|
202
266
|
/** Gets the schema of all the actions supported by the connector. */
|
|
203
267
|
list(request?: {
|
|
204
268
|
/** V1 error format. */
|
|
205
|
-
"$.xgafv"?:
|
|
269
|
+
"$.xgafv"?:
|
|
270
|
+
string;
|
|
206
271
|
/** OAuth access token. */
|
|
207
|
-
access_token?:
|
|
272
|
+
access_token?:
|
|
273
|
+
string;
|
|
208
274
|
/** Data format for response. */
|
|
209
|
-
alt?:
|
|
275
|
+
alt?:
|
|
276
|
+
string;
|
|
210
277
|
/** JSONP */
|
|
211
|
-
callback?:
|
|
278
|
+
callback?:
|
|
279
|
+
string;
|
|
212
280
|
/** Selector specifying which fields to include in a partial response. */
|
|
213
|
-
fields?:
|
|
281
|
+
fields?:
|
|
282
|
+
string;
|
|
214
283
|
/** 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. */
|
|
215
|
-
key?:
|
|
284
|
+
key?:
|
|
285
|
+
string;
|
|
216
286
|
/** OAuth 2.0 token for the current user. */
|
|
217
|
-
oauth_token?:
|
|
287
|
+
oauth_token?:
|
|
288
|
+
string;
|
|
218
289
|
/** Number of Actions to return. Defaults to 25. */
|
|
219
|
-
pageSize?:
|
|
290
|
+
pageSize?:
|
|
291
|
+
number;
|
|
220
292
|
/** Page token, return from a previous ListActions call, that can be used retrieve the next page of content. If unspecified, the request returns the first page of actions. */
|
|
221
|
-
pageToken?:
|
|
293
|
+
pageToken?:
|
|
294
|
+
string;
|
|
222
295
|
/** Required. Parent resource name of the Action. Format: projects/{project}/locations/{location}/connections/{connection} */
|
|
223
|
-
parent:
|
|
296
|
+
parent:
|
|
297
|
+
string;
|
|
224
298
|
/** Returns response with indentations and line breaks. */
|
|
225
|
-
prettyPrint?:
|
|
299
|
+
prettyPrint?:
|
|
300
|
+
boolean;
|
|
226
301
|
/** 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. */
|
|
227
|
-
quotaUser?:
|
|
302
|
+
quotaUser?:
|
|
303
|
+
string;
|
|
228
304
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
229
|
-
upload_protocol?:
|
|
305
|
+
upload_protocol?:
|
|
306
|
+
string;
|
|
230
307
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
231
|
-
uploadType?:
|
|
308
|
+
uploadType?:
|
|
309
|
+
string;
|
|
232
310
|
}): Request<ListActionsResponse>;
|
|
233
311
|
}
|
|
234
312
|
interface EntitiesResource {
|
|
@@ -238,145 +316,207 @@ declare namespace gapi.client {
|
|
|
238
316
|
*/
|
|
239
317
|
create(request: {
|
|
240
318
|
/** V1 error format. */
|
|
241
|
-
"$.xgafv"?:
|
|
319
|
+
"$.xgafv"?:
|
|
320
|
+
string;
|
|
242
321
|
/** OAuth access token. */
|
|
243
|
-
access_token?:
|
|
322
|
+
access_token?:
|
|
323
|
+
string;
|
|
244
324
|
/** Data format for response. */
|
|
245
|
-
alt?:
|
|
325
|
+
alt?:
|
|
326
|
+
string;
|
|
246
327
|
/** JSONP */
|
|
247
|
-
callback?:
|
|
328
|
+
callback?:
|
|
329
|
+
string;
|
|
248
330
|
/** Selector specifying which fields to include in a partial response. */
|
|
249
|
-
fields?:
|
|
331
|
+
fields?:
|
|
332
|
+
string;
|
|
250
333
|
/** 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. */
|
|
251
|
-
key?:
|
|
334
|
+
key?:
|
|
335
|
+
string;
|
|
252
336
|
/** OAuth 2.0 token for the current user. */
|
|
253
|
-
oauth_token?:
|
|
337
|
+
oauth_token?:
|
|
338
|
+
string;
|
|
254
339
|
/** Required. Resource name of the Entity Type. Format: projects/{project}/locations/{location}/connections/{connection}/entityTypes/{type} */
|
|
255
|
-
parent:
|
|
340
|
+
parent:
|
|
341
|
+
string;
|
|
256
342
|
/** Returns response with indentations and line breaks. */
|
|
257
|
-
prettyPrint?:
|
|
343
|
+
prettyPrint?:
|
|
344
|
+
boolean;
|
|
258
345
|
/** 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. */
|
|
259
|
-
quotaUser?:
|
|
346
|
+
quotaUser?:
|
|
347
|
+
string;
|
|
260
348
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
261
|
-
upload_protocol?:
|
|
349
|
+
upload_protocol?:
|
|
350
|
+
string;
|
|
262
351
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
263
|
-
uploadType?:
|
|
352
|
+
uploadType?:
|
|
353
|
+
string;
|
|
264
354
|
/** Request body */
|
|
265
|
-
resource:
|
|
355
|
+
resource:
|
|
356
|
+
Entity;
|
|
266
357
|
}): Request<Entity>;
|
|
267
358
|
create(request: {
|
|
268
359
|
/** V1 error format. */
|
|
269
|
-
"$.xgafv"?:
|
|
360
|
+
"$.xgafv"?:
|
|
361
|
+
string;
|
|
270
362
|
/** OAuth access token. */
|
|
271
|
-
access_token?:
|
|
363
|
+
access_token?:
|
|
364
|
+
string;
|
|
272
365
|
/** Data format for response. */
|
|
273
|
-
alt?:
|
|
366
|
+
alt?:
|
|
367
|
+
string;
|
|
274
368
|
/** JSONP */
|
|
275
|
-
callback?:
|
|
369
|
+
callback?:
|
|
370
|
+
string;
|
|
276
371
|
/** Selector specifying which fields to include in a partial response. */
|
|
277
|
-
fields?:
|
|
372
|
+
fields?:
|
|
373
|
+
string;
|
|
278
374
|
/** 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. */
|
|
279
|
-
key?:
|
|
375
|
+
key?:
|
|
376
|
+
string;
|
|
280
377
|
/** OAuth 2.0 token for the current user. */
|
|
281
|
-
oauth_token?:
|
|
378
|
+
oauth_token?:
|
|
379
|
+
string;
|
|
282
380
|
/** Required. Resource name of the Entity Type. Format: projects/{project}/locations/{location}/connections/{connection}/entityTypes/{type} */
|
|
283
|
-
parent:
|
|
381
|
+
parent:
|
|
382
|
+
string;
|
|
284
383
|
/** Returns response with indentations and line breaks. */
|
|
285
|
-
prettyPrint?:
|
|
384
|
+
prettyPrint?:
|
|
385
|
+
boolean;
|
|
286
386
|
/** 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. */
|
|
287
|
-
quotaUser?:
|
|
387
|
+
quotaUser?:
|
|
388
|
+
string;
|
|
288
389
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
289
|
-
upload_protocol?:
|
|
390
|
+
upload_protocol?:
|
|
391
|
+
string;
|
|
290
392
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
291
|
-
uploadType?:
|
|
393
|
+
uploadType?:
|
|
394
|
+
string;
|
|
292
395
|
},
|
|
293
396
|
body: Entity): Request<Entity>;
|
|
294
397
|
/** Deletes an existing entity row matching the entity type and entity id specified in the request. */
|
|
295
398
|
delete(request?: {
|
|
296
399
|
/** V1 error format. */
|
|
297
|
-
"$.xgafv"?:
|
|
400
|
+
"$.xgafv"?:
|
|
401
|
+
string;
|
|
298
402
|
/** OAuth access token. */
|
|
299
|
-
access_token?:
|
|
403
|
+
access_token?:
|
|
404
|
+
string;
|
|
300
405
|
/** Data format for response. */
|
|
301
|
-
alt?:
|
|
406
|
+
alt?:
|
|
407
|
+
string;
|
|
302
408
|
/** JSONP */
|
|
303
|
-
callback?:
|
|
409
|
+
callback?:
|
|
410
|
+
string;
|
|
304
411
|
/** Selector specifying which fields to include in a partial response. */
|
|
305
|
-
fields?:
|
|
412
|
+
fields?:
|
|
413
|
+
string;
|
|
306
414
|
/** 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. */
|
|
307
|
-
key?:
|
|
415
|
+
key?:
|
|
416
|
+
string;
|
|
308
417
|
/** Required. Resource name of the Entity Type. Format: projects/{project}/locations/{location}/connections/{connection}/entityTypes/{type}/entities/{id} */
|
|
309
|
-
name:
|
|
418
|
+
name:
|
|
419
|
+
string;
|
|
310
420
|
/** OAuth 2.0 token for the current user. */
|
|
311
|
-
oauth_token?:
|
|
421
|
+
oauth_token?:
|
|
422
|
+
string;
|
|
312
423
|
/** Returns response with indentations and line breaks. */
|
|
313
|
-
prettyPrint?:
|
|
424
|
+
prettyPrint?:
|
|
425
|
+
boolean;
|
|
314
426
|
/** 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. */
|
|
315
|
-
quotaUser?:
|
|
427
|
+
quotaUser?:
|
|
428
|
+
string;
|
|
316
429
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
317
|
-
upload_protocol?:
|
|
430
|
+
upload_protocol?:
|
|
431
|
+
string;
|
|
318
432
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
319
|
-
uploadType?:
|
|
433
|
+
uploadType?:
|
|
434
|
+
string;
|
|
320
435
|
}): Request<{}>;
|
|
321
436
|
/** Deletes entities based on conditions specified in the request and not on entity id. */
|
|
322
437
|
deleteEntitiesWithConditions(request?: {
|
|
323
438
|
/** V1 error format. */
|
|
324
|
-
"$.xgafv"?:
|
|
439
|
+
"$.xgafv"?:
|
|
440
|
+
string;
|
|
325
441
|
/** OAuth access token. */
|
|
326
|
-
access_token?:
|
|
442
|
+
access_token?:
|
|
443
|
+
string;
|
|
327
444
|
/** Data format for response. */
|
|
328
|
-
alt?:
|
|
445
|
+
alt?:
|
|
446
|
+
string;
|
|
329
447
|
/** JSONP */
|
|
330
|
-
callback?:
|
|
448
|
+
callback?:
|
|
449
|
+
string;
|
|
331
450
|
/**
|
|
332
451
|
* Required. Conditions to be used when deleting entities. From a proto standpoint, There are no restrictions on what can be passed using this field. The connector documentation
|
|
333
452
|
* should have information about what format of filters/conditions are supported. Note: If this conditions field is left empty, an exception is thrown. We don't want to consider
|
|
334
453
|
* 'empty conditions' to be a match-all case. Connector developers can determine and document what a match-all case constraint would be.
|
|
335
454
|
*/
|
|
336
|
-
conditions?:
|
|
455
|
+
conditions?:
|
|
456
|
+
string;
|
|
337
457
|
/** Required. Resource name of the Entity Type. Format: projects/{project}/locations/{location}/connections/{connection}/entityTypes/{type} */
|
|
338
|
-
entityType:
|
|
458
|
+
entityType:
|
|
459
|
+
string;
|
|
339
460
|
/** Selector specifying which fields to include in a partial response. */
|
|
340
|
-
fields?:
|
|
461
|
+
fields?:
|
|
462
|
+
string;
|
|
341
463
|
/** 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. */
|
|
342
|
-
key?:
|
|
464
|
+
key?:
|
|
465
|
+
string;
|
|
343
466
|
/** OAuth 2.0 token for the current user. */
|
|
344
|
-
oauth_token?:
|
|
467
|
+
oauth_token?:
|
|
468
|
+
string;
|
|
345
469
|
/** Returns response with indentations and line breaks. */
|
|
346
|
-
prettyPrint?:
|
|
470
|
+
prettyPrint?:
|
|
471
|
+
boolean;
|
|
347
472
|
/** 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. */
|
|
348
|
-
quotaUser?:
|
|
473
|
+
quotaUser?:
|
|
474
|
+
string;
|
|
349
475
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
350
|
-
upload_protocol?:
|
|
476
|
+
upload_protocol?:
|
|
477
|
+
string;
|
|
351
478
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
352
|
-
uploadType?:
|
|
479
|
+
uploadType?:
|
|
480
|
+
string;
|
|
353
481
|
}): Request<{}>;
|
|
354
482
|
/** Gets a single entity row matching the entity type and entity id specified in the request. */
|
|
355
483
|
get(request?: {
|
|
356
484
|
/** V1 error format. */
|
|
357
|
-
"$.xgafv"?:
|
|
485
|
+
"$.xgafv"?:
|
|
486
|
+
string;
|
|
358
487
|
/** OAuth access token. */
|
|
359
|
-
access_token?:
|
|
488
|
+
access_token?:
|
|
489
|
+
string;
|
|
360
490
|
/** Data format for response. */
|
|
361
|
-
alt?:
|
|
491
|
+
alt?:
|
|
492
|
+
string;
|
|
362
493
|
/** JSONP */
|
|
363
|
-
callback?:
|
|
494
|
+
callback?:
|
|
495
|
+
string;
|
|
364
496
|
/** Selector specifying which fields to include in a partial response. */
|
|
365
|
-
fields?:
|
|
497
|
+
fields?:
|
|
498
|
+
string;
|
|
366
499
|
/** 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. */
|
|
367
|
-
key?:
|
|
500
|
+
key?:
|
|
501
|
+
string;
|
|
368
502
|
/** Required. Resource name of the Entity Type. Format: projects/{project}/locations/{location}/connections/{connection}/entityTypes/{type}/entities/{id} */
|
|
369
|
-
name:
|
|
503
|
+
name:
|
|
504
|
+
string;
|
|
370
505
|
/** OAuth 2.0 token for the current user. */
|
|
371
|
-
oauth_token?:
|
|
506
|
+
oauth_token?:
|
|
507
|
+
string;
|
|
372
508
|
/** Returns response with indentations and line breaks. */
|
|
373
|
-
prettyPrint?:
|
|
509
|
+
prettyPrint?:
|
|
510
|
+
boolean;
|
|
374
511
|
/** 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. */
|
|
375
|
-
quotaUser?:
|
|
512
|
+
quotaUser?:
|
|
513
|
+
string;
|
|
376
514
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
377
|
-
upload_protocol?:
|
|
515
|
+
upload_protocol?:
|
|
516
|
+
string;
|
|
378
517
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
379
|
-
uploadType?:
|
|
518
|
+
uploadType?:
|
|
519
|
+
string;
|
|
380
520
|
}): Request<Entity>;
|
|
381
521
|
/**
|
|
382
522
|
* Lists entity rows of a particular entity type contained in the request. Note: 1. Currently, only max of one 'sort_by' column is supported. 2. If no 'sort_by' column is provided, the
|
|
@@ -386,40 +526,56 @@ declare namespace gapi.client {
|
|
|
386
526
|
*/
|
|
387
527
|
list(request?: {
|
|
388
528
|
/** V1 error format. */
|
|
389
|
-
"$.xgafv"?:
|
|
529
|
+
"$.xgafv"?:
|
|
530
|
+
string;
|
|
390
531
|
/** OAuth access token. */
|
|
391
|
-
access_token?:
|
|
532
|
+
access_token?:
|
|
533
|
+
string;
|
|
392
534
|
/** Data format for response. */
|
|
393
|
-
alt?:
|
|
535
|
+
alt?:
|
|
536
|
+
string;
|
|
394
537
|
/** JSONP */
|
|
395
|
-
callback?:
|
|
538
|
+
callback?:
|
|
539
|
+
string;
|
|
396
540
|
/**
|
|
397
541
|
* Conditions to be used when listing entities. From a proto standpoint, There are no restrictions on what can be passed using this field. The connector documentation should have
|
|
398
542
|
* information about what format of filters/conditions are supported.
|
|
399
543
|
*/
|
|
400
|
-
conditions?:
|
|
544
|
+
conditions?:
|
|
545
|
+
string;
|
|
401
546
|
/** Selector specifying which fields to include in a partial response. */
|
|
402
|
-
fields?:
|
|
547
|
+
fields?:
|
|
548
|
+
string;
|
|
403
549
|
/** 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. */
|
|
404
|
-
key?:
|
|
550
|
+
key?:
|
|
551
|
+
string;
|
|
405
552
|
/** OAuth 2.0 token for the current user. */
|
|
406
|
-
oauth_token?:
|
|
553
|
+
oauth_token?:
|
|
554
|
+
string;
|
|
407
555
|
/** Number of entity rows to return. Defaults page size = 25. Max page size = 200. */
|
|
408
|
-
pageSize?:
|
|
556
|
+
pageSize?:
|
|
557
|
+
number;
|
|
409
558
|
/** Page token value if available from a previous request. */
|
|
410
|
-
pageToken?:
|
|
559
|
+
pageToken?:
|
|
560
|
+
string;
|
|
411
561
|
/** Required. Resource name of the Entity Type. Format: projects/{project}/locations/{location}/connections/{connection}/entityTypes/{type} */
|
|
412
|
-
parent:
|
|
562
|
+
parent:
|
|
563
|
+
string;
|
|
413
564
|
/** Returns response with indentations and line breaks. */
|
|
414
|
-
prettyPrint?:
|
|
565
|
+
prettyPrint?:
|
|
566
|
+
boolean;
|
|
415
567
|
/** 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. */
|
|
416
|
-
quotaUser?:
|
|
568
|
+
quotaUser?:
|
|
569
|
+
string;
|
|
417
570
|
/** List of 'sort_by' columns to use when returning the results. */
|
|
418
|
-
sortBy?:
|
|
571
|
+
sortBy?:
|
|
572
|
+
string | string[];
|
|
419
573
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
420
|
-
upload_protocol?:
|
|
574
|
+
upload_protocol?:
|
|
575
|
+
string;
|
|
421
576
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
422
|
-
uploadType?:
|
|
577
|
+
uploadType?:
|
|
578
|
+
string;
|
|
423
579
|
}): Request<ListEntitiesResponse>;
|
|
424
580
|
/**
|
|
425
581
|
* Updates an existing entity row matching the entity type and entity id specified in the request. The fields in the entity row that need to be modified are contained in the body of
|
|
@@ -427,125 +583,177 @@ declare namespace gapi.client {
|
|
|
427
583
|
*/
|
|
428
584
|
patch(request: {
|
|
429
585
|
/** V1 error format. */
|
|
430
|
-
"$.xgafv"?:
|
|
586
|
+
"$.xgafv"?:
|
|
587
|
+
string;
|
|
431
588
|
/** OAuth access token. */
|
|
432
|
-
access_token?:
|
|
589
|
+
access_token?:
|
|
590
|
+
string;
|
|
433
591
|
/** Data format for response. */
|
|
434
|
-
alt?:
|
|
592
|
+
alt?:
|
|
593
|
+
string;
|
|
435
594
|
/** JSONP */
|
|
436
|
-
callback?:
|
|
595
|
+
callback?:
|
|
596
|
+
string;
|
|
437
597
|
/** Selector specifying which fields to include in a partial response. */
|
|
438
|
-
fields?:
|
|
598
|
+
fields?:
|
|
599
|
+
string;
|
|
439
600
|
/** 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. */
|
|
440
|
-
key?:
|
|
601
|
+
key?:
|
|
602
|
+
string;
|
|
441
603
|
/** Output only. Resource name of the Entity. Format: projects/{project}/locations/{location}/connections/{connection}/entityTypes/{type}/entities/{id} */
|
|
442
|
-
name:
|
|
604
|
+
name:
|
|
605
|
+
string;
|
|
443
606
|
/** OAuth 2.0 token for the current user. */
|
|
444
|
-
oauth_token?:
|
|
607
|
+
oauth_token?:
|
|
608
|
+
string;
|
|
445
609
|
/** Returns response with indentations and line breaks. */
|
|
446
|
-
prettyPrint?:
|
|
610
|
+
prettyPrint?:
|
|
611
|
+
boolean;
|
|
447
612
|
/** 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. */
|
|
448
|
-
quotaUser?:
|
|
613
|
+
quotaUser?:
|
|
614
|
+
string;
|
|
449
615
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
450
|
-
upload_protocol?:
|
|
616
|
+
upload_protocol?:
|
|
617
|
+
string;
|
|
451
618
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
452
|
-
uploadType?:
|
|
619
|
+
uploadType?:
|
|
620
|
+
string;
|
|
453
621
|
/** Request body */
|
|
454
|
-
resource:
|
|
622
|
+
resource:
|
|
623
|
+
Entity;
|
|
455
624
|
}): Request<Entity>;
|
|
456
625
|
patch(request: {
|
|
457
626
|
/** V1 error format. */
|
|
458
|
-
"$.xgafv"?:
|
|
627
|
+
"$.xgafv"?:
|
|
628
|
+
string;
|
|
459
629
|
/** OAuth access token. */
|
|
460
|
-
access_token?:
|
|
630
|
+
access_token?:
|
|
631
|
+
string;
|
|
461
632
|
/** Data format for response. */
|
|
462
|
-
alt?:
|
|
633
|
+
alt?:
|
|
634
|
+
string;
|
|
463
635
|
/** JSONP */
|
|
464
|
-
callback?:
|
|
636
|
+
callback?:
|
|
637
|
+
string;
|
|
465
638
|
/** Selector specifying which fields to include in a partial response. */
|
|
466
|
-
fields?:
|
|
639
|
+
fields?:
|
|
640
|
+
string;
|
|
467
641
|
/** 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. */
|
|
468
|
-
key?:
|
|
642
|
+
key?:
|
|
643
|
+
string;
|
|
469
644
|
/** Output only. Resource name of the Entity. Format: projects/{project}/locations/{location}/connections/{connection}/entityTypes/{type}/entities/{id} */
|
|
470
|
-
name:
|
|
645
|
+
name:
|
|
646
|
+
string;
|
|
471
647
|
/** OAuth 2.0 token for the current user. */
|
|
472
|
-
oauth_token?:
|
|
648
|
+
oauth_token?:
|
|
649
|
+
string;
|
|
473
650
|
/** Returns response with indentations and line breaks. */
|
|
474
|
-
prettyPrint?:
|
|
651
|
+
prettyPrint?:
|
|
652
|
+
boolean;
|
|
475
653
|
/** 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. */
|
|
476
|
-
quotaUser?:
|
|
654
|
+
quotaUser?:
|
|
655
|
+
string;
|
|
477
656
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
478
|
-
upload_protocol?:
|
|
657
|
+
upload_protocol?:
|
|
658
|
+
string;
|
|
479
659
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
480
|
-
uploadType?:
|
|
660
|
+
uploadType?:
|
|
661
|
+
string;
|
|
481
662
|
},
|
|
482
663
|
body: Entity): Request<Entity>;
|
|
483
664
|
/** Updates entities based on conditions specified in the request and not on entity id. */
|
|
484
665
|
updateEntitiesWithConditions(request: {
|
|
485
666
|
/** V1 error format. */
|
|
486
|
-
"$.xgafv"?:
|
|
667
|
+
"$.xgafv"?:
|
|
668
|
+
string;
|
|
487
669
|
/** OAuth access token. */
|
|
488
|
-
access_token?:
|
|
670
|
+
access_token?:
|
|
671
|
+
string;
|
|
489
672
|
/** Data format for response. */
|
|
490
|
-
alt?:
|
|
673
|
+
alt?:
|
|
674
|
+
string;
|
|
491
675
|
/** JSONP */
|
|
492
|
-
callback?:
|
|
676
|
+
callback?:
|
|
677
|
+
string;
|
|
493
678
|
/**
|
|
494
679
|
* Required. Conditions to be used when updating entities. From a proto standpoint, There are no restrictions on what can be passed using this field. The connector documentation
|
|
495
680
|
* should have information about what format of filters/conditions are supported. Note: If this conditions field is left empty, an exception is thrown. We don't want to consider
|
|
496
681
|
* 'empty conditions' to be a match-all case. Connector developers can determine and document what a match-all case constraint would be.
|
|
497
682
|
*/
|
|
498
|
-
conditions?:
|
|
683
|
+
conditions?:
|
|
684
|
+
string;
|
|
499
685
|
/** Required. Resource name of the Entity Type. Format: projects/{project}/locations/{location}/connections/{connection}/entityTypes/{type} */
|
|
500
|
-
entityType:
|
|
686
|
+
entityType:
|
|
687
|
+
string;
|
|
501
688
|
/** Selector specifying which fields to include in a partial response. */
|
|
502
|
-
fields?:
|
|
689
|
+
fields?:
|
|
690
|
+
string;
|
|
503
691
|
/** 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. */
|
|
504
|
-
key?:
|
|
692
|
+
key?:
|
|
693
|
+
string;
|
|
505
694
|
/** OAuth 2.0 token for the current user. */
|
|
506
|
-
oauth_token?:
|
|
695
|
+
oauth_token?:
|
|
696
|
+
string;
|
|
507
697
|
/** Returns response with indentations and line breaks. */
|
|
508
|
-
prettyPrint?:
|
|
698
|
+
prettyPrint?:
|
|
699
|
+
boolean;
|
|
509
700
|
/** 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. */
|
|
510
|
-
quotaUser?:
|
|
701
|
+
quotaUser?:
|
|
702
|
+
string;
|
|
511
703
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
512
|
-
upload_protocol?:
|
|
704
|
+
upload_protocol?:
|
|
705
|
+
string;
|
|
513
706
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
514
|
-
uploadType?:
|
|
707
|
+
uploadType?:
|
|
708
|
+
string;
|
|
515
709
|
/** Request body */
|
|
516
|
-
resource:
|
|
710
|
+
resource:
|
|
711
|
+
Entity;
|
|
517
712
|
}): Request<UpdateEntitiesWithConditionsResponse>;
|
|
518
713
|
updateEntitiesWithConditions(request: {
|
|
519
714
|
/** V1 error format. */
|
|
520
|
-
"$.xgafv"?:
|
|
715
|
+
"$.xgafv"?:
|
|
716
|
+
string;
|
|
521
717
|
/** OAuth access token. */
|
|
522
|
-
access_token?:
|
|
718
|
+
access_token?:
|
|
719
|
+
string;
|
|
523
720
|
/** Data format for response. */
|
|
524
|
-
alt?:
|
|
721
|
+
alt?:
|
|
722
|
+
string;
|
|
525
723
|
/** JSONP */
|
|
526
|
-
callback?:
|
|
724
|
+
callback?:
|
|
725
|
+
string;
|
|
527
726
|
/**
|
|
528
727
|
* Required. Conditions to be used when updating entities. From a proto standpoint, There are no restrictions on what can be passed using this field. The connector documentation
|
|
529
728
|
* should have information about what format of filters/conditions are supported. Note: If this conditions field is left empty, an exception is thrown. We don't want to consider
|
|
530
729
|
* 'empty conditions' to be a match-all case. Connector developers can determine and document what a match-all case constraint would be.
|
|
531
730
|
*/
|
|
532
|
-
conditions?:
|
|
731
|
+
conditions?:
|
|
732
|
+
string;
|
|
533
733
|
/** Required. Resource name of the Entity Type. Format: projects/{project}/locations/{location}/connections/{connection}/entityTypes/{type} */
|
|
534
|
-
entityType:
|
|
734
|
+
entityType:
|
|
735
|
+
string;
|
|
535
736
|
/** Selector specifying which fields to include in a partial response. */
|
|
536
|
-
fields?:
|
|
737
|
+
fields?:
|
|
738
|
+
string;
|
|
537
739
|
/** 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. */
|
|
538
|
-
key?:
|
|
740
|
+
key?:
|
|
741
|
+
string;
|
|
539
742
|
/** OAuth 2.0 token for the current user. */
|
|
540
|
-
oauth_token?:
|
|
743
|
+
oauth_token?:
|
|
744
|
+
string;
|
|
541
745
|
/** Returns response with indentations and line breaks. */
|
|
542
|
-
prettyPrint?:
|
|
746
|
+
prettyPrint?:
|
|
747
|
+
boolean;
|
|
543
748
|
/** 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. */
|
|
544
|
-
quotaUser?:
|
|
749
|
+
quotaUser?:
|
|
750
|
+
string;
|
|
545
751
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
546
|
-
upload_protocol?:
|
|
752
|
+
upload_protocol?:
|
|
753
|
+
string;
|
|
547
754
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
548
|
-
uploadType?:
|
|
755
|
+
uploadType?:
|
|
756
|
+
string;
|
|
549
757
|
},
|
|
550
758
|
body: Entity): Request<UpdateEntitiesWithConditionsResponse>;
|
|
551
759
|
}
|
|
@@ -553,35 +761,50 @@ declare namespace gapi.client {
|
|
|
553
761
|
/** Lists metadata related to all entity types present in the external system. */
|
|
554
762
|
list(request?: {
|
|
555
763
|
/** V1 error format. */
|
|
556
|
-
"$.xgafv"?:
|
|
764
|
+
"$.xgafv"?:
|
|
765
|
+
string;
|
|
557
766
|
/** OAuth access token. */
|
|
558
|
-
access_token?:
|
|
767
|
+
access_token?:
|
|
768
|
+
string;
|
|
559
769
|
/** Data format for response. */
|
|
560
|
-
alt?:
|
|
770
|
+
alt?:
|
|
771
|
+
string;
|
|
561
772
|
/** JSONP */
|
|
562
|
-
callback?:
|
|
773
|
+
callback?:
|
|
774
|
+
string;
|
|
563
775
|
/** Selector specifying which fields to include in a partial response. */
|
|
564
|
-
fields?:
|
|
776
|
+
fields?:
|
|
777
|
+
string;
|
|
565
778
|
/** 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. */
|
|
566
|
-
key?:
|
|
779
|
+
key?:
|
|
780
|
+
string;
|
|
567
781
|
/** OAuth 2.0 token for the current user. */
|
|
568
|
-
oauth_token?:
|
|
782
|
+
oauth_token?:
|
|
783
|
+
string;
|
|
569
784
|
/** Number of entity types to return. Defaults to 25. */
|
|
570
|
-
pageSize?:
|
|
785
|
+
pageSize?:
|
|
786
|
+
number;
|
|
571
787
|
/** Page token, return from a previous ListEntityTypes call, that can be used retrieve the next page of content. If unspecified, the request returns the first page of entity types. */
|
|
572
|
-
pageToken?:
|
|
788
|
+
pageToken?:
|
|
789
|
+
string;
|
|
573
790
|
/** Required. Resource name of the Entity Type. Format: projects/{project}/locations/{location}/connections/{connection} */
|
|
574
|
-
parent:
|
|
791
|
+
parent:
|
|
792
|
+
string;
|
|
575
793
|
/** Returns response with indentations and line breaks. */
|
|
576
|
-
prettyPrint?:
|
|
794
|
+
prettyPrint?:
|
|
795
|
+
boolean;
|
|
577
796
|
/** 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. */
|
|
578
|
-
quotaUser?:
|
|
797
|
+
quotaUser?:
|
|
798
|
+
string;
|
|
579
799
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
580
|
-
upload_protocol?:
|
|
800
|
+
upload_protocol?:
|
|
801
|
+
string;
|
|
581
802
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
582
|
-
uploadType?:
|
|
803
|
+
uploadType?:
|
|
804
|
+
string;
|
|
583
805
|
}): Request<ListEntityTypesResponse>;
|
|
584
|
-
entities:
|
|
806
|
+
entities:
|
|
807
|
+
EntitiesResource;
|
|
585
808
|
}
|
|
586
809
|
interface ConnectionsResource {
|
|
587
810
|
/**
|
|
@@ -590,67 +813,96 @@ declare namespace gapi.client {
|
|
|
590
813
|
*/
|
|
591
814
|
executeSqlQuery(request: {
|
|
592
815
|
/** V1 error format. */
|
|
593
|
-
"$.xgafv"?:
|
|
816
|
+
"$.xgafv"?:
|
|
817
|
+
string;
|
|
594
818
|
/** OAuth access token. */
|
|
595
|
-
access_token?:
|
|
819
|
+
access_token?:
|
|
820
|
+
string;
|
|
596
821
|
/** Data format for response. */
|
|
597
|
-
alt?:
|
|
822
|
+
alt?:
|
|
823
|
+
string;
|
|
598
824
|
/** JSONP */
|
|
599
|
-
callback?:
|
|
825
|
+
callback?:
|
|
826
|
+
string;
|
|
600
827
|
/** Required. Resource name of the Connection. Format: projects/{project}/locations/{location}/connections/{connection} */
|
|
601
|
-
connection:
|
|
828
|
+
connection:
|
|
829
|
+
string;
|
|
602
830
|
/** Selector specifying which fields to include in a partial response. */
|
|
603
|
-
fields?:
|
|
831
|
+
fields?:
|
|
832
|
+
string;
|
|
604
833
|
/** 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. */
|
|
605
|
-
key?:
|
|
834
|
+
key?:
|
|
835
|
+
string;
|
|
606
836
|
/** OAuth 2.0 token for the current user. */
|
|
607
|
-
oauth_token?:
|
|
837
|
+
oauth_token?:
|
|
838
|
+
string;
|
|
608
839
|
/** Returns response with indentations and line breaks. */
|
|
609
|
-
prettyPrint?:
|
|
840
|
+
prettyPrint?:
|
|
841
|
+
boolean;
|
|
610
842
|
/** 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. */
|
|
611
|
-
quotaUser?:
|
|
843
|
+
quotaUser?:
|
|
844
|
+
string;
|
|
612
845
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
613
|
-
upload_protocol?:
|
|
846
|
+
upload_protocol?:
|
|
847
|
+
string;
|
|
614
848
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
615
|
-
uploadType?:
|
|
849
|
+
uploadType?:
|
|
850
|
+
string;
|
|
616
851
|
/** Request body */
|
|
617
|
-
resource:
|
|
852
|
+
resource:
|
|
853
|
+
ExecuteSqlQueryRequest;
|
|
618
854
|
}): Request<ExecuteSqlQueryResponse>;
|
|
619
855
|
executeSqlQuery(request: {
|
|
620
856
|
/** V1 error format. */
|
|
621
|
-
"$.xgafv"?:
|
|
857
|
+
"$.xgafv"?:
|
|
858
|
+
string;
|
|
622
859
|
/** OAuth access token. */
|
|
623
|
-
access_token?:
|
|
860
|
+
access_token?:
|
|
861
|
+
string;
|
|
624
862
|
/** Data format for response. */
|
|
625
|
-
alt?:
|
|
863
|
+
alt?:
|
|
864
|
+
string;
|
|
626
865
|
/** JSONP */
|
|
627
|
-
callback?:
|
|
866
|
+
callback?:
|
|
867
|
+
string;
|
|
628
868
|
/** Required. Resource name of the Connection. Format: projects/{project}/locations/{location}/connections/{connection} */
|
|
629
|
-
connection:
|
|
869
|
+
connection:
|
|
870
|
+
string;
|
|
630
871
|
/** Selector specifying which fields to include in a partial response. */
|
|
631
|
-
fields?:
|
|
872
|
+
fields?:
|
|
873
|
+
string;
|
|
632
874
|
/** 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. */
|
|
633
|
-
key?:
|
|
875
|
+
key?:
|
|
876
|
+
string;
|
|
634
877
|
/** OAuth 2.0 token for the current user. */
|
|
635
|
-
oauth_token?:
|
|
878
|
+
oauth_token?:
|
|
879
|
+
string;
|
|
636
880
|
/** Returns response with indentations and line breaks. */
|
|
637
|
-
prettyPrint?:
|
|
881
|
+
prettyPrint?:
|
|
882
|
+
boolean;
|
|
638
883
|
/** 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. */
|
|
639
|
-
quotaUser?:
|
|
884
|
+
quotaUser?:
|
|
885
|
+
string;
|
|
640
886
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
641
|
-
upload_protocol?:
|
|
887
|
+
upload_protocol?:
|
|
888
|
+
string;
|
|
642
889
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
643
|
-
uploadType?:
|
|
890
|
+
uploadType?:
|
|
891
|
+
string;
|
|
644
892
|
},
|
|
645
893
|
body: ExecuteSqlQueryRequest): Request<ExecuteSqlQueryResponse>;
|
|
646
|
-
actions:
|
|
647
|
-
|
|
894
|
+
actions:
|
|
895
|
+
ActionsResource;
|
|
896
|
+
entityTypes:
|
|
897
|
+
EntityTypesResource;
|
|
648
898
|
}
|
|
649
899
|
interface LocationsResource {
|
|
650
|
-
connections:
|
|
900
|
+
connections:
|
|
901
|
+
ConnectionsResource;
|
|
651
902
|
}
|
|
652
903
|
interface ProjectsResource {
|
|
653
|
-
locations:
|
|
904
|
+
locations:
|
|
905
|
+
LocationsResource;
|
|
654
906
|
}
|
|
655
907
|
|
|
656
908
|
const projects: ProjectsResource;
|
package/package.json
CHANGED
package/tests.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
4
4
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
5
5
|
|
|
6
|
-
// Revision:
|
|
6
|
+
// Revision: 20230501
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|