@maxim_mazurok/gapi.client.datastore-v1beta3 0.0.20230415 → 0.0.20230429

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.
Files changed (3) hide show
  1. package/index.d.ts +749 -375
  2. package/package.json +1 -1
  3. package/tests.ts +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: 20230415
12
+ // Revision: 20230429
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -29,79 +29,100 @@ declare namespace gapi.client {
29
29
  * COUNT_UP_TO(2) AS property_1, COUNT_UP_TO(3) AS count_up_to_3, COUNT(*) AS property_2 OVER ( ... ); ``` Requires: * Must be unique across all aggregation aliases. * Conform to
30
30
  * entity property name limitations.
31
31
  */
32
- alias?: string;
32
+ alias?:
33
+ string;
33
34
  /** Count aggregator. */
34
- count?: Count;
35
+ count?:
36
+ Count;
35
37
  }
36
38
  interface AggregationQuery {
37
39
  /** Optional. Series of aggregations to apply over the results of the `nested_query`. Requires: * A minimum of one and maximum of five aggregations per query. */
38
- aggregations?: Aggregation[];
40
+ aggregations?:
41
+ Aggregation[];
39
42
  /** Nested query for aggregation */
40
- nestedQuery?: Query;
43
+ nestedQuery?:
44
+ Query;
41
45
  }
42
46
  interface AggregationResult {
43
47
  /**
44
48
  * The result of the aggregation functions, ex: `COUNT(*) AS total_entities`. The key is the alias assigned to the aggregation function on input and the size of this map equals the
45
49
  * number of aggregation functions in the query.
46
50
  */
47
- aggregateProperties?: { [P in string]: Value };
51
+ aggregateProperties?:
52
+ { [P in string]: Value };
48
53
  }
49
54
  interface AggregationResultBatch {
50
55
  /** The aggregation results for this batch. */
51
- aggregationResults?: AggregationResult[];
56
+ aggregationResults?:
57
+ AggregationResult[];
52
58
  /** The state of the query after the current batch. Only COUNT(*) aggregations are supported in the initial launch. Therefore, expected result type is limited to `NO_MORE_RESULTS`. */
53
- moreResults?: string;
59
+ moreResults?:
60
+ string;
54
61
  /**
55
62
  * Read timestamp this batch was returned from. In a single transaction, subsequent query result batches for the same query can have a greater timestamp. Each batch's read timestamp is
56
63
  * valid for all preceding batches.
57
64
  */
58
- readTime?: string;
65
+ readTime?:
66
+ string;
59
67
  }
60
68
  interface AllocateIdsRequest {
61
69
  /** Required. A list of keys with incomplete key paths for which to allocate IDs. No key may be reserved/read-only. */
62
- keys?: Key[];
70
+ keys?:
71
+ Key[];
63
72
  }
64
73
  interface AllocateIdsResponse {
65
74
  /** The keys specified in the request (in the same order), each with its key path completed with a newly allocated ID. */
66
- keys?: Key[];
75
+ keys?:
76
+ Key[];
67
77
  }
68
78
  interface ArrayValue {
69
79
  /** Values in the array. The order of values in an array is preserved as long as all values have identical settings for 'exclude_from_indexes'. */
70
- values?: Value[];
80
+ values?:
81
+ Value[];
71
82
  }
72
83
  interface BeginTransactionRequest {
73
84
  /** Options for a new transaction. */
74
- transactionOptions?: TransactionOptions;
85
+ transactionOptions?:
86
+ TransactionOptions;
75
87
  }
76
88
  interface BeginTransactionResponse {
77
89
  /** The transaction identifier (always present). */
78
- transaction?: string;
90
+ transaction?:
91
+ string;
79
92
  }
80
93
  interface CommitRequest {
81
94
  /** The type of commit to perform. Defaults to `TRANSACTIONAL`. */
82
- mode?: string;
95
+ mode?:
96
+ string;
83
97
  /**
84
98
  * 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
85
99
  * 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
86
100
  * is `NON_TRANSACTIONAL`, no two mutations may affect a single entity.
87
101
  */
88
- mutations?: Mutation[];
102
+ mutations?:
103
+ Mutation[];
89
104
  /** The identifier of the transaction associated with the commit. A transaction identifier is returned by a call to Datastore.BeginTransaction. */
90
- transaction?: string;
105
+ transaction?:
106
+ string;
91
107
  }
92
108
  interface CommitResponse {
93
109
  /** The transaction commit timestamp. Not set for non-transactional commits. */
94
- commitTime?: string;
110
+ commitTime?:
111
+ string;
95
112
  /** The number of index entries updated during the commit, or zero if none were updated. */
96
- indexUpdates?: number;
113
+ indexUpdates?:
114
+ number;
97
115
  /** The result of performing the mutations. The i-th mutation result corresponds to the i-th mutation in the request. */
98
- mutationResults?: MutationResult[];
116
+ mutationResults?:
117
+ MutationResult[];
99
118
  }
100
119
  interface CompositeFilter {
101
120
  /** The list of filters to combine. Requires: * At least one filter is present. */
102
- filters?: Filter[];
121
+ filters?:
122
+ Filter[];
103
123
  /** The operator for combining multiple filters. */
104
- op?: string;
124
+ op?:
125
+ string;
105
126
  }
106
127
  interface Count {
107
128
  /**
@@ -109,225 +130,293 @@ declare namespace gapi.client {
109
130
  * Unspecified is interpreted as no bound. If a zero value is provided, a count result of zero should always be expected. High-Level Example: ``` AGGREGATE COUNT_UP_TO(1000) OVER (
110
131
  * SELECT * FROM k ); ``` Requires: * Must be non-negative when present.
111
132
  */
112
- upTo?: string;
133
+ upTo?:
134
+ string;
113
135
  }
114
136
  interface Entity {
115
137
  /**
116
138
  * The entity's key. An entity must have a key, unless otherwise documented (for example, an entity in `Value.entity_value` may have no key). An entity's kind is its key path's last
117
139
  * element's kind, or null if it has no key.
118
140
  */
119
- key?: Key;
141
+ key?:
142
+ Key;
120
143
  /**
121
144
  * The entity's properties. The map's keys are property names. A property name matching regex `__.*__` is reserved. A reserved property name is forbidden in certain documented
122
145
  * contexts. The map keys, represented as UTF-8, must not exceed 1,500 bytes and cannot be empty.
123
146
  */
124
- properties?: { [P in string]: Value };
147
+ properties?:
148
+ { [P in string]: Value };
125
149
  }
126
150
  interface EntityResult {
127
151
  /** The time at which the entity was created. This field is set for `FULL` entity results. If this entity is missing, this field will not be set. */
128
- createTime?: string;
152
+ createTime?:
153
+ string;
129
154
  /** A cursor that points to the position after the result entity. Set only when the `EntityResult` is part of a `QueryResultBatch` message. */
130
- cursor?: string;
155
+ cursor?:
156
+ string;
131
157
  /** The resulting entity. */
132
- entity?: Entity;
158
+ entity?:
159
+ Entity;
133
160
  /** The time at which the entity was last changed. This field is set for `FULL` entity results. If this entity is missing, this field will not be set. */
134
- updateTime?: string;
161
+ updateTime?:
162
+ string;
135
163
  /**
136
164
  * The version of the entity, a strictly positive number that monotonically increases with changes to the entity. This field is set for `FULL` entity results. For missing entities in
137
165
  * `LookupResponse`, this is the version of the snapshot that was used to look up the entity, and it is always set except for eventually consistent reads.
138
166
  */
139
- version?: string;
167
+ version?:
168
+ string;
140
169
  }
141
170
  interface Filter {
142
171
  /** A composite filter. */
143
- compositeFilter?: CompositeFilter;
172
+ compositeFilter?:
173
+ CompositeFilter;
144
174
  /** A filter on a property. */
145
- propertyFilter?: PropertyFilter;
175
+ propertyFilter?:
176
+ PropertyFilter;
146
177
  }
147
178
  interface GoogleDatastoreAdminV1beta1CommonMetadata {
148
179
  /** The time the operation ended, either successfully or otherwise. */
149
- endTime?: string;
180
+ endTime?:
181
+ string;
150
182
  /** The client-assigned labels which were provided when the operation was created. May also include additional labels. */
151
- labels?: { [P in string]: string };
183
+ labels?:
184
+ { [P in string]: string };
152
185
  /** The type of the operation. Can be used as a filter in ListOperationsRequest. */
153
- operationType?: string;
186
+ operationType?:
187
+ string;
154
188
  /** The time that work began on the operation. */
155
- startTime?: string;
189
+ startTime?:
190
+ string;
156
191
  /** The current state of the Operation. */
157
- state?: string;
192
+ state?:
193
+ string;
158
194
  }
159
195
  interface GoogleDatastoreAdminV1beta1EntityFilter {
160
196
  /** If empty, then this represents all kinds. */
161
- kinds?: string[];
197
+ kinds?:
198
+ string[];
162
199
  /**
163
200
  * An empty list represents all namespaces. This is the preferred usage for projects that don't use namespaces. An empty string element represents the default namespace. This should be
164
201
  * used if the project has data in non-default namespaces, but doesn't want to include them. Each namespace in this list must be unique.
165
202
  */
166
- namespaceIds?: string[];
203
+ namespaceIds?:
204
+ string[];
167
205
  }
168
206
  interface GoogleDatastoreAdminV1beta1ExportEntitiesMetadata {
169
207
  /** Metadata common to all Datastore Admin operations. */
170
- common?: GoogleDatastoreAdminV1beta1CommonMetadata;
208
+ common?:
209
+ GoogleDatastoreAdminV1beta1CommonMetadata;
171
210
  /** Description of which entities are being exported. */
172
- entityFilter?: GoogleDatastoreAdminV1beta1EntityFilter;
211
+ entityFilter?:
212
+ GoogleDatastoreAdminV1beta1EntityFilter;
173
213
  /**
174
214
  * Location for the export metadata and data files. This will be the same value as the google.datastore.admin.v1beta1.ExportEntitiesRequest.output_url_prefix field. The final output
175
215
  * location is provided in google.datastore.admin.v1beta1.ExportEntitiesResponse.output_url.
176
216
  */
177
- outputUrlPrefix?: string;
217
+ outputUrlPrefix?:
218
+ string;
178
219
  /** An estimate of the number of bytes processed. */
179
- progressBytes?: GoogleDatastoreAdminV1beta1Progress;
220
+ progressBytes?:
221
+ GoogleDatastoreAdminV1beta1Progress;
180
222
  /** An estimate of the number of entities processed. */
181
- progressEntities?: GoogleDatastoreAdminV1beta1Progress;
223
+ progressEntities?:
224
+ GoogleDatastoreAdminV1beta1Progress;
182
225
  }
183
226
  interface GoogleDatastoreAdminV1beta1ExportEntitiesResponse {
184
227
  /**
185
228
  * Location of the output metadata file. This can be used to begin an import into Cloud Datastore (this project or another project). See
186
229
  * google.datastore.admin.v1beta1.ImportEntitiesRequest.input_url. Only present if the operation completed successfully.
187
230
  */
188
- outputUrl?: string;
231
+ outputUrl?:
232
+ string;
189
233
  }
190
234
  interface GoogleDatastoreAdminV1beta1ImportEntitiesMetadata {
191
235
  /** Metadata common to all Datastore Admin operations. */
192
- common?: GoogleDatastoreAdminV1beta1CommonMetadata;
236
+ common?:
237
+ GoogleDatastoreAdminV1beta1CommonMetadata;
193
238
  /** Description of which entities are being imported. */
194
- entityFilter?: GoogleDatastoreAdminV1beta1EntityFilter;
239
+ entityFilter?:
240
+ GoogleDatastoreAdminV1beta1EntityFilter;
195
241
  /** The location of the import metadata file. This will be the same value as the google.datastore.admin.v1beta1.ExportEntitiesResponse.output_url field. */
196
- inputUrl?: string;
242
+ inputUrl?:
243
+ string;
197
244
  /** An estimate of the number of bytes processed. */
198
- progressBytes?: GoogleDatastoreAdminV1beta1Progress;
245
+ progressBytes?:
246
+ GoogleDatastoreAdminV1beta1Progress;
199
247
  /** An estimate of the number of entities processed. */
200
- progressEntities?: GoogleDatastoreAdminV1beta1Progress;
248
+ progressEntities?:
249
+ GoogleDatastoreAdminV1beta1Progress;
201
250
  }
202
251
  interface GoogleDatastoreAdminV1beta1Progress {
203
252
  /** The amount of work that has been completed. Note that this may be greater than work_estimated. */
204
- workCompleted?: string;
253
+ workCompleted?:
254
+ string;
205
255
  /** An estimate of how much work needs to be performed. May be zero if the work estimate is unavailable. */
206
- workEstimated?: string;
256
+ workEstimated?:
257
+ string;
207
258
  }
208
259
  interface GoogleDatastoreAdminV1CommonMetadata {
209
260
  /** The time the operation ended, either successfully or otherwise. */
210
- endTime?: string;
261
+ endTime?:
262
+ string;
211
263
  /** The client-assigned labels which were provided when the operation was created. May also include additional labels. */
212
- labels?: { [P in string]: string };
264
+ labels?:
265
+ { [P in string]: string };
213
266
  /** The type of the operation. Can be used as a filter in ListOperationsRequest. */
214
- operationType?: string;
267
+ operationType?:
268
+ string;
215
269
  /** The time that work began on the operation. */
216
- startTime?: string;
270
+ startTime?:
271
+ string;
217
272
  /** The current state of the Operation. */
218
- state?: string;
273
+ state?:
274
+ string;
219
275
  }
220
276
  interface GoogleDatastoreAdminV1DatastoreFirestoreMigrationMetadata {
221
277
  /** The current state of migration from Cloud Datastore to Cloud Firestore in Datastore mode. */
222
- migrationState?: string;
278
+ migrationState?:
279
+ string;
223
280
  /** The current step of migration from Cloud Datastore to Cloud Firestore in Datastore mode. */
224
- migrationStep?: string;
281
+ migrationStep?:
282
+ string;
225
283
  }
226
284
  interface GoogleDatastoreAdminV1EntityFilter {
227
285
  /** If empty, then this represents all kinds. */
228
- kinds?: string[];
286
+ kinds?:
287
+ string[];
229
288
  /**
230
289
  * An empty list represents all namespaces. This is the preferred usage for projects that don't use namespaces. An empty string element represents the default namespace. This should be
231
290
  * used if the project has data in non-default namespaces, but doesn't want to include them. Each namespace in this list must be unique.
232
291
  */
233
- namespaceIds?: string[];
292
+ namespaceIds?:
293
+ string[];
234
294
  }
235
295
  interface GoogleDatastoreAdminV1ExportEntitiesMetadata {
236
296
  /** Metadata common to all Datastore Admin operations. */
237
- common?: GoogleDatastoreAdminV1CommonMetadata;
297
+ common?:
298
+ GoogleDatastoreAdminV1CommonMetadata;
238
299
  /** Description of which entities are being exported. */
239
- entityFilter?: GoogleDatastoreAdminV1EntityFilter;
300
+ entityFilter?:
301
+ GoogleDatastoreAdminV1EntityFilter;
240
302
  /**
241
303
  * Location for the export metadata and data files. This will be the same value as the google.datastore.admin.v1.ExportEntitiesRequest.output_url_prefix field. The final output
242
304
  * location is provided in google.datastore.admin.v1.ExportEntitiesResponse.output_url.
243
305
  */
244
- outputUrlPrefix?: string;
306
+ outputUrlPrefix?:
307
+ string;
245
308
  /** An estimate of the number of bytes processed. */
246
- progressBytes?: GoogleDatastoreAdminV1Progress;
309
+ progressBytes?:
310
+ GoogleDatastoreAdminV1Progress;
247
311
  /** An estimate of the number of entities processed. */
248
- progressEntities?: GoogleDatastoreAdminV1Progress;
312
+ progressEntities?:
313
+ GoogleDatastoreAdminV1Progress;
249
314
  }
250
315
  interface GoogleDatastoreAdminV1ExportEntitiesResponse {
251
316
  /**
252
317
  * Location of the output metadata file. This can be used to begin an import into Cloud Datastore (this project or another project). See
253
318
  * google.datastore.admin.v1.ImportEntitiesRequest.input_url. Only present if the operation completed successfully.
254
319
  */
255
- outputUrl?: string;
320
+ outputUrl?:
321
+ string;
256
322
  }
257
323
  interface GoogleDatastoreAdminV1ImportEntitiesMetadata {
258
324
  /** Metadata common to all Datastore Admin operations. */
259
- common?: GoogleDatastoreAdminV1CommonMetadata;
325
+ common?:
326
+ GoogleDatastoreAdminV1CommonMetadata;
260
327
  /** Description of which entities are being imported. */
261
- entityFilter?: GoogleDatastoreAdminV1EntityFilter;
328
+ entityFilter?:
329
+ GoogleDatastoreAdminV1EntityFilter;
262
330
  /** The location of the import metadata file. This will be the same value as the google.datastore.admin.v1.ExportEntitiesResponse.output_url field. */
263
- inputUrl?: string;
331
+ inputUrl?:
332
+ string;
264
333
  /** An estimate of the number of bytes processed. */
265
- progressBytes?: GoogleDatastoreAdminV1Progress;
334
+ progressBytes?:
335
+ GoogleDatastoreAdminV1Progress;
266
336
  /** An estimate of the number of entities processed. */
267
- progressEntities?: GoogleDatastoreAdminV1Progress;
337
+ progressEntities?:
338
+ GoogleDatastoreAdminV1Progress;
268
339
  }
269
340
  interface GoogleDatastoreAdminV1IndexOperationMetadata {
270
341
  /** Metadata common to all Datastore Admin operations. */
271
- common?: GoogleDatastoreAdminV1CommonMetadata;
342
+ common?:
343
+ GoogleDatastoreAdminV1CommonMetadata;
272
344
  /** The index resource ID that this operation is acting on. */
273
- indexId?: string;
345
+ indexId?:
346
+ string;
274
347
  /** An estimate of the number of entities processed. */
275
- progressEntities?: GoogleDatastoreAdminV1Progress;
348
+ progressEntities?:
349
+ GoogleDatastoreAdminV1Progress;
276
350
  }
277
351
  interface GoogleDatastoreAdminV1MigrationProgressEvent {
278
352
  /** Details for the `PREPARE` step. */
279
- prepareStepDetails?: GoogleDatastoreAdminV1PrepareStepDetails;
353
+ prepareStepDetails?:
354
+ GoogleDatastoreAdminV1PrepareStepDetails;
280
355
  /** Details for the `REDIRECT_WRITES` step. */
281
- redirectWritesStepDetails?: GoogleDatastoreAdminV1RedirectWritesStepDetails;
356
+ redirectWritesStepDetails?:
357
+ GoogleDatastoreAdminV1RedirectWritesStepDetails;
282
358
  /** The step that is starting. An event with step set to `START` indicates that the migration has been reverted back to the initial pre-migration state. */
283
- step?: string;
359
+ step?:
360
+ string;
284
361
  }
285
362
  interface GoogleDatastoreAdminV1MigrationStateEvent {
286
363
  /** The new state of the migration. */
287
- state?: string;
364
+ state?:
365
+ string;
288
366
  }
289
367
  interface GoogleDatastoreAdminV1PrepareStepDetails {
290
368
  /** The concurrency mode this database will use when it reaches the `REDIRECT_WRITES` step. */
291
- concurrencyMode?: string;
369
+ concurrencyMode?:
370
+ string;
292
371
  }
293
372
  interface GoogleDatastoreAdminV1Progress {
294
373
  /** The amount of work that has been completed. Note that this may be greater than work_estimated. */
295
- workCompleted?: string;
374
+ workCompleted?:
375
+ string;
296
376
  /** An estimate of how much work needs to be performed. May be zero if the work estimate is unavailable. */
297
- workEstimated?: string;
377
+ workEstimated?:
378
+ string;
298
379
  }
299
380
  interface GoogleDatastoreAdminV1RedirectWritesStepDetails {
300
381
  /** Ths concurrency mode for this database. */
301
- concurrencyMode?: string;
382
+ concurrencyMode?:
383
+ string;
302
384
  }
303
385
  interface GqlQuery {
304
386
  /**
305
387
  * When false, the query string must not contain any literals and instead must bind all values. For example, `SELECT * FROM Kind WHERE a = 'string literal'` is not allowed, while
306
388
  * `SELECT * FROM Kind WHERE a = @value` is.
307
389
  */
308
- allowLiterals?: boolean;
390
+ allowLiterals?:
391
+ boolean;
309
392
  /**
310
393
  * For each non-reserved named binding site in the query string, there must be a named parameter with that name, but not necessarily the inverse. Key must match regex `A-Za-z_$*`, must
311
394
  * not match regex `__.*__`, and must not be `""`.
312
395
  */
313
- namedBindings?: { [P in string]: GqlQueryParameter };
396
+ namedBindings?:
397
+ { [P in string]: GqlQueryParameter };
314
398
  /**
315
399
  * Numbered binding site @1 references the first numbered parameter, effectively using 1-based indexing, rather than the usual 0. For each binding site numbered i in `query_string`,
316
400
  * there must be an i-th numbered parameter. The inverse must also be true.
317
401
  */
318
- positionalBindings?: GqlQueryParameter[];
402
+ positionalBindings?:
403
+ GqlQueryParameter[];
319
404
  /** A string of the format described [here](https://cloud.google.com/datastore/docs/apis/gql/gql_reference). */
320
- queryString?: string;
405
+ queryString?:
406
+ string;
321
407
  }
322
408
  interface GqlQueryParameter {
323
409
  /** A query cursor. Query cursors are returned in query result batches. */
324
- cursor?: string;
410
+ cursor?:
411
+ string;
325
412
  /** A value parameter. */
326
- value?: Value;
413
+ value?:
414
+ Value;
327
415
  }
328
416
  interface Key {
329
417
  /** Entities are partitioned into subsets, currently identified by a project ID and namespace ID. Queries are scoped to a single partition. */
330
- partitionId?: PartitionId;
418
+ partitionId?:
419
+ PartitionId;
331
420
  /**
332
421
  * The entity path. An entity path consists of one or more elements composed of a kind and a string or numerical identifier, which identify entities. The first element identifies a
333
422
  * _root entity_, the second element identifies a _child_ of the root entity, the third element identifies a child of the second entity, and so forth. The entities identified by all
@@ -335,714 +424,999 @@ declare namespace gapi.client {
335
424
  * entity identifier itself. The only exception is that in some documented cases, the identifier in the last path element (for the entity) itself may be omitted. For example, the last
336
425
  * path element of the key of `Mutation.insert` may have no identifier. A path can never be empty, and a path can have at most 100 elements.
337
426
  */
338
- path?: PathElement[];
427
+ path?:
428
+ PathElement[];
339
429
  }
340
430
  interface KindExpression {
341
431
  /** The name of the kind. */
342
- name?: string;
432
+ name?:
433
+ string;
343
434
  }
344
435
  interface LatLng {
345
436
  /** The latitude in degrees. It must be in the range [-90.0, +90.0]. */
346
- latitude?: number;
437
+ latitude?:
438
+ number;
347
439
  /** The longitude in degrees. It must be in the range [-180.0, +180.0]. */
348
- longitude?: number;
440
+ longitude?:
441
+ number;
349
442
  }
350
443
  interface LookupRequest {
351
444
  /** Required. Keys of entities to look up. */
352
- keys?: Key[];
445
+ keys?:
446
+ Key[];
353
447
  /** The options for this lookup request. */
354
- readOptions?: ReadOptions;
448
+ readOptions?:
449
+ ReadOptions;
355
450
  }
356
451
  interface LookupResponse {
357
452
  /** 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. */
358
- deferred?: Key[];
453
+ deferred?:
454
+ Key[];
359
455
  /** Entities found as `ResultType.FULL` entities. The order of results in this field is undefined and has no relation to the order of the keys in the input. */
360
- found?: EntityResult[];
456
+ found?:
457
+ EntityResult[];
361
458
  /** Entities not found as `ResultType.KEY_ONLY` entities. The order of results in this field is undefined and has no relation to the order of the keys in the input. */
362
- missing?: EntityResult[];
459
+ missing?:
460
+ EntityResult[];
363
461
  /** The time at which these entities were read or found missing. */
364
- readTime?: string;
462
+ readTime?:
463
+ string;
365
464
  }
366
465
  interface Mutation {
367
466
  /** The version of the entity that this mutation is being applied to. If this does not match the current version on the server, the mutation conflicts. */
368
- baseVersion?: string;
467
+ baseVersion?:
468
+ string;
369
469
  /** 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. */
370
- delete?: Key;
470
+ delete?:
471
+ Key;
371
472
  /** The entity to insert. The entity must not already exist. The entity key's final path element may be incomplete. */
372
- insert?: Entity;
473
+ insert?:
474
+ Entity;
373
475
  /** The entity to update. The entity must already exist. Must have a complete key path. */
374
- update?: Entity;
476
+ update?:
477
+ Entity;
375
478
  /** The update time of the entity that this mutation is being applied to. If this does not match the current update time on the server, the mutation conflicts. */
376
- updateTime?: string;
479
+ updateTime?:
480
+ string;
377
481
  /** The entity to upsert. The entity may or may not already exist. The entity key's final path element may be incomplete. */
378
- upsert?: Entity;
482
+ upsert?:
483
+ Entity;
379
484
  }
380
485
  interface MutationResult {
381
486
  /** Whether a conflict was detected for this mutation. Always false when a conflict detection strategy field is not set in the mutation. */
382
- conflictDetected?: boolean;
487
+ conflictDetected?:
488
+ boolean;
383
489
  /** The create time of the entity. This field will not be set after a 'delete'. */
384
- createTime?: string;
490
+ createTime?:
491
+ string;
385
492
  /** The automatically allocated key. Set only when the mutation allocated a key. */
386
- key?: Key;
493
+ key?:
494
+ Key;
387
495
  /**
388
496
  * The update time of the entity on the server after processing the mutation. If the mutation doesn't change anything on the server, then the timestamp will be the update timestamp of
389
497
  * the current entity. This field will not be set after a 'delete'.
390
498
  */
391
- updateTime?: string;
499
+ updateTime?:
500
+ string;
392
501
  /**
393
502
  * The version of the entity on the server after processing the mutation. If the mutation doesn't change anything on the server, then the version will be the version of the current
394
503
  * entity or, if no entity is present, a version that is strictly greater than the version of any previous entity and less than the version of any possible future entity.
395
504
  */
396
- version?: string;
505
+ version?:
506
+ string;
397
507
  }
398
508
  interface PartitionId {
399
509
  /** If not empty, the ID of the namespace to which the entities belong. */
400
- namespaceId?: string;
510
+ namespaceId?:
511
+ string;
401
512
  /** The ID of the project to which the entities belong. */
402
- projectId?: string;
513
+ projectId?:
514
+ string;
403
515
  }
404
516
  interface PathElement {
405
517
  /** The auto-allocated ID of the entity. Never equal to zero. Values less than zero are discouraged and may not be supported in the future. */
406
- id?: string;
518
+ id?:
519
+ string;
407
520
  /**
408
521
  * The kind of the entity. A kind matching regex `__.*__` is reserved/read-only. A kind must not contain more than 1500 bytes when UTF-8 encoded. Cannot be `""`. Must be valid UTF-8
409
522
  * bytes. Legacy values that are not valid UTF-8 are encoded as `__bytes__` where `` is the base-64 encoding of the bytes.
410
523
  */
411
- kind?: string;
524
+ kind?:
525
+ string;
412
526
  /**
413
527
  * The name of the entity. A name matching regex `__.*__` is reserved/read-only. A name must not be more than 1500 bytes when UTF-8 encoded. Cannot be `""`. Must be valid UTF-8 bytes.
414
528
  * Legacy values that are not valid UTF-8 are encoded as `__bytes__` where `` is the base-64 encoding of the bytes.
415
529
  */
416
- name?: string;
530
+ name?:
531
+ string;
417
532
  }
418
533
  interface Projection {
419
534
  /** The property to project. */
420
- property?: PropertyReference;
535
+ property?:
536
+ PropertyReference;
421
537
  }
422
538
  interface PropertyFilter {
423
539
  /** The operator to filter by. */
424
- op?: string;
540
+ op?:
541
+ string;
425
542
  /** The property to filter by. */
426
- property?: PropertyReference;
543
+ property?:
544
+ PropertyReference;
427
545
  /** The value to compare the property to. */
428
- value?: Value;
546
+ value?:
547
+ Value;
429
548
  }
430
549
  interface PropertyOrder {
431
550
  /** The direction to order by. Defaults to `ASCENDING`. */
432
- direction?: string;
551
+ direction?:
552
+ string;
433
553
  /** The property to order by. */
434
- property?: PropertyReference;
554
+ property?:
555
+ PropertyReference;
435
556
  }
436
557
  interface PropertyReference {
437
558
  /** The name of the property. If name includes "."s, it may be interpreted as a property name path. */
438
- name?: string;
559
+ name?:
560
+ string;
439
561
  }
440
562
  interface Query {
441
563
  /**
442
564
  * The properties to make distinct. The query results will contain the first result for each distinct combination of values for the given properties (if empty, all results are
443
565
  * returned). Requires: * If `order` is specified, the set of distinct on properties must appear before the non-distinct on properties in `order`.
444
566
  */
445
- distinctOn?: PropertyReference[];
567
+ distinctOn?:
568
+ PropertyReference[];
446
569
  /**
447
570
  * An ending point for the query results. Query cursors are returned in query result batches and [can only be used to limit the same
448
571
  * query](https://cloud.google.com/datastore/docs/concepts/queries#cursors_limits_and_offsets).
449
572
  */
450
- endCursor?: string;
573
+ endCursor?:
574
+ string;
451
575
  /** The filter to apply. */
452
- filter?: Filter;
576
+ filter?:
577
+ Filter;
453
578
  /** The kinds to query (if empty, returns entities of all kinds). Currently at most 1 kind may be specified. */
454
- kind?: KindExpression[];
579
+ kind?:
580
+ KindExpression[];
455
581
  /** The maximum number of results to return. Applies after all other constraints. Optional. Unspecified is interpreted as no limit. Must be >= 0 if specified. */
456
- limit?: number;
582
+ limit?:
583
+ number;
457
584
  /** The number of results to skip. Applies before limit, but after all other constraints. Optional. Must be >= 0 if specified. */
458
- offset?: number;
585
+ offset?:
586
+ number;
459
587
  /** The order to apply to the query results (if empty, order is unspecified). */
460
- order?: PropertyOrder[];
588
+ order?:
589
+ PropertyOrder[];
461
590
  /** The projection to return. Defaults to returning all properties. */
462
- projection?: Projection[];
591
+ projection?:
592
+ Projection[];
463
593
  /**
464
594
  * A starting point for the query results. Query cursors are returned in query result batches and [can only be used to continue the same
465
595
  * query](https://cloud.google.com/datastore/docs/concepts/queries#cursors_limits_and_offsets).
466
596
  */
467
- startCursor?: string;
597
+ startCursor?:
598
+ string;
468
599
  }
469
600
  interface QueryResultBatch {
470
601
  /** A cursor that points to the position after the last result in the batch. */
471
- endCursor?: string;
602
+ endCursor?:
603
+ string;
472
604
  /** The results for this batch. */
473
- entityResults?: EntityResult[];
605
+ entityResults?:
606
+ EntityResult[];
474
607
  /** The result type for every entity in `entity_results`. */
475
- entityResultType?: string;
608
+ entityResultType?:
609
+ string;
476
610
  /** The state of the query after the current batch. */
477
- moreResults?: string;
611
+ moreResults?:
612
+ string;
478
613
  /**
479
614
  * Read timestamp this batch was returned from. This applies to the range of results from the query's `start_cursor` (or the beginning of the query if no cursor was given) to this
480
615
  * batch's `end_cursor` (not the query's `end_cursor`). In a single transaction, subsequent query result batches for the same query can have a greater timestamp. Each batch's read
481
616
  * timestamp is valid for all preceding batches. This value will not be set for eventually consistent queries in Cloud Datastore.
482
617
  */
483
- readTime?: string;
618
+ readTime?:
619
+ string;
484
620
  /** A cursor that points to the position after the last skipped result. Will be set when `skipped_results` != 0. */
485
- skippedCursor?: string;
621
+ skippedCursor?:
622
+ string;
486
623
  /** The number of results skipped, typically because of an offset. */
487
- skippedResults?: number;
624
+ skippedResults?:
625
+ number;
488
626
  /**
489
627
  * The version number of the snapshot this batch was returned from. This applies to the range of results from the query's `start_cursor` (or the beginning of the query if no cursor was
490
628
  * given) to this batch's `end_cursor` (not the query's `end_cursor`). In a single transaction, subsequent query result batches for the same query can have a greater snapshot version
491
629
  * number. Each batch's snapshot version is valid for all preceding batches. The value will be zero for eventually consistent queries.
492
630
  */
493
- snapshotVersion?: string;
631
+ snapshotVersion?:
632
+ string;
494
633
  }
495
634
  interface ReadOnly {
496
635
  /** Reads entities at the given time. This may not be older than 60 seconds. */
497
- readTime?: string;
636
+ readTime?:
637
+ string;
498
638
  }
499
639
  interface ReadOptions {
500
640
  /** The non-transactional read consistency to use. */
501
- readConsistency?: string;
641
+ readConsistency?:
642
+ string;
502
643
  /** Reads entities as they were at the given time. This may not be older than 270 seconds. This value is only supported for Cloud Firestore in Datastore mode. */
503
- readTime?: string;
644
+ readTime?:
645
+ string;
504
646
  /** The identifier of the transaction in which to read. A transaction identifier is returned by a call to Datastore.BeginTransaction. */
505
- transaction?: string;
647
+ transaction?:
648
+ string;
506
649
  }
507
650
  interface ReadWrite {
508
651
  /** The transaction identifier of the transaction being retried. */
509
- previousTransaction?: string;
652
+ previousTransaction?:
653
+ string;
510
654
  }
511
655
  interface ReserveIdsRequest {
512
656
  /** The ID of the database against which to make the request. '(default)' is not allowed; please use empty string '' to refer the default database. */
513
- databaseId?: string;
657
+ databaseId?:
658
+ string;
514
659
  /** Required. A list of keys with complete key paths whose numeric IDs should not be auto-allocated. */
515
- keys?: Key[];
660
+ keys?:
661
+ Key[];
516
662
  }
517
663
  // tslint:disable-next-line:no-empty-interface
518
664
  interface ReserveIdsResponse {
519
665
  }
520
666
  interface RollbackRequest {
521
667
  /** Required. The transaction identifier, returned by a call to Datastore.BeginTransaction. */
522
- transaction?: string;
668
+ transaction?:
669
+ string;
523
670
  }
524
671
  // tslint:disable-next-line:no-empty-interface
525
672
  interface RollbackResponse {
526
673
  }
527
674
  interface RunAggregationQueryRequest {
528
675
  /** The query to run. */
529
- aggregationQuery?: AggregationQuery;
676
+ aggregationQuery?:
677
+ AggregationQuery;
530
678
  /** The GQL query to run. This query must be an aggregation query. */
531
- gqlQuery?: GqlQuery;
679
+ gqlQuery?:
680
+ GqlQuery;
532
681
  /**
533
682
  * 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
534
683
  * partition ID.
535
684
  */
536
- partitionId?: PartitionId;
685
+ partitionId?:
686
+ PartitionId;
537
687
  /** The options for this query. */
538
- readOptions?: ReadOptions;
688
+ readOptions?:
689
+ ReadOptions;
539
690
  }
540
691
  interface RunAggregationQueryResponse {
541
692
  /** A batch of aggregation results. Always present. */
542
- batch?: AggregationResultBatch;
693
+ batch?:
694
+ AggregationResultBatch;
543
695
  /** The parsed form of the `GqlQuery` from the request, if it was set. */
544
- query?: AggregationQuery;
696
+ query?:
697
+ AggregationQuery;
545
698
  }
546
699
  interface RunQueryRequest {
547
700
  /** The GQL query to run. This query must be a non-aggregation query. */
548
- gqlQuery?: GqlQuery;
701
+ gqlQuery?:
702
+ GqlQuery;
549
703
  /**
550
704
  * 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
551
705
  * partition ID.
552
706
  */
553
- partitionId?: PartitionId;
707
+ partitionId?:
708
+ PartitionId;
554
709
  /** The query to run. */
555
- query?: Query;
710
+ query?:
711
+ Query;
556
712
  /** The options for this query. */
557
- readOptions?: ReadOptions;
713
+ readOptions?:
714
+ ReadOptions;
558
715
  }
559
716
  interface RunQueryResponse {
560
717
  /** A batch of query results (always present). */
561
- batch?: QueryResultBatch;
718
+ batch?:
719
+ QueryResultBatch;
562
720
  /** The parsed form of the `GqlQuery` from the request, if it was set. */
563
- query?: Query;
721
+ query?:
722
+ Query;
564
723
  }
565
724
  interface TransactionOptions {
566
725
  /** The transaction should only allow reads. */
567
- readOnly?: ReadOnly;
726
+ readOnly?:
727
+ ReadOnly;
568
728
  /** The transaction should allow both reads and writes. */
569
- readWrite?: ReadWrite;
729
+ readWrite?:
730
+ ReadWrite;
570
731
  }
571
732
  interface Value {
572
733
  /** An array value. Cannot contain another array value. A `Value` instance that sets field `array_value` must not set fields `meaning` or `exclude_from_indexes`. */
573
- arrayValue?: ArrayValue;
734
+ arrayValue?:
735
+ ArrayValue;
574
736
  /** A blob value. May have at most 1,000,000 bytes. When `exclude_from_indexes` is false, may have at most 1500 bytes. In JSON requests, must be base64-encoded. */
575
- blobValue?: string;
737
+ blobValue?:
738
+ string;
576
739
  /** A boolean value. */
577
- booleanValue?: boolean;
740
+ booleanValue?:
741
+ boolean;
578
742
  /** A double value. */
579
- doubleValue?: number;
743
+ doubleValue?:
744
+ number;
580
745
  /** An entity value. - May have no key. - May have a key with an incomplete key path. - May have a reserved/read-only key. */
581
- entityValue?: Entity;
746
+ entityValue?:
747
+ Entity;
582
748
  /** If the value should be excluded from all indexes including those defined explicitly. */
583
- excludeFromIndexes?: boolean;
749
+ excludeFromIndexes?:
750
+ boolean;
584
751
  /** A geo point value representing a point on the surface of Earth. */
585
- geoPointValue?: LatLng;
752
+ geoPointValue?:
753
+ LatLng;
586
754
  /** An integer value. */
587
- integerValue?: string;
755
+ integerValue?:
756
+ string;
588
757
  /** A key value. */
589
- keyValue?: Key;
758
+ keyValue?:
759
+ Key;
590
760
  /** The `meaning` field should only be populated for backwards compatibility. */
591
- meaning?: number;
761
+ meaning?:
762
+ number;
592
763
  /** A null value. */
593
- nullValue?: string;
764
+ nullValue?:
765
+ string;
594
766
  /** A UTF-8 encoded string value. When `exclude_from_indexes` is false (it is indexed) , may have at most 1500 bytes. Otherwise, may be set to at most 1,000,000 bytes. */
595
- stringValue?: string;
767
+ stringValue?:
768
+ string;
596
769
  /** A timestamp value. When stored in the Datastore, precise only to microseconds; any additional precision is rounded down. */
597
- timestampValue?: string;
770
+ timestampValue?:
771
+ string;
598
772
  }
599
773
  interface ProjectsResource {
600
774
  /** Allocates IDs for the given keys, which is useful for referencing an entity before it is inserted. */
601
775
  allocateIds(request: {
602
776
  /** V1 error format. */
603
- "$.xgafv"?: string;
777
+ "$.xgafv"?:
778
+ string;
604
779
  /** OAuth access token. */
605
- access_token?: string;
780
+ access_token?:
781
+ string;
606
782
  /** Data format for response. */
607
- alt?: string;
783
+ alt?:
784
+ string;
608
785
  /** JSONP */
609
- callback?: string;
786
+ callback?:
787
+ string;
610
788
  /** Selector specifying which fields to include in a partial response. */
611
- fields?: string;
789
+ fields?:
790
+ string;
612
791
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
613
- key?: string;
792
+ key?:
793
+ string;
614
794
  /** OAuth 2.0 token for the current user. */
615
- oauth_token?: string;
795
+ oauth_token?:
796
+ string;
616
797
  /** Returns response with indentations and line breaks. */
617
- prettyPrint?: boolean;
798
+ prettyPrint?:
799
+ boolean;
618
800
  /** Required. The ID of the project against which to make the request. */
619
- projectId: string;
801
+ projectId:
802
+ string;
620
803
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
621
- quotaUser?: string;
804
+ quotaUser?:
805
+ string;
622
806
  /** Upload protocol for media (e.g. "raw", "multipart"). */
623
- upload_protocol?: string;
807
+ upload_protocol?:
808
+ string;
624
809
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
625
- uploadType?: string;
810
+ uploadType?:
811
+ string;
626
812
  /** Request body */
627
- resource: AllocateIdsRequest;
813
+ resource:
814
+ AllocateIdsRequest;
628
815
  }): Request<AllocateIdsResponse>;
629
816
  allocateIds(request: {
630
817
  /** V1 error format. */
631
- "$.xgafv"?: string;
818
+ "$.xgafv"?:
819
+ string;
632
820
  /** OAuth access token. */
633
- access_token?: string;
821
+ access_token?:
822
+ string;
634
823
  /** Data format for response. */
635
- alt?: string;
824
+ alt?:
825
+ string;
636
826
  /** JSONP */
637
- callback?: string;
827
+ callback?:
828
+ string;
638
829
  /** Selector specifying which fields to include in a partial response. */
639
- fields?: string;
830
+ fields?:
831
+ string;
640
832
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
641
- key?: string;
833
+ key?:
834
+ string;
642
835
  /** OAuth 2.0 token for the current user. */
643
- oauth_token?: string;
836
+ oauth_token?:
837
+ string;
644
838
  /** Returns response with indentations and line breaks. */
645
- prettyPrint?: boolean;
839
+ prettyPrint?:
840
+ boolean;
646
841
  /** Required. The ID of the project against which to make the request. */
647
- projectId: string;
842
+ projectId:
843
+ string;
648
844
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
649
- quotaUser?: string;
845
+ quotaUser?:
846
+ string;
650
847
  /** Upload protocol for media (e.g. "raw", "multipart"). */
651
- upload_protocol?: string;
848
+ upload_protocol?:
849
+ string;
652
850
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
653
- uploadType?: string;
851
+ uploadType?:
852
+ string;
654
853
  },
655
854
  body: AllocateIdsRequest): Request<AllocateIdsResponse>;
656
855
  /** Begins a new transaction. */
657
856
  beginTransaction(request: {
658
857
  /** V1 error format. */
659
- "$.xgafv"?: string;
858
+ "$.xgafv"?:
859
+ string;
660
860
  /** OAuth access token. */
661
- access_token?: string;
861
+ access_token?:
862
+ string;
662
863
  /** Data format for response. */
663
- alt?: string;
864
+ alt?:
865
+ string;
664
866
  /** JSONP */
665
- callback?: string;
867
+ callback?:
868
+ string;
666
869
  /** Selector specifying which fields to include in a partial response. */
667
- fields?: string;
870
+ fields?:
871
+ string;
668
872
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
669
- key?: string;
873
+ key?:
874
+ string;
670
875
  /** OAuth 2.0 token for the current user. */
671
- oauth_token?: string;
876
+ oauth_token?:
877
+ string;
672
878
  /** Returns response with indentations and line breaks. */
673
- prettyPrint?: boolean;
879
+ prettyPrint?:
880
+ boolean;
674
881
  /** Required. The ID of the project against which to make the request. */
675
- projectId: string;
882
+ projectId:
883
+ string;
676
884
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
677
- quotaUser?: string;
885
+ quotaUser?:
886
+ string;
678
887
  /** Upload protocol for media (e.g. "raw", "multipart"). */
679
- upload_protocol?: string;
888
+ upload_protocol?:
889
+ string;
680
890
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
681
- uploadType?: string;
891
+ uploadType?:
892
+ string;
682
893
  /** Request body */
683
- resource: BeginTransactionRequest;
894
+ resource:
895
+ BeginTransactionRequest;
684
896
  }): Request<BeginTransactionResponse>;
685
897
  beginTransaction(request: {
686
898
  /** V1 error format. */
687
- "$.xgafv"?: string;
899
+ "$.xgafv"?:
900
+ string;
688
901
  /** OAuth access token. */
689
- access_token?: string;
902
+ access_token?:
903
+ string;
690
904
  /** Data format for response. */
691
- alt?: string;
905
+ alt?:
906
+ string;
692
907
  /** JSONP */
693
- callback?: string;
908
+ callback?:
909
+ string;
694
910
  /** Selector specifying which fields to include in a partial response. */
695
- fields?: string;
911
+ fields?:
912
+ string;
696
913
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
697
- key?: string;
914
+ key?:
915
+ string;
698
916
  /** OAuth 2.0 token for the current user. */
699
- oauth_token?: string;
917
+ oauth_token?:
918
+ string;
700
919
  /** Returns response with indentations and line breaks. */
701
- prettyPrint?: boolean;
920
+ prettyPrint?:
921
+ boolean;
702
922
  /** Required. The ID of the project against which to make the request. */
703
- projectId: string;
923
+ projectId:
924
+ string;
704
925
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
705
- quotaUser?: string;
926
+ quotaUser?:
927
+ string;
706
928
  /** Upload protocol for media (e.g. "raw", "multipart"). */
707
- upload_protocol?: string;
929
+ upload_protocol?:
930
+ string;
708
931
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
709
- uploadType?: string;
932
+ uploadType?:
933
+ string;
710
934
  },
711
935
  body: BeginTransactionRequest): Request<BeginTransactionResponse>;
712
936
  /** Commits a transaction, optionally creating, deleting or modifying some entities. */
713
937
  commit(request: {
714
938
  /** V1 error format. */
715
- "$.xgafv"?: string;
939
+ "$.xgafv"?:
940
+ string;
716
941
  /** OAuth access token. */
717
- access_token?: string;
942
+ access_token?:
943
+ string;
718
944
  /** Data format for response. */
719
- alt?: string;
945
+ alt?:
946
+ string;
720
947
  /** JSONP */
721
- callback?: string;
948
+ callback?:
949
+ string;
722
950
  /** Selector specifying which fields to include in a partial response. */
723
- fields?: string;
951
+ fields?:
952
+ string;
724
953
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
725
- key?: string;
954
+ key?:
955
+ string;
726
956
  /** OAuth 2.0 token for the current user. */
727
- oauth_token?: string;
957
+ oauth_token?:
958
+ string;
728
959
  /** Returns response with indentations and line breaks. */
729
- prettyPrint?: boolean;
960
+ prettyPrint?:
961
+ boolean;
730
962
  /** Required. The ID of the project against which to make the request. */
731
- projectId: string;
963
+ projectId:
964
+ string;
732
965
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
733
- quotaUser?: string;
966
+ quotaUser?:
967
+ string;
734
968
  /** Upload protocol for media (e.g. "raw", "multipart"). */
735
- upload_protocol?: string;
969
+ upload_protocol?:
970
+ string;
736
971
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
737
- uploadType?: string;
972
+ uploadType?:
973
+ string;
738
974
  /** Request body */
739
- resource: CommitRequest;
975
+ resource:
976
+ CommitRequest;
740
977
  }): Request<CommitResponse>;
741
978
  commit(request: {
742
979
  /** V1 error format. */
743
- "$.xgafv"?: string;
980
+ "$.xgafv"?:
981
+ string;
744
982
  /** OAuth access token. */
745
- access_token?: string;
983
+ access_token?:
984
+ string;
746
985
  /** Data format for response. */
747
- alt?: string;
986
+ alt?:
987
+ string;
748
988
  /** JSONP */
749
- callback?: string;
989
+ callback?:
990
+ string;
750
991
  /** Selector specifying which fields to include in a partial response. */
751
- fields?: string;
992
+ fields?:
993
+ string;
752
994
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
753
- key?: string;
995
+ key?:
996
+ string;
754
997
  /** OAuth 2.0 token for the current user. */
755
- oauth_token?: string;
998
+ oauth_token?:
999
+ string;
756
1000
  /** Returns response with indentations and line breaks. */
757
- prettyPrint?: boolean;
1001
+ prettyPrint?:
1002
+ boolean;
758
1003
  /** Required. The ID of the project against which to make the request. */
759
- projectId: string;
1004
+ projectId:
1005
+ string;
760
1006
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
761
- quotaUser?: string;
1007
+ quotaUser?:
1008
+ string;
762
1009
  /** Upload protocol for media (e.g. "raw", "multipart"). */
763
- upload_protocol?: string;
1010
+ upload_protocol?:
1011
+ string;
764
1012
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
765
- uploadType?: string;
1013
+ uploadType?:
1014
+ string;
766
1015
  },
767
1016
  body: CommitRequest): Request<CommitResponse>;
768
1017
  /** Looks up entities by key. */
769
1018
  lookup(request: {
770
1019
  /** V1 error format. */
771
- "$.xgafv"?: string;
1020
+ "$.xgafv"?:
1021
+ string;
772
1022
  /** OAuth access token. */
773
- access_token?: string;
1023
+ access_token?:
1024
+ string;
774
1025
  /** Data format for response. */
775
- alt?: string;
1026
+ alt?:
1027
+ string;
776
1028
  /** JSONP */
777
- callback?: string;
1029
+ callback?:
1030
+ string;
778
1031
  /** Selector specifying which fields to include in a partial response. */
779
- fields?: string;
1032
+ fields?:
1033
+ string;
780
1034
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
781
- key?: string;
1035
+ key?:
1036
+ string;
782
1037
  /** OAuth 2.0 token for the current user. */
783
- oauth_token?: string;
1038
+ oauth_token?:
1039
+ string;
784
1040
  /** Returns response with indentations and line breaks. */
785
- prettyPrint?: boolean;
1041
+ prettyPrint?:
1042
+ boolean;
786
1043
  /** Required. The ID of the project against which to make the request. */
787
- projectId: string;
1044
+ projectId:
1045
+ string;
788
1046
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
789
- quotaUser?: string;
1047
+ quotaUser?:
1048
+ string;
790
1049
  /** Upload protocol for media (e.g. "raw", "multipart"). */
791
- upload_protocol?: string;
1050
+ upload_protocol?:
1051
+ string;
792
1052
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
793
- uploadType?: string;
1053
+ uploadType?:
1054
+ string;
794
1055
  /** Request body */
795
- resource: LookupRequest;
1056
+ resource:
1057
+ LookupRequest;
796
1058
  }): Request<LookupResponse>;
797
1059
  lookup(request: {
798
1060
  /** V1 error format. */
799
- "$.xgafv"?: string;
1061
+ "$.xgafv"?:
1062
+ string;
800
1063
  /** OAuth access token. */
801
- access_token?: string;
1064
+ access_token?:
1065
+ string;
802
1066
  /** Data format for response. */
803
- alt?: string;
1067
+ alt?:
1068
+ string;
804
1069
  /** JSONP */
805
- callback?: string;
1070
+ callback?:
1071
+ string;
806
1072
  /** Selector specifying which fields to include in a partial response. */
807
- fields?: string;
1073
+ fields?:
1074
+ string;
808
1075
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
809
- key?: string;
1076
+ key?:
1077
+ string;
810
1078
  /** OAuth 2.0 token for the current user. */
811
- oauth_token?: string;
1079
+ oauth_token?:
1080
+ string;
812
1081
  /** Returns response with indentations and line breaks. */
813
- prettyPrint?: boolean;
1082
+ prettyPrint?:
1083
+ boolean;
814
1084
  /** Required. The ID of the project against which to make the request. */
815
- projectId: string;
1085
+ projectId:
1086
+ string;
816
1087
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
817
- quotaUser?: string;
1088
+ quotaUser?:
1089
+ string;
818
1090
  /** Upload protocol for media (e.g. "raw", "multipart"). */
819
- upload_protocol?: string;
1091
+ upload_protocol?:
1092
+ string;
820
1093
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
821
- uploadType?: string;
1094
+ uploadType?:
1095
+ string;
822
1096
  },
823
1097
  body: LookupRequest): Request<LookupResponse>;
824
1098
  /** Prevents the supplied keys' IDs from being auto-allocated by Cloud Datastore. */
825
1099
  reserveIds(request: {
826
1100
  /** V1 error format. */
827
- "$.xgafv"?: string;
1101
+ "$.xgafv"?:
1102
+ string;
828
1103
  /** OAuth access token. */
829
- access_token?: string;
1104
+ access_token?:
1105
+ string;
830
1106
  /** Data format for response. */
831
- alt?: string;
1107
+ alt?:
1108
+ string;
832
1109
  /** JSONP */
833
- callback?: string;
1110
+ callback?:
1111
+ string;
834
1112
  /** Selector specifying which fields to include in a partial response. */
835
- fields?: string;
1113
+ fields?:
1114
+ string;
836
1115
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
837
- key?: string;
1116
+ key?:
1117
+ string;
838
1118
  /** OAuth 2.0 token for the current user. */
839
- oauth_token?: string;
1119
+ oauth_token?:
1120
+ string;
840
1121
  /** Returns response with indentations and line breaks. */
841
- prettyPrint?: boolean;
1122
+ prettyPrint?:
1123
+ boolean;
842
1124
  /** Required. The ID of the project against which to make the request. */
843
- projectId: string;
1125
+ projectId:
1126
+ string;
844
1127
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
845
- quotaUser?: string;
1128
+ quotaUser?:
1129
+ string;
846
1130
  /** Upload protocol for media (e.g. "raw", "multipart"). */
847
- upload_protocol?: string;
1131
+ upload_protocol?:
1132
+ string;
848
1133
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
849
- uploadType?: string;
1134
+ uploadType?:
1135
+ string;
850
1136
  /** Request body */
851
- resource: ReserveIdsRequest;
1137
+ resource:
1138
+ ReserveIdsRequest;
852
1139
  }): Request<{}>;
853
1140
  reserveIds(request: {
854
1141
  /** V1 error format. */
855
- "$.xgafv"?: string;
1142
+ "$.xgafv"?:
1143
+ string;
856
1144
  /** OAuth access token. */
857
- access_token?: string;
1145
+ access_token?:
1146
+ string;
858
1147
  /** Data format for response. */
859
- alt?: string;
1148
+ alt?:
1149
+ string;
860
1150
  /** JSONP */
861
- callback?: string;
1151
+ callback?:
1152
+ string;
862
1153
  /** Selector specifying which fields to include in a partial response. */
863
- fields?: string;
1154
+ fields?:
1155
+ string;
864
1156
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
865
- key?: string;
1157
+ key?:
1158
+ string;
866
1159
  /** OAuth 2.0 token for the current user. */
867
- oauth_token?: string;
1160
+ oauth_token?:
1161
+ string;
868
1162
  /** Returns response with indentations and line breaks. */
869
- prettyPrint?: boolean;
1163
+ prettyPrint?:
1164
+ boolean;
870
1165
  /** Required. The ID of the project against which to make the request. */
871
- projectId: string;
1166
+ projectId:
1167
+ string;
872
1168
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
873
- quotaUser?: string;
1169
+ quotaUser?:
1170
+ string;
874
1171
  /** Upload protocol for media (e.g. "raw", "multipart"). */
875
- upload_protocol?: string;
1172
+ upload_protocol?:
1173
+ string;
876
1174
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
877
- uploadType?: string;
1175
+ uploadType?:
1176
+ string;
878
1177
  },
879
1178
  body: ReserveIdsRequest): Request<{}>;
880
1179
  /** Rolls back a transaction. */
881
1180
  rollback(request: {
882
1181
  /** V1 error format. */
883
- "$.xgafv"?: string;
1182
+ "$.xgafv"?:
1183
+ string;
884
1184
  /** OAuth access token. */
885
- access_token?: string;
1185
+ access_token?:
1186
+ string;
886
1187
  /** Data format for response. */
887
- alt?: string;
1188
+ alt?:
1189
+ string;
888
1190
  /** JSONP */
889
- callback?: string;
1191
+ callback?:
1192
+ string;
890
1193
  /** Selector specifying which fields to include in a partial response. */
891
- fields?: string;
1194
+ fields?:
1195
+ string;
892
1196
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
893
- key?: string;
1197
+ key?:
1198
+ string;
894
1199
  /** OAuth 2.0 token for the current user. */
895
- oauth_token?: string;
1200
+ oauth_token?:
1201
+ string;
896
1202
  /** Returns response with indentations and line breaks. */
897
- prettyPrint?: boolean;
1203
+ prettyPrint?:
1204
+ boolean;
898
1205
  /** Required. The ID of the project against which to make the request. */
899
- projectId: string;
1206
+ projectId:
1207
+ string;
900
1208
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
901
- quotaUser?: string;
1209
+ quotaUser?:
1210
+ string;
902
1211
  /** Upload protocol for media (e.g. "raw", "multipart"). */
903
- upload_protocol?: string;
1212
+ upload_protocol?:
1213
+ string;
904
1214
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
905
- uploadType?: string;
1215
+ uploadType?:
1216
+ string;
906
1217
  /** Request body */
907
- resource: RollbackRequest;
1218
+ resource:
1219
+ RollbackRequest;
908
1220
  }): Request<{}>;
909
1221
  rollback(request: {
910
1222
  /** V1 error format. */
911
- "$.xgafv"?: string;
1223
+ "$.xgafv"?:
1224
+ string;
912
1225
  /** OAuth access token. */
913
- access_token?: string;
1226
+ access_token?:
1227
+ string;
914
1228
  /** Data format for response. */
915
- alt?: string;
1229
+ alt?:
1230
+ string;
916
1231
  /** JSONP */
917
- callback?: string;
1232
+ callback?:
1233
+ string;
918
1234
  /** Selector specifying which fields to include in a partial response. */
919
- fields?: string;
1235
+ fields?:
1236
+ string;
920
1237
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
921
- key?: string;
1238
+ key?:
1239
+ string;
922
1240
  /** OAuth 2.0 token for the current user. */
923
- oauth_token?: string;
1241
+ oauth_token?:
1242
+ string;
924
1243
  /** Returns response with indentations and line breaks. */
925
- prettyPrint?: boolean;
1244
+ prettyPrint?:
1245
+ boolean;
926
1246
  /** Required. The ID of the project against which to make the request. */
927
- projectId: string;
1247
+ projectId:
1248
+ string;
928
1249
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
929
- quotaUser?: string;
1250
+ quotaUser?:
1251
+ string;
930
1252
  /** Upload protocol for media (e.g. "raw", "multipart"). */
931
- upload_protocol?: string;
1253
+ upload_protocol?:
1254
+ string;
932
1255
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
933
- uploadType?: string;
1256
+ uploadType?:
1257
+ string;
934
1258
  },
935
1259
  body: RollbackRequest): Request<{}>;
936
1260
  /** Runs an aggregation query. */
937
1261
  runAggregationQuery(request: {
938
1262
  /** V1 error format. */
939
- "$.xgafv"?: string;
1263
+ "$.xgafv"?:
1264
+ string;
940
1265
  /** OAuth access token. */
941
- access_token?: string;
1266
+ access_token?:
1267
+ string;
942
1268
  /** Data format for response. */
943
- alt?: string;
1269
+ alt?:
1270
+ string;
944
1271
  /** JSONP */
945
- callback?: string;
1272
+ callback?:
1273
+ string;
946
1274
  /** Selector specifying which fields to include in a partial response. */
947
- fields?: string;
1275
+ fields?:
1276
+ string;
948
1277
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
949
- key?: string;
1278
+ key?:
1279
+ string;
950
1280
  /** OAuth 2.0 token for the current user. */
951
- oauth_token?: string;
1281
+ oauth_token?:
1282
+ string;
952
1283
  /** Returns response with indentations and line breaks. */
953
- prettyPrint?: boolean;
1284
+ prettyPrint?:
1285
+ boolean;
954
1286
  /** Required. The ID of the project against which to make the request. */
955
- projectId: string;
1287
+ projectId:
1288
+ string;
956
1289
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
957
- quotaUser?: string;
1290
+ quotaUser?:
1291
+ string;
958
1292
  /** Upload protocol for media (e.g. "raw", "multipart"). */
959
- upload_protocol?: string;
1293
+ upload_protocol?:
1294
+ string;
960
1295
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
961
- uploadType?: string;
1296
+ uploadType?:
1297
+ string;
962
1298
  /** Request body */
963
- resource: RunAggregationQueryRequest;
1299
+ resource:
1300
+ RunAggregationQueryRequest;
964
1301
  }): Request<RunAggregationQueryResponse>;
965
1302
  runAggregationQuery(request: {
966
1303
  /** V1 error format. */
967
- "$.xgafv"?: string;
1304
+ "$.xgafv"?:
1305
+ string;
968
1306
  /** OAuth access token. */
969
- access_token?: string;
1307
+ access_token?:
1308
+ string;
970
1309
  /** Data format for response. */
971
- alt?: string;
1310
+ alt?:
1311
+ string;
972
1312
  /** JSONP */
973
- callback?: string;
1313
+ callback?:
1314
+ string;
974
1315
  /** Selector specifying which fields to include in a partial response. */
975
- fields?: string;
1316
+ fields?:
1317
+ string;
976
1318
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
977
- key?: string;
1319
+ key?:
1320
+ string;
978
1321
  /** OAuth 2.0 token for the current user. */
979
- oauth_token?: string;
1322
+ oauth_token?:
1323
+ string;
980
1324
  /** Returns response with indentations and line breaks. */
981
- prettyPrint?: boolean;
1325
+ prettyPrint?:
1326
+ boolean;
982
1327
  /** Required. The ID of the project against which to make the request. */
983
- projectId: string;
1328
+ projectId:
1329
+ string;
984
1330
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
985
- quotaUser?: string;
1331
+ quotaUser?:
1332
+ string;
986
1333
  /** Upload protocol for media (e.g. "raw", "multipart"). */
987
- upload_protocol?: string;
1334
+ upload_protocol?:
1335
+ string;
988
1336
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
989
- uploadType?: string;
1337
+ uploadType?:
1338
+ string;
990
1339
  },
991
1340
  body: RunAggregationQueryRequest): Request<RunAggregationQueryResponse>;
992
1341
  /** Queries for entities. */
993
1342
  runQuery(request: {
994
1343
  /** V1 error format. */
995
- "$.xgafv"?: string;
1344
+ "$.xgafv"?:
1345
+ string;
996
1346
  /** OAuth access token. */
997
- access_token?: string;
1347
+ access_token?:
1348
+ string;
998
1349
  /** Data format for response. */
999
- alt?: string;
1350
+ alt?:
1351
+ string;
1000
1352
  /** JSONP */
1001
- callback?: string;
1353
+ callback?:
1354
+ string;
1002
1355
  /** Selector specifying which fields to include in a partial response. */
1003
- fields?: string;
1356
+ fields?:
1357
+ string;
1004
1358
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1005
- key?: string;
1359
+ key?:
1360
+ string;
1006
1361
  /** OAuth 2.0 token for the current user. */
1007
- oauth_token?: string;
1362
+ oauth_token?:
1363
+ string;
1008
1364
  /** Returns response with indentations and line breaks. */
1009
- prettyPrint?: boolean;
1365
+ prettyPrint?:
1366
+ boolean;
1010
1367
  /** Required. The ID of the project against which to make the request. */
1011
- projectId: string;
1368
+ projectId:
1369
+ string;
1012
1370
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1013
- quotaUser?: string;
1371
+ quotaUser?:
1372
+ string;
1014
1373
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1015
- upload_protocol?: string;
1374
+ upload_protocol?:
1375
+ string;
1016
1376
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1017
- uploadType?: string;
1377
+ uploadType?:
1378
+ string;
1018
1379
  /** Request body */
1019
- resource: RunQueryRequest;
1380
+ resource:
1381
+ RunQueryRequest;
1020
1382
  }): Request<RunQueryResponse>;
1021
1383
  runQuery(request: {
1022
1384
  /** V1 error format. */
1023
- "$.xgafv"?: string;
1385
+ "$.xgafv"?:
1386
+ string;
1024
1387
  /** OAuth access token. */
1025
- access_token?: string;
1388
+ access_token?:
1389
+ string;
1026
1390
  /** Data format for response. */
1027
- alt?: string;
1391
+ alt?:
1392
+ string;
1028
1393
  /** JSONP */
1029
- callback?: string;
1394
+ callback?:
1395
+ string;
1030
1396
  /** Selector specifying which fields to include in a partial response. */
1031
- fields?: string;
1397
+ fields?:
1398
+ string;
1032
1399
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1033
- key?: string;
1400
+ key?:
1401
+ string;
1034
1402
  /** OAuth 2.0 token for the current user. */
1035
- oauth_token?: string;
1403
+ oauth_token?:
1404
+ string;
1036
1405
  /** Returns response with indentations and line breaks. */
1037
- prettyPrint?: boolean;
1406
+ prettyPrint?:
1407
+ boolean;
1038
1408
  /** Required. The ID of the project against which to make the request. */
1039
- projectId: string;
1409
+ projectId:
1410
+ string;
1040
1411
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1041
- quotaUser?: string;
1412
+ quotaUser?:
1413
+ string;
1042
1414
  /** Upload protocol for media (e.g. "raw", "multipart"). */
1043
- upload_protocol?: string;
1415
+ upload_protocol?:
1416
+ string;
1044
1417
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1045
- uploadType?: string;
1418
+ uploadType?:
1419
+ string;
1046
1420
  },
1047
1421
  body: RunQueryRequest): Request<RunQueryResponse>;
1048
1422
  }