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 0648893

Browse filesBrowse files
feat: generate libraries
1 parent 83350d9 commit 0648893
Copy full SHA for 0648893

3 files changed

+8-39Lines changed: 8 additions & 39 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
@@ -3354,7 +3354,7 @@ libraries:
33543354
tag_format: '{id}-v{version}'
33553355
- id: google-cloud-vectorsearch
33563356
version: 0.6.0
3357-
last_generated_commit: 5c9602dbb5ac6856c07daf83be1fbd001a972ef3
3357+
last_generated_commit: 8f70147e819ed25cc75c73c4037ce64f9cbb68db
33583358
apis:
33593359
- path: google/cloud/vectorsearch/v1beta
33603360
service_config: vectorsearch_v1beta.yaml
Collapse file

‎packages/google-cloud-vectorsearch/google/cloud/vectorsearch_v1/types/data_object_search_service.py‎

Copy file name to clipboardExpand all lines: packages/google-cloud-vectorsearch/google/cloud/vectorsearch_v1/types/data_object_search_service.py
-34Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -119,48 +119,14 @@ class SearchHint(proto.Message):
119119
class IndexHint(proto.Message):
120120
r"""Message to specify the index to use for the search.
121121
122-
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
123-
124122
Attributes:
125-
dense_scann_params (google.cloud.vectorsearch_v1.types.SearchHint.IndexHint.DenseScannParams):
126-
Optional. Dense ScaNN parameters.
127-
128-
This field is a member of `oneof`_ ``params``.
129123
name (str):
130124
Required. The resource name of the index to use for the
131125
search. The index must be in the same project, location, and
132126
collection. Format:
133127
``projects/{project}/locations/{location}/collections/{collection}/indexes/{index}``
134128
"""
135129

136-
class DenseScannParams(proto.Message):
137-
r"""Parameters for dense ScaNN.
138-
139-
Attributes:
140-
search_leaves_pct (int):
141-
Optional. Dense ANN param overrides to control recall and
142-
latency. The percentage of leaves to search, in the range
143-
[0, 100].
144-
initial_candidate_count (int):
145-
Optional. The number of initial candidates.
146-
Must be a positive integer (> 0).
147-
"""
148-
149-
search_leaves_pct: int = proto.Field(
150-
proto.INT32,
151-
number=1,
152-
)
153-
initial_candidate_count: int = proto.Field(
154-
proto.INT32,
155-
number=2,
156-
)
157-
158-
dense_scann_params: "SearchHint.IndexHint.DenseScannParams" = proto.Field(
159-
proto.MESSAGE,
160-
number=2,
161-
oneof="params",
162-
message="SearchHint.IndexHint.DenseScannParams",
163-
)
164130
name: str = proto.Field(
165131
proto.STRING,
166132
number=1,
Collapse file

‎packages/google-cloud-vectorsearch/google/cloud/vectorsearch_v1/types/vectorsearch_service.py‎

Copy file name to clipboardExpand all lines: packages/google-cloud-vectorsearch/google/cloud/vectorsearch_v1/types/vectorsearch_service.py
+7-4Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -934,12 +934,15 @@ class AutoscalingSpec(proto.Message):
934934
Attributes:
935935
min_replica_count (int):
936936
Optional. The minimum number of replicas. If not set or set
937-
to ``0``, defaults to ``2``. Must be >= ``2`` and <=
937+
to ``0``, defaults to ``2``. Must be >= ``1`` and <=
938938
``1000``.
939939
max_replica_count (int):
940-
Optional. The maximum number of replicas. If not set or set
941-
to ``0``, defaults to the greater of ``min_replica_count``
942-
and ``5``. Must be >= ``min_replica_count`` and <= ``1000``.
940+
Optional. The maximum number of replicas. Must be >=
941+
``min_replica_count`` and <= ``1000``. For the v1beta
942+
version, if not set or set to ``0``, defaults to the greater
943+
of ``min_replica_count`` and ``5``. For all other versions,
944+
if not set or set to ``0``, defaults to the greater of
945+
``min_replica_count`` and ``2``.
943946
"""
944947

945948
min_replica_count: int = proto.Field(

0 commit comments

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