Skip to content

Commit dc06a65

Browse files
feat: Automated regeneration of Firestore client (googleapis#12428)
Auto-created at 2024-10-28 13:18:58 +0000 using the toys pull request generator.
1 parent 49ead39 commit dc06a65

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

clients/firestore/lib/google_api/firestore/v1/metadata.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ defmodule GoogleApi.Firestore.V1 do
2020
API client metadata for GoogleApi.Firestore.V1.
2121
"""
2222

23-
@discovery_revision "20240904"
23+
@discovery_revision "20241018"
2424

2525
def discovery_revision(), do: @discovery_revision
2626
end

clients/firestore/lib/google_api/firestore/v1/model/find_nearest.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ defmodule GoogleApi.Firestore.V1.Model.FindNearest do
2323
2424
* `distanceMeasure` (*type:* `String.t`, *default:* `nil`) - Required. The distance measure to use, required.
2525
* `distanceResultField` (*type:* `String.t`, *default:* `nil`) - Optional. Optional name of the field to output the result of the vector distance calculation. Must conform to document field name limitations.
26-
* `distanceThreshold` (*type:* `float()`, *default:* `nil`) - Optional. Option to specify a threshold for which no less similar documents will be returned. The behavior of the specified `distance_measure` will affect the meaning of the distance threshold. Since DOT_PRODUCT distances increase when the vectors are more similar, the comparison is inverted. For EUCLIDEAN, COSINE: WHERE distance <= distance_threshold For DOT_PRODUCT: WHERE distance >= distance_threshold
26+
* `distanceThreshold` (*type:* `float()`, *default:* `nil`) - Optional. Option to specify a threshold for which no less similar documents will be returned. The behavior of the specified `distance_measure` will affect the meaning of the distance threshold. Since DOT_PRODUCT distances increase when the vectors are more similar, the comparison is inverted. * For EUCLIDEAN, COSINE: WHERE distance <= distance_threshold * For DOT_PRODUCT: WHERE distance >= distance_threshold
2727
* `limit` (*type:* `integer()`, *default:* `nil`) - Required. The number of nearest neighbors to return. Must be a positive integer of no more than 1000.
2828
* `queryVector` (*type:* `GoogleApi.Firestore.V1.Model.Value.t`, *default:* `nil`) - Required. The query vector that we are searching on. Must be a vector of no more than 2048 dimensions.
2929
* `vectorField` (*type:* `GoogleApi.Firestore.V1.Model.FieldReference.t`, *default:* `nil`) - Required. An indexed vector field to search upon. Only documents which contain vectors whose dimensionality match the query_vector can be returned.

clients/firestore/lib/google_api/firestore/v1/model/structured_query.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
defmodule GoogleApi.Firestore.V1.Model.StructuredQuery do
1919
@moduledoc """
20-
A Firestore query. The query stages are executed in the following order: 1. from 2. where 3. select 4. order_by + start_at + end_at 5. offset 6. limit
20+
A Firestore query. The query stages are executed in the following order: 1. from 2. where 3. select 4. order_by + start_at + end_at 5. offset 6. limit 7. find_nearest
2121
2222
## Attributes
2323

clients/firestore/lib/google_api/firestore/v1beta1/metadata.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ defmodule GoogleApi.Firestore.V1beta1 do
2020
API client metadata for GoogleApi.Firestore.V1beta1.
2121
"""
2222

23-
@discovery_revision "20240822"
23+
@discovery_revision "20241018"
2424

2525
def discovery_revision(), do: @discovery_revision
2626
end

clients/firestore/lib/google_api/firestore/v1beta1/model/find_nearest.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ defmodule GoogleApi.Firestore.V1beta1.Model.FindNearest do
2323
2424
* `distanceMeasure` (*type:* `String.t`, *default:* `nil`) - Required. The distance measure to use, required.
2525
* `distanceResultField` (*type:* `String.t`, *default:* `nil`) - Optional. Optional name of the field to output the result of the vector distance calculation. Must conform to document field name limitations.
26-
* `distanceThreshold` (*type:* `float()`, *default:* `nil`) - Optional. Option to specify a threshold for which no less similar documents will be returned. The behavior of the specified `distance_measure` will affect the meaning of the distance threshold. Since DOT_PRODUCT distances increase when the vectors are more similar, the comparison is inverted. For EUCLIDEAN, COSINE: WHERE distance <= distance_threshold For DOT_PRODUCT: WHERE distance >= distance_threshold
26+
* `distanceThreshold` (*type:* `float()`, *default:* `nil`) - Optional. Option to specify a threshold for which no less similar documents will be returned. The behavior of the specified `distance_measure` will affect the meaning of the distance threshold. Since DOT_PRODUCT distances increase when the vectors are more similar, the comparison is inverted. * For EUCLIDEAN, COSINE: WHERE distance <= distance_threshold * For DOT_PRODUCT: WHERE distance >= distance_threshold
2727
* `limit` (*type:* `integer()`, *default:* `nil`) - Required. The number of nearest neighbors to return. Must be a positive integer of no more than 1000.
2828
* `queryVector` (*type:* `GoogleApi.Firestore.V1beta1.Model.Value.t`, *default:* `nil`) - Required. The query vector that we are searching on. Must be a vector of no more than 2048 dimensions.
2929
* `vectorField` (*type:* `GoogleApi.Firestore.V1beta1.Model.FieldReference.t`, *default:* `nil`) - Required. An indexed vector field to search upon. Only documents which contain vectors whose dimensionality match the query_vector can be returned.

clients/firestore/lib/google_api/firestore/v1beta1/model/structured_query.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
defmodule GoogleApi.Firestore.V1beta1.Model.StructuredQuery do
1919
@moduledoc """
20-
A Firestore query. The query stages are executed in the following order: 1. from 2. where 3. select 4. order_by + start_at + end_at 5. offset 6. limit
20+
A Firestore query. The query stages are executed in the following order: 1. from 2. where 3. select 4. order_by + start_at + end_at 5. offset 6. limit 7. find_nearest
2121
2222
## Attributes
2323

clients/firestore/mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
defmodule GoogleApi.Firestore.Mixfile do
1919
use Mix.Project
2020

21-
@version "0.32.0"
21+
@version "0.32.1"
2222

2323
def project() do
2424
[

0 commit comments

Comments
 (0)