CollectionArgs constructor
const
CollectionArgs({
- required Input<
String> collectionId, - Input<
String?> ? dataSchema, - Input<
String?> ? deletionPolicy, - Input<
String?> ? description, - Input<
String?> ? displayName, - Input<
CollectionEncryptionSpec?> ? encryptionSpec, - Input<
Map< ? labels,String, String> ?> - required Input<
String> location, - Input<
String?> ? project, - Input<
List< ? vectorSchemas,CollectionVectorSchema> ?>
Creates a new CollectionArgs.
collectionId ID of the Collection to create.
dataSchema JSON Schema for data.
deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
description User-specified description of the collection
displayName User-specified display name of the collection
encryptionSpec Represents a customer-managed encryption key specification that can be
labels Labels as key value pairs.
location Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
project The ID of the project in which the resource belongs.
vectorSchemas Schema for vector fields. Only vector fields in this schema will be
Implementation
const CollectionArgs({
required this.collectionId,
this.dataSchema,
this.deletionPolicy,
this.description,
this.displayName,
this.encryptionSpec,
this.labels,
required this.location,
this.project,
this.vectorSchemas,
});