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

Commit a0c74b7

Browse files
merge owl-bot-copy to main (#2303)
* chore: expose the Firestore.executePipeline API to the preview branch docs: minor documentation updates to `StructuredQuery` docs: minor documentation changes for `distance_threshold` PiperOrigin-RevId: 731306872 Source-Link: googleapis/googleapis@b6d5ae8 Source-Link: googleapis/googleapis-gen@4cb9048 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNGNiOTA0ODg3MWJmNTkwNmIzOTBlOGVhM2Q3YjlmMWVmNmFjMTlkNiJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * chore: update copyright year for auto-generated protos PiperOrigin-RevId: 731691059 Source-Link: googleapis/googleapis@7e5dd6b Source-Link: googleapis/googleapis-gen@2b78e07 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMmI3OGUwN2NkMmExZWIzN2ZiMDEwN2MyMGMxYjZkY2MzZjRjYjc0YiJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * chore: update copyright year for auto-generated protos PiperOrigin-RevId: 731693666 Source-Link: googleapis/googleapis@fd510f8 Source-Link: googleapis/googleapis-gen@42097f7 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNDIwOTdmN2NjNzZlZTdiZGZlY2FlYWVhMTE1YWYyMzU3MTZmZGRiMSJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * chore: update typescript gapic generator to 4.8.1 feat: add request/response debug logging to gapics, update templates to gax 5 and node 18 (#1671) fix: add json files to tsconfig templates (#1692) (ba6be1d) PiperOrigin-RevId: 735896588 Source-Link: googleapis/googleapis@3419af7 Source-Link: googleapis/googleapis-gen@f35ba11 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZjM1YmExMTQyZjRlMTY4MjIyMzI3ZDg5MmI1ZjZlZTkwOGU1ZDQ2MSJ9 * feat: await/catch promises, and update listOperationsAsync return type PiperOrigin-RevId: 738212310 Source-Link: googleapis/googleapis@803b234 Source-Link: googleapis/googleapis-gen@4f44bd2 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNGY0NGJkMmJhYThkZDVhNzFjYTBjZWJkYjE2NGMzYzM0MzQxZWQ4NyJ9 * feat: add the UserCreds API PiperOrigin-RevId: 742708704 Source-Link: googleapis/googleapis@35980b6 Source-Link: googleapis/googleapis-gen@23742c6 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMjM3NDJjNmRlZWNjODFkZTA1MjVkMmVlNzk4MGUyNThlNDNmZWU1YiJ9 * feat: new Firestore index modes and Database Editions PiperOrigin-RevId: 745570206 Source-Link: googleapis/googleapis@4ec607b Source-Link: googleapis/googleapis-gen@49fab77 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNDlmYWI3NzhiNzA5ODg3MGY5OTFlYmRlOTFkYTVmOTI2ZjQwNmZkNSJ9 * chore: upgrade typescript generator to 4.9.0 chore: updated gapic-generator-typescript WORKSPACE section to match the latest from the generator chore: added Required Typecheck Performance Selection section to .bazelrc feat: add protobufjs 2023 edition support feat: selective gapic support for typescript generation fix: catch dangling promises PiperOrigin-RevId: 751558264 Source-Link: googleapis/googleapis@f132131 Source-Link: googleapis/googleapis-gen@7aaa93d Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiN2FhYTkzZDlkNGJiZDBjODdhZGMxOGI0ZGMwMzg0Yjc4MzgwMGEzYiJ9 * feat: add methods from gax to cache proto root and process custom error details fix: distinguish plural and singular path templates PiperOrigin-RevId: 772168312 Source-Link: googleapis/googleapis@873d84e Source-Link: googleapis/googleapis-gen@f448c1b Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZjQ0OGMxYjRlYWFhNWZkYzcwMjFhNjgyMDY4YzMxM2Q2ZjJmMTA0YSJ9 * feat: Expose tags field in Database and RestoreDatabaseRequest public protos This change exposes the tags field in the Database and RestoreDatabaseRequest messages, allowing users to manage tags for Firestore databases. PiperOrigin-RevId: 783460561 Source-Link: googleapis/googleapis@ba7105d Source-Link: googleapis/googleapis-gen@5e034bb Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNWUwMzRiYjU1MTQ1ZTgxNGZkN2JhN2I0OWQ4YWYyOGJjMjBmYTY3OSJ9 * feat: add Firestore CloneDatabase support PiperOrigin-RevId: 789807783 Source-Link: googleapis/googleapis@3d37c58 Source-Link: googleapis/googleapis-gen@66d3f2f Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNjZkM2YyZjNhYTU3ZDI0MjUzNGExZjM3MjZiNTk4ZjY0YmE2OWZjYiJ9 * chore: add top-level BUILD rule for new bundled generation process PiperOrigin-RevId: 802243639 Source-Link: googleapis/googleapis@4a2d23d Source-Link: googleapis/googleapis-gen@03d5b98 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMDNkNWI5ODBmZDkxMmY4ZTI4MWY4MTc3NDRhOWNlZjM1YWFmMzMzMCJ9 * chore: remove .md extension on LICENSE files PiperOrigin-RevId: 802685533 Source-Link: googleapis/googleapis@0d129bf Source-Link: googleapis/googleapis-gen@73664e2 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNzM2NjRlMjAwMjUzZGRiOGRlMmI5YmI5YzY1ZjZiNjgzMDExMDJmYiJ9 * chore: remove unneeded BAZEL import PiperOrigin-RevId: 802775018 Source-Link: googleapis/googleapis@af3f926 Source-Link: googleapis/googleapis-gen@48e4634 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNDhlNDYzNDQwZTk2M2MxNTUxM2VkMWM3NjY3NDk3NTU0NmY2ZGJhNiJ9 * chore: improve README and fix combined gapic rule generation chore: request.id should be typecast to a string PiperOrigin-RevId: 803577907 Source-Link: googleapis/googleapis@8f0f886 Source-Link: googleapis/googleapis-gen@6c5556d Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNmM1NTU2ZDA1YjllM2U0YmJlMWE3OGIzNmRhYTAxZjlhMzk4ZGVjMSJ9 * chore: update generator logic for nodejs_gapic_combined_pkg rule, and update templates PiperOrigin-RevId: 808677883 Source-Link: googleapis/googleapis@a32846d Source-Link: googleapis/googleapis-gen@593da26 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNTkzZGEyNjUyZjJjNDNiNzY5ZGZlYjE5MTYxYTNiZTk1NWY5NzY3NCJ9 * chore: run compileProtos and update gapic-node-processing PiperOrigin-RevId: 813843285 Source-Link: googleapis/googleapis@c61d80b Source-Link: googleapis/googleapis-gen@e195618 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZTE5NTYxOGU4NWFmN2U0YTA5MmU0NDkzYTU4YzIxZmQ0M2Q3ZDE0OCJ9 * chore: upgrade generator to upgrade gapic-node-processing dependency for system-test fix PiperOrigin-RevId: 823157923 Source-Link: googleapis/googleapis@4f79c85 Source-Link: googleapis/googleapis-gen@e8fd3e6 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZThmZDNlNmEyYmQ0YjFkYmM1ZGYyYTcxZGUzMDViNTc1Y2QzNmFmOSJ9 * docs: minor api documentation changes PiperOrigin-RevId: 840398028 Source-Link: googleapis/googleapis@bfdeefc Source-Link: googleapis/googleapis-gen@895eb7f Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiODk1ZWI3ZjM2NWRhNDBkNzE1ZWIzMDE3MTQwMzA4MWIwYjZlM2UwOSJ9 * feat: publish the pipelines API to the stable branch PiperOrigin-RevId: 840829013 Source-Link: googleapis/googleapis@534adc5 Source-Link: googleapis/googleapis-gen@38e4d8b Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMzhlNGQ4YmY1Nzc0NDQyZGQ3Nzg5MzUxNTRmNWFlNTY1MzdmNTRlMiJ9 * chore: migrate generator to google-cloud-node chore: update generator system tests PiperOrigin-RevId: 841977762 Source-Link: googleapis/googleapis@c9578f6 Source-Link: googleapis/googleapis-gen@5a48994 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNWE0ODk5NGZiZDg1MjRmNzM2YTI0MTc5YjgyODg2NjQ2NjlmMjQwMCJ9 * Add missing proto to update.sh * Update eslint config to ignore errors in generated gapic tests * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Mark Duckworth <[email protected]>
1 parent 3493b61 commit a0c74b7

69 files changed

Lines changed: 16759 additions & 1831 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.eslintrc.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@
3434
"object": "it",
3535
"property": "only"
3636
}
37-
]
37+
],
38+
"@typescript-eslint/no-floating-promises": "warn"
3839
}
3940
}
4041
]

dev/.OwlBot.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Copyright 2025 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
deep-copy-regex:
16+
- source: /google/firestore/google-firestore-nodejs
17+
dest: /owl-bot-staging/google-firestore
18+
19+
api-name: firestore

dev/.gitattributes

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
*.ts text eol=lf
2+
*.js text eol=lf
3+
protos/* linguist-generated
4+
**/api-extractor.json linguist-language=JSON-with-Comments

dev/.nycrc

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"report-dir": "./.coverage",
3+
"reporter": ["text", "lcov"],
4+
"exclude": [
5+
"**/*-test",
6+
"**/.coverage",
7+
"**/apis",
8+
"**/benchmark",
9+
"**/conformance",
10+
"**/docs",
11+
"**/samples",
12+
"**/scripts",
13+
"**/protos",
14+
"**/test",
15+
"**/*.d.ts",
16+
".jsdoc.js",
17+
"**/.jsdoc.js",
18+
"karma.conf.js",
19+
"webpack-tests.config.js",
20+
"webpack.config.js"
21+
],
22+
"exclude-after-remap": false,
23+
"all": true
24+
}

dev/.prettierignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
**/node_modules
2+
**/coverage
3+
test/fixtures
4+
build/
5+
docs/
6+
protos/

dev/CODE_OF_CONDUCT.md

Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
<!-- # Generated by synthtool. DO NOT EDIT! !-->
2+
# Code of Conduct
3+
4+
## Our Pledge
5+
6+
In the interest of fostering an open and welcoming environment, we as
7+
contributors and maintainers pledge to making participation in our project and
8+
our community a harassment-free experience for everyone, regardless of age, body
9+
size, disability, ethnicity, gender identity and expression, level of
10+
experience, education, socio-economic status, nationality, personal appearance,
11+
race, religion, or sexual identity and orientation.
12+
13+
## Our Standards
14+
15+
Examples of behavior that contributes to creating a positive environment
16+
include:
17+
18+
* Using welcoming and inclusive language
19+
* Being respectful of differing viewpoints and experiences
20+
* Gracefully accepting constructive criticism
21+
* Focusing on what is best for the community
22+
* Showing empathy towards other community members
23+
24+
Examples of unacceptable behavior by participants include:
25+
26+
* The use of sexualized language or imagery and unwelcome sexual attention or
27+
advances
28+
* Trolling, insulting/derogatory comments, and personal or political attacks
29+
* Public or private harassment
30+
* Publishing others' private information, such as a physical or electronic
31+
address, without explicit permission
32+
* Other conduct which could reasonably be considered inappropriate in a
33+
professional setting
34+
35+
## Our Responsibilities
36+
37+
Project maintainers are responsible for clarifying the standards of acceptable
38+
behavior and are expected to take appropriate and fair corrective action in
39+
response to any instances of unacceptable behavior.
40+
41+
Project maintainers have the right and responsibility to remove, edit, or reject
42+
comments, commits, code, wiki edits, issues, and other contributions that are
43+
not aligned to this Code of Conduct, or to ban temporarily or permanently any
44+
contributor for other behaviors that they deem inappropriate, threatening,
45+
offensive, or harmful.
46+
47+
## Scope
48+
49+
This Code of Conduct applies both within project spaces and in public spaces
50+
when an individual is representing the project or its community. Examples of
51+
representing a project or community include using an official project e-mail
52+
address, posting via an official social media account, or acting as an appointed
53+
representative at an online or offline event. Representation of a project may be
54+
further defined and clarified by project maintainers.
55+
56+
This Code of Conduct also applies outside the project spaces when the Project
57+
Steward has a reasonable belief that an individual's behavior may have a
58+
negative impact on the project or its community.
59+
60+
## Conflict Resolution
61+
62+
We do not believe that all conflict is bad; healthy debate and disagreement
63+
often yield positive results. However, it is never okay to be disrespectful or
64+
to engage in behavior that violates the project’s code of conduct.
65+
66+
If you see someone violating the code of conduct, you are encouraged to address
67+
the behavior directly with those involved. Many issues can be resolved quickly
68+
and easily, and this gives people more control over the outcome of their
69+
dispute. If you are unable to resolve the matter for any reason, or if the
70+
behavior is threatening or harassing, report it. We are dedicated to providing
71+
an environment where participants feel welcome and safe.
72+
73+
Reports should be directed to *[email protected]*, the
74+
Project Steward(s) for *Google Cloud Client Libraries*. It is the Project Steward’s duty to
75+
receive and address reported violations of the code of conduct. They will then
76+
work with a committee consisting of representatives from the Open Source
77+
Programs Office and the Google Open Source Strategy team. If for any reason you
78+
are uncomfortable reaching out to the Project Steward, please email
79+
80+
81+
We will investigate every complaint, but you may not receive a direct response.
82+
We will use our discretion in determining when and how to follow up on reported
83+
incidents, which may range from not taking action to permanent expulsion from
84+
the project and project-sponsored spaces. We will notify the accused of the
85+
report and provide them an opportunity to discuss it before any action is taken.
86+
The identity of the reporter will be omitted from the details of the report
87+
supplied to the accused. In potentially harmful situations, such as ongoing
88+
harassment or threats to anyone's safety, we may take action without notice.
89+
90+
## Attribution
91+
92+
This Code of Conduct is adapted from the Contributor Covenant, version 1.4,
93+
available at
94+
https://www.contributor-covenant.org/version/1/4/code-of-conduct.html

dev/CONTRIBUTING.md

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
# How to become a contributor and submit your own code
2+
3+
**Table of contents**
4+
5+
* [Contributor License Agreements](#contributor-license-agreements)
6+
* [Contributing a patch](#contributing-a-patch)
7+
* [Running the tests](#running-the-tests)
8+
* [Releasing the library](#releasing-the-library)
9+
10+
## Contributor License Agreements
11+
12+
We'd love to accept your sample apps and patches! Before we can take them, we
13+
have to jump a couple of legal hurdles.
14+
15+
Please fill out either the individual or corporate Contributor License Agreement
16+
(CLA).
17+
18+
* If you are an individual writing original source code and you're sure you
19+
own the intellectual property, then you'll need to sign an [individual CLA](https://developers.google.com/open-source/cla/individual).
20+
* If you work for a company that wants to allow you to contribute your work,
21+
then you'll need to sign a [corporate CLA](https://developers.google.com/open-source/cla/corporate).
22+
23+
Follow either of the two links above to access the appropriate CLA and
24+
instructions for how to sign and return it. Once we receive it, we'll be able to
25+
accept your pull requests.
26+
27+
## Contributing A Patch
28+
29+
1. Submit an issue describing your proposed change to the repo in question.
30+
1. The repo owner will respond to your issue promptly.
31+
1. If your proposed change is accepted, and you haven't already done so, sign a
32+
Contributor License Agreement (see details above).
33+
1. Fork the desired repo, develop and test your code changes.
34+
1. Ensure that your code adheres to the existing style in the code to which
35+
you are contributing.
36+
1. Ensure that your code has an appropriate set of tests which all pass.
37+
1. Title your pull request following [Conventional Commits](https://www.conventionalcommits.org/) styling.
38+
1. Submit a pull request.
39+
40+
### Before you begin
41+
42+
1. [Select or create a Cloud Platform project][projects].
43+
1. [Enable billing for your project][billing].
44+
1. [Enable the Firestore API][enable_api].
45+
1. [Set up authentication with a service account][auth] so you can access the
46+
API from your local workstation.
47+
48+
49+
## Running the tests
50+
51+
1. [Prepare your environment for Node.js setup][setup].
52+
53+
1. Install dependencies:
54+
55+
npm install
56+
57+
1. Run the tests:
58+
59+
# Run unit tests.
60+
npm test
61+
62+
# Run sample integration tests.
63+
npm run samples-test
64+
65+
# Run all system tests.
66+
npm run system-test
67+
68+
1. Lint (and maybe fix) any changes:
69+
70+
npm run fix
71+
72+
[setup]: https://cloud.google.com/nodejs/docs/setup
73+
[projects]: https://console.cloud.google.com/project
74+
[billing]: https://support.google.com/cloud/answer/6293499#enable-billing
75+
[enable_api]: https://console.cloud.google.com/flows/enableapi?apiid=firestore.googleapis.com
76+
[auth]: https://cloud.google.com/docs/authentication/getting-started

0 commit comments

Comments
 (0)