@maxim_mazurok/gapi.client.connectors-v2 0.0.20240606 → 0.0.20240619
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 -55
- 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: 20240619
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -285,18 +285,6 @@ declare namespace gapi.client {
|
|
|
285
285
|
/** Optional. Array of string values. e.g. instance's replica information. */
|
|
286
286
|
values?: string[];
|
|
287
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
|
-
}
|
|
300
288
|
interface PerSliSloEligibility {
|
|
301
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. */
|
|
302
290
|
eligibilities?: {[P in string]: SloEligibility};
|
|
@@ -363,14 +351,6 @@ declare namespace gapi.client {
|
|
|
363
351
|
/** 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. */
|
|
364
352
|
tier?: string;
|
|
365
353
|
}
|
|
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
|
-
}
|
|
374
354
|
interface TimeOfDay {
|
|
375
355
|
/** 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. */
|
|
376
356
|
hours?: number;
|
|
@@ -815,39 +795,6 @@ declare namespace gapi.client {
|
|
|
815
795
|
body: Entity
|
|
816
796
|
): Request<UpdateEntitiesWithConditionsResponse>;
|
|
817
797
|
}
|
|
818
|
-
interface EntitieswithaclsResource {
|
|
819
|
-
/** 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. */
|
|
820
|
-
list(request?: {
|
|
821
|
-
/** V1 error format. */
|
|
822
|
-
'$.xgafv'?: string;
|
|
823
|
-
/** OAuth access token. */
|
|
824
|
-
access_token?: string;
|
|
825
|
-
/** Data format for response. */
|
|
826
|
-
alt?: string;
|
|
827
|
-
/** JSONP */
|
|
828
|
-
callback?: string;
|
|
829
|
-
/** 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. */
|
|
830
|
-
conditions?: string;
|
|
831
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
832
|
-
fields?: string;
|
|
833
|
-
/** Format: gs://object_path */
|
|
834
|
-
gsutilUri?: string;
|
|
835
|
-
/** 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. */
|
|
836
|
-
key?: string;
|
|
837
|
-
/** OAuth 2.0 token for the current user. */
|
|
838
|
-
oauth_token?: string;
|
|
839
|
-
/** Required. Resource name of the Entity Type. Format: projects/{project}/locations/{location}/connections/{connection}/entityTypes/{type} */
|
|
840
|
-
parent: string;
|
|
841
|
-
/** Returns response with indentations and line breaks. */
|
|
842
|
-
prettyPrint?: boolean;
|
|
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. */
|
|
844
|
-
quotaUser?: string;
|
|
845
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
846
|
-
upload_protocol?: string;
|
|
847
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
848
|
-
uploadType?: string;
|
|
849
|
-
}): Request<Operation>;
|
|
850
|
-
}
|
|
851
798
|
interface EntityTypesResource {
|
|
852
799
|
/** Gets metadata of given entity type */
|
|
853
800
|
get(request?: {
|
|
@@ -910,7 +857,6 @@ declare namespace gapi.client {
|
|
|
910
857
|
view?: string;
|
|
911
858
|
}): Request<ListEntityTypesResponse>;
|
|
912
859
|
entities: EntitiesResource;
|
|
913
|
-
entitieswithacls: EntitieswithaclsResource;
|
|
914
860
|
}
|
|
915
861
|
interface ConnectionsResource {
|
|
916
862
|
/** Reports readiness status of the connector. Similar logic to GetStatus but modified for kubernetes health check to understand. */
|