Cloud Firestore V1 Client - Class TtlConfigDelta (1.40.0)

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

Information about a TTL configuration change.

Generated from protobuf message google.firestore.admin.v1.FieldOperationMetadata.TtlConfigDelta

Namespace

Google \ Cloud \ Firestore \ Admin \ V1 \ FieldOperationMetadata

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ change_type int

Specifies how the TTL configuration is changing.

getChangeType

Specifies how the TTL configuration is changing.

Returns
TypeDescription
int

setChangeType

Specifies how the TTL configuration is changing.

Parameter
NameDescription
var int
Returns
TypeDescription
$this