Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 4937235

Browse filesBrowse files
authored
chore: librarian generate pull request: 20260304T223823Z (#16025)
PR created by the Librarian CLI to generate Cloud Client Libraries code from protos. BEGIN_COMMIT BEGIN_NESTED_COMMIT feat: expose the variable definition in the Cloud Firestore API PiperOrigin-RevId: 877535984 Library-IDs: google-cloud-firestore Source-link: [googleapis/googleapis@1ccd68a0](googleapis/googleapis@1ccd68a0) END_NESTED_COMMIT BEGIN_NESTED_COMMIT chore: Firestore.executePipeline to not retry on `RESOURCE_EXHAUSTED` PiperOrigin-RevId: 877535984 Library-IDs: google-cloud-firestore Source-link: [googleapis/googleapis@1ccd68a0](googleapis/googleapis@1ccd68a0) END_NESTED_COMMIT END_COMMIT This pull request is generated with proto changes between [googleapis/googleapis@d420134a](googleapis/googleapis@d420134) (exclusive) and [googleapis/googleapis@1ccd68a0](googleapis/googleapis@1ccd68a) (inclusive). Librarian Version: v0.7.0 Language Image: us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/python-librarian-generator@sha256:160860d189ff1c2f7515638478823712fa5b243e27ccc33a2728669fa1e2ed0c
1 parent 6876f64 commit 4937235
Copy full SHA for 4937235

8 files changed

+33-32Lines changed: 33 additions & 32 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.librarian/state.yaml‎

Copy file name to clipboardExpand all lines: .librarian/state.yaml
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1768,7 +1768,7 @@ libraries:
17681768
tag_format: '{id}-v{version}'
17691769
- id: google-cloud-firestore
17701770
version: 2.23.0
1771-
last_generated_commit: d420134ab324c0cbe0f4ae06ad9697dac77f26ad
1771+
last_generated_commit: 572d5d51926dfa9e7509e12ec61e98ce19650f7c
17721772
apis:
17731773
- path: google/firestore/admin/v1
17741774
service_config: firestore_v1.yaml
Collapse file

‎packages/google-cloud-firestore/.coveragerc‎

Copy file name to clipboardExpand all lines: packages/google-cloud-firestore/.coveragerc
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ branch = True
44
[report]
55
show_missing = True
66
omit =
7-
google/cloud/firestore_admin/__init__.py
8-
google/cloud/firestore_admin/gapic_version.py
7+
google/cloud/firestore/__init__.py
8+
google/cloud/firestore/gapic_version.py
99
exclude_lines =
1010
# Re-enable the standard pragma
1111
pragma: NO COVER
Collapse file

‎packages/google-cloud-firestore/docs/conf.py‎

Copy file name to clipboardExpand all lines: packages/google-cloud-firestore/docs/conf.py
+12-12Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
##
16-
# google-cloud-firestore-admin documentation build configuration file
16+
# google-cloud-firestore documentation build configuration file
1717
#
1818
# This file is execfile()d with the current directory set to its
1919
# containing dir.
@@ -82,7 +82,7 @@
8282
root_doc = "index"
8383

8484
# General information about the project.
85-
project = "google-cloud-firestore-admin"
85+
project = "google-cloud-firestore"
8686
copyright = "2025, Google, LLC"
8787
author = "Google APIs"
8888

@@ -160,7 +160,7 @@
160160
# further. For a list of options available for each theme, see the
161161
# documentation.
162162
html_theme_options = {
163-
"description": "Google Cloud Client Libraries for google-cloud-firestore-admin",
163+
"description": "Google Cloud Client Libraries for google-cloud-firestore",
164164
"github_user": "googleapis",
165165
"github_repo": "google-cloud-python",
166166
"github_banner": True,
@@ -254,7 +254,7 @@
254254
# html_search_scorer = 'scorer.js'
255255

256256
# Output file base name for HTML help builder.
257-
htmlhelp_basename = "google-cloud-firestore-admin-doc"
257+
htmlhelp_basename = "google-cloud-firestore-doc"
258258

259259
# -- Options for warnings ------------------------------------------------------
260260

@@ -287,8 +287,8 @@
287287
latex_documents = [
288288
(
289289
root_doc,
290-
"google-cloud-firestore-admin.tex",
291-
"google-cloud-firestore-admin Documentation",
290+
"google-cloud-firestore.tex",
291+
"google-cloud-firestore Documentation",
292292
author,
293293
"manual",
294294
)
@@ -322,8 +322,8 @@
322322
man_pages = [
323323
(
324324
root_doc,
325-
"google-cloud-firestore-admin",
326-
"google-cloud-firestore-admin Documentation",
325+
"google-cloud-firestore",
326+
"google-cloud-firestore Documentation",
327327
[author],
328328
1,
329329
)
@@ -341,11 +341,11 @@
341341
texinfo_documents = [
342342
(
343343
root_doc,
344-
"google-cloud-firestore-admin",
345-
"google-cloud-firestore-admin Documentation",
344+
"google-cloud-firestore",
345+
"google-cloud-firestore Documentation",
346346
author,
347-
"google-cloud-firestore-admin",
348-
"google-cloud-firestore-admin Library",
347+
"google-cloud-firestore",
348+
"google-cloud-firestore Library",
349349
"APIs",
350350
)
351351
]
Collapse file

‎packages/google-cloud-firestore/google/cloud/firestore_v1/services/firestore/transports/base.py‎

Copy file name to clipboardExpand all lines: packages/google-cloud-firestore/google/cloud/firestore_v1/services/firestore/transports/base.py
-5Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,6 @@ def _prep_wrapped_messages(self, client_info):
218218
predicate=retries.if_exception_type(
219219
core_exceptions.DeadlineExceeded,
220220
core_exceptions.InternalServerError,
221-
core_exceptions.ResourceExhausted,
222221
core_exceptions.ServiceUnavailable,
223222
),
224223
deadline=300.0,
@@ -284,7 +283,6 @@ def _prep_wrapped_messages(self, client_info):
284283
predicate=retries.if_exception_type(
285284
core_exceptions.DeadlineExceeded,
286285
core_exceptions.InternalServerError,
287-
core_exceptions.ResourceExhausted,
288286
core_exceptions.ServiceUnavailable,
289287
),
290288
deadline=300.0,
@@ -301,7 +299,6 @@ def _prep_wrapped_messages(self, client_info):
301299
predicate=retries.if_exception_type(
302300
core_exceptions.DeadlineExceeded,
303301
core_exceptions.InternalServerError,
304-
core_exceptions.ResourceExhausted,
305302
core_exceptions.ServiceUnavailable,
306303
),
307304
deadline=300.0,
@@ -318,7 +315,6 @@ def _prep_wrapped_messages(self, client_info):
318315
predicate=retries.if_exception_type(
319316
core_exceptions.DeadlineExceeded,
320317
core_exceptions.InternalServerError,
321-
core_exceptions.ResourceExhausted,
322318
core_exceptions.ServiceUnavailable,
323319
),
324320
deadline=300.0,
@@ -335,7 +331,6 @@ def _prep_wrapped_messages(self, client_info):
335331
predicate=retries.if_exception_type(
336332
core_exceptions.DeadlineExceeded,
337333
core_exceptions.InternalServerError,
338-
core_exceptions.ResourceExhausted,
339334
core_exceptions.ServiceUnavailable,
340335
),
341336
deadline=300.0,
Collapse file

‎packages/google-cloud-firestore/google/cloud/firestore_v1/services/firestore/transports/grpc_asyncio.py‎

Copy file name to clipboardExpand all lines: packages/google-cloud-firestore/google/cloud/firestore_v1/services/firestore/transports/grpc_asyncio.py
-5Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -916,7 +916,6 @@ def _prep_wrapped_messages(self, client_info):
916916
predicate=retries.if_exception_type(
917917
core_exceptions.DeadlineExceeded,
918918
core_exceptions.InternalServerError,
919-
core_exceptions.ResourceExhausted,
920919
core_exceptions.ServiceUnavailable,
921920
),
922921
deadline=300.0,
@@ -982,7 +981,6 @@ def _prep_wrapped_messages(self, client_info):
982981
predicate=retries.if_exception_type(
983982
core_exceptions.DeadlineExceeded,
984983
core_exceptions.InternalServerError,
985-
core_exceptions.ResourceExhausted,
986984
core_exceptions.ServiceUnavailable,
987985
),
988986
deadline=300.0,
@@ -999,7 +997,6 @@ def _prep_wrapped_messages(self, client_info):
999997
predicate=retries.if_exception_type(
1000998
core_exceptions.DeadlineExceeded,
1001999
core_exceptions.InternalServerError,
1002-
core_exceptions.ResourceExhausted,
10031000
core_exceptions.ServiceUnavailable,
10041001
),
10051002
deadline=300.0,
@@ -1016,7 +1013,6 @@ def _prep_wrapped_messages(self, client_info):
10161013
predicate=retries.if_exception_type(
10171014
core_exceptions.DeadlineExceeded,
10181015
core_exceptions.InternalServerError,
1019-
core_exceptions.ResourceExhausted,
10201016
core_exceptions.ServiceUnavailable,
10211017
),
10221018
deadline=300.0,
@@ -1033,7 +1029,6 @@ def _prep_wrapped_messages(self, client_info):
10331029
predicate=retries.if_exception_type(
10341030
core_exceptions.DeadlineExceeded,
10351031
core_exceptions.InternalServerError,
1036-
core_exceptions.ResourceExhausted,
10371032
core_exceptions.ServiceUnavailable,
10381033
),
10391034
deadline=300.0,
Collapse file

‎packages/google-cloud-firestore/google/cloud/firestore_v1/types/document.py‎

Copy file name to clipboardExpand all lines: packages/google-cloud-firestore/google/cloud/firestore_v1/types/document.py
+13Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,14 @@ class Value(proto.Message):
198198
199199
- Not allowed to be used when writing documents.
200200
201+
This field is a member of `oneof`_ ``value_type``.
202+
variable_reference_value (str):
203+
Pointer to a variable defined elsewhere in a pipeline.
204+
205+
Unlike ``field_reference_value`` which references a field
206+
within a document, this refers to a variable, defined in a
207+
separate namespace than the fields of a document.
208+
201209
This field is a member of `oneof`_ ``value_type``.
202210
function_value (google.cloud.firestore_v1.types.Function):
203211
A value that represents an unevaluated expression.
@@ -282,6 +290,11 @@ class Value(proto.Message):
282290
number=19,
283291
oneof="value_type",
284292
)
293+
variable_reference_value: str = proto.Field(
294+
proto.STRING,
295+
number=22,
296+
oneof="value_type",
297+
)
285298
function_value: "Function" = proto.Field(
286299
proto.MESSAGE,
287300
number=20,
Collapse file

‎packages/google-cloud-firestore/noxfile.py‎

Copy file name to clipboardExpand all lines: packages/google-cloud-firestore/noxfile.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
CURRENT_DIRECTORY = pathlib.Path(__file__).parent.absolute()
5252

5353
LOWER_BOUND_CONSTRAINTS_FILE = CURRENT_DIRECTORY / "constraints.txt"
54-
PACKAGE_NAME = "google-cloud-firestore-admin"
54+
PACKAGE_NAME = "google-cloud-firestore"
5555

5656
UNIT_TEST_STANDARD_DEPENDENCIES = [
5757
"mock",
Collapse file

‎packages/google-cloud-firestore/setup.py‎

Copy file name to clipboardExpand all lines: packages/google-cloud-firestore/setup.py
+4-6Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,14 @@
2121

2222
package_root = os.path.abspath(os.path.dirname(__file__))
2323

24-
name = "google-cloud-firestore-admin"
24+
name = "google-cloud-firestore"
2525

2626

27-
description = "Google Cloud Firestore Admin API client library"
27+
description = "Google Cloud Firestore API client library"
2828

2929
version = None
3030

31-
with open(
32-
os.path.join(package_root, "google/cloud/firestore_admin/gapic_version.py")
33-
) as fp:
31+
with open(os.path.join(package_root, "google/cloud/firestore/gapic_version.py")) as fp:
3432
version_candidates = re.findall(r"(?<=\")\d+.\d+.\d+(?=\")", fp.read())
3533
assert len(version_candidates) == 1
3634
version = version_candidates[0]
@@ -53,7 +51,7 @@
5351
"protobuf>=3.20.2,<7.0.0,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5",
5452
]
5553
extras = {}
56-
url = "https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-firestore-admin"
54+
url = "https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-firestore"
5755

5856
package_root = os.path.abspath(os.path.dirname(__file__))
5957

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.