GoogleFirestoreAdminV1IndexField class
A field in an index. The field_path describes which field is indexed, the value_mode describes how the field value is indexed.
Constructors
-
GoogleFirestoreAdminV1IndexField({Input<
GoogleFirestoreAdminV1IndexFieldArrayConfig> ? arrayConfig, Input<String> ? fieldPath, Input<GoogleFirestoreAdminV1IndexFieldOrder> ? order, Input<GoogleFirestoreAdminV1VectorConfig> ? vectorConfig}) -
Creates a new GoogleFirestoreAdminV1IndexField.
arrayConfigIndicates that this field supports operations onarray_values.fieldPathCan be name. For single field indexes, this must match the name of the field or may be omitted.orderIndicates that this field supports ordering by the specified order or comparing using =, !=, <, <=, >, >=.vectorConfigIndicates that this field supports nearest neighbors and distance operations on vector.const -
GoogleFirestoreAdminV1IndexField.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
arrayConfig
→ Input<
GoogleFirestoreAdminV1IndexFieldArrayConfig> ? -
Indicates that this field supports operations on
array_values.final -
fieldPath
→ Input<
String> ? -
Can be name. For single field indexes, this must match the name of the field or may be omitted.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
order
→ Input<
GoogleFirestoreAdminV1IndexFieldOrder> ? -
Indicates that this field supports ordering by the specified order or comparing using =, !=, <, <=, >, >=.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
vectorConfig
→ Input<
GoogleFirestoreAdminV1VectorConfig> ? -
Indicates that this field supports nearest neighbors and distance operations on vector.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited