@google-cloud/datastore-api 0.1.0
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/README.md +111 -0
- package/build/protos/google/datastore/admin/v1/datastore_admin.proto +506 -0
- package/build/protos/google/datastore/admin/v1/index.proto +122 -0
- package/build/protos/google/datastore/admin/v1/migration.proto +124 -0
- package/build/protos/google/datastore/v1/aggregation_result.proto +62 -0
- package/build/protos/google/datastore/v1/datastore.proto +851 -0
- package/build/protos/google/datastore/v1/entity.proto +217 -0
- package/build/protos/google/datastore/v1/query.proto +622 -0
- package/build/protos/google/datastore/v1/query_profile.proto +91 -0
- package/build/protos/protos.d.ts +18507 -0
- package/build/protos/protos.js +1 -0
- package/build/protos/protos.json +1 -0
- package/build/src/index.d.ts +14 -0
- package/build/src/index.js +30 -0
- package/build/src/index.js.map +1 -0
- package/build/src/v1/datastore_admin_client.d.ts +631 -0
- package/build/src/v1/datastore_admin_client.js +954 -0
- package/build/src/v1/datastore_admin_client.js.map +1 -0
- package/build/src/v1/datastore_admin_client_config.json +56 -0
- package/build/src/v1/datastore_admin_proto_list.json +5 -0
- package/build/src/v1/datastore_client.d.ts +451 -0
- package/build/src/v1/datastore_client.js +806 -0
- package/build/src/v1/datastore_client.js.map +1 -0
- package/build/src/v1/datastore_client_config.json +66 -0
- package/build/src/v1/datastore_proto_list.json +7 -0
- package/build/src/v1/gapic_metadata.json +87 -0
- package/build/src/v1/index.d.ts +2 -0
- package/build/src/v1/index.js +25 -0
- package/build/src/v1/index.js.map +1 -0
- package/package.json +65 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"datastore_admin_client.js","sourceRoot":"","sources":["../../../src/v1/datastore_admin_client.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,kDAAkD;AAClD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;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,CAAC;gBACxB,IAAI,CAAC,KAAK,EAAE,CAAC;gBACb,KAAK,IAAI,CAAC,gBAAgB,CAAC,KAAK,EAAE,CAAC;YACrC,CAAC,CAAC,CAAC;QACL,CAAC;QACD,OAAO,OAAO,CAAC,OAAO,EAAE,CAAC;IAC3B,CAAC;CACF;AA5uDD,oDA4uDC"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
{
|
|
2
|
+
"interfaces": {
|
|
3
|
+
"google.datastore.admin.v1.DatastoreAdmin": {
|
|
4
|
+
"retry_codes": {
|
|
5
|
+
"non_idempotent": [],
|
|
6
|
+
"idempotent": [
|
|
7
|
+
"DEADLINE_EXCEEDED",
|
|
8
|
+
"UNAVAILABLE"
|
|
9
|
+
]
|
|
10
|
+
},
|
|
11
|
+
"retry_params": {
|
|
12
|
+
"default": {
|
|
13
|
+
"initial_retry_delay_millis": 100,
|
|
14
|
+
"retry_delay_multiplier": 1.3,
|
|
15
|
+
"max_retry_delay_millis": 60000,
|
|
16
|
+
"initial_rpc_timeout_millis": 60000,
|
|
17
|
+
"rpc_timeout_multiplier": 1,
|
|
18
|
+
"max_rpc_timeout_millis": 60000,
|
|
19
|
+
"total_timeout_millis": 600000
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"methods": {
|
|
23
|
+
"ExportEntities": {
|
|
24
|
+
"timeout_millis": 60000,
|
|
25
|
+
"retry_codes_name": "non_idempotent",
|
|
26
|
+
"retry_params_name": "default"
|
|
27
|
+
},
|
|
28
|
+
"ImportEntities": {
|
|
29
|
+
"timeout_millis": 60000,
|
|
30
|
+
"retry_codes_name": "non_idempotent",
|
|
31
|
+
"retry_params_name": "default"
|
|
32
|
+
},
|
|
33
|
+
"CreateIndex": {
|
|
34
|
+
"timeout_millis": 60000,
|
|
35
|
+
"retry_codes_name": "non_idempotent",
|
|
36
|
+
"retry_params_name": "default"
|
|
37
|
+
},
|
|
38
|
+
"DeleteIndex": {
|
|
39
|
+
"timeout_millis": 60000,
|
|
40
|
+
"retry_codes_name": "non_idempotent",
|
|
41
|
+
"retry_params_name": "default"
|
|
42
|
+
},
|
|
43
|
+
"GetIndex": {
|
|
44
|
+
"timeout_millis": 60000,
|
|
45
|
+
"retry_codes_name": "idempotent",
|
|
46
|
+
"retry_params_name": "default"
|
|
47
|
+
},
|
|
48
|
+
"ListIndexes": {
|
|
49
|
+
"timeout_millis": 60000,
|
|
50
|
+
"retry_codes_name": "idempotent",
|
|
51
|
+
"retry_params_name": "default"
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
@@ -0,0 +1,451 @@
|
|
|
1
|
+
import type * as gax from 'google-gax';
|
|
2
|
+
import type { Callback, CallOptions, Descriptors, ClientOptions } from 'google-gax';
|
|
3
|
+
import * as protos from '../../protos/protos';
|
|
4
|
+
/**
|
|
5
|
+
* Each RPC normalizes the partition IDs of the keys in its input entities,
|
|
6
|
+
* and always returns entities with keys with normalized partition IDs.
|
|
7
|
+
* This applies to all keys and entities, including those in values, except keys
|
|
8
|
+
* with both an empty path and an empty or unset partition ID. Normalization of
|
|
9
|
+
* input keys sets the project ID (if not already set) to the project ID from
|
|
10
|
+
* the request.
|
|
11
|
+
*
|
|
12
|
+
* @class
|
|
13
|
+
* @memberof v1
|
|
14
|
+
*/
|
|
15
|
+
export declare class DatastoreClient {
|
|
16
|
+
private _terminated;
|
|
17
|
+
private _opts;
|
|
18
|
+
private _providedCustomServicePath;
|
|
19
|
+
private _gaxModule;
|
|
20
|
+
private _gaxGrpc;
|
|
21
|
+
private _protos;
|
|
22
|
+
private _defaults;
|
|
23
|
+
private _universeDomain;
|
|
24
|
+
private _servicePath;
|
|
25
|
+
private _log;
|
|
26
|
+
auth: gax.GoogleAuth;
|
|
27
|
+
descriptors: Descriptors;
|
|
28
|
+
warn: (code: string, message: string, warnType?: string) => void;
|
|
29
|
+
innerApiCalls: {
|
|
30
|
+
[name: string]: Function;
|
|
31
|
+
};
|
|
32
|
+
datastoreStub?: Promise<{
|
|
33
|
+
[name: string]: Function;
|
|
34
|
+
}>;
|
|
35
|
+
/**
|
|
36
|
+
* Construct an instance of DatastoreClient.
|
|
37
|
+
*
|
|
38
|
+
* @param {object} [options] - The configuration object.
|
|
39
|
+
* The options accepted by the constructor are described in detail
|
|
40
|
+
* in [this document](https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#creating-the-client-instance).
|
|
41
|
+
* The common options are:
|
|
42
|
+
* @param {object} [options.credentials] - Credentials object.
|
|
43
|
+
* @param {string} [options.credentials.client_email]
|
|
44
|
+
* @param {string} [options.credentials.private_key]
|
|
45
|
+
* @param {string} [options.email] - Account email address. Required when
|
|
46
|
+
* using a .pem or .p12 keyFilename.
|
|
47
|
+
* @param {string} [options.keyFilename] - Full path to the a .json, .pem, or
|
|
48
|
+
* .p12 key downloaded from the Google Developers Console. If you provide
|
|
49
|
+
* a path to a JSON file, the projectId option below is not necessary.
|
|
50
|
+
* NOTE: .pem and .p12 require you to specify options.email as well.
|
|
51
|
+
* @param {number} [options.port] - The port on which to connect to
|
|
52
|
+
* the remote host.
|
|
53
|
+
* @param {string} [options.projectId] - The project ID from the Google
|
|
54
|
+
* Developer's Console, e.g. 'grape-spaceship-123'. We will also check
|
|
55
|
+
* the environment variable GCLOUD_PROJECT for your project ID. If your
|
|
56
|
+
* app is running in an environment which supports
|
|
57
|
+
* {@link https://cloud.google.com/docs/authentication/application-default-credentials Application Default Credentials},
|
|
58
|
+
* your project ID will be detected automatically.
|
|
59
|
+
* @param {string} [options.apiEndpoint] - The domain name of the
|
|
60
|
+
* API remote host.
|
|
61
|
+
* @param {gax.ClientConfig} [options.clientConfig] - Client configuration override.
|
|
62
|
+
* Follows the structure of {@link gapicConfig}.
|
|
63
|
+
* @param {boolean} [options.fallback] - Use HTTP/1.1 REST mode.
|
|
64
|
+
* For more information, please check the
|
|
65
|
+
* {@link https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#http11-rest-api-mode documentation}.
|
|
66
|
+
* @param {gax} [gaxInstance]: loaded instance of `google-gax`. Useful if you
|
|
67
|
+
* need to avoid loading the default gRPC version and want to use the fallback
|
|
68
|
+
* HTTP implementation. Load only fallback version and pass it to the constructor:
|
|
69
|
+
* ```
|
|
70
|
+
* const gax = require('google-gax/build/src/fallback'); // avoids loading google-gax with gRPC
|
|
71
|
+
* const client = new DatastoreClient({fallback: true}, gax);
|
|
72
|
+
* ```
|
|
73
|
+
*/
|
|
74
|
+
constructor(opts?: ClientOptions, gaxInstance?: typeof gax | typeof gax.fallback);
|
|
75
|
+
/**
|
|
76
|
+
* Initialize the client.
|
|
77
|
+
* Performs asynchronous operations (such as authentication) and prepares the client.
|
|
78
|
+
* This function will be called automatically when any class method is called for the
|
|
79
|
+
* first time, but if you need to initialize it before calling an actual method,
|
|
80
|
+
* feel free to call initialize() directly.
|
|
81
|
+
*
|
|
82
|
+
* You can await on this method if you want to make sure the client is initialized.
|
|
83
|
+
*
|
|
84
|
+
* @returns {Promise} A promise that resolves to an authenticated service stub.
|
|
85
|
+
*/
|
|
86
|
+
initialize(): Promise<{
|
|
87
|
+
[name: string]: Function;
|
|
88
|
+
}>;
|
|
89
|
+
/**
|
|
90
|
+
* The DNS address for this API service.
|
|
91
|
+
* @deprecated Use the apiEndpoint method of the client instance.
|
|
92
|
+
* @returns {string} The DNS address for this service.
|
|
93
|
+
*/
|
|
94
|
+
static get servicePath(): string;
|
|
95
|
+
/**
|
|
96
|
+
* The DNS address for this API service - same as servicePath.
|
|
97
|
+
* @deprecated Use the apiEndpoint method of the client instance.
|
|
98
|
+
* @returns {string} The DNS address for this service.
|
|
99
|
+
*/
|
|
100
|
+
static get apiEndpoint(): string;
|
|
101
|
+
/**
|
|
102
|
+
* The DNS address for this API service.
|
|
103
|
+
* @returns {string} The DNS address for this service.
|
|
104
|
+
*/
|
|
105
|
+
get apiEndpoint(): string;
|
|
106
|
+
get universeDomain(): string;
|
|
107
|
+
/**
|
|
108
|
+
* The port for this API service.
|
|
109
|
+
* @returns {number} The default port for this service.
|
|
110
|
+
*/
|
|
111
|
+
static get port(): number;
|
|
112
|
+
/**
|
|
113
|
+
* The scopes needed to make gRPC calls for every method defined
|
|
114
|
+
* in this service.
|
|
115
|
+
* @returns {string[]} List of default scopes.
|
|
116
|
+
*/
|
|
117
|
+
static get scopes(): string[];
|
|
118
|
+
getProjectId(): Promise<string>;
|
|
119
|
+
getProjectId(callback: Callback<string, undefined, undefined>): void;
|
|
120
|
+
/**
|
|
121
|
+
* Looks up entities by key.
|
|
122
|
+
*
|
|
123
|
+
* @param {Object} request
|
|
124
|
+
* The request object that will be sent.
|
|
125
|
+
* @param {string} request.projectId
|
|
126
|
+
* Required. The ID of the project against which to make the request.
|
|
127
|
+
* @param {string} request.databaseId
|
|
128
|
+
* The ID of the database against which to make the request.
|
|
129
|
+
*
|
|
130
|
+
* '(default)' is not allowed; please use empty string '' to refer the default
|
|
131
|
+
* database.
|
|
132
|
+
* @param {google.datastore.v1.ReadOptions} request.readOptions
|
|
133
|
+
* The options for this lookup request.
|
|
134
|
+
* @param {number[]} request.keys
|
|
135
|
+
* Required. Keys of entities to look up.
|
|
136
|
+
* @param {google.datastore.v1.PropertyMask} request.propertyMask
|
|
137
|
+
* The properties to return. Defaults to returning all properties.
|
|
138
|
+
*
|
|
139
|
+
* If this field is set and an entity has a property not referenced in the
|
|
140
|
+
* mask, it will be absent from {@link protos.|LookupResponse.found.entity.properties}.
|
|
141
|
+
*
|
|
142
|
+
* The entity's key is always returned.
|
|
143
|
+
* @param {google.datastore.v1.RequestOptions} [request.requestOptions]
|
|
144
|
+
* Optional. The options for this request.
|
|
145
|
+
* @param {object} [options]
|
|
146
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
147
|
+
* @returns {Promise} - The promise which resolves to an array.
|
|
148
|
+
* The first element of the array is an object representing {@link protos.google.datastore.v1.LookupResponse|LookupResponse}.
|
|
149
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
|
|
150
|
+
* for more details and examples.
|
|
151
|
+
* @example <caption>include:samples/generated/v1/datastore.lookup.js</caption>
|
|
152
|
+
* region_tag:datastore_v1_generated_Datastore_Lookup_async
|
|
153
|
+
*/
|
|
154
|
+
lookup(request?: protos.google.datastore.v1.ILookupRequest, options?: CallOptions): Promise<[
|
|
155
|
+
protos.google.datastore.v1.ILookupResponse,
|
|
156
|
+
protos.google.datastore.v1.ILookupRequest | undefined,
|
|
157
|
+
{} | undefined
|
|
158
|
+
]>;
|
|
159
|
+
lookup(request: protos.google.datastore.v1.ILookupRequest, options: CallOptions, callback: Callback<protos.google.datastore.v1.ILookupResponse, protos.google.datastore.v1.ILookupRequest | null | undefined, {} | null | undefined>): void;
|
|
160
|
+
lookup(request: protos.google.datastore.v1.ILookupRequest, callback: Callback<protos.google.datastore.v1.ILookupResponse, protos.google.datastore.v1.ILookupRequest | null | undefined, {} | null | undefined>): void;
|
|
161
|
+
/**
|
|
162
|
+
* Queries for entities.
|
|
163
|
+
*
|
|
164
|
+
* @param {Object} request
|
|
165
|
+
* The request object that will be sent.
|
|
166
|
+
* @param {string} request.projectId
|
|
167
|
+
* Required. The ID of the project against which to make the request.
|
|
168
|
+
* @param {string} request.databaseId
|
|
169
|
+
* The ID of the database against which to make the request.
|
|
170
|
+
*
|
|
171
|
+
* '(default)' is not allowed; please use empty string '' to refer the default
|
|
172
|
+
* database.
|
|
173
|
+
* @param {google.datastore.v1.PartitionId} request.partitionId
|
|
174
|
+
* Entities are partitioned into subsets, identified by a partition ID.
|
|
175
|
+
* Queries are scoped to a single partition.
|
|
176
|
+
* This partition ID is normalized with the standard default context
|
|
177
|
+
* partition ID.
|
|
178
|
+
* @param {google.datastore.v1.ReadOptions} request.readOptions
|
|
179
|
+
* The options for this query.
|
|
180
|
+
* @param {google.datastore.v1.Query} request.query
|
|
181
|
+
* The query to run.
|
|
182
|
+
* @param {google.datastore.v1.GqlQuery} request.gqlQuery
|
|
183
|
+
* The GQL query to run. This query must be a non-aggregation query.
|
|
184
|
+
* @param {google.datastore.v1.PropertyMask} request.propertyMask
|
|
185
|
+
* The properties to return.
|
|
186
|
+
* This field must not be set for a projection query.
|
|
187
|
+
*
|
|
188
|
+
* See
|
|
189
|
+
* {@link protos.google.datastore.v1.LookupRequest.property_mask|LookupRequest.property_mask}.
|
|
190
|
+
* @param {google.datastore.v1.ExplainOptions} [request.explainOptions]
|
|
191
|
+
* Optional. Explain options for the query. If set, additional query
|
|
192
|
+
* statistics will be returned. If not, only query results will be returned.
|
|
193
|
+
* @param {google.datastore.v1.RequestOptions} [request.requestOptions]
|
|
194
|
+
* Optional. The options for this request.
|
|
195
|
+
* @param {object} [options]
|
|
196
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
197
|
+
* @returns {Promise} - The promise which resolves to an array.
|
|
198
|
+
* The first element of the array is an object representing {@link protos.google.datastore.v1.RunQueryResponse|RunQueryResponse}.
|
|
199
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
|
|
200
|
+
* for more details and examples.
|
|
201
|
+
* @example <caption>include:samples/generated/v1/datastore.run_query.js</caption>
|
|
202
|
+
* region_tag:datastore_v1_generated_Datastore_RunQuery_async
|
|
203
|
+
*/
|
|
204
|
+
runQuery(request?: protos.google.datastore.v1.IRunQueryRequest, options?: CallOptions): Promise<[
|
|
205
|
+
protos.google.datastore.v1.IRunQueryResponse,
|
|
206
|
+
protos.google.datastore.v1.IRunQueryRequest | undefined,
|
|
207
|
+
{} | undefined
|
|
208
|
+
]>;
|
|
209
|
+
runQuery(request: protos.google.datastore.v1.IRunQueryRequest, options: CallOptions, callback: Callback<protos.google.datastore.v1.IRunQueryResponse, protos.google.datastore.v1.IRunQueryRequest | null | undefined, {} | null | undefined>): void;
|
|
210
|
+
runQuery(request: protos.google.datastore.v1.IRunQueryRequest, callback: Callback<protos.google.datastore.v1.IRunQueryResponse, protos.google.datastore.v1.IRunQueryRequest | null | undefined, {} | null | undefined>): void;
|
|
211
|
+
/**
|
|
212
|
+
* Runs an aggregation query.
|
|
213
|
+
*
|
|
214
|
+
* @param {Object} request
|
|
215
|
+
* The request object that will be sent.
|
|
216
|
+
* @param {string} request.projectId
|
|
217
|
+
* Required. The ID of the project against which to make the request.
|
|
218
|
+
* @param {string} request.databaseId
|
|
219
|
+
* The ID of the database against which to make the request.
|
|
220
|
+
*
|
|
221
|
+
* '(default)' is not allowed; please use empty string '' to refer the default
|
|
222
|
+
* database.
|
|
223
|
+
* @param {google.datastore.v1.PartitionId} request.partitionId
|
|
224
|
+
* Entities are partitioned into subsets, identified by a partition ID.
|
|
225
|
+
* Queries are scoped to a single partition.
|
|
226
|
+
* This partition ID is normalized with the standard default context
|
|
227
|
+
* partition ID.
|
|
228
|
+
* @param {google.datastore.v1.ReadOptions} request.readOptions
|
|
229
|
+
* The options for this query.
|
|
230
|
+
* @param {google.datastore.v1.AggregationQuery} request.aggregationQuery
|
|
231
|
+
* The query to run.
|
|
232
|
+
* @param {google.datastore.v1.GqlQuery} request.gqlQuery
|
|
233
|
+
* The GQL query to run. This query must be an aggregation query.
|
|
234
|
+
* @param {google.datastore.v1.ExplainOptions} [request.explainOptions]
|
|
235
|
+
* Optional. Explain options for the query. If set, additional query
|
|
236
|
+
* statistics will be returned. If not, only query results will be returned.
|
|
237
|
+
* @param {google.datastore.v1.RequestOptions} [request.requestOptions]
|
|
238
|
+
* Optional. The options for this request.
|
|
239
|
+
* @param {object} [options]
|
|
240
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
241
|
+
* @returns {Promise} - The promise which resolves to an array.
|
|
242
|
+
* The first element of the array is an object representing {@link protos.google.datastore.v1.RunAggregationQueryResponse|RunAggregationQueryResponse}.
|
|
243
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
|
|
244
|
+
* for more details and examples.
|
|
245
|
+
* @example <caption>include:samples/generated/v1/datastore.run_aggregation_query.js</caption>
|
|
246
|
+
* region_tag:datastore_v1_generated_Datastore_RunAggregationQuery_async
|
|
247
|
+
*/
|
|
248
|
+
runAggregationQuery(request?: protos.google.datastore.v1.IRunAggregationQueryRequest, options?: CallOptions): Promise<[
|
|
249
|
+
protos.google.datastore.v1.IRunAggregationQueryResponse,
|
|
250
|
+
protos.google.datastore.v1.IRunAggregationQueryRequest | undefined,
|
|
251
|
+
{} | undefined
|
|
252
|
+
]>;
|
|
253
|
+
runAggregationQuery(request: protos.google.datastore.v1.IRunAggregationQueryRequest, options: CallOptions, callback: Callback<protos.google.datastore.v1.IRunAggregationQueryResponse, protos.google.datastore.v1.IRunAggregationQueryRequest | null | undefined, {} | null | undefined>): void;
|
|
254
|
+
runAggregationQuery(request: protos.google.datastore.v1.IRunAggregationQueryRequest, callback: Callback<protos.google.datastore.v1.IRunAggregationQueryResponse, protos.google.datastore.v1.IRunAggregationQueryRequest | null | undefined, {} | null | undefined>): void;
|
|
255
|
+
/**
|
|
256
|
+
* Begins a new transaction.
|
|
257
|
+
*
|
|
258
|
+
* @param {Object} request
|
|
259
|
+
* The request object that will be sent.
|
|
260
|
+
* @param {string} request.projectId
|
|
261
|
+
* Required. The ID of the project against which to make the request.
|
|
262
|
+
* @param {string} request.databaseId
|
|
263
|
+
* The ID of the database against which to make the request.
|
|
264
|
+
*
|
|
265
|
+
* '(default)' is not allowed; please use empty string '' to refer the default
|
|
266
|
+
* database.
|
|
267
|
+
* @param {google.datastore.v1.TransactionOptions} request.transactionOptions
|
|
268
|
+
* Options for a new transaction.
|
|
269
|
+
* @param {google.datastore.v1.RequestOptions} [request.requestOptions]
|
|
270
|
+
* Optional. The options for this request.
|
|
271
|
+
* @param {object} [options]
|
|
272
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
273
|
+
* @returns {Promise} - The promise which resolves to an array.
|
|
274
|
+
* The first element of the array is an object representing {@link protos.google.datastore.v1.BeginTransactionResponse|BeginTransactionResponse}.
|
|
275
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
|
|
276
|
+
* for more details and examples.
|
|
277
|
+
* @example <caption>include:samples/generated/v1/datastore.begin_transaction.js</caption>
|
|
278
|
+
* region_tag:datastore_v1_generated_Datastore_BeginTransaction_async
|
|
279
|
+
*/
|
|
280
|
+
beginTransaction(request?: protos.google.datastore.v1.IBeginTransactionRequest, options?: CallOptions): Promise<[
|
|
281
|
+
protos.google.datastore.v1.IBeginTransactionResponse,
|
|
282
|
+
protos.google.datastore.v1.IBeginTransactionRequest | undefined,
|
|
283
|
+
{} | undefined
|
|
284
|
+
]>;
|
|
285
|
+
beginTransaction(request: protos.google.datastore.v1.IBeginTransactionRequest, options: CallOptions, callback: Callback<protos.google.datastore.v1.IBeginTransactionResponse, protos.google.datastore.v1.IBeginTransactionRequest | null | undefined, {} | null | undefined>): void;
|
|
286
|
+
beginTransaction(request: protos.google.datastore.v1.IBeginTransactionRequest, callback: Callback<protos.google.datastore.v1.IBeginTransactionResponse, protos.google.datastore.v1.IBeginTransactionRequest | null | undefined, {} | null | undefined>): void;
|
|
287
|
+
/**
|
|
288
|
+
* Commits a transaction, optionally creating, deleting or modifying some
|
|
289
|
+
* entities.
|
|
290
|
+
*
|
|
291
|
+
* @param {Object} request
|
|
292
|
+
* The request object that will be sent.
|
|
293
|
+
* @param {string} request.projectId
|
|
294
|
+
* Required. The ID of the project against which to make the request.
|
|
295
|
+
* @param {string} request.databaseId
|
|
296
|
+
* The ID of the database against which to make the request.
|
|
297
|
+
*
|
|
298
|
+
* '(default)' is not allowed; please use empty string '' to refer the default
|
|
299
|
+
* database.
|
|
300
|
+
* @param {google.datastore.v1.CommitRequest.Mode} request.mode
|
|
301
|
+
* The type of commit to perform. Defaults to `TRANSACTIONAL`.
|
|
302
|
+
* @param {Buffer} request.transaction
|
|
303
|
+
* The identifier of the transaction associated with the commit. A
|
|
304
|
+
* transaction identifier is returned by a call to
|
|
305
|
+
* {@link protos.google.datastore.v1.Datastore.BeginTransaction|Datastore.BeginTransaction}.
|
|
306
|
+
* @param {google.datastore.v1.TransactionOptions} request.singleUseTransaction
|
|
307
|
+
* Options for beginning a new transaction for this request.
|
|
308
|
+
* The transaction is committed when the request completes. If specified,
|
|
309
|
+
* {@link protos.google.datastore.v1.TransactionOptions|TransactionOptions.mode} must be
|
|
310
|
+
* {@link protos.google.datastore.v1.TransactionOptions.ReadWrite|TransactionOptions.ReadWrite}.
|
|
311
|
+
* @param {number[]} request.mutations
|
|
312
|
+
* The mutations to perform.
|
|
313
|
+
*
|
|
314
|
+
* When mode is `TRANSACTIONAL`, mutations affecting a single entity are
|
|
315
|
+
* applied in order. The following sequences of mutations affecting a single
|
|
316
|
+
* entity are not permitted in a single `Commit` request:
|
|
317
|
+
*
|
|
318
|
+
* - `insert` followed by `insert`
|
|
319
|
+
* - `update` followed by `insert`
|
|
320
|
+
* - `upsert` followed by `insert`
|
|
321
|
+
* - `delete` followed by `update`
|
|
322
|
+
*
|
|
323
|
+
* When mode is `NON_TRANSACTIONAL`, no two mutations may affect a single
|
|
324
|
+
* entity.
|
|
325
|
+
* @param {google.datastore.v1.RequestOptions} [request.requestOptions]
|
|
326
|
+
* Optional. The options for this request.
|
|
327
|
+
* @param {object} [options]
|
|
328
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
329
|
+
* @returns {Promise} - The promise which resolves to an array.
|
|
330
|
+
* The first element of the array is an object representing {@link protos.google.datastore.v1.CommitResponse|CommitResponse}.
|
|
331
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
|
|
332
|
+
* for more details and examples.
|
|
333
|
+
* @example <caption>include:samples/generated/v1/datastore.commit.js</caption>
|
|
334
|
+
* region_tag:datastore_v1_generated_Datastore_Commit_async
|
|
335
|
+
*/
|
|
336
|
+
commit(request?: protos.google.datastore.v1.ICommitRequest, options?: CallOptions): Promise<[
|
|
337
|
+
protos.google.datastore.v1.ICommitResponse,
|
|
338
|
+
protos.google.datastore.v1.ICommitRequest | undefined,
|
|
339
|
+
{} | undefined
|
|
340
|
+
]>;
|
|
341
|
+
commit(request: protos.google.datastore.v1.ICommitRequest, options: CallOptions, callback: Callback<protos.google.datastore.v1.ICommitResponse, protos.google.datastore.v1.ICommitRequest | null | undefined, {} | null | undefined>): void;
|
|
342
|
+
commit(request: protos.google.datastore.v1.ICommitRequest, callback: Callback<protos.google.datastore.v1.ICommitResponse, protos.google.datastore.v1.ICommitRequest | null | undefined, {} | null | undefined>): void;
|
|
343
|
+
/**
|
|
344
|
+
* Rolls back a transaction.
|
|
345
|
+
*
|
|
346
|
+
* @param {Object} request
|
|
347
|
+
* The request object that will be sent.
|
|
348
|
+
* @param {string} request.projectId
|
|
349
|
+
* Required. The ID of the project against which to make the request.
|
|
350
|
+
* @param {string} request.databaseId
|
|
351
|
+
* The ID of the database against which to make the request.
|
|
352
|
+
*
|
|
353
|
+
* '(default)' is not allowed; please use empty string '' to refer the default
|
|
354
|
+
* database.
|
|
355
|
+
* @param {Buffer} request.transaction
|
|
356
|
+
* Required. The transaction identifier, returned by a call to
|
|
357
|
+
* {@link protos.google.datastore.v1.Datastore.BeginTransaction|Datastore.BeginTransaction}.
|
|
358
|
+
* @param {google.datastore.v1.RequestOptions} [request.requestOptions]
|
|
359
|
+
* Optional. The options for this request.
|
|
360
|
+
* @param {object} [options]
|
|
361
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
362
|
+
* @returns {Promise} - The promise which resolves to an array.
|
|
363
|
+
* The first element of the array is an object representing {@link protos.google.datastore.v1.RollbackResponse|RollbackResponse}.
|
|
364
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
|
|
365
|
+
* for more details and examples.
|
|
366
|
+
* @example <caption>include:samples/generated/v1/datastore.rollback.js</caption>
|
|
367
|
+
* region_tag:datastore_v1_generated_Datastore_Rollback_async
|
|
368
|
+
*/
|
|
369
|
+
rollback(request?: protos.google.datastore.v1.IRollbackRequest, options?: CallOptions): Promise<[
|
|
370
|
+
protos.google.datastore.v1.IRollbackResponse,
|
|
371
|
+
protos.google.datastore.v1.IRollbackRequest | undefined,
|
|
372
|
+
{} | undefined
|
|
373
|
+
]>;
|
|
374
|
+
rollback(request: protos.google.datastore.v1.IRollbackRequest, options: CallOptions, callback: Callback<protos.google.datastore.v1.IRollbackResponse, protos.google.datastore.v1.IRollbackRequest | null | undefined, {} | null | undefined>): void;
|
|
375
|
+
rollback(request: protos.google.datastore.v1.IRollbackRequest, callback: Callback<protos.google.datastore.v1.IRollbackResponse, protos.google.datastore.v1.IRollbackRequest | null | undefined, {} | null | undefined>): void;
|
|
376
|
+
/**
|
|
377
|
+
* Allocates IDs for the given keys, which is useful for referencing an entity
|
|
378
|
+
* before it is inserted.
|
|
379
|
+
*
|
|
380
|
+
* @param {Object} request
|
|
381
|
+
* The request object that will be sent.
|
|
382
|
+
* @param {string} request.projectId
|
|
383
|
+
* Required. The ID of the project against which to make the request.
|
|
384
|
+
* @param {string} request.databaseId
|
|
385
|
+
* The ID of the database against which to make the request.
|
|
386
|
+
*
|
|
387
|
+
* '(default)' is not allowed; please use empty string '' to refer the default
|
|
388
|
+
* database.
|
|
389
|
+
* @param {number[]} request.keys
|
|
390
|
+
* Required. A list of keys with incomplete key paths for which to allocate
|
|
391
|
+
* IDs. No key may be reserved/read-only.
|
|
392
|
+
* @param {google.datastore.v1.RequestOptions} [request.requestOptions]
|
|
393
|
+
* Optional. The options for this request.
|
|
394
|
+
* @param {object} [options]
|
|
395
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
396
|
+
* @returns {Promise} - The promise which resolves to an array.
|
|
397
|
+
* The first element of the array is an object representing {@link protos.google.datastore.v1.AllocateIdsResponse|AllocateIdsResponse}.
|
|
398
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
|
|
399
|
+
* for more details and examples.
|
|
400
|
+
* @example <caption>include:samples/generated/v1/datastore.allocate_ids.js</caption>
|
|
401
|
+
* region_tag:datastore_v1_generated_Datastore_AllocateIds_async
|
|
402
|
+
*/
|
|
403
|
+
allocateIds(request?: protos.google.datastore.v1.IAllocateIdsRequest, options?: CallOptions): Promise<[
|
|
404
|
+
protos.google.datastore.v1.IAllocateIdsResponse,
|
|
405
|
+
protos.google.datastore.v1.IAllocateIdsRequest | undefined,
|
|
406
|
+
{} | undefined
|
|
407
|
+
]>;
|
|
408
|
+
allocateIds(request: protos.google.datastore.v1.IAllocateIdsRequest, options: CallOptions, callback: Callback<protos.google.datastore.v1.IAllocateIdsResponse, protos.google.datastore.v1.IAllocateIdsRequest | null | undefined, {} | null | undefined>): void;
|
|
409
|
+
allocateIds(request: protos.google.datastore.v1.IAllocateIdsRequest, callback: Callback<protos.google.datastore.v1.IAllocateIdsResponse, protos.google.datastore.v1.IAllocateIdsRequest | null | undefined, {} | null | undefined>): void;
|
|
410
|
+
/**
|
|
411
|
+
* Prevents the supplied keys' IDs from being auto-allocated by Cloud
|
|
412
|
+
* Datastore.
|
|
413
|
+
*
|
|
414
|
+
* @param {Object} request
|
|
415
|
+
* The request object that will be sent.
|
|
416
|
+
* @param {string} request.projectId
|
|
417
|
+
* Required. The ID of the project against which to make the request.
|
|
418
|
+
* @param {string} request.databaseId
|
|
419
|
+
* The ID of the database against which to make the request.
|
|
420
|
+
*
|
|
421
|
+
* '(default)' is not allowed; please use empty string '' to refer the default
|
|
422
|
+
* database.
|
|
423
|
+
* @param {number[]} request.keys
|
|
424
|
+
* Required. A list of keys with complete key paths whose numeric IDs should
|
|
425
|
+
* not be auto-allocated.
|
|
426
|
+
* @param {google.datastore.v1.RequestOptions} [request.requestOptions]
|
|
427
|
+
* Optional. The options for this request.
|
|
428
|
+
* @param {object} [options]
|
|
429
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
430
|
+
* @returns {Promise} - The promise which resolves to an array.
|
|
431
|
+
* The first element of the array is an object representing {@link protos.google.datastore.v1.ReserveIdsResponse|ReserveIdsResponse}.
|
|
432
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
|
|
433
|
+
* for more details and examples.
|
|
434
|
+
* @example <caption>include:samples/generated/v1/datastore.reserve_ids.js</caption>
|
|
435
|
+
* region_tag:datastore_v1_generated_Datastore_ReserveIds_async
|
|
436
|
+
*/
|
|
437
|
+
reserveIds(request?: protos.google.datastore.v1.IReserveIdsRequest, options?: CallOptions): Promise<[
|
|
438
|
+
protos.google.datastore.v1.IReserveIdsResponse,
|
|
439
|
+
protos.google.datastore.v1.IReserveIdsRequest | undefined,
|
|
440
|
+
{} | undefined
|
|
441
|
+
]>;
|
|
442
|
+
reserveIds(request: protos.google.datastore.v1.IReserveIdsRequest, options: CallOptions, callback: Callback<protos.google.datastore.v1.IReserveIdsResponse, protos.google.datastore.v1.IReserveIdsRequest | null | undefined, {} | null | undefined>): void;
|
|
443
|
+
reserveIds(request: protos.google.datastore.v1.IReserveIdsRequest, callback: Callback<protos.google.datastore.v1.IReserveIdsResponse, protos.google.datastore.v1.IReserveIdsRequest | null | undefined, {} | null | undefined>): void;
|
|
444
|
+
/**
|
|
445
|
+
* Terminate the gRPC channel and close the client.
|
|
446
|
+
*
|
|
447
|
+
* The client will no longer be usable and all future behavior is undefined.
|
|
448
|
+
* @returns {Promise} A promise that resolves when the client is closed.
|
|
449
|
+
*/
|
|
450
|
+
close(): Promise<void>;
|
|
451
|
+
}
|