Cloud Firestore V1 Client - Class ChangeType (1.35.0)

Reference documentation and code samples for the Cloud Firestore V1 Client class ChangeType.

Specifies how the TTL config is changing.

Protobuf type google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta.ChangeType

Namespace

Google \ Cloud \ Firestore \ Admin \ V1 \ FieldOperationMetadata \ TtlConfigDelta

Methods

static::name

Parameter
NameDescription
value mixed

static::value

Parameter
NameDescription
name mixed

Constants

CHANGE_TYPE_UNSPECIFIED

Value: 0

The type of change is not specified or known.

Generated from protobuf enum CHANGE_TYPE_UNSPECIFIED = 0;

ADD

Value: 1

The TTL config is being added.

Generated from protobuf enum ADD = 1;

REMOVE

Value: 2

The TTL config is being removed.

Generated from protobuf enum REMOVE = 2;