Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .librarian/state.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1768,7 +1768,7 @@ libraries:
tag_format: '{id}-v{version}'
- id: google-cloud-firestore
version: 2.23.0
last_generated_commit: d420134ab324c0cbe0f4ae06ad9697dac77f26ad
last_generated_commit: 572d5d51926dfa9e7509e12ec61e98ce19650f7c
apis:
- path: google/firestore/admin/v1
service_config: firestore_v1.yaml
Expand Down
4 changes: 2 additions & 2 deletions packages/google-cloud-firestore/.coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ branch = True
[report]
show_missing = True
omit =
google/cloud/firestore_admin/__init__.py
google/cloud/firestore_admin/gapic_version.py
google/cloud/firestore/__init__.py
google/cloud/firestore/gapic_version.py
exclude_lines =
# Re-enable the standard pragma
pragma: NO COVER
Expand Down
24 changes: 12 additions & 12 deletions packages/google-cloud-firestore/docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
##
# google-cloud-firestore-admin documentation build configuration file
# google-cloud-firestore documentation build configuration file
#
# This file is execfile()d with the current directory set to its
# containing dir.
Expand Down Expand Up @@ -82,7 +82,7 @@
root_doc = "index"

# General information about the project.
project = "google-cloud-firestore-admin"
project = "google-cloud-firestore"
copyright = "2025, Google, LLC"
author = "Google APIs"

Expand Down Expand Up @@ -160,7 +160,7 @@
# further. For a list of options available for each theme, see the
# documentation.
html_theme_options = {
"description": "Google Cloud Client Libraries for google-cloud-firestore-admin",
"description": "Google Cloud Client Libraries for google-cloud-firestore",
"github_user": "googleapis",
"github_repo": "google-cloud-python",
"github_banner": True,
Expand Down Expand Up @@ -254,7 +254,7 @@
# html_search_scorer = 'scorer.js'

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

# -- Options for warnings ------------------------------------------------------

Expand Down Expand Up @@ -287,8 +287,8 @@
latex_documents = [
(
root_doc,
"google-cloud-firestore-admin.tex",
"google-cloud-firestore-admin Documentation",
"google-cloud-firestore.tex",
"google-cloud-firestore Documentation",
author,
"manual",
)
Expand Down Expand Up @@ -322,8 +322,8 @@
man_pages = [
(
root_doc,
"google-cloud-firestore-admin",
"google-cloud-firestore-admin Documentation",
"google-cloud-firestore",
"google-cloud-firestore Documentation",
[author],
1,
)
Expand All @@ -341,11 +341,11 @@
texinfo_documents = [
(
root_doc,
"google-cloud-firestore-admin",
"google-cloud-firestore-admin Documentation",
"google-cloud-firestore",
"google-cloud-firestore Documentation",
author,
"google-cloud-firestore-admin",
"google-cloud-firestore-admin Library",
"google-cloud-firestore",
"google-cloud-firestore Library",
"APIs",
)
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,6 @@ def _prep_wrapped_messages(self, client_info):
predicate=retries.if_exception_type(
core_exceptions.DeadlineExceeded,
core_exceptions.InternalServerError,
core_exceptions.ResourceExhausted,
core_exceptions.ServiceUnavailable,
),
deadline=300.0,
Expand Down Expand Up @@ -284,7 +283,6 @@ def _prep_wrapped_messages(self, client_info):
predicate=retries.if_exception_type(
core_exceptions.DeadlineExceeded,
core_exceptions.InternalServerError,
core_exceptions.ResourceExhausted,
core_exceptions.ServiceUnavailable,
),
deadline=300.0,
Expand All @@ -301,7 +299,6 @@ def _prep_wrapped_messages(self, client_info):
predicate=retries.if_exception_type(
core_exceptions.DeadlineExceeded,
core_exceptions.InternalServerError,
core_exceptions.ResourceExhausted,
core_exceptions.ServiceUnavailable,
),
deadline=300.0,
Expand All @@ -318,7 +315,6 @@ def _prep_wrapped_messages(self, client_info):
predicate=retries.if_exception_type(
core_exceptions.DeadlineExceeded,
core_exceptions.InternalServerError,
core_exceptions.ResourceExhausted,
core_exceptions.ServiceUnavailable,
),
deadline=300.0,
Expand All @@ -335,7 +331,6 @@ def _prep_wrapped_messages(self, client_info):
predicate=retries.if_exception_type(
core_exceptions.DeadlineExceeded,
core_exceptions.InternalServerError,
core_exceptions.ResourceExhausted,
core_exceptions.ServiceUnavailable,
),
deadline=300.0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -916,7 +916,6 @@ def _prep_wrapped_messages(self, client_info):
predicate=retries.if_exception_type(
core_exceptions.DeadlineExceeded,
core_exceptions.InternalServerError,
core_exceptions.ResourceExhausted,
core_exceptions.ServiceUnavailable,
),
deadline=300.0,
Expand Down Expand Up @@ -982,7 +981,6 @@ def _prep_wrapped_messages(self, client_info):
predicate=retries.if_exception_type(
core_exceptions.DeadlineExceeded,
core_exceptions.InternalServerError,
core_exceptions.ResourceExhausted,
core_exceptions.ServiceUnavailable,
),
deadline=300.0,
Expand All @@ -999,7 +997,6 @@ def _prep_wrapped_messages(self, client_info):
predicate=retries.if_exception_type(
core_exceptions.DeadlineExceeded,
core_exceptions.InternalServerError,
core_exceptions.ResourceExhausted,
core_exceptions.ServiceUnavailable,
),
deadline=300.0,
Expand All @@ -1016,7 +1013,6 @@ def _prep_wrapped_messages(self, client_info):
predicate=retries.if_exception_type(
core_exceptions.DeadlineExceeded,
core_exceptions.InternalServerError,
core_exceptions.ResourceExhausted,
core_exceptions.ServiceUnavailable,
),
deadline=300.0,
Expand All @@ -1033,7 +1029,6 @@ def _prep_wrapped_messages(self, client_info):
predicate=retries.if_exception_type(
core_exceptions.DeadlineExceeded,
core_exceptions.InternalServerError,
core_exceptions.ResourceExhausted,
core_exceptions.ServiceUnavailable,
),
deadline=300.0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,14 @@ class Value(proto.Message):

- Not allowed to be used when writing documents.

This field is a member of `oneof`_ ``value_type``.
variable_reference_value (str):
Pointer to a variable defined elsewhere in a pipeline.

Unlike ``field_reference_value`` which references a field
within a document, this refers to a variable, defined in a
separate namespace than the fields of a document.

This field is a member of `oneof`_ ``value_type``.
function_value (google.cloud.firestore_v1.types.Function):
A value that represents an unevaluated expression.
Expand Down Expand Up @@ -282,6 +290,11 @@ class Value(proto.Message):
number=19,
oneof="value_type",
)
variable_reference_value: str = proto.Field(
proto.STRING,
number=22,
oneof="value_type",
)
function_value: "Function" = proto.Field(
proto.MESSAGE,
number=20,
Expand Down
2 changes: 1 addition & 1 deletion packages/google-cloud-firestore/noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
CURRENT_DIRECTORY = pathlib.Path(__file__).parent.absolute()

LOWER_BOUND_CONSTRAINTS_FILE = CURRENT_DIRECTORY / "constraints.txt"
PACKAGE_NAME = "google-cloud-firestore-admin"
PACKAGE_NAME = "google-cloud-firestore"

UNIT_TEST_STANDARD_DEPENDENCIES = [
"mock",
Expand Down
10 changes: 4 additions & 6 deletions packages/google-cloud-firestore/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,14 @@

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

name = "google-cloud-firestore-admin"
name = "google-cloud-firestore"


description = "Google Cloud Firestore Admin API client library"
description = "Google Cloud Firestore API client library"

version = None

with open(
os.path.join(package_root, "google/cloud/firestore_admin/gapic_version.py")
) as fp:
with open(os.path.join(package_root, "google/cloud/firestore/gapic_version.py")) as fp:
version_candidates = re.findall(r"(?<=\")\d+.\d+.\d+(?=\")", fp.read())
assert len(version_candidates) == 1
version = version_candidates[0]
Expand All @@ -53,7 +51,7 @@
"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",
]
extras = {}
url = "https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-firestore-admin"
url = "https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-firestore"

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

Expand Down
Loading