Reference documentation and code samples for the Vector Search V1 API class Google::Cloud::VectorSearch::V1::VectorField.
Message describing a vector field.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#dense_vector
def dense_vector() -> ::Google::Cloud::VectorSearch::V1::DenseVectorField-
(::Google::Cloud::VectorSearch::V1::DenseVectorField) — Dense vector field.
Note: The following fields are mutually exclusive:
dense_vector,sparse_vector. If a field in that set is populated, all other fields in the set will automatically be cleared.
#dense_vector=
def dense_vector=(value) -> ::Google::Cloud::VectorSearch::V1::DenseVectorField-
value (::Google::Cloud::VectorSearch::V1::DenseVectorField) — Dense vector field.
Note: The following fields are mutually exclusive:
dense_vector,sparse_vector. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::VectorSearch::V1::DenseVectorField) — Dense vector field.
Note: The following fields are mutually exclusive:
dense_vector,sparse_vector. If a field in that set is populated, all other fields in the set will automatically be cleared.
#sparse_vector
def sparse_vector() -> ::Google::Cloud::VectorSearch::V1::SparseVectorField-
(::Google::Cloud::VectorSearch::V1::SparseVectorField) — Sparse vector field.
Note: The following fields are mutually exclusive:
sparse_vector,dense_vector. If a field in that set is populated, all other fields in the set will automatically be cleared.
#sparse_vector=
def sparse_vector=(value) -> ::Google::Cloud::VectorSearch::V1::SparseVectorField-
value (::Google::Cloud::VectorSearch::V1::SparseVectorField) — Sparse vector field.
Note: The following fields are mutually exclusive:
sparse_vector,dense_vector. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::VectorSearch::V1::SparseVectorField) — Sparse vector field.
Note: The following fields are mutually exclusive:
sparse_vector,dense_vector. If a field in that set is populated, all other fields in the set will automatically be cleared.