Cloud Firestore V1beta1 Client - Class DocumentTransform (1.53.0)

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

A transformation of a document.

Generated from protobuf message google.firestore.v1beta1.DocumentTransform

Namespace

Google \ Cloud \ Firestore \ V1beta1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ document
string

The name of the document to transform.

↳ field_transforms
array< DocumentTransform\FieldTransform >

The list of transformations to apply to the fields of the document, in order. This must not be empty.

getDocument

The name of the document to transform.

Returns
Type
Description
string

setDocument

The name of the document to transform.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getFieldTransforms

The list of transformations to apply to the fields of the document, in order.

This must not be empty.

Returns
Type
Description

setFieldTransforms

The list of transformations to apply to the fields of the document, in order.

This must not be empty.

Parameter
Name
Description
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: