Resource: DataObject
A dataObject resource in Vector Search.
| JSON representation |
|---|
{
"name": string,
"dataObjectId": string,
"createTime": string,
"updateTime": string,
"data": {
object
},
"vectors": {
string: {
object ( |
| Fields | |
|---|---|
name |
Identifier. The fully qualified resource name of the dataObject. Format: |
dataObjectId |
Output only. The id of the dataObject. |
createTime |
Output only. Timestamp the dataObject was created at. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
updateTime |
Output only. Timestamp the dataObject was last updated. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
data |
Optional. The data of the dataObject. |
vectors |
Optional. The vectors of the dataObject. An object containing a list of |
Vector
A vector which can be either dense or sparse.
| JSON representation |
|---|
{ "values": [ number ], // Union field |
| Fields | |
|---|---|
values[] |
The values of the vector. |
Union field vector_type. The type of the vector. vector_type can be only one of the following: |
|
dense |
A dense vector. |
sparse |
A sparse vector. |
DenseVector
A dense vector.
| JSON representation |
|---|
{ "values": [ number ] } |
| Fields | |
|---|---|
values[] |
Required. The values of the vector. |
SparseVector
A sparse vector.
| JSON representation |
|---|
{ "values": [ number ], "indices": [ integer ] } |
| Fields | |
|---|---|
values[] |
Required. The values of the vector. |
indices[] |
Required. The corresponding indices for the values. |
Methods |
|
|---|---|
|
Aggregates data objects. |
|
Creates a batch of dataObjects. |
|
Deletes dataObjects in a batch. |
|
Batch searches data objects. |
|
Updates dataObjects in a batch. |
|
Creates a dataObject. |
|
Deletes a dataObject. |
|
Gets a data object. |
|
Updates a dataObject. |
|
Queries data objects. |
|
Searches data objects. |