Vector Search v1 API - Class CreateDataObjectRequest (1.0.0-beta01)

public sealed class CreateDataObjectRequest : IMessage<CreateDataObjectRequest>, IEquatable<CreateDataObjectRequest>, IDeepCloneable<CreateDataObjectRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Vector Search v1 API class CreateDataObjectRequest.

Request message for [DataObjectService.CreateDataObject][google.cloud.vectorsearch.v1.DataObjectService.CreateDataObject].

Inheritance

object > CreateDataObjectRequest

Namespace

Google.Cloud.VectorSearch.V1

Assembly

Google.Cloud.VectorSearch.V1.dll

Constructors

CreateDataObjectRequest()

public CreateDataObjectRequest()

CreateDataObjectRequest(CreateDataObjectRequest)

public CreateDataObjectRequest(CreateDataObjectRequest other)
Parameter
Name Description
other CreateDataObjectRequest

Properties

DataObject

public DataObject DataObject { get; set; }

Required. The DataObject to create.

Property Value
Type Description
DataObject

DataObjectId

public string DataObjectId { get; set; }

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])?.

Property Value
Type Description
string

Parent

public string Parent { get; set; }

Required. The resource name of the Collection to create the DataObject in. Format: projects/{project}/locations/{location}/collections/{collection}

Property Value
Type Description
string

ParentAsCollectionName

public CollectionName ParentAsCollectionName { get; set; }

CollectionName-typed view over the Parent resource name property.

Property Value
Type Description
CollectionName