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
- (::Google::Cloud::VectorSearch::V1::DataObject) — Required. The DataObject to create.
#data_object=
def data_object=(value) -> ::Google::Cloud::VectorSearch::V1::DataObject
Parameter
- value (::Google::Cloud::VectorSearch::V1::DataObject) — Required. The DataObject to create.
Returns
- (::Google::Cloud::VectorSearch::V1::DataObject) — Required. The DataObject to create.
#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}