Cloud Firestore V1beta1 Client - Class FieldReference (1.38.0)

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

A reference to a field, such as max(messages.time) as max_time.

Generated from protobuf message google.firestore.v1beta1.StructuredQuery.FieldReference

Namespace

Google \ Cloud \ Firestore \ V1beta1 \ StructuredQuery

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ field_path string

getFieldPath

Generated from protobuf field string field_path = 2;

Returns
TypeDescription
string

setFieldPath

Generated from protobuf field string field_path = 2;

Parameter
NameDescription
var string
Returns
TypeDescription
$this