Reference documentation and code samples for the Cloud Firestore V1 Client class ChangeType.
Specifies how the index is changing.
Protobuf type google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType
Namespace
Google \ Cloud \ Firestore \ Admin \ V1 \ FieldOperationMetadata \ IndexConfigDeltaMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
CHANGE_TYPE_UNSPECIFIED
Value: 0The type of change is not specified or known.
Generated from protobuf enum CHANGE_TYPE_UNSPECIFIED = 0;
ADD
Value: 1The single field index is being added.
Generated from protobuf enum ADD = 1;
REMOVE
Value: 2The single field index is being removed.
Generated from protobuf enum REMOVE = 2;