Reference documentation and code samples for the Google Cloud Vector Search V1 Client class VectorField.
Message describing a vector field.
Generated from protobuf message google.cloud.vectorsearch.v1.VectorField
Namespace
Google \ Cloud \ VectorSearch \ V1Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ dense_vector
↳ sparse_vector
getDenseVector
Dense vector field.
hasDenseVector
setDenseVector
Dense vector field.
Returns
Type
Description
$this
getSparseVector
Sparse vector field.
hasSparseVector
setSparseVector
Sparse vector field.
Returns
Type
Description
$this
getVectorTypeConfig
Returns
Type
Description
string

