Vector Search V1 API - Class Google::Cloud::VectorSearch::V1::DataObject (v0.1.0)

Reference documentation and code samples for the Vector Search V1 API class Google::Cloud::VectorSearch::V1::DataObject.

A dataObject resource in Vector Search.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#data

def data() -> ::Google::Protobuf::Struct
Returns

#data=

def data=(value) -> ::Google::Protobuf::Struct
Parameter
Returns

#data_object_id

def data_object_id() -> ::String
Returns
  • (::String) — Output only. The id of the dataObject.

#etag

def etag() -> ::String
Returns
  • (::String) — Optional. The etag of the dataObject.

#etag=

def etag=(value) -> ::String
Parameter
  • value (::String) — Optional. The etag of the dataObject.
Returns
  • (::String) — Optional. The etag of the dataObject.

#name

def name() -> ::String
Returns
  • (::String) — Identifier. The fully qualified resource name of the dataObject.

    Format: projects/{project}/locations/{location}/collections/{collection}/dataObjects/{data_object_id} The data_object_id must be 1-63 characters long, and comply with RFC1035.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Identifier. The fully qualified resource name of the dataObject.

    Format: projects/{project}/locations/{location}/collections/{collection}/dataObjects/{data_object_id} The data_object_id must be 1-63 characters long, and comply with RFC1035.

Returns
  • (::String) — Identifier. The fully qualified resource name of the dataObject.

    Format: projects/{project}/locations/{location}/collections/{collection}/dataObjects/{data_object_id} The data_object_id must be 1-63 characters long, and comply with RFC1035.

#update_time

def update_time() -> ::Google::Protobuf::Timestamp
Returns

#vectors

def vectors() -> ::Google::Protobuf::Map{::String => ::Google::Cloud::VectorSearch::V1::Vector}
Returns
  • (::Google::Protobuf::Map{::String => ::Google::Cloud::VectorSearch::V1::Vector}) — Optional. The vectors of the dataObject.

#vectors=

def vectors=(value) -> ::Google::Protobuf::Map{::String => ::Google::Cloud::VectorSearch::V1::Vector}
Parameter
  • value (::Google::Protobuf::Map{::String => ::Google::Cloud::VectorSearch::V1::Vector}) — Optional. The vectors of the dataObject.
Returns
  • (::Google::Protobuf::Map{::String => ::Google::Cloud::VectorSearch::V1::Vector}) — Optional. The vectors of the dataObject.