@maxim_mazurok/gapi.client.datastore-v1beta3 0.0.20231221 → 0.0.20240109
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 +19 -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://datastore.googleapis.com/$discovery/rest?version=v1beta3
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20240109
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -398,6 +398,10 @@ declare namespace gapi.client {
|
|
|
398
398
|
/** A starting point for the query results. Query cursors are returned in query result batches and [can only be used to continue the same query](https://cloud.google.com/datastore/docs/concepts/queries#cursors_limits_and_offsets). */
|
|
399
399
|
startCursor?: string;
|
|
400
400
|
}
|
|
401
|
+
interface QueryPlan {
|
|
402
|
+
/** Planning phase information for the query. It will include: { "indexes_used": [ {"query_scope": "Collection", "properties": "(foo ASC, __name__ ASC)"}, {"query_scope": "Collection", "properties": "(bar ASC, __name__ ASC)"} ] } */
|
|
403
|
+
planInfo?: {[P in string]: any};
|
|
404
|
+
}
|
|
401
405
|
interface QueryResultBatch {
|
|
402
406
|
/** A cursor that points to the position after the last result in the batch. */
|
|
403
407
|
endCursor?: string;
|
|
@@ -439,6 +443,12 @@ declare namespace gapi.client {
|
|
|
439
443
|
keys?: Key[];
|
|
440
444
|
}
|
|
441
445
|
interface ReserveIdsResponse {}
|
|
446
|
+
interface ResultSetStats {
|
|
447
|
+
/** Plan for the query. */
|
|
448
|
+
queryPlan?: QueryPlan;
|
|
449
|
+
/** Aggregated statistics from the execution of the query. This will only be present when the request specifies `PROFILE` mode. For example, a query will return the statistics including: { "results_returned": "20", "documents_scanned": "20", "indexes_entries_scanned": "10050", "total_execution_time": "100.7 msecs" } */
|
|
450
|
+
queryStats?: {[P in string]: any};
|
|
451
|
+
}
|
|
442
452
|
interface RollbackRequest {
|
|
443
453
|
/** Required. The transaction identifier, returned by a call to Datastore.BeginTransaction. */
|
|
444
454
|
transaction?: string;
|
|
@@ -449,6 +459,8 @@ declare namespace gapi.client {
|
|
|
449
459
|
aggregationQuery?: AggregationQuery;
|
|
450
460
|
/** The GQL query to run. This query must be an aggregation query. */
|
|
451
461
|
gqlQuery?: GqlQuery;
|
|
462
|
+
/** Optional. The mode in which the query request is processed. This field is optional, and when not provided, it defaults to `NORMAL` mode where no additional statistics will be returned with the query results. */
|
|
463
|
+
mode?: string;
|
|
452
464
|
/** Entities are partitioned into subsets, identified by a partition ID. Queries are scoped to a single partition. This partition ID is normalized with the standard default context partition ID. */
|
|
453
465
|
partitionId?: PartitionId;
|
|
454
466
|
/** The options for this query. */
|
|
@@ -459,10 +471,14 @@ declare namespace gapi.client {
|
|
|
459
471
|
batch?: AggregationResultBatch;
|
|
460
472
|
/** The parsed form of the `GqlQuery` from the request, if it was set. */
|
|
461
473
|
query?: AggregationQuery;
|
|
474
|
+
/** Query plan and execution statistics. Note that the returned stats are subject to change as Firestore evolves. This is only present when the request specifies a mode other than `NORMAL`. */
|
|
475
|
+
stats?: ResultSetStats;
|
|
462
476
|
}
|
|
463
477
|
interface RunQueryRequest {
|
|
464
478
|
/** The GQL query to run. This query must be a non-aggregation query. */
|
|
465
479
|
gqlQuery?: GqlQuery;
|
|
480
|
+
/** Optional. The mode in which the query request is processed. This field is optional, and when not provided, it defaults to `NORMAL` mode where no additional statistics will be returned with the query results. */
|
|
481
|
+
mode?: string;
|
|
466
482
|
/** Entities are partitioned into subsets, identified by a partition ID. Queries are scoped to a single partition. This partition ID is normalized with the standard default context partition ID. */
|
|
467
483
|
partitionId?: PartitionId;
|
|
468
484
|
/** The query to run. */
|
|
@@ -475,6 +491,8 @@ declare namespace gapi.client {
|
|
|
475
491
|
batch?: QueryResultBatch;
|
|
476
492
|
/** The parsed form of the `GqlQuery` from the request, if it was set. */
|
|
477
493
|
query?: Query;
|
|
494
|
+
/** Query plan and execution statistics. Note that the returned stats are subject to change as Firestore evolves. This is only present when the request specifies a mode other than `NORMAL`. */
|
|
495
|
+
stats?: ResultSetStats;
|
|
478
496
|
}
|
|
479
497
|
interface Sum {
|
|
480
498
|
/** The property to aggregate on. */
|