@maxim_mazurok/gapi.client.datastore-v1 0.0.20250120 → 0.0.20250204

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 +14 -14
  2. package/package.json +1 -1
  3. package/readme.md +2 -2
package/index.d.ts CHANGED
@@ -9,14 +9,14 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://datastore.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20250120
12
+ // Revision: 20250204
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
16
16
  declare namespace gapi.client {
17
17
  /** Load Cloud Datastore API v1 */
18
18
  function load(
19
- urlOrObject: 'https://datastore.googleapis.com/$discovery/rest?version=v1'
19
+ urlOrObject: 'https://datastore.googleapis.com/$discovery/rest?version=v1',
20
20
  ): Promise<void>;
21
21
  /** @deprecated Please load APIs with discovery documents. */
22
22
  function load(name: 'datastore', version: 'v1'): Promise<void>;
@@ -630,7 +630,7 @@ declare namespace gapi.client {
630
630
  readOptions?: ReadOptions;
631
631
  }
632
632
  interface RunQueryResponse {
633
- /** A batch of query results (always present). */
633
+ /** A batch of query results. This is always present unless running a query under explain-only mode: RunQueryRequest.explain_options was provided and ExplainOptions.analyze was set to false. */
634
634
  batch?: QueryResultBatch;
635
635
  /** Query explain metrics. This is only present when the RunQueryRequest.explain_options is provided, and it is sent only once with the last response in the stream. */
636
636
  explainMetrics?: ExplainMetrics;
@@ -742,7 +742,7 @@ declare namespace gapi.client {
742
742
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
743
743
  uploadType?: string;
744
744
  },
745
- body: GoogleDatastoreAdminV1Index
745
+ body: GoogleDatastoreAdminV1Index,
746
746
  ): Request<GoogleLongrunningOperation>;
747
747
  /** Deletes an existing index. An index can only be deleted if it is in a `READY` or `ERROR` state. On successful execution of the request, the index will be in a `DELETING` state. And on completion of the returned google.longrunning.Operation, the index will be removed. During index deletion, the process could result in an error, in which case the index will move to the `ERROR` state. The process can be recovered by fixing the data that caused the error, followed by calling delete again. */
748
748
  delete(request?: {
@@ -1008,7 +1008,7 @@ declare namespace gapi.client {
1008
1008
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1009
1009
  uploadType?: string;
1010
1010
  },
1011
- body: AllocateIdsRequest
1011
+ body: AllocateIdsRequest,
1012
1012
  ): Request<AllocateIdsResponse>;
1013
1013
  /** Begins a new transaction. */
1014
1014
  beginTransaction(request: {
@@ -1066,7 +1066,7 @@ declare namespace gapi.client {
1066
1066
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1067
1067
  uploadType?: string;
1068
1068
  },
1069
- body: BeginTransactionRequest
1069
+ body: BeginTransactionRequest,
1070
1070
  ): Request<BeginTransactionResponse>;
1071
1071
  /** Commits a transaction, optionally creating, deleting or modifying some entities. */
1072
1072
  commit(request: {
@@ -1124,7 +1124,7 @@ declare namespace gapi.client {
1124
1124
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1125
1125
  uploadType?: string;
1126
1126
  },
1127
- body: CommitRequest
1127
+ body: CommitRequest,
1128
1128
  ): Request<CommitResponse>;
1129
1129
  /** Exports a copy of all or a subset of entities from Google Cloud Datastore to another storage system, such as Google Cloud Storage. Recent updates to entities may not be reflected in the export. The export occurs in the background and its progress can be monitored and managed via the Operation resource that is created. The output of an export may only be used once the associated operation is done. If an export operation is cancelled before completion it may leave partial data behind in Google Cloud Storage. */
1130
1130
  export(request: {
@@ -1182,7 +1182,7 @@ declare namespace gapi.client {
1182
1182
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1183
1183
  uploadType?: string;
1184
1184
  },
1185
- body: GoogleDatastoreAdminV1ExportEntitiesRequest
1185
+ body: GoogleDatastoreAdminV1ExportEntitiesRequest,
1186
1186
  ): Request<GoogleLongrunningOperation>;
1187
1187
  /** Imports entities into Google Cloud Datastore. Existing entities with the same key are overwritten. The import occurs in the background and its progress can be monitored and managed via the Operation resource that is created. If an ImportEntities operation is cancelled, it is possible that a subset of the data has already been imported to Cloud Datastore. */
1188
1188
  import(request: {
@@ -1240,7 +1240,7 @@ declare namespace gapi.client {
1240
1240
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1241
1241
  uploadType?: string;
1242
1242
  },
1243
- body: GoogleDatastoreAdminV1ImportEntitiesRequest
1243
+ body: GoogleDatastoreAdminV1ImportEntitiesRequest,
1244
1244
  ): Request<GoogleLongrunningOperation>;
1245
1245
  /** Looks up entities by key. */
1246
1246
  lookup(request: {
@@ -1298,7 +1298,7 @@ declare namespace gapi.client {
1298
1298
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1299
1299
  uploadType?: string;
1300
1300
  },
1301
- body: LookupRequest
1301
+ body: LookupRequest,
1302
1302
  ): Request<LookupResponse>;
1303
1303
  /** Prevents the supplied keys' IDs from being auto-allocated by Cloud Datastore. */
1304
1304
  reserveIds(request: {
@@ -1356,7 +1356,7 @@ declare namespace gapi.client {
1356
1356
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1357
1357
  uploadType?: string;
1358
1358
  },
1359
- body: ReserveIdsRequest
1359
+ body: ReserveIdsRequest,
1360
1360
  ): Request<{}>;
1361
1361
  /** Rolls back a transaction. */
1362
1362
  rollback(request: {
@@ -1414,7 +1414,7 @@ declare namespace gapi.client {
1414
1414
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1415
1415
  uploadType?: string;
1416
1416
  },
1417
- body: RollbackRequest
1417
+ body: RollbackRequest,
1418
1418
  ): Request<{}>;
1419
1419
  /** Runs an aggregation query. */
1420
1420
  runAggregationQuery(request: {
@@ -1472,7 +1472,7 @@ declare namespace gapi.client {
1472
1472
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1473
1473
  uploadType?: string;
1474
1474
  },
1475
- body: RunAggregationQueryRequest
1475
+ body: RunAggregationQueryRequest,
1476
1476
  ): Request<RunAggregationQueryResponse>;
1477
1477
  /** Queries for entities. */
1478
1478
  runQuery(request: {
@@ -1530,7 +1530,7 @@ declare namespace gapi.client {
1530
1530
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1531
1531
  uploadType?: string;
1532
1532
  },
1533
- body: RunQueryRequest
1533
+ body: RunQueryRequest,
1534
1534
  ): Request<RunQueryResponse>;
1535
1535
  indexes: IndexesResource;
1536
1536
  operations: OperationsResource;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.datastore-v1",
3
- "version": "0.0.20250120",
3
+ "version": "0.0.20250204",
4
4
  "description": "TypeScript typings for Cloud Datastore API v1",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -30,7 +30,7 @@ gapi.client.load(
30
30
  () => {
31
31
  // now we can use:
32
32
  // gapi.client.datastore
33
- }
33
+ },
34
34
  );
35
35
  ```
36
36
 
@@ -65,7 +65,7 @@ gapi.auth.authorize(
65
65
  } else {
66
66
  /* handle authorization error */
67
67
  }
68
- }
68
+ },
69
69
  );
70
70
  ```
71
71