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

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

Request message for DataObjectService.CreateDataObject.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#data_object

def data_object() -> ::Google::Cloud::VectorSearch::V1::DataObject
Returns

#data_object=

def data_object=(value) -> ::Google::Cloud::VectorSearch::V1::DataObject
Parameter
Returns

#data_object_id

def data_object_id() -> ::String
Returns
  • (::String) — Required. The id of the dataObject to create. The id must be 1-63 characters long, and comply with RFC1035. Specifically, it must be 1-63 characters long and match the regular expression [a-z](?:[-a-z0-9]{0,61}[a-z0-9])?.

#data_object_id=

def data_object_id=(value) -> ::String
Parameter
  • value (::String) — Required. The id of the dataObject to create. The id must be 1-63 characters long, and comply with RFC1035. Specifically, it must be 1-63 characters long and match the regular expression [a-z](?:[-a-z0-9]{0,61}[a-z0-9])?.
Returns
  • (::String) — Required. The id of the dataObject to create. The id must be 1-63 characters long, and comply with RFC1035. Specifically, it must be 1-63 characters long and match the regular expression [a-z](?:[-a-z0-9]{0,61}[a-z0-9])?.

#parent

def parent() -> ::String
Returns
  • (::String) — Required. The resource name of the Collection to create the DataObject in. Format: projects/{project}/locations/{location}/collections/{collection}

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) — Required. The resource name of the Collection to create the DataObject in. Format: projects/{project}/locations/{location}/collections/{collection}
Returns
  • (::String) — Required. The resource name of the Collection to create the DataObject in. Format: projects/{project}/locations/{location}/collections/{collection}