@maxim_mazurok/gapi.client.spanner-v1 0.0.20240131 → 0.0.20240207
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 +8 -4
- 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://spanner.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20240207
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -211,7 +211,7 @@ declare namespace gapi.client {
|
|
|
211
211
|
encryptionConfig?: EncryptionConfig;
|
|
212
212
|
/** Optional. A list of DDL statements to run inside the newly created database. Statements can create tables, indexes, etc. These statements execute atomically with the creation of the database: if there is an error in any statement, the database is not created. */
|
|
213
213
|
extraStatements?: string[];
|
|
214
|
-
/** Optional. Proto descriptors used by CREATE/ALTER PROTO BUNDLE statements in 'extra_statements' above. Contains a protobuf-serialized [google.protobuf.FileDescriptorSet](https://github.com/protocolbuffers/protobuf/blob/main/src/google/protobuf/descriptor.proto). To generate it, [install](https://grpc.io/docs/protoc-installation/) and run `protoc` with --include_imports and --descriptor_set_out. For example, to generate for moon/shot/app.proto, run
|
|
214
|
+
/** Optional. Proto descriptors used by CREATE/ALTER PROTO BUNDLE statements in 'extra_statements' above. Contains a protobuf-serialized [google.protobuf.FileDescriptorSet](https://github.com/protocolbuffers/protobuf/blob/main/src/google/protobuf/descriptor.proto). To generate it, [install](https://grpc.io/docs/protoc-installation/) and run `protoc` with --include_imports and --descriptor_set_out. For example, to generate for moon/shot/app.proto, run ``` $protoc --proto_path=/app_path --proto_path=/lib_path \ --include_imports \ --descriptor_set_out=descriptors.data \ moon/shot/app.proto ``` For more details, see protobuffer [self description](https://developers.google.com/protocol-buffers/docs/techniques#self-description). */
|
|
215
215
|
protoDescriptors?: string;
|
|
216
216
|
}
|
|
217
217
|
interface CreateInstanceConfigMetadata {
|
|
@@ -235,6 +235,8 @@ declare namespace gapi.client {
|
|
|
235
235
|
cancelTime?: string;
|
|
236
236
|
/** The time at which this operation failed or was completed successfully. */
|
|
237
237
|
endTime?: string;
|
|
238
|
+
/** The expected fulfillment period of this create operation. */
|
|
239
|
+
expectedFulfillmentPeriod?: string;
|
|
238
240
|
/** The instance being created. */
|
|
239
241
|
instance?: Instance;
|
|
240
242
|
/** The time at which the CreateInstance request was received. */
|
|
@@ -313,7 +315,7 @@ declare namespace gapi.client {
|
|
|
313
315
|
shortMessage?: LocalizedString;
|
|
314
316
|
}
|
|
315
317
|
interface DirectedReadOptions {
|
|
316
|
-
/** Exclude_replicas indicates that should be excluded from serving requests. Spanner will not route requests to the replicas in this list. */
|
|
318
|
+
/** Exclude_replicas indicates that specified replicas should be excluded from serving requests. Spanner will not route requests to the replicas in this list. */
|
|
317
319
|
excludeReplicas?: ExcludeReplicas;
|
|
318
320
|
/** Include_replicas indicates the order of replicas (as they appear in this list) to process the request. If auto_failover_disabled is set to true and all replicas are exhausted without finding a healthy replica, Spanner will wait for a replica in the list to become available, requests may fail due to `DEADLINE_EXCEEDED` errors. */
|
|
319
321
|
includeReplicas?: IncludeReplicas;
|
|
@@ -1051,7 +1053,7 @@ declare namespace gapi.client {
|
|
|
1051
1053
|
interface UpdateDatabaseDdlRequest {
|
|
1052
1054
|
/** If empty, the new update request is assigned an automatically-generated operation ID. Otherwise, `operation_id` is used to construct the name of the resulting Operation. Specifying an explicit operation ID simplifies determining whether the statements were executed in the event that the UpdateDatabaseDdl call is replayed, or the return value is otherwise lost: the database and `operation_id` fields can be combined to form the name of the resulting longrunning.Operation: `/operations/`. `operation_id` should be unique within the database, and must be a valid identifier: `a-z*`. Note that automatically-generated operation IDs always begin with an underscore. If the named operation already exists, UpdateDatabaseDdl returns `ALREADY_EXISTS`. */
|
|
1053
1055
|
operationId?: string;
|
|
1054
|
-
/** Optional. Proto descriptors used by CREATE/ALTER PROTO BUNDLE statements. Contains a protobuf-serialized [google.protobuf.FileDescriptorSet](https://github.com/protocolbuffers/protobuf/blob/main/src/google/protobuf/descriptor.proto). To generate it, [install](https://grpc.io/docs/protoc-installation/) and run `protoc` with --include_imports and --descriptor_set_out. For example, to generate for moon/shot/app.proto, run
|
|
1056
|
+
/** Optional. Proto descriptors used by CREATE/ALTER PROTO BUNDLE statements. Contains a protobuf-serialized [google.protobuf.FileDescriptorSet](https://github.com/protocolbuffers/protobuf/blob/main/src/google/protobuf/descriptor.proto). To generate it, [install](https://grpc.io/docs/protoc-installation/) and run `protoc` with --include_imports and --descriptor_set_out. For example, to generate for moon/shot/app.proto, run ``` $protoc --proto_path=/app_path --proto_path=/lib_path \ --include_imports \ --descriptor_set_out=descriptors.data \ moon/shot/app.proto ``` For more details, see protobuffer [self description](https://developers.google.com/protocol-buffers/docs/techniques#self-description). */
|
|
1055
1057
|
protoDescriptors?: string;
|
|
1056
1058
|
/** Required. DDL statements to be applied to the database. */
|
|
1057
1059
|
statements?: string[];
|
|
@@ -1091,6 +1093,8 @@ declare namespace gapi.client {
|
|
|
1091
1093
|
cancelTime?: string;
|
|
1092
1094
|
/** The time at which this operation failed or was completed successfully. */
|
|
1093
1095
|
endTime?: string;
|
|
1096
|
+
/** The expected fulfillment period of this update operation. */
|
|
1097
|
+
expectedFulfillmentPeriod?: string;
|
|
1094
1098
|
/** The desired end state of the update. */
|
|
1095
1099
|
instance?: Instance;
|
|
1096
1100
|
/** The time at which UpdateInstance request was received. */
|