@maxim_mazurok/gapi.client.datastore-v1beta1 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.
- package/index.d.ts +231 -116
- package/package.json +1 -1
- 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=v1beta1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230429
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -24,45 +24,59 @@ declare namespace gapi.client {
|
|
|
24
24
|
namespace datastore {
|
|
25
25
|
interface GoogleDatastoreAdminV1beta1CommonMetadata {
|
|
26
26
|
/** The time the operation ended, either successfully or otherwise. */
|
|
27
|
-
endTime?:
|
|
27
|
+
endTime?:
|
|
28
|
+
string;
|
|
28
29
|
/** The client-assigned labels which were provided when the operation was created. May also include additional labels. */
|
|
29
|
-
labels?:
|
|
30
|
+
labels?:
|
|
31
|
+
{ [P in string]: string };
|
|
30
32
|
/** The type of the operation. Can be used as a filter in ListOperationsRequest. */
|
|
31
|
-
operationType?:
|
|
33
|
+
operationType?:
|
|
34
|
+
string;
|
|
32
35
|
/** The time that work began on the operation. */
|
|
33
|
-
startTime?:
|
|
36
|
+
startTime?:
|
|
37
|
+
string;
|
|
34
38
|
/** The current state of the Operation. */
|
|
35
|
-
state?:
|
|
39
|
+
state?:
|
|
40
|
+
string;
|
|
36
41
|
}
|
|
37
42
|
interface GoogleDatastoreAdminV1beta1EntityFilter {
|
|
38
43
|
/** If empty, then this represents all kinds. */
|
|
39
|
-
kinds?:
|
|
44
|
+
kinds?:
|
|
45
|
+
string[];
|
|
40
46
|
/**
|
|
41
47
|
* 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
|
|
42
48
|
* 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.
|
|
43
49
|
*/
|
|
44
|
-
namespaceIds?:
|
|
50
|
+
namespaceIds?:
|
|
51
|
+
string[];
|
|
45
52
|
}
|
|
46
53
|
interface GoogleDatastoreAdminV1beta1ExportEntitiesMetadata {
|
|
47
54
|
/** Metadata common to all Datastore Admin operations. */
|
|
48
|
-
common?:
|
|
55
|
+
common?:
|
|
56
|
+
GoogleDatastoreAdminV1beta1CommonMetadata;
|
|
49
57
|
/** Description of which entities are being exported. */
|
|
50
|
-
entityFilter?:
|
|
58
|
+
entityFilter?:
|
|
59
|
+
GoogleDatastoreAdminV1beta1EntityFilter;
|
|
51
60
|
/**
|
|
52
61
|
* 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
|
|
53
62
|
* location is provided in google.datastore.admin.v1beta1.ExportEntitiesResponse.output_url.
|
|
54
63
|
*/
|
|
55
|
-
outputUrlPrefix?:
|
|
64
|
+
outputUrlPrefix?:
|
|
65
|
+
string;
|
|
56
66
|
/** An estimate of the number of bytes processed. */
|
|
57
|
-
progressBytes?:
|
|
67
|
+
progressBytes?:
|
|
68
|
+
GoogleDatastoreAdminV1beta1Progress;
|
|
58
69
|
/** An estimate of the number of entities processed. */
|
|
59
|
-
progressEntities?:
|
|
70
|
+
progressEntities?:
|
|
71
|
+
GoogleDatastoreAdminV1beta1Progress;
|
|
60
72
|
}
|
|
61
73
|
interface GoogleDatastoreAdminV1beta1ExportEntitiesRequest {
|
|
62
74
|
/** Description of what data from the project is included in the export. */
|
|
63
|
-
entityFilter?:
|
|
75
|
+
entityFilter?:
|
|
76
|
+
GoogleDatastoreAdminV1beta1EntityFilter;
|
|
64
77
|
/** Client-assigned labels. */
|
|
65
|
-
labels?:
|
|
78
|
+
labels?:
|
|
79
|
+
{ [P in string]: string };
|
|
66
80
|
/**
|
|
67
81
|
* Location for the export metadata and data files. The full resource URL of the external storage location. Currently, only Google Cloud Storage is supported. So output_url_prefix
|
|
68
82
|
* should be of the form: `gs://BUCKET_NAME[/NAMESPACE_PATH]`, where `BUCKET_NAME` is the name of the Cloud Storage bucket and `NAMESPACE_PATH` is an optional Cloud Storage namespace
|
|
@@ -71,33 +85,41 @@ declare namespace gapi.client {
|
|
|
71
85
|
* will be provided in the google.datastore.admin.v1beta1.ExportEntitiesResponse.output_url field. That value should be used for subsequent ImportEntities operations. By nesting the
|
|
72
86
|
* data files deeper, the same Cloud Storage bucket can be used in multiple ExportEntities operations without conflict.
|
|
73
87
|
*/
|
|
74
|
-
outputUrlPrefix?:
|
|
88
|
+
outputUrlPrefix?:
|
|
89
|
+
string;
|
|
75
90
|
}
|
|
76
91
|
interface GoogleDatastoreAdminV1beta1ExportEntitiesResponse {
|
|
77
92
|
/**
|
|
78
93
|
* Location of the output metadata file. This can be used to begin an import into Cloud Datastore (this project or another project). See
|
|
79
94
|
* google.datastore.admin.v1beta1.ImportEntitiesRequest.input_url. Only present if the operation completed successfully.
|
|
80
95
|
*/
|
|
81
|
-
outputUrl?:
|
|
96
|
+
outputUrl?:
|
|
97
|
+
string;
|
|
82
98
|
}
|
|
83
99
|
interface GoogleDatastoreAdminV1beta1ImportEntitiesMetadata {
|
|
84
100
|
/** Metadata common to all Datastore Admin operations. */
|
|
85
|
-
common?:
|
|
101
|
+
common?:
|
|
102
|
+
GoogleDatastoreAdminV1beta1CommonMetadata;
|
|
86
103
|
/** Description of which entities are being imported. */
|
|
87
|
-
entityFilter?:
|
|
104
|
+
entityFilter?:
|
|
105
|
+
GoogleDatastoreAdminV1beta1EntityFilter;
|
|
88
106
|
/** The location of the import metadata file. This will be the same value as the google.datastore.admin.v1beta1.ExportEntitiesResponse.output_url field. */
|
|
89
|
-
inputUrl?:
|
|
107
|
+
inputUrl?:
|
|
108
|
+
string;
|
|
90
109
|
/** An estimate of the number of bytes processed. */
|
|
91
|
-
progressBytes?:
|
|
110
|
+
progressBytes?:
|
|
111
|
+
GoogleDatastoreAdminV1beta1Progress;
|
|
92
112
|
/** An estimate of the number of entities processed. */
|
|
93
|
-
progressEntities?:
|
|
113
|
+
progressEntities?:
|
|
114
|
+
GoogleDatastoreAdminV1beta1Progress;
|
|
94
115
|
}
|
|
95
116
|
interface GoogleDatastoreAdminV1beta1ImportEntitiesRequest {
|
|
96
117
|
/**
|
|
97
118
|
* Optionally specify which kinds/namespaces are to be imported. If provided, the list must be a subset of the EntityFilter used in creating the export, otherwise a FAILED_PRECONDITION
|
|
98
119
|
* error will be returned. If no filter is specified then all entities from the export are imported.
|
|
99
120
|
*/
|
|
100
|
-
entityFilter?:
|
|
121
|
+
entityFilter?:
|
|
122
|
+
GoogleDatastoreAdminV1beta1EntityFilter;
|
|
101
123
|
/**
|
|
102
124
|
* The full resource URL of the external storage location. Currently, only Google Cloud Storage is supported. So input_url should be of the form:
|
|
103
125
|
* `gs://BUCKET_NAME[/NAMESPACE_PATH]/OVERALL_EXPORT_METADATA_FILE`, where `BUCKET_NAME` is the name of the Cloud Storage bucket, `NAMESPACE_PATH` is an optional Cloud Storage
|
|
@@ -105,143 +127,186 @@ declare namespace gapi.client {
|
|
|
105
127
|
* Cloud Storage namespace paths, see [Object name considerations](https://cloud.google.com/storage/docs/naming#object-considerations). For more information, see
|
|
106
128
|
* google.datastore.admin.v1beta1.ExportEntitiesResponse.output_url.
|
|
107
129
|
*/
|
|
108
|
-
inputUrl?:
|
|
130
|
+
inputUrl?:
|
|
131
|
+
string;
|
|
109
132
|
/** Client-assigned labels. */
|
|
110
|
-
labels?:
|
|
133
|
+
labels?:
|
|
134
|
+
{ [P in string]: string };
|
|
111
135
|
}
|
|
112
136
|
interface GoogleDatastoreAdminV1beta1Progress {
|
|
113
137
|
/** The amount of work that has been completed. Note that this may be greater than work_estimated. */
|
|
114
|
-
workCompleted?:
|
|
138
|
+
workCompleted?:
|
|
139
|
+
string;
|
|
115
140
|
/** An estimate of how much work needs to be performed. May be zero if the work estimate is unavailable. */
|
|
116
|
-
workEstimated?:
|
|
141
|
+
workEstimated?:
|
|
142
|
+
string;
|
|
117
143
|
}
|
|
118
144
|
interface GoogleDatastoreAdminV1CommonMetadata {
|
|
119
145
|
/** The time the operation ended, either successfully or otherwise. */
|
|
120
|
-
endTime?:
|
|
146
|
+
endTime?:
|
|
147
|
+
string;
|
|
121
148
|
/** The client-assigned labels which were provided when the operation was created. May also include additional labels. */
|
|
122
|
-
labels?:
|
|
149
|
+
labels?:
|
|
150
|
+
{ [P in string]: string };
|
|
123
151
|
/** The type of the operation. Can be used as a filter in ListOperationsRequest. */
|
|
124
|
-
operationType?:
|
|
152
|
+
operationType?:
|
|
153
|
+
string;
|
|
125
154
|
/** The time that work began on the operation. */
|
|
126
|
-
startTime?:
|
|
155
|
+
startTime?:
|
|
156
|
+
string;
|
|
127
157
|
/** The current state of the Operation. */
|
|
128
|
-
state?:
|
|
158
|
+
state?:
|
|
159
|
+
string;
|
|
129
160
|
}
|
|
130
161
|
interface GoogleDatastoreAdminV1DatastoreFirestoreMigrationMetadata {
|
|
131
162
|
/** The current state of migration from Cloud Datastore to Cloud Firestore in Datastore mode. */
|
|
132
|
-
migrationState?:
|
|
163
|
+
migrationState?:
|
|
164
|
+
string;
|
|
133
165
|
/** The current step of migration from Cloud Datastore to Cloud Firestore in Datastore mode. */
|
|
134
|
-
migrationStep?:
|
|
166
|
+
migrationStep?:
|
|
167
|
+
string;
|
|
135
168
|
}
|
|
136
169
|
interface GoogleDatastoreAdminV1EntityFilter {
|
|
137
170
|
/** If empty, then this represents all kinds. */
|
|
138
|
-
kinds?:
|
|
171
|
+
kinds?:
|
|
172
|
+
string[];
|
|
139
173
|
/**
|
|
140
174
|
* 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
|
|
141
175
|
* 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.
|
|
142
176
|
*/
|
|
143
|
-
namespaceIds?:
|
|
177
|
+
namespaceIds?:
|
|
178
|
+
string[];
|
|
144
179
|
}
|
|
145
180
|
interface GoogleDatastoreAdminV1ExportEntitiesMetadata {
|
|
146
181
|
/** Metadata common to all Datastore Admin operations. */
|
|
147
|
-
common?:
|
|
182
|
+
common?:
|
|
183
|
+
GoogleDatastoreAdminV1CommonMetadata;
|
|
148
184
|
/** Description of which entities are being exported. */
|
|
149
|
-
entityFilter?:
|
|
185
|
+
entityFilter?:
|
|
186
|
+
GoogleDatastoreAdminV1EntityFilter;
|
|
150
187
|
/**
|
|
151
188
|
* 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
|
|
152
189
|
* location is provided in google.datastore.admin.v1.ExportEntitiesResponse.output_url.
|
|
153
190
|
*/
|
|
154
|
-
outputUrlPrefix?:
|
|
191
|
+
outputUrlPrefix?:
|
|
192
|
+
string;
|
|
155
193
|
/** An estimate of the number of bytes processed. */
|
|
156
|
-
progressBytes?:
|
|
194
|
+
progressBytes?:
|
|
195
|
+
GoogleDatastoreAdminV1Progress;
|
|
157
196
|
/** An estimate of the number of entities processed. */
|
|
158
|
-
progressEntities?:
|
|
197
|
+
progressEntities?:
|
|
198
|
+
GoogleDatastoreAdminV1Progress;
|
|
159
199
|
}
|
|
160
200
|
interface GoogleDatastoreAdminV1ExportEntitiesResponse {
|
|
161
201
|
/**
|
|
162
202
|
* Location of the output metadata file. This can be used to begin an import into Cloud Datastore (this project or another project). See
|
|
163
203
|
* google.datastore.admin.v1.ImportEntitiesRequest.input_url. Only present if the operation completed successfully.
|
|
164
204
|
*/
|
|
165
|
-
outputUrl?:
|
|
205
|
+
outputUrl?:
|
|
206
|
+
string;
|
|
166
207
|
}
|
|
167
208
|
interface GoogleDatastoreAdminV1ImportEntitiesMetadata {
|
|
168
209
|
/** Metadata common to all Datastore Admin operations. */
|
|
169
|
-
common?:
|
|
210
|
+
common?:
|
|
211
|
+
GoogleDatastoreAdminV1CommonMetadata;
|
|
170
212
|
/** Description of which entities are being imported. */
|
|
171
|
-
entityFilter?:
|
|
213
|
+
entityFilter?:
|
|
214
|
+
GoogleDatastoreAdminV1EntityFilter;
|
|
172
215
|
/** The location of the import metadata file. This will be the same value as the google.datastore.admin.v1.ExportEntitiesResponse.output_url field. */
|
|
173
|
-
inputUrl?:
|
|
216
|
+
inputUrl?:
|
|
217
|
+
string;
|
|
174
218
|
/** An estimate of the number of bytes processed. */
|
|
175
|
-
progressBytes?:
|
|
219
|
+
progressBytes?:
|
|
220
|
+
GoogleDatastoreAdminV1Progress;
|
|
176
221
|
/** An estimate of the number of entities processed. */
|
|
177
|
-
progressEntities?:
|
|
222
|
+
progressEntities?:
|
|
223
|
+
GoogleDatastoreAdminV1Progress;
|
|
178
224
|
}
|
|
179
225
|
interface GoogleDatastoreAdminV1IndexOperationMetadata {
|
|
180
226
|
/** Metadata common to all Datastore Admin operations. */
|
|
181
|
-
common?:
|
|
227
|
+
common?:
|
|
228
|
+
GoogleDatastoreAdminV1CommonMetadata;
|
|
182
229
|
/** The index resource ID that this operation is acting on. */
|
|
183
|
-
indexId?:
|
|
230
|
+
indexId?:
|
|
231
|
+
string;
|
|
184
232
|
/** An estimate of the number of entities processed. */
|
|
185
|
-
progressEntities?:
|
|
233
|
+
progressEntities?:
|
|
234
|
+
GoogleDatastoreAdminV1Progress;
|
|
186
235
|
}
|
|
187
236
|
interface GoogleDatastoreAdminV1MigrationProgressEvent {
|
|
188
237
|
/** Details for the `PREPARE` step. */
|
|
189
|
-
prepareStepDetails?:
|
|
238
|
+
prepareStepDetails?:
|
|
239
|
+
GoogleDatastoreAdminV1PrepareStepDetails;
|
|
190
240
|
/** Details for the `REDIRECT_WRITES` step. */
|
|
191
|
-
redirectWritesStepDetails?:
|
|
241
|
+
redirectWritesStepDetails?:
|
|
242
|
+
GoogleDatastoreAdminV1RedirectWritesStepDetails;
|
|
192
243
|
/** 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. */
|
|
193
|
-
step?:
|
|
244
|
+
step?:
|
|
245
|
+
string;
|
|
194
246
|
}
|
|
195
247
|
interface GoogleDatastoreAdminV1MigrationStateEvent {
|
|
196
248
|
/** The new state of the migration. */
|
|
197
|
-
state?:
|
|
249
|
+
state?:
|
|
250
|
+
string;
|
|
198
251
|
}
|
|
199
252
|
interface GoogleDatastoreAdminV1PrepareStepDetails {
|
|
200
253
|
/** The concurrency mode this database will use when it reaches the `REDIRECT_WRITES` step. */
|
|
201
|
-
concurrencyMode?:
|
|
254
|
+
concurrencyMode?:
|
|
255
|
+
string;
|
|
202
256
|
}
|
|
203
257
|
interface GoogleDatastoreAdminV1Progress {
|
|
204
258
|
/** The amount of work that has been completed. Note that this may be greater than work_estimated. */
|
|
205
|
-
workCompleted?:
|
|
259
|
+
workCompleted?:
|
|
260
|
+
string;
|
|
206
261
|
/** An estimate of how much work needs to be performed. May be zero if the work estimate is unavailable. */
|
|
207
|
-
workEstimated?:
|
|
262
|
+
workEstimated?:
|
|
263
|
+
string;
|
|
208
264
|
}
|
|
209
265
|
interface GoogleDatastoreAdminV1RedirectWritesStepDetails {
|
|
210
266
|
/** Ths concurrency mode for this database. */
|
|
211
|
-
concurrencyMode?:
|
|
267
|
+
concurrencyMode?:
|
|
268
|
+
string;
|
|
212
269
|
}
|
|
213
270
|
interface GoogleLongrunningOperation {
|
|
214
271
|
/** If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available. */
|
|
215
|
-
done?:
|
|
272
|
+
done?:
|
|
273
|
+
boolean;
|
|
216
274
|
/** The error result of the operation in case of failure or cancellation. */
|
|
217
|
-
error?:
|
|
275
|
+
error?:
|
|
276
|
+
Status;
|
|
218
277
|
/**
|
|
219
278
|
* Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such
|
|
220
279
|
* metadata. Any method that returns a long-running operation should document the metadata type, if any.
|
|
221
280
|
*/
|
|
222
|
-
metadata?:
|
|
281
|
+
metadata?:
|
|
282
|
+
{ [P in string]: any };
|
|
223
283
|
/**
|
|
224
284
|
* The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending
|
|
225
285
|
* with `operations/{unique_id}`.
|
|
226
286
|
*/
|
|
227
|
-
name?:
|
|
287
|
+
name?:
|
|
288
|
+
string;
|
|
228
289
|
/**
|
|
229
290
|
* The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the
|
|
230
291
|
* original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the
|
|
231
292
|
* original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
|
|
232
293
|
*/
|
|
233
|
-
response?:
|
|
294
|
+
response?:
|
|
295
|
+
{ [P in string]: any };
|
|
234
296
|
}
|
|
235
297
|
interface Status {
|
|
236
298
|
/** The status code, which should be an enum value of google.rpc.Code. */
|
|
237
|
-
code?:
|
|
299
|
+
code?:
|
|
300
|
+
number;
|
|
238
301
|
/** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
|
|
239
|
-
details?:
|
|
302
|
+
details?:
|
|
303
|
+
Array<{ [P in string]: any }>;
|
|
240
304
|
/**
|
|
241
305
|
* A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the
|
|
242
306
|
* client.
|
|
243
307
|
*/
|
|
244
|
-
message?:
|
|
308
|
+
message?:
|
|
309
|
+
string;
|
|
245
310
|
}
|
|
246
311
|
interface ProjectsResource {
|
|
247
312
|
/**
|
|
@@ -251,57 +316,82 @@ declare namespace gapi.client {
|
|
|
251
316
|
*/
|
|
252
317
|
export(request: {
|
|
253
318
|
/** V1 error format. */
|
|
254
|
-
"$.xgafv"?:
|
|
319
|
+
"$.xgafv"?:
|
|
320
|
+
string;
|
|
255
321
|
/** OAuth access token. */
|
|
256
|
-
access_token?:
|
|
322
|
+
access_token?:
|
|
323
|
+
string;
|
|
257
324
|
/** Data format for response. */
|
|
258
|
-
alt?:
|
|
325
|
+
alt?:
|
|
326
|
+
string;
|
|
259
327
|
/** JSONP */
|
|
260
|
-
callback?:
|
|
328
|
+
callback?:
|
|
329
|
+
string;
|
|
261
330
|
/** Selector specifying which fields to include in a partial response. */
|
|
262
|
-
fields?:
|
|
331
|
+
fields?:
|
|
332
|
+
string;
|
|
263
333
|
/** 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. */
|
|
264
|
-
key?:
|
|
334
|
+
key?:
|
|
335
|
+
string;
|
|
265
336
|
/** OAuth 2.0 token for the current user. */
|
|
266
|
-
oauth_token?:
|
|
337
|
+
oauth_token?:
|
|
338
|
+
string;
|
|
267
339
|
/** Returns response with indentations and line breaks. */
|
|
268
|
-
prettyPrint?:
|
|
340
|
+
prettyPrint?:
|
|
341
|
+
boolean;
|
|
269
342
|
/** Project ID against which to make the request. */
|
|
270
|
-
projectId:
|
|
343
|
+
projectId:
|
|
344
|
+
string;
|
|
271
345
|
/** 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. */
|
|
272
|
-
quotaUser?:
|
|
346
|
+
quotaUser?:
|
|
347
|
+
string;
|
|
273
348
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
274
|
-
upload_protocol?:
|
|
349
|
+
upload_protocol?:
|
|
350
|
+
string;
|
|
275
351
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
276
|
-
uploadType?:
|
|
352
|
+
uploadType?:
|
|
353
|
+
string;
|
|
277
354
|
/** Request body */
|
|
278
|
-
resource:
|
|
355
|
+
resource:
|
|
356
|
+
GoogleDatastoreAdminV1beta1ExportEntitiesRequest;
|
|
279
357
|
}): Request<GoogleLongrunningOperation>;
|
|
280
358
|
export(request: {
|
|
281
359
|
/** V1 error format. */
|
|
282
|
-
"$.xgafv"?:
|
|
360
|
+
"$.xgafv"?:
|
|
361
|
+
string;
|
|
283
362
|
/** OAuth access token. */
|
|
284
|
-
access_token?:
|
|
363
|
+
access_token?:
|
|
364
|
+
string;
|
|
285
365
|
/** Data format for response. */
|
|
286
|
-
alt?:
|
|
366
|
+
alt?:
|
|
367
|
+
string;
|
|
287
368
|
/** JSONP */
|
|
288
|
-
callback?:
|
|
369
|
+
callback?:
|
|
370
|
+
string;
|
|
289
371
|
/** Selector specifying which fields to include in a partial response. */
|
|
290
|
-
fields?:
|
|
372
|
+
fields?:
|
|
373
|
+
string;
|
|
291
374
|
/** 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. */
|
|
292
|
-
key?:
|
|
375
|
+
key?:
|
|
376
|
+
string;
|
|
293
377
|
/** OAuth 2.0 token for the current user. */
|
|
294
|
-
oauth_token?:
|
|
378
|
+
oauth_token?:
|
|
379
|
+
string;
|
|
295
380
|
/** Returns response with indentations and line breaks. */
|
|
296
|
-
prettyPrint?:
|
|
381
|
+
prettyPrint?:
|
|
382
|
+
boolean;
|
|
297
383
|
/** Project ID against which to make the request. */
|
|
298
|
-
projectId:
|
|
384
|
+
projectId:
|
|
385
|
+
string;
|
|
299
386
|
/** 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. */
|
|
300
|
-
quotaUser?:
|
|
387
|
+
quotaUser?:
|
|
388
|
+
string;
|
|
301
389
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
302
|
-
upload_protocol?:
|
|
390
|
+
upload_protocol?:
|
|
391
|
+
string;
|
|
303
392
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
304
|
-
uploadType?:
|
|
393
|
+
uploadType?:
|
|
394
|
+
string;
|
|
305
395
|
},
|
|
306
396
|
body: GoogleDatastoreAdminV1beta1ExportEntitiesRequest): Request<GoogleLongrunningOperation>;
|
|
307
397
|
/**
|
|
@@ -310,57 +400,82 @@ declare namespace gapi.client {
|
|
|
310
400
|
*/
|
|
311
401
|
import(request: {
|
|
312
402
|
/** V1 error format. */
|
|
313
|
-
"$.xgafv"?:
|
|
403
|
+
"$.xgafv"?:
|
|
404
|
+
string;
|
|
314
405
|
/** OAuth access token. */
|
|
315
|
-
access_token?:
|
|
406
|
+
access_token?:
|
|
407
|
+
string;
|
|
316
408
|
/** Data format for response. */
|
|
317
|
-
alt?:
|
|
409
|
+
alt?:
|
|
410
|
+
string;
|
|
318
411
|
/** JSONP */
|
|
319
|
-
callback?:
|
|
412
|
+
callback?:
|
|
413
|
+
string;
|
|
320
414
|
/** Selector specifying which fields to include in a partial response. */
|
|
321
|
-
fields?:
|
|
415
|
+
fields?:
|
|
416
|
+
string;
|
|
322
417
|
/** 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. */
|
|
323
|
-
key?:
|
|
418
|
+
key?:
|
|
419
|
+
string;
|
|
324
420
|
/** OAuth 2.0 token for the current user. */
|
|
325
|
-
oauth_token?:
|
|
421
|
+
oauth_token?:
|
|
422
|
+
string;
|
|
326
423
|
/** Returns response with indentations and line breaks. */
|
|
327
|
-
prettyPrint?:
|
|
424
|
+
prettyPrint?:
|
|
425
|
+
boolean;
|
|
328
426
|
/** Project ID against which to make the request. */
|
|
329
|
-
projectId:
|
|
427
|
+
projectId:
|
|
428
|
+
string;
|
|
330
429
|
/** 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. */
|
|
331
|
-
quotaUser?:
|
|
430
|
+
quotaUser?:
|
|
431
|
+
string;
|
|
332
432
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
333
|
-
upload_protocol?:
|
|
433
|
+
upload_protocol?:
|
|
434
|
+
string;
|
|
334
435
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
335
|
-
uploadType?:
|
|
436
|
+
uploadType?:
|
|
437
|
+
string;
|
|
336
438
|
/** Request body */
|
|
337
|
-
resource:
|
|
439
|
+
resource:
|
|
440
|
+
GoogleDatastoreAdminV1beta1ImportEntitiesRequest;
|
|
338
441
|
}): Request<GoogleLongrunningOperation>;
|
|
339
442
|
import(request: {
|
|
340
443
|
/** V1 error format. */
|
|
341
|
-
"$.xgafv"?:
|
|
444
|
+
"$.xgafv"?:
|
|
445
|
+
string;
|
|
342
446
|
/** OAuth access token. */
|
|
343
|
-
access_token?:
|
|
447
|
+
access_token?:
|
|
448
|
+
string;
|
|
344
449
|
/** Data format for response. */
|
|
345
|
-
alt?:
|
|
450
|
+
alt?:
|
|
451
|
+
string;
|
|
346
452
|
/** JSONP */
|
|
347
|
-
callback?:
|
|
453
|
+
callback?:
|
|
454
|
+
string;
|
|
348
455
|
/** Selector specifying which fields to include in a partial response. */
|
|
349
|
-
fields?:
|
|
456
|
+
fields?:
|
|
457
|
+
string;
|
|
350
458
|
/** 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. */
|
|
351
|
-
key?:
|
|
459
|
+
key?:
|
|
460
|
+
string;
|
|
352
461
|
/** OAuth 2.0 token for the current user. */
|
|
353
|
-
oauth_token?:
|
|
462
|
+
oauth_token?:
|
|
463
|
+
string;
|
|
354
464
|
/** Returns response with indentations and line breaks. */
|
|
355
|
-
prettyPrint?:
|
|
465
|
+
prettyPrint?:
|
|
466
|
+
boolean;
|
|
356
467
|
/** Project ID against which to make the request. */
|
|
357
|
-
projectId:
|
|
468
|
+
projectId:
|
|
469
|
+
string;
|
|
358
470
|
/** 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. */
|
|
359
|
-
quotaUser?:
|
|
471
|
+
quotaUser?:
|
|
472
|
+
string;
|
|
360
473
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
361
|
-
upload_protocol?:
|
|
474
|
+
upload_protocol?:
|
|
475
|
+
string;
|
|
362
476
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
363
|
-
uploadType?:
|
|
477
|
+
uploadType?:
|
|
478
|
+
string;
|
|
364
479
|
},
|
|
365
480
|
body: GoogleDatastoreAdminV1beta1ImportEntitiesRequest): Request<GoogleLongrunningOperation>;
|
|
366
481
|
}
|
package/package.json
CHANGED
package/tests.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
4
4
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
5
5
|
|
|
6
|
-
// Revision:
|
|
6
|
+
// Revision: 20230429
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|