Supabase. Storage. Vector. Metadata
(supabase_storage v0.6.1)
Copy Markdown
Schema for vector bucket metadata.
Contains information about a vector bucket including its name, creation timestamp, and optional encryption configuration for data at rest.
Summary
Types
@type t() :: %Supabase.Storage.Vector.Metadata{ creation_time: integer() | nil, encryption_configuration: %Supabase.Storage.Vector.Metadata.EncryptConfiguration{ kms_key_arn: String.t() | nil, sse_type: String.t() | nil }, vector_bucket_name: String.t() }
Vector bucket metadata structure.
Fields
:vector_bucket_name- Unique name identifying the vector bucket:creation_time- Unix timestamp (seconds) when the bucket was created:encryption_configuration- Optional encryption settings for data at rest:kms_key_arn- ARN of the AWS KMS key used for encryption:sse_type- Server-side encryption type (e.g., "KMS")
Functions
Creates a changeset for validating and casting vector bucket metadata.Va lidates that vector_bucket_name is present and casts the optional
e ncryption_configuration nested struct.
## Parameters
* `meta` - A `Supabase.Storage.Vector.Metadata` struct
*)attrs - Map of attributes to cast and validate
Returns
An Ecto.Changeset with validated metadata.