Reference documentation and code samples for the Google Cloud Vector Search V1 Client class CreateDataObjectRequest.
Request message for DataObjectService.CreateDataObject .
Generated from protobuf message google.cloud.vectorsearch.v1.CreateDataObjectRequest
Namespace
Google \ Cloud \ VectorSearch \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. The resource name of the Collection to create the DataObject in. Format: projects/{project}/locations/{location}/collections/{collection}
↳ data_object_id
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
getParent
Required. The resource name of the Collection to create the DataObject in.
Format: projects/{project}/locations/{location}/collections/{collection}
string
setParent
Required. The resource name of the Collection to create the DataObject in.
Format: projects/{project}/locations/{location}/collections/{collection}
var
string
$this
getDataObjectId
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])?
.
string
setDataObjectId
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])?
.
var
string
$this
getDataObject
Required. The DataObject to create.
hasDataObject
clearDataObject
setDataObject
Required. The DataObject to create.
$this
static::build
parent
string
Required. The resource name of the Collection to create the DataObject in.
Format: projects/{project}/locations/{location}/collections/{collection}
Please see DataObjectServiceClient::collectionName()
for help formatting this field.
dataObject
dataObjectId
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])?
.

