Cloud Firestore Client - Class DocumentTransformInterface (2.3.3)

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

Represents a DocumentTransform value.

A DocumentTransformInterface instance defines the structure of a Google\Cloud\Firestore\V1\DocumentTransform\FieldTransform message. $key defines the oneof transformType key, and $args defines the transformType message data.

Namespace

Google \ Cloud \ Firestore \ FieldValue

Methods

key

Get the transform key.

Returns
Type Description
string

args

Get the transform arguments.

Returns
Type Description
mixed

sendRaw

Whether the argument should be mapped or sent as given.

Returns
Type Description
bool