@maxim_mazurok/gapi.client.datastore-v1beta3 0.2.20260608 → 0.3.20260610
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 +6 -19
- 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://datastore.googleapis.com/$discovery/rest?version=v1beta3
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20260610
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -158,10 +158,7 @@ declare namespace gapi.client {
|
|
|
158
158
|
interface FindNearest {
|
|
159
159
|
/** Required. The Distance Measure to use, required. */
|
|
160
160
|
distanceMeasure?:
|
|
161
|
-
| '
|
|
162
|
-
| 'EUCLIDEAN'
|
|
163
|
-
| 'COSINE'
|
|
164
|
-
| 'DOT_PRODUCT';
|
|
161
|
+
'DISTANCE_MEASURE_UNSPECIFIED' | 'EUCLIDEAN' | 'COSINE' | 'DOT_PRODUCT';
|
|
165
162
|
/** Optional. Optional name of the field to output the result of the vector distance calculation. Must conform to entity property limitations. */
|
|
166
163
|
distanceResultProperty?: string;
|
|
167
164
|
/** Optional. Option to specify a threshold for which no less similar documents will be returned. The behavior of the specified `distance_measure` will affect the meaning of the distance threshold. Since DOT_PRODUCT distances increase when the vectors are more similar, the comparison is inverted. * For EUCLIDEAN, COSINE: WHERE distance <= distance_threshold * For DOT_PRODUCT: WHERE distance >= distance_threshold */
|
|
@@ -180,9 +177,7 @@ declare namespace gapi.client {
|
|
|
180
177
|
labels?: {[P in string]: string};
|
|
181
178
|
/** The type of the operation. Can be used as a filter in ListOperationsRequest. */
|
|
182
179
|
operationType?:
|
|
183
|
-
| '
|
|
184
|
-
| 'EXPORT_ENTITIES'
|
|
185
|
-
| 'IMPORT_ENTITIES';
|
|
180
|
+
'OPERATION_TYPE_UNSPECIFIED' | 'EXPORT_ENTITIES' | 'IMPORT_ENTITIES';
|
|
186
181
|
/** The time that work began on the operation. */
|
|
187
182
|
startTime?: string;
|
|
188
183
|
/** The current state of the Operation. */
|
|
@@ -264,10 +259,7 @@ declare namespace gapi.client {
|
|
|
264
259
|
interface GoogleDatastoreAdminV1DatastoreFirestoreMigrationMetadata {
|
|
265
260
|
/** The current state of migration from Cloud Datastore to Cloud Firestore in Datastore mode. */
|
|
266
261
|
migrationState?:
|
|
267
|
-
| '
|
|
268
|
-
| 'RUNNING'
|
|
269
|
-
| 'PAUSED'
|
|
270
|
-
| 'COMPLETE';
|
|
262
|
+
'MIGRATION_STATE_UNSPECIFIED' | 'RUNNING' | 'PAUSED' | 'COMPLETE';
|
|
271
263
|
/** The current step of migration from Cloud Datastore to Cloud Firestore in Datastore mode. */
|
|
272
264
|
migrationStep?:
|
|
273
265
|
| 'MIGRATION_STEP_UNSPECIFIED'
|
|
@@ -418,9 +410,7 @@ declare namespace gapi.client {
|
|
|
418
410
|
baseVersion?: string;
|
|
419
411
|
/** The strategy to use when a conflict is detected. Defaults to `SERVER_VALUE`. If this is set, then `conflict_detection_strategy` must also be set. */
|
|
420
412
|
conflictResolutionStrategy?:
|
|
421
|
-
| '
|
|
422
|
-
| 'SERVER_VALUE'
|
|
423
|
-
| 'FAIL';
|
|
413
|
+
'STRATEGY_UNSPECIFIED' | 'SERVER_VALUE' | 'FAIL';
|
|
424
414
|
/** The key of the entity to delete. The entity may or may not already exist. Must have a complete key path and must not be reserved/read-only. */
|
|
425
415
|
delete?: Key;
|
|
426
416
|
/** The entity to insert. The entity must not already exist. The entity key's final path element may be incomplete. */
|
|
@@ -549,10 +539,7 @@ declare namespace gapi.client {
|
|
|
549
539
|
entityResults?: EntityResult[];
|
|
550
540
|
/** The result type for every entity in `entity_results`. */
|
|
551
541
|
entityResultType?:
|
|
552
|
-
| '
|
|
553
|
-
| 'FULL'
|
|
554
|
-
| 'PROJECTION'
|
|
555
|
-
| 'KEY_ONLY';
|
|
542
|
+
'RESULT_TYPE_UNSPECIFIED' | 'FULL' | 'PROJECTION' | 'KEY_ONLY';
|
|
556
543
|
/** The state of the query after the current batch. */
|
|
557
544
|
moreResults?:
|
|
558
545
|
| 'MORE_RESULTS_TYPE_UNSPECIFIED'
|