Transforms
Helpful constants to use for Google Cloud Firestore.
class google.cloud.firestore_v1.transforms.ArrayRemove(values)
Bases: google.cloud.firestore_v1.transforms._ValueList
Field transform: remove values from an array field.
-
Parameters
values( List * | *Tuple ) – values to remove.
class google.cloud.firestore_v1.transforms.ArrayUnion(values)
Bases: google.cloud.firestore_v1.transforms._ValueList
Field transform: appends missing values to an array field.
-
Parameters
values( List * | *Tuple ) – values to append.
class google.cloud.firestore_v1.transforms.Increment(value)
Bases: google.cloud.firestore_v1.transforms._NumericValue
Field transform: increment a numeric field with specified value.
-
Parameters
value( int * | [ float*]( https://python.readthedocs.io/en/latest/library/functions.html#float )) – value used to increment the field.
class google.cloud.firestore_v1.transforms.Maximum(value)
Bases: google.cloud.firestore_v1.transforms._NumericValue
Field transform: bound numeric field with specified value.
-
Parameters
value( int * | [ float*]( https://python.readthedocs.io/en/latest/library/functions.html#float )) – value used to bound the field.
class google.cloud.firestore_v1.transforms.Minimum(value)
Bases: google.cloud.firestore_v1.transforms._NumericValue
Field transform: bound numeric field with specified value.
-
Parameters
value( int * | [ float*]( https://python.readthedocs.io/en/latest/library/functions.html#float )) – value used to bound the field.
class google.cloud.firestore_v1.transforms.Sentinel(description)
Bases: object
Sentinel objects used to signal special handling.

