@maxim_mazurok/gapi.client.connectors-v2 0.0.20240529 → 0.0.20240612
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 +1 -68
- 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: 20240612
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -32,10 +32,6 @@ declare namespace gapi.client {
|
|
|
32
32
|
/** OAuth refresh token. */
|
|
33
33
|
refreshToken?: string;
|
|
34
34
|
}
|
|
35
|
-
interface AclInfo {
|
|
36
|
-
/** A list of readers for a resource. */
|
|
37
|
-
readers?: Readers[];
|
|
38
|
-
}
|
|
39
35
|
interface Action {
|
|
40
36
|
/** Brief Description of action */
|
|
41
37
|
description?: string;
|
|
@@ -99,13 +95,6 @@ declare namespace gapi.client {
|
|
|
99
95
|
name?: string;
|
|
100
96
|
operations?: string[];
|
|
101
97
|
}
|
|
102
|
-
interface EntityWithACL {
|
|
103
|
-
/** ACL information of the entity. */
|
|
104
|
-
acl_info?: AclInfo;
|
|
105
|
-
id?: string;
|
|
106
|
-
/** Entity data in JSON format. */
|
|
107
|
-
jsonData?: string;
|
|
108
|
-
}
|
|
109
98
|
interface ExchangeAuthCodeRequest {}
|
|
110
99
|
interface ExchangeAuthCodeResponse {
|
|
111
100
|
accessCredentials?: AccessCredentials;
|
|
@@ -234,12 +223,6 @@ declare namespace gapi.client {
|
|
|
234
223
|
/** Next page token if more records are available. */
|
|
235
224
|
nextPageToken?: string;
|
|
236
225
|
}
|
|
237
|
-
interface ListEntitiesWithACLsResponse {
|
|
238
|
-
/** List containing entity rows. */
|
|
239
|
-
entitiesWithAcl?: EntityWithACL[];
|
|
240
|
-
/** Next page token if more records are available. */
|
|
241
|
-
nextPageToken?: string;
|
|
242
|
-
}
|
|
243
226
|
interface ListEntityTypesResponse {
|
|
244
227
|
/** Next page token if more entity types available. */
|
|
245
228
|
nextPageToken?: string;
|
|
@@ -306,12 +289,6 @@ declare namespace gapi.client {
|
|
|
306
289
|
/** 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. */
|
|
307
290
|
eligibilities?: {[P in string]: SloEligibility};
|
|
308
291
|
}
|
|
309
|
-
interface Principal {
|
|
310
|
-
/** The group that has access to a resource. */
|
|
311
|
-
group_id?: string;
|
|
312
|
-
/** The user that has access to a resource. */
|
|
313
|
-
user_id?: string;
|
|
314
|
-
}
|
|
315
292
|
interface ProvisionedResource {
|
|
316
293
|
/** Type of the resource. This can be either a GCP resource or a custom one (e.g. another cloud provider's VM). For GCP compute resources use singular form of the names listed in GCP compute API documentation (https://cloud.google.com/compute/docs/reference/rest/v1/), prefixed with 'compute-', for example: 'compute-instance', 'compute-disk', 'compute-autoscaler'. */
|
|
317
294
|
resourceType?: string;
|
|
@@ -332,10 +309,6 @@ declare namespace gapi.client {
|
|
|
332
309
|
dataType?: string;
|
|
333
310
|
value?: any;
|
|
334
311
|
}
|
|
335
|
-
interface Readers {
|
|
336
|
-
/** A list of principals that have read access to a resource. */
|
|
337
|
-
principals?: Principal[];
|
|
338
|
-
}
|
|
339
312
|
interface Reference {
|
|
340
313
|
/** Name of the reference field. */
|
|
341
314
|
name?: string;
|
|
@@ -822,45 +795,6 @@ declare namespace gapi.client {
|
|
|
822
795
|
body: Entity
|
|
823
796
|
): Request<UpdateEntitiesWithConditionsResponse>;
|
|
824
797
|
}
|
|
825
|
-
interface EntitieswithaclsResource {
|
|
826
|
-
/** Lists entity rows with ACLs 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 primary key of the table is used. If zero or more than one primary key is available, we default to the unpaginated list entities logic which only returns the first page. 3. The values of the 'sort_by' columns must uniquely identify an entity row, otherwise undefined behaviors may be observed during pagination. 4. Since transactions are not supported, any updates, inserts or deletes during pagination can lead to stale data being returned or other unexpected behaviors. */
|
|
827
|
-
list(request?: {
|
|
828
|
-
/** V1 error format. */
|
|
829
|
-
'$.xgafv'?: string;
|
|
830
|
-
/** OAuth access token. */
|
|
831
|
-
access_token?: string;
|
|
832
|
-
/** Data format for response. */
|
|
833
|
-
alt?: string;
|
|
834
|
-
/** JSONP */
|
|
835
|
-
callback?: string;
|
|
836
|
-
/** 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. */
|
|
837
|
-
conditions?: string;
|
|
838
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
839
|
-
fields?: string;
|
|
840
|
-
/** Format: gs://object_path */
|
|
841
|
-
gsutilUri?: string;
|
|
842
|
-
/** 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. */
|
|
843
|
-
key?: string;
|
|
844
|
-
/** OAuth 2.0 token for the current user. */
|
|
845
|
-
oauth_token?: string;
|
|
846
|
-
/** Number of entity rows to return. Defaults page size = 25. Max page size = 200. */
|
|
847
|
-
pageSize?: number;
|
|
848
|
-
/** Page token value if available from a previous request. */
|
|
849
|
-
pageToken?: string;
|
|
850
|
-
/** Required. Resource name of the Entity Type. Format: projects/{project}/locations/{location}/connections/{connection}/entityTypes/{type} */
|
|
851
|
-
parent: string;
|
|
852
|
-
/** Returns response with indentations and line breaks. */
|
|
853
|
-
prettyPrint?: boolean;
|
|
854
|
-
/** 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. */
|
|
855
|
-
quotaUser?: string;
|
|
856
|
-
/** List of 'sort_by' columns to use when returning the results. */
|
|
857
|
-
sortBy?: string | string[];
|
|
858
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
859
|
-
upload_protocol?: string;
|
|
860
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
861
|
-
uploadType?: string;
|
|
862
|
-
}): Request<ListEntitiesWithACLsResponse>;
|
|
863
|
-
}
|
|
864
798
|
interface EntityTypesResource {
|
|
865
799
|
/** Gets metadata of given entity type */
|
|
866
800
|
get(request?: {
|
|
@@ -923,7 +857,6 @@ declare namespace gapi.client {
|
|
|
923
857
|
view?: string;
|
|
924
858
|
}): Request<ListEntityTypesResponse>;
|
|
925
859
|
entities: EntitiesResource;
|
|
926
|
-
entitieswithacls: EntitieswithaclsResource;
|
|
927
860
|
}
|
|
928
861
|
interface ConnectionsResource {
|
|
929
862
|
/** Reports readiness status of the connector. Similar logic to GetStatus but modified for kubernetes health check to understand. */
|