Skip to content
This repository was archived by the owner on Mar 4, 2026. It is now read-only.

Commit 533aade

Browse files
feat: update client libraries to support Database operations (#1676)
1 parent 9426101 commit 533aade

17 files changed

Lines changed: 2871 additions & 49 deletions

dev/protos/admin_v1.json

Lines changed: 2282 additions & 0 deletions
Large diffs are not rendered by default.

dev/protos/firestore_admin_v1_proto_api.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Copyright 2021 Google LLC
2+
* Copyright 2022 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

dev/protos/firestore_admin_v1_proto_api.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Copyright 2021 Google LLC
2+
* Copyright 2022 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

dev/protos/firestore_v1_proto_api.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Copyright 2021 Google LLC
2+
* Copyright 2022 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

dev/protos/firestore_v1_proto_api.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Copyright 2021 Google LLC
2+
* Copyright 2022 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

dev/protos/firestore_v1beta1_proto_api.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Copyright 2021 Google LLC
2+
* Copyright 2022 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

dev/protos/firestore_v1beta1_proto_api.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Copyright 2021 Google LLC
2+
* Copyright 2022 Google LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

dev/src/v1/firestore_admin_client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import {
3131
import {Transform} from 'stream';
3232
import {RequestType} from 'google-gax/build/src/apitypes';
3333
import * as protos from '../../protos/firestore_admin_v1_proto_api';
34-
import jsonProtos = require('../../protos/v1_admin.json');
34+
import jsonProtos = require('../../protos/admin_v1.json');
3535
/**
3636
* Client JSON configuration object, loaded from
3737
* `src/v1/firestore_admin_client_config.json`.

dev/src/v1/firestore_client.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1226,7 +1226,7 @@ export class FirestoreClient {
12261226
*/
12271227
write(options?: CallOptions): gax.CancellableStream {
12281228
this.initialize();
1229-
return this.innerApiCalls.write({}, options);
1229+
return this.innerApiCalls.write(null, options);
12301230
}
12311231

12321232
/**
@@ -1246,7 +1246,7 @@ export class FirestoreClient {
12461246
*/
12471247
listen(options?: CallOptions): gax.CancellableStream {
12481248
this.initialize();
1249-
return this.innerApiCalls.listen({}, options);
1249+
return this.innerApiCalls.listen(null, options);
12501250
}
12511251

12521252
/**

dev/src/v1beta1/firestore_client.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1243,7 +1243,7 @@ export class FirestoreClient {
12431243
*/
12441244
write(options?: CallOptions): gax.CancellableStream {
12451245
this.initialize();
1246-
return this.innerApiCalls.write({}, options);
1246+
return this.innerApiCalls.write(null, options);
12471247
}
12481248

12491249
/**
@@ -1263,7 +1263,7 @@ export class FirestoreClient {
12631263
*/
12641264
listen(options?: CallOptions): gax.CancellableStream {
12651265
this.initialize();
1266-
return this.innerApiCalls.listen({}, options);
1266+
return this.innerApiCalls.listen(null, options);
12671267
}
12681268

12691269
/**

0 commit comments

Comments
 (0)