Reference documentation and code samples for the Vector Search V1 API class Google::Cloud::VectorSearch::V1::BatchCreateDataObjectsRequest.
Request message for DataObjectService.BatchCreateDataObjects.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#parent
def parent() -> ::String
Returns
-
(::String) — Required. The resource name of the Collection to create the DataObjects in.
Format:
projects/{project}/locations/{location}/collections/{collection}. The parent field in the CreateDataObjectRequest messages must match this field.
#parent=
def parent=(value) -> ::String
Parameter
-
value (::String) — Required. The resource name of the Collection to create the DataObjects in.
Format:
projects/{project}/locations/{location}/collections/{collection}. The parent field in the CreateDataObjectRequest messages must match this field.
Returns
-
(::String) — Required. The resource name of the Collection to create the DataObjects in.
Format:
projects/{project}/locations/{location}/collections/{collection}. The parent field in the CreateDataObjectRequest messages must match this field.
#requests
def requests() -> ::Array<::Google::Cloud::VectorSearch::V1::CreateDataObjectRequest>
Returns
- (::Array<::Google::Cloud::VectorSearch::V1::CreateDataObjectRequest>) — Required. The request message specifying the resources to create. A maximum of 1000 DataObjects can be created in a batch.
#requests=
def requests=(value) -> ::Array<::Google::Cloud::VectorSearch::V1::CreateDataObjectRequest>
Parameter
- value (::Array<::Google::Cloud::VectorSearch::V1::CreateDataObjectRequest>) — Required. The request message specifying the resources to create. A maximum of 1000 DataObjects can be created in a batch.
Returns
- (::Array<::Google::Cloud::VectorSearch::V1::CreateDataObjectRequest>) — Required. The request message specifying the resources to create. A maximum of 1000 DataObjects can be created in a batch.