@maxim_mazurok/gapi.client.datastore-v1 0.3.20260624 → 0.3.20260706
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 +21 -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=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20260706
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -62,6 +62,8 @@ declare namespace gapi.client {
|
|
|
62
62
|
databaseId?: string;
|
|
63
63
|
/** Required. A list of keys with incomplete key paths for which to allocate IDs. No key may be reserved/read-only. */
|
|
64
64
|
keys?: Key[];
|
|
65
|
+
/** Optional. The options for this request. */
|
|
66
|
+
requestOptions?: RequestOptions;
|
|
65
67
|
}
|
|
66
68
|
interface AllocateIdsResponse {
|
|
67
69
|
/** The keys specified in the request (in the same order), each with its key path completed with a newly allocated ID. */
|
|
@@ -78,6 +80,8 @@ declare namespace gapi.client {
|
|
|
78
80
|
interface BeginTransactionRequest {
|
|
79
81
|
/** The ID of the database against which to make the request. '(default)' is not allowed; please use empty string '' to refer the default database. */
|
|
80
82
|
databaseId?: string;
|
|
83
|
+
/** Optional. The options for this request. */
|
|
84
|
+
requestOptions?: RequestOptions;
|
|
81
85
|
/** Options for a new transaction. */
|
|
82
86
|
transactionOptions?: TransactionOptions;
|
|
83
87
|
}
|
|
@@ -92,6 +96,8 @@ declare namespace gapi.client {
|
|
|
92
96
|
mode?: 'MODE_UNSPECIFIED' | 'TRANSACTIONAL' | 'NON_TRANSACTIONAL';
|
|
93
97
|
/** The mutations to perform. When mode is `TRANSACTIONAL`, mutations affecting a single entity are applied in order. The following sequences of mutations affecting a single entity are not permitted in a single `Commit` request: - `insert` followed by `insert` - `update` followed by `insert` - `upsert` followed by `insert` - `delete` followed by `update` When mode is `NON_TRANSACTIONAL`, no two mutations may affect a single entity. */
|
|
94
98
|
mutations?: Mutation[];
|
|
99
|
+
/** Optional. The options for this request. */
|
|
100
|
+
requestOptions?: RequestOptions;
|
|
95
101
|
/** Options for beginning a new transaction for this request. The transaction is committed when the request completes. If specified, TransactionOptions.mode must be TransactionOptions.ReadWrite. */
|
|
96
102
|
singleUseTransaction?: TransactionOptions;
|
|
97
103
|
/** The identifier of the transaction associated with the commit. A transaction identifier is returned by a call to Datastore.BeginTransaction. */
|
|
@@ -463,6 +469,8 @@ declare namespace gapi.client {
|
|
|
463
469
|
propertyMask?: PropertyMask;
|
|
464
470
|
/** The options for this lookup request. */
|
|
465
471
|
readOptions?: ReadOptions;
|
|
472
|
+
/** Optional. The options for this request. */
|
|
473
|
+
requestOptions?: RequestOptions;
|
|
466
474
|
}
|
|
467
475
|
interface LookupResponse {
|
|
468
476
|
/** A list of keys that were not looked up due to resource constraints. The order of results in this field is undefined and has no relation to the order of the keys in the input. */
|
|
@@ -647,16 +655,24 @@ declare namespace gapi.client {
|
|
|
647
655
|
/** The transaction identifier of the transaction being retried. */
|
|
648
656
|
previousTransaction?: string;
|
|
649
657
|
}
|
|
658
|
+
interface RequestOptions {
|
|
659
|
+
/** Optional. The request tags for the request. The tags are processed as follows: - Truncated to 510 characters. - Filtered out if empty. - Deduplicated. - Limited to 50 tags. */
|
|
660
|
+
requestTags?: string[];
|
|
661
|
+
}
|
|
650
662
|
interface ReserveIdsRequest {
|
|
651
663
|
/** The ID of the database against which to make the request. '(default)' is not allowed; please use empty string '' to refer the default database. */
|
|
652
664
|
databaseId?: string;
|
|
653
665
|
/** Required. A list of keys with complete key paths whose numeric IDs should not be auto-allocated. */
|
|
654
666
|
keys?: Key[];
|
|
667
|
+
/** Optional. The options for this request. */
|
|
668
|
+
requestOptions?: RequestOptions;
|
|
655
669
|
}
|
|
656
670
|
interface ReserveIdsResponse {}
|
|
657
671
|
interface RollbackRequest {
|
|
658
672
|
/** The ID of the database against which to make the request. '(default)' is not allowed; please use empty string '' to refer the default database. */
|
|
659
673
|
databaseId?: string;
|
|
674
|
+
/** Optional. The options for this request. */
|
|
675
|
+
requestOptions?: RequestOptions;
|
|
660
676
|
/** Required. The transaction identifier, returned by a call to Datastore.BeginTransaction. */
|
|
661
677
|
transaction?: string;
|
|
662
678
|
}
|
|
@@ -674,6 +690,8 @@ declare namespace gapi.client {
|
|
|
674
690
|
partitionId?: PartitionId;
|
|
675
691
|
/** The options for this query. */
|
|
676
692
|
readOptions?: ReadOptions;
|
|
693
|
+
/** Optional. The options for this request. */
|
|
694
|
+
requestOptions?: RequestOptions;
|
|
677
695
|
}
|
|
678
696
|
interface RunAggregationQueryResponse {
|
|
679
697
|
/** A batch of aggregation results. Always present. */
|
|
@@ -700,6 +718,8 @@ declare namespace gapi.client {
|
|
|
700
718
|
query?: Query;
|
|
701
719
|
/** The options for this query. */
|
|
702
720
|
readOptions?: ReadOptions;
|
|
721
|
+
/** Optional. The options for this request. */
|
|
722
|
+
requestOptions?: RequestOptions;
|
|
703
723
|
}
|
|
704
724
|
interface RunQueryResponse {
|
|
705
725
|
/** A batch of query results. This is always present unless running a query under explain-only mode: RunQueryRequest.explain_options was provided and ExplainOptions.analyze was set to false. */
|