VertexAIShardSize enum

Index data is split into equal parts to be processed. These are called "shards". When you create an index you must specify the shard size. Once you create the index, you can determine what machine type to use when you deploy your index.

Inheritance
Available extensions

Values

small → const VertexAIShardSize

e2-standard-2 (2GB)

const VertexAIShardSize('SHARD_SIZE_SMALL')
medium → const VertexAIShardSize

e2-standard-16 (20GB)

const VertexAIShardSize('SHARD_SIZE_MEDIUM')
large → const VertexAIShardSize

e2-highmem-16 (50GB)

const VertexAIShardSize('SHARD_SIZE_LARGE')

Properties

hashCode int
The hash code for this object.
no setterinherited
id String
The id of the shard size.
final
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<VertexAIShardSize>
A constant List of the values in this enum, in order of their declaration.