@maxim_mazurok/gapi.client.connectors-v2 0.0.20240504 → 0.0.20240529
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 +68 -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: 20240529
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -32,6 +32,10 @@ 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
|
+
}
|
|
35
39
|
interface Action {
|
|
36
40
|
/** Brief Description of action */
|
|
37
41
|
description?: string;
|
|
@@ -95,6 +99,13 @@ declare namespace gapi.client {
|
|
|
95
99
|
name?: string;
|
|
96
100
|
operations?: string[];
|
|
97
101
|
}
|
|
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
|
+
}
|
|
98
109
|
interface ExchangeAuthCodeRequest {}
|
|
99
110
|
interface ExchangeAuthCodeResponse {
|
|
100
111
|
accessCredentials?: AccessCredentials;
|
|
@@ -223,6 +234,12 @@ declare namespace gapi.client {
|
|
|
223
234
|
/** Next page token if more records are available. */
|
|
224
235
|
nextPageToken?: string;
|
|
225
236
|
}
|
|
237
|
+
interface ListEntitiesWithACLsResponse {
|
|
238
|
+
/** List containing entity rows. */
|
|
239
|
+
entitiesWithAcl?: EntityWithACL[];
|
|
240
|
+
/** Next page token if more records are available. */
|
|
241
|
+
nextPageToken?: string;
|
|
242
|
+
}
|
|
226
243
|
interface ListEntityTypesResponse {
|
|
227
244
|
/** Next page token if more entity types available. */
|
|
228
245
|
nextPageToken?: string;
|
|
@@ -289,6 +306,12 @@ declare namespace gapi.client {
|
|
|
289
306
|
/** 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. */
|
|
290
307
|
eligibilities?: {[P in string]: SloEligibility};
|
|
291
308
|
}
|
|
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
|
+
}
|
|
292
315
|
interface ProvisionedResource {
|
|
293
316
|
/** 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'. */
|
|
294
317
|
resourceType?: string;
|
|
@@ -309,6 +332,10 @@ declare namespace gapi.client {
|
|
|
309
332
|
dataType?: string;
|
|
310
333
|
value?: any;
|
|
311
334
|
}
|
|
335
|
+
interface Readers {
|
|
336
|
+
/** A list of principals that have read access to a resource. */
|
|
337
|
+
principals?: Principal[];
|
|
338
|
+
}
|
|
312
339
|
interface Reference {
|
|
313
340
|
/** Name of the reference field. */
|
|
314
341
|
name?: string;
|
|
@@ -795,6 +822,45 @@ declare namespace gapi.client {
|
|
|
795
822
|
body: Entity
|
|
796
823
|
): Request<UpdateEntitiesWithConditionsResponse>;
|
|
797
824
|
}
|
|
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
|
+
}
|
|
798
864
|
interface EntityTypesResource {
|
|
799
865
|
/** Gets metadata of given entity type */
|
|
800
866
|
get(request?: {
|
|
@@ -857,6 +923,7 @@ declare namespace gapi.client {
|
|
|
857
923
|
view?: string;
|
|
858
924
|
}): Request<ListEntityTypesResponse>;
|
|
859
925
|
entities: EntitiesResource;
|
|
926
|
+
entitieswithacls: EntitieswithaclsResource;
|
|
860
927
|
}
|
|
861
928
|
interface ConnectionsResource {
|
|
862
929
|
/** Reports readiness status of the connector. Similar logic to GetStatus but modified for kubernetes health check to understand. */
|