@maxim_mazurok/gapi.client.connectors-v2 0.0.20240529 → 0.0.20240606
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 +22 -35
- 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: 20240606
|
|
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;
|
|
@@ -302,16 +285,22 @@ declare namespace gapi.client {
|
|
|
302
285
|
/** Optional. Array of string values. e.g. instance's replica information. */
|
|
303
286
|
values?: string[];
|
|
304
287
|
}
|
|
288
|
+
interface Operation {
|
|
289
|
+
/** If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available. */
|
|
290
|
+
done?: boolean;
|
|
291
|
+
/** The error result of the operation in case of failure or cancellation. */
|
|
292
|
+
error?: Status;
|
|
293
|
+
/** Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any. */
|
|
294
|
+
metadata?: {[P in string]: any};
|
|
295
|
+
/** The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`. */
|
|
296
|
+
name?: string;
|
|
297
|
+
/** The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`. */
|
|
298
|
+
response?: {[P in string]: any};
|
|
299
|
+
}
|
|
305
300
|
interface PerSliSloEligibility {
|
|
306
301
|
/** 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
302
|
eligibilities?: {[P in string]: SloEligibility};
|
|
308
303
|
}
|
|
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
304
|
interface ProvisionedResource {
|
|
316
305
|
/** 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
306
|
resourceType?: string;
|
|
@@ -332,10 +321,6 @@ declare namespace gapi.client {
|
|
|
332
321
|
dataType?: string;
|
|
333
322
|
value?: any;
|
|
334
323
|
}
|
|
335
|
-
interface Readers {
|
|
336
|
-
/** A list of principals that have read access to a resource. */
|
|
337
|
-
principals?: Principal[];
|
|
338
|
-
}
|
|
339
324
|
interface Reference {
|
|
340
325
|
/** Name of the reference field. */
|
|
341
326
|
name?: string;
|
|
@@ -378,6 +363,14 @@ declare namespace gapi.client {
|
|
|
378
363
|
/** Name of the SLO tier the Instance belongs to. This name will be expected to match the tiers specified in the service SLO configuration. Field is mandatory and must not be empty. */
|
|
379
364
|
tier?: string;
|
|
380
365
|
}
|
|
366
|
+
interface Status {
|
|
367
|
+
/** The status code, which should be an enum value of google.rpc.Code. */
|
|
368
|
+
code?: number;
|
|
369
|
+
/** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
|
|
370
|
+
details?: Array<{[P in string]: any}>;
|
|
371
|
+
/** A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. */
|
|
372
|
+
message?: string;
|
|
373
|
+
}
|
|
381
374
|
interface TimeOfDay {
|
|
382
375
|
/** Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time. */
|
|
383
376
|
hours?: number;
|
|
@@ -843,23 +836,17 @@ declare namespace gapi.client {
|
|
|
843
836
|
key?: string;
|
|
844
837
|
/** OAuth 2.0 token for the current user. */
|
|
845
838
|
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
839
|
/** Required. Resource name of the Entity Type. Format: projects/{project}/locations/{location}/connections/{connection}/entityTypes/{type} */
|
|
851
840
|
parent: string;
|
|
852
841
|
/** Returns response with indentations and line breaks. */
|
|
853
842
|
prettyPrint?: boolean;
|
|
854
843
|
/** 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
844
|
quotaUser?: string;
|
|
856
|
-
/** List of 'sort_by' columns to use when returning the results. */
|
|
857
|
-
sortBy?: string | string[];
|
|
858
845
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
859
846
|
upload_protocol?: string;
|
|
860
847
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
861
848
|
uploadType?: string;
|
|
862
|
-
}): Request<
|
|
849
|
+
}): Request<Operation>;
|
|
863
850
|
}
|
|
864
851
|
interface EntityTypesResource {
|
|
865
852
|
/** Gets metadata of given entity type */
|