@maxim_mazurok/gapi.client.connectors-v2 0.1.20250917 → 0.1.20251216
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 +236 -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: 20251216
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -117,6 +117,10 @@ declare namespace gapi.client {
|
|
|
117
117
|
interface ExchangeAuthCodeRequest {
|
|
118
118
|
/** Optional. AuthCodeData contains the data the runtime requires to exchange for access and refresh tokens. If the data is not provided, the runtime will read the data from the secret manager. */
|
|
119
119
|
authCodeData?: AuthCodeData;
|
|
120
|
+
/** ExecutionConfig contains the configuration for the execution of the request. */
|
|
121
|
+
executionConfig?: ExecutionConfig;
|
|
122
|
+
/** OAuth2Config contains the OAuth2 config for the connection. */
|
|
123
|
+
oauth2Config?: OAuth2Config;
|
|
120
124
|
}
|
|
121
125
|
interface ExchangeAuthCodeResponse {
|
|
122
126
|
accessCredentials?: AccessCredentials;
|
|
@@ -124,6 +128,8 @@ declare namespace gapi.client {
|
|
|
124
128
|
metadata?: {[P in string]: {[P in string]: any}};
|
|
125
129
|
}
|
|
126
130
|
interface ExecuteActionRequest {
|
|
131
|
+
/** Execution config for the request. */
|
|
132
|
+
executionConfig?: ExecutionConfig;
|
|
127
133
|
/** Parameters for executing the action. The parameters can be key/value pairs or nested structs. */
|
|
128
134
|
parameters?: {[P in string]: any};
|
|
129
135
|
}
|
|
@@ -142,13 +148,23 @@ declare namespace gapi.client {
|
|
|
142
148
|
results?: Array<{[P in string]: any}>;
|
|
143
149
|
}
|
|
144
150
|
interface ExecuteToolRequest {
|
|
151
|
+
/** execution config for the request. */
|
|
152
|
+
executionConfig?: ExecutionConfig;
|
|
145
153
|
/** Input parameters for the tool. */
|
|
146
154
|
parameters?: {[P in string]: any};
|
|
155
|
+
/** Tool definition for the tool to be executed. */
|
|
156
|
+
toolDefinition?: {[P in string]: any};
|
|
147
157
|
}
|
|
148
158
|
interface ExecuteToolResponse {
|
|
159
|
+
/** Metadata like service latency, etc. */
|
|
160
|
+
metadata?: {[P in string]: {[P in string]: any}};
|
|
149
161
|
/** Output from the tool execution. */
|
|
150
162
|
result?: {[P in string]: any};
|
|
151
163
|
}
|
|
164
|
+
interface ExecutionConfig {
|
|
165
|
+
/** headers to be used for the request. For example: headers:'{"x-integration-connectors-managed-connection-id":"conn-id","x-integration-connectors-runtime-config":"runtime-cfg"}' */
|
|
166
|
+
headers?: string;
|
|
167
|
+
}
|
|
152
168
|
interface Field {
|
|
153
169
|
/** The following map contains fields that are not explicitly mentioned above,this give connectors the flexibility to add new metadata fields. */
|
|
154
170
|
additionalDetails?: {[P in string]: any};
|
|
@@ -169,6 +185,20 @@ declare namespace gapi.client {
|
|
|
169
185
|
/** Reference captures the association between two different entity types. Value links to the reference of another entity type. */
|
|
170
186
|
reference?: Reference;
|
|
171
187
|
}
|
|
188
|
+
interface GetResourcePostRequest {
|
|
189
|
+
/** execution config for the request. */
|
|
190
|
+
executionConfig?: ExecutionConfig;
|
|
191
|
+
/** List of tool specifications. */
|
|
192
|
+
toolSpec?: ToolSpec;
|
|
193
|
+
}
|
|
194
|
+
interface GetResourceResponse {
|
|
195
|
+
/** The content of the resource. */
|
|
196
|
+
data?: string;
|
|
197
|
+
/** Metadata like service latency, etc. */
|
|
198
|
+
metadata?: {[P in string]: {[P in string]: any}};
|
|
199
|
+
/** The MIME type of the resource. */
|
|
200
|
+
mimeType?: string;
|
|
201
|
+
}
|
|
172
202
|
interface InputParameter {
|
|
173
203
|
/** The following map contains fields that are not explicitly mentioned above,this give connectors the flexibility to add new metadata fields. */
|
|
174
204
|
additionalDetails?: {[P in string]: any};
|
|
@@ -273,7 +303,27 @@ declare namespace gapi.client {
|
|
|
273
303
|
/** List of entity type names which contain unsupported Datatypes. Check datatype.proto for more information. */
|
|
274
304
|
unsupportedTypeNames?: string[];
|
|
275
305
|
}
|
|
306
|
+
interface ListResourcesResponse {
|
|
307
|
+
/** Metadata like service latency, etc. */
|
|
308
|
+
metadata?: {[P in string]: {[P in string]: any}};
|
|
309
|
+
/** Next page token if more resources available. */
|
|
310
|
+
nextPageToken?: string;
|
|
311
|
+
/** List of available resources. */
|
|
312
|
+
resources?: Resource[];
|
|
313
|
+
}
|
|
314
|
+
interface ListToolsPostRequest {
|
|
315
|
+
/** execution config for the request. */
|
|
316
|
+
executionConfig?: ExecutionConfig;
|
|
317
|
+
/** Page size. */
|
|
318
|
+
pageSize?: number;
|
|
319
|
+
/** Page token. */
|
|
320
|
+
pageToken?: string;
|
|
321
|
+
/** List of tool specifications. */
|
|
322
|
+
toolSpec?: ToolSpec;
|
|
323
|
+
}
|
|
276
324
|
interface ListToolsResponse {
|
|
325
|
+
/** Metadata like service latency, etc. */
|
|
326
|
+
metadata?: {[P in string]: {[P in string]: any}};
|
|
277
327
|
/** Next page token. */
|
|
278
328
|
nextPageToken?: string;
|
|
279
329
|
/** List of available tools. */
|
|
@@ -333,6 +383,14 @@ declare namespace gapi.client {
|
|
|
333
383
|
/** Optional. Array of string values. e.g. instance's replica information. */
|
|
334
384
|
values?: string[];
|
|
335
385
|
}
|
|
386
|
+
interface OAuth2Config {
|
|
387
|
+
/** Authorization Server URL/Token Endpoint for Authorization Code Flow */
|
|
388
|
+
authUri?: string;
|
|
389
|
+
/** Client ID for the OAuth2 flow. */
|
|
390
|
+
clientId?: string;
|
|
391
|
+
/** Client secret for the OAuth2 flow. */
|
|
392
|
+
clientSecret?: string;
|
|
393
|
+
}
|
|
336
394
|
interface PerSliSloEligibility {
|
|
337
395
|
/** An entry in the eligibilities map specifies an eligibility for a particular SLI for the given instance. The SLI key in the name must be a valid SLI name specified in the Eligibility Exporter binary flags otherwise an error will be emitted by Eligibility Exporter and the oncaller will be alerted. If an SLI has been defined in the binary flags but the eligibilities map does not contain it, the corresponding SLI time series will not be emitted by the Eligibility Exporter. This ensures a smooth rollout and compatibility between the data produced by different versions of the Eligibility Exporters. If eligibilities map contains a key for an SLI which has not been declared in the binary flags, there will be an error message emitted in the Eligibility Exporter log and the metric for the SLI in question will not be emitted. */
|
|
338
396
|
eligibilities?: {[P in string]: SloEligibility};
|
|
@@ -364,6 +422,10 @@ declare namespace gapi.client {
|
|
|
364
422
|
type?: string;
|
|
365
423
|
}
|
|
366
424
|
interface RefreshAccessTokenRequest {
|
|
425
|
+
/** ExecutionConfig contains the configuration for the execution of the request. */
|
|
426
|
+
executionConfig?: ExecutionConfig;
|
|
427
|
+
/** OAuth2Config contains the OAuth2 config for the connection. */
|
|
428
|
+
oauth2Config?: OAuth2Config;
|
|
367
429
|
/** Optional. Refresh Token String. If the Refresh Token is not provided, the runtime will read the data from the secret manager. */
|
|
368
430
|
refreshToken?: string;
|
|
369
431
|
}
|
|
@@ -372,6 +434,18 @@ declare namespace gapi.client {
|
|
|
372
434
|
/** Metadata like service latency, etc. */
|
|
373
435
|
metadata?: {[P in string]: {[P in string]: any}};
|
|
374
436
|
}
|
|
437
|
+
interface Resource {
|
|
438
|
+
/** A description of what this resource represents. */
|
|
439
|
+
description?: string;
|
|
440
|
+
/** The MIME type of this resource, if known. */
|
|
441
|
+
mimeType?: string;
|
|
442
|
+
/** A human-readable name for this resource. */
|
|
443
|
+
name?: string;
|
|
444
|
+
/** The size of the raw resource content, in bytes, if known. */
|
|
445
|
+
size?: string;
|
|
446
|
+
/** The URI of this resource. */
|
|
447
|
+
uri?: string;
|
|
448
|
+
}
|
|
375
449
|
interface ResultMetadata {
|
|
376
450
|
/** The data type of the metadata field */
|
|
377
451
|
dataType?: string;
|
|
@@ -444,6 +518,12 @@ declare namespace gapi.client {
|
|
|
444
518
|
/** A human-readable title for the tool. */
|
|
445
519
|
title?: string;
|
|
446
520
|
}
|
|
521
|
+
interface ToolSpec {
|
|
522
|
+
/** List of tool definitions. */
|
|
523
|
+
toolDefinitions?: Array<{[P in string]: any}>;
|
|
524
|
+
/** Version of the tool spec. Format: providerId/connectorId/versionId/toolSpecId */
|
|
525
|
+
toolSpecVersion?: string;
|
|
526
|
+
}
|
|
447
527
|
interface UpdateEntitiesWithConditionsResponse {
|
|
448
528
|
/** Metadata like service latency, etc. */
|
|
449
529
|
metadata?: {[P in string]: {[P in string]: any}};
|
|
@@ -531,6 +611,8 @@ declare namespace gapi.client {
|
|
|
531
611
|
alt?: string;
|
|
532
612
|
/** JSONP */
|
|
533
613
|
callback?: string;
|
|
614
|
+
/** headers to be used for the request. For example: headers:'{"x-integration-connectors-managed-connection-id":"conn-id","x-integration-connectors-runtime-config":"runtime-cfg"}' */
|
|
615
|
+
'executionConfig.headers'?: string;
|
|
534
616
|
/** Selector specifying which fields to include in a partial response. */
|
|
535
617
|
fields?: string;
|
|
536
618
|
/** 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. */
|
|
@@ -560,6 +642,8 @@ declare namespace gapi.client {
|
|
|
560
642
|
alt?: string;
|
|
561
643
|
/** JSONP */
|
|
562
644
|
callback?: string;
|
|
645
|
+
/** headers to be used for the request. For example: headers:'{"x-integration-connectors-managed-connection-id":"conn-id","x-integration-connectors-runtime-config":"runtime-cfg"}' */
|
|
646
|
+
'executionConfig.headers'?: string;
|
|
563
647
|
/** Selector specifying which fields to include in a partial response. */
|
|
564
648
|
fields?: string;
|
|
565
649
|
/** 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. */
|
|
@@ -595,6 +679,8 @@ declare namespace gapi.client {
|
|
|
595
679
|
alt?: string;
|
|
596
680
|
/** JSONP */
|
|
597
681
|
callback?: string;
|
|
682
|
+
/** headers to be used for the request. For example: headers:'{"x-integration-connectors-managed-connection-id":"conn-id","x-integration-connectors-runtime-config":"runtime-cfg"}' */
|
|
683
|
+
'executionConfig.headers'?: string;
|
|
598
684
|
/** Selector specifying which fields to include in a partial response. */
|
|
599
685
|
fields?: string;
|
|
600
686
|
/** 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. */
|
|
@@ -624,6 +710,8 @@ declare namespace gapi.client {
|
|
|
624
710
|
alt?: string;
|
|
625
711
|
/** JSONP */
|
|
626
712
|
callback?: string;
|
|
713
|
+
/** headers to be used for the request. For example: headers:'{"x-integration-connectors-managed-connection-id":"conn-id","x-integration-connectors-runtime-config":"runtime-cfg"}' */
|
|
714
|
+
'executionConfig.headers'?: string;
|
|
627
715
|
/** Selector specifying which fields to include in a partial response. */
|
|
628
716
|
fields?: string;
|
|
629
717
|
/** 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. */
|
|
@@ -653,6 +741,8 @@ declare namespace gapi.client {
|
|
|
653
741
|
alt?: string;
|
|
654
742
|
/** JSONP */
|
|
655
743
|
callback?: string;
|
|
744
|
+
/** headers to be used for the request. For example: headers:'{"x-integration-connectors-managed-connection-id":"conn-id","x-integration-connectors-runtime-config":"runtime-cfg"}' */
|
|
745
|
+
'executionConfig.headers'?: string;
|
|
656
746
|
/** Selector specifying which fields to include in a partial response. */
|
|
657
747
|
fields?: string;
|
|
658
748
|
/** 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. */
|
|
@@ -684,6 +774,8 @@ declare namespace gapi.client {
|
|
|
684
774
|
conditions?: string;
|
|
685
775
|
/** Required. Resource name of the Entity Type. Format: projects/{project}/locations/{location}/connections/{connection}/entityTypes/{type} */
|
|
686
776
|
entityType: string;
|
|
777
|
+
/** headers to be used for the request. For example: headers:'{"x-integration-connectors-managed-connection-id":"conn-id","x-integration-connectors-runtime-config":"runtime-cfg"}' */
|
|
778
|
+
'executionConfig.headers'?: string;
|
|
687
779
|
/** Selector specifying which fields to include in a partial response. */
|
|
688
780
|
fields?: string;
|
|
689
781
|
/** 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. */
|
|
@@ -709,6 +801,8 @@ declare namespace gapi.client {
|
|
|
709
801
|
alt?: string;
|
|
710
802
|
/** JSONP */
|
|
711
803
|
callback?: string;
|
|
804
|
+
/** headers to be used for the request. For example: headers:'{"x-integration-connectors-managed-connection-id":"conn-id","x-integration-connectors-runtime-config":"runtime-cfg"}' */
|
|
805
|
+
'executionConfig.headers'?: string;
|
|
712
806
|
/** Selector specifying which fields to include in a partial response. */
|
|
713
807
|
fields?: string;
|
|
714
808
|
/** 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. */
|
|
@@ -738,6 +832,8 @@ declare namespace gapi.client {
|
|
|
738
832
|
callback?: string;
|
|
739
833
|
/** 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 information about what format of filters/conditions are supported. */
|
|
740
834
|
conditions?: string;
|
|
835
|
+
/** headers to be used for the request. For example: headers:'{"x-integration-connectors-managed-connection-id":"conn-id","x-integration-connectors-runtime-config":"runtime-cfg"}' */
|
|
836
|
+
'executionConfig.headers'?: string;
|
|
741
837
|
/** Selector specifying which fields to include in a partial response. */
|
|
742
838
|
fields?: string;
|
|
743
839
|
/** 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. */
|
|
@@ -773,6 +869,8 @@ declare namespace gapi.client {
|
|
|
773
869
|
alt?: string;
|
|
774
870
|
/** JSONP */
|
|
775
871
|
callback?: string;
|
|
872
|
+
/** headers to be used for the request. For example: headers:'{"x-integration-connectors-managed-connection-id":"conn-id","x-integration-connectors-runtime-config":"runtime-cfg"}' */
|
|
873
|
+
'executionConfig.headers'?: string;
|
|
776
874
|
/** Selector specifying which fields to include in a partial response. */
|
|
777
875
|
fields?: string;
|
|
778
876
|
/** 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. */
|
|
@@ -802,6 +900,8 @@ declare namespace gapi.client {
|
|
|
802
900
|
alt?: string;
|
|
803
901
|
/** JSONP */
|
|
804
902
|
callback?: string;
|
|
903
|
+
/** headers to be used for the request. For example: headers:'{"x-integration-connectors-managed-connection-id":"conn-id","x-integration-connectors-runtime-config":"runtime-cfg"}' */
|
|
904
|
+
'executionConfig.headers'?: string;
|
|
805
905
|
/** Selector specifying which fields to include in a partial response. */
|
|
806
906
|
fields?: string;
|
|
807
907
|
/** 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. */
|
|
@@ -835,6 +935,8 @@ declare namespace gapi.client {
|
|
|
835
935
|
conditions?: string;
|
|
836
936
|
/** Required. Resource name of the Entity Type. Format: projects/{project}/locations/{location}/connections/{connection}/entityTypes/{type} */
|
|
837
937
|
entityType: string;
|
|
938
|
+
/** headers to be used for the request. For example: headers:'{"x-integration-connectors-managed-connection-id":"conn-id","x-integration-connectors-runtime-config":"runtime-cfg"}' */
|
|
939
|
+
'executionConfig.headers'?: string;
|
|
838
940
|
/** Selector specifying which fields to include in a partial response. */
|
|
839
941
|
fields?: string;
|
|
840
942
|
/** 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. */
|
|
@@ -866,6 +968,8 @@ declare namespace gapi.client {
|
|
|
866
968
|
conditions?: string;
|
|
867
969
|
/** Required. Resource name of the Entity Type. Format: projects/{project}/locations/{location}/connections/{connection}/entityTypes/{type} */
|
|
868
970
|
entityType: string;
|
|
971
|
+
/** headers to be used for the request. For example: headers:'{"x-integration-connectors-managed-connection-id":"conn-id","x-integration-connectors-runtime-config":"runtime-cfg"}' */
|
|
972
|
+
'executionConfig.headers'?: string;
|
|
869
973
|
/** Selector specifying which fields to include in a partial response. */
|
|
870
974
|
fields?: string;
|
|
871
975
|
/** 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. */
|
|
@@ -897,6 +1001,8 @@ declare namespace gapi.client {
|
|
|
897
1001
|
callback?: string;
|
|
898
1002
|
/** Context metadata for request could be used to fetch customization of entity type schema. */
|
|
899
1003
|
contextMetadata?: string;
|
|
1004
|
+
/** headers to be used for the request. For example: headers:'{"x-integration-connectors-managed-connection-id":"conn-id","x-integration-connectors-runtime-config":"runtime-cfg"}' */
|
|
1005
|
+
'executionConfig.headers'?: string;
|
|
900
1006
|
/** Selector specifying which fields to include in a partial response. */
|
|
901
1007
|
fields?: string;
|
|
902
1008
|
/** 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. */
|
|
@@ -926,6 +1032,8 @@ declare namespace gapi.client {
|
|
|
926
1032
|
alt?: string;
|
|
927
1033
|
/** JSONP */
|
|
928
1034
|
callback?: string;
|
|
1035
|
+
/** headers to be used for the request. For example: headers:'{"x-integration-connectors-managed-connection-id":"conn-id","x-integration-connectors-runtime-config":"runtime-cfg"}' */
|
|
1036
|
+
'executionConfig.headers'?: string;
|
|
929
1037
|
/** Selector specifying which fields to include in a partial response. */
|
|
930
1038
|
fields?: string;
|
|
931
1039
|
/** 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. */
|
|
@@ -951,6 +1059,128 @@ declare namespace gapi.client {
|
|
|
951
1059
|
}): Request<ListEntityTypesResponse>;
|
|
952
1060
|
entities: EntitiesResource;
|
|
953
1061
|
}
|
|
1062
|
+
interface ResourcesResource {
|
|
1063
|
+
/** Gets a specific resource. */
|
|
1064
|
+
get(request?: {
|
|
1065
|
+
/** V1 error format. */
|
|
1066
|
+
'$.xgafv'?: string;
|
|
1067
|
+
/** OAuth access token. */
|
|
1068
|
+
access_token?: string;
|
|
1069
|
+
/** Data format for response. */
|
|
1070
|
+
alt?: string;
|
|
1071
|
+
/** JSONP */
|
|
1072
|
+
callback?: string;
|
|
1073
|
+
/** headers to be used for the request. For example: headers:'{"x-integration-connectors-managed-connection-id":"conn-id","x-integration-connectors-runtime-config":"runtime-cfg"}' */
|
|
1074
|
+
'executionConfig.headers'?: string;
|
|
1075
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1076
|
+
fields?: string;
|
|
1077
|
+
/** 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. */
|
|
1078
|
+
key?: string;
|
|
1079
|
+
/** Required. Resource name of the Resource. Format: projects/{project}/locations/{location}/connections/{connection}/resources/{resource} */
|
|
1080
|
+
name: string;
|
|
1081
|
+
/** OAuth 2.0 token for the current user. */
|
|
1082
|
+
oauth_token?: string;
|
|
1083
|
+
/** Returns response with indentations and line breaks. */
|
|
1084
|
+
prettyPrint?: boolean;
|
|
1085
|
+
/** 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. */
|
|
1086
|
+
quotaUser?: string;
|
|
1087
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1088
|
+
upload_protocol?: string;
|
|
1089
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1090
|
+
uploadType?: string;
|
|
1091
|
+
}): Request<GetResourceResponse>;
|
|
1092
|
+
/** Gets a specific resource with POST. */
|
|
1093
|
+
getResourcePost(request: {
|
|
1094
|
+
/** V1 error format. */
|
|
1095
|
+
'$.xgafv'?: string;
|
|
1096
|
+
/** OAuth access token. */
|
|
1097
|
+
access_token?: string;
|
|
1098
|
+
/** Data format for response. */
|
|
1099
|
+
alt?: string;
|
|
1100
|
+
/** JSONP */
|
|
1101
|
+
callback?: string;
|
|
1102
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1103
|
+
fields?: string;
|
|
1104
|
+
/** 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. */
|
|
1105
|
+
key?: string;
|
|
1106
|
+
/** Required. Resource name of the Resource. Format: projects/{project}/locations/{location}/connections/{connection}/resources/{resource} */
|
|
1107
|
+
name: string;
|
|
1108
|
+
/** OAuth 2.0 token for the current user. */
|
|
1109
|
+
oauth_token?: string;
|
|
1110
|
+
/** Returns response with indentations and line breaks. */
|
|
1111
|
+
prettyPrint?: boolean;
|
|
1112
|
+
/** 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. */
|
|
1113
|
+
quotaUser?: string;
|
|
1114
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1115
|
+
upload_protocol?: string;
|
|
1116
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1117
|
+
uploadType?: string;
|
|
1118
|
+
/** Request body */
|
|
1119
|
+
resource: GetResourcePostRequest;
|
|
1120
|
+
}): Request<GetResourceResponse>;
|
|
1121
|
+
getResourcePost(
|
|
1122
|
+
request: {
|
|
1123
|
+
/** V1 error format. */
|
|
1124
|
+
'$.xgafv'?: string;
|
|
1125
|
+
/** OAuth access token. */
|
|
1126
|
+
access_token?: string;
|
|
1127
|
+
/** Data format for response. */
|
|
1128
|
+
alt?: string;
|
|
1129
|
+
/** JSONP */
|
|
1130
|
+
callback?: string;
|
|
1131
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1132
|
+
fields?: string;
|
|
1133
|
+
/** 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. */
|
|
1134
|
+
key?: string;
|
|
1135
|
+
/** Required. Resource name of the Resource. Format: projects/{project}/locations/{location}/connections/{connection}/resources/{resource} */
|
|
1136
|
+
name: string;
|
|
1137
|
+
/** OAuth 2.0 token for the current user. */
|
|
1138
|
+
oauth_token?: string;
|
|
1139
|
+
/** Returns response with indentations and line breaks. */
|
|
1140
|
+
prettyPrint?: boolean;
|
|
1141
|
+
/** 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. */
|
|
1142
|
+
quotaUser?: string;
|
|
1143
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1144
|
+
upload_protocol?: string;
|
|
1145
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1146
|
+
uploadType?: string;
|
|
1147
|
+
},
|
|
1148
|
+
body: GetResourcePostRequest,
|
|
1149
|
+
): Request<GetResourceResponse>;
|
|
1150
|
+
/** Lists all available resources. */
|
|
1151
|
+
list(request?: {
|
|
1152
|
+
/** V1 error format. */
|
|
1153
|
+
'$.xgafv'?: string;
|
|
1154
|
+
/** OAuth access token. */
|
|
1155
|
+
access_token?: string;
|
|
1156
|
+
/** Data format for response. */
|
|
1157
|
+
alt?: string;
|
|
1158
|
+
/** JSONP */
|
|
1159
|
+
callback?: string;
|
|
1160
|
+
/** headers to be used for the request. For example: headers:'{"x-integration-connectors-managed-connection-id":"conn-id","x-integration-connectors-runtime-config":"runtime-cfg"}' */
|
|
1161
|
+
'executionConfig.headers'?: string;
|
|
1162
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1163
|
+
fields?: string;
|
|
1164
|
+
/** 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. */
|
|
1165
|
+
key?: string;
|
|
1166
|
+
/** OAuth 2.0 token for the current user. */
|
|
1167
|
+
oauth_token?: string;
|
|
1168
|
+
/** Optional. Page size for the request. */
|
|
1169
|
+
pageSize?: number;
|
|
1170
|
+
/** Optional. Page token for the request. */
|
|
1171
|
+
pageToken?: string;
|
|
1172
|
+
/** Required. Resource name of the connection. Format: projects/{project}/locations/{location}/connections/{connection} */
|
|
1173
|
+
parent: string;
|
|
1174
|
+
/** Returns response with indentations and line breaks. */
|
|
1175
|
+
prettyPrint?: boolean;
|
|
1176
|
+
/** 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. */
|
|
1177
|
+
quotaUser?: string;
|
|
1178
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1179
|
+
upload_protocol?: string;
|
|
1180
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1181
|
+
uploadType?: string;
|
|
1182
|
+
}): Request<ListResourcesResponse>;
|
|
1183
|
+
}
|
|
954
1184
|
interface ToolsResource {
|
|
955
1185
|
/** Executes a specific tool. */
|
|
956
1186
|
execute(request: {
|
|
@@ -1020,6 +1250,8 @@ declare namespace gapi.client {
|
|
|
1020
1250
|
alt?: string;
|
|
1021
1251
|
/** JSONP */
|
|
1022
1252
|
callback?: string;
|
|
1253
|
+
/** headers to be used for the request. For example: headers:'{"x-integration-connectors-managed-connection-id":"conn-id","x-integration-connectors-runtime-config":"runtime-cfg"}' */
|
|
1254
|
+
'executionConfig.headers'?: string;
|
|
1023
1255
|
/** Selector specifying which fields to include in a partial response. */
|
|
1024
1256
|
fields?: string;
|
|
1025
1257
|
/** 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. */
|
|
@@ -1079,6 +1311,8 @@ declare namespace gapi.client {
|
|
|
1079
1311
|
alt?: string;
|
|
1080
1312
|
/** JSONP */
|
|
1081
1313
|
callback?: string;
|
|
1314
|
+
/** headers to be used for the request. For example: headers:'{"x-integration-connectors-managed-connection-id":"conn-id","x-integration-connectors-runtime-config":"runtime-cfg"}' */
|
|
1315
|
+
'executionConfig.headers'?: string;
|
|
1082
1316
|
/** Selector specifying which fields to include in a partial response. */
|
|
1083
1317
|
fields?: string;
|
|
1084
1318
|
/** 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. */
|
|
@@ -1267,6 +1501,7 @@ declare namespace gapi.client {
|
|
|
1267
1501
|
): Request<RefreshAccessTokenResponse>;
|
|
1268
1502
|
actions: ActionsResource;
|
|
1269
1503
|
entityTypes: EntityTypesResource;
|
|
1504
|
+
resources: ResourcesResource;
|
|
1270
1505
|
tools: ToolsResource;
|
|
1271
1506
|
}
|
|
1272
1507
|
interface LocationsResource {
|