gogol-firestore-0.5.0: Google Cloud Firestore SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.FireStore.Types

Contents

Description

 
Synopsis

Service Configuration

fireStoreService :: ServiceConfig Source #

Default request referring to version v1 of the Cloud Firestore API. This contains the host and root path used as a starting point for constructing service requests.

OAuth Scopes

cloudPlatformScope :: Proxy '["https://www.googleapis.com/auth/cloud-platform"] Source #

View and manage your data across Google Cloud Platform services

datastoreScope :: Proxy '["https://www.googleapis.com/auth/datastore"] Source #

View and manage your Google Cloud Datastore data

WriteRequest

data WriteRequest Source #

The request for Firestore.Write. The first request creates a stream, or resumes an existing one from a token. When creating a new stream, the server replies with a response containing only an ID and a token, to use in the next request. When resuming a stream, the server first streams any responses later than the given token, then a response containing only an up-to-date token, to use in the next request.

See: writeRequest smart constructor.

Instances
Eq WriteRequest Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Data WriteRequest Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> WriteRequest -> c WriteRequest #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c WriteRequest #

toConstr :: WriteRequest -> Constr #

dataTypeOf :: WriteRequest -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c WriteRequest) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c WriteRequest) #

gmapT :: (forall b. Data b => b -> b) -> WriteRequest -> WriteRequest #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> WriteRequest -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> WriteRequest -> r #

gmapQ :: (forall d. Data d => d -> u) -> WriteRequest -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> WriteRequest -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> WriteRequest -> m WriteRequest #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> WriteRequest -> m WriteRequest #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> WriteRequest -> m WriteRequest #

Show WriteRequest Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Generic WriteRequest Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Associated Types

type Rep WriteRequest :: Type -> Type #

ToJSON WriteRequest Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

FromJSON WriteRequest Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

type Rep WriteRequest Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

type Rep WriteRequest = D1 (MetaData "WriteRequest" "Network.Google.FireStore.Types.Product" "gogol-firestore-0.5.0-7rr7qtRkAClEQRp7SbCbFR" False) (C1 (MetaCons "WriteRequest'" PrefixI True) ((S1 (MetaSel (Just "_wrStreamToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bytes)) :*: S1 (MetaSel (Just "_wrLabels") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe WriteRequestLabels))) :*: (S1 (MetaSel (Just "_wrWrites") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Write])) :*: S1 (MetaSel (Just "_wrStreamId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

writeRequest :: WriteRequest Source #

Creates a value of WriteRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

wrStreamToken :: Lens' WriteRequest (Maybe ByteString) Source #

A stream token that was previously sent by the server. The client should set this field to the token from the most recent WriteResponse it has received. This acknowledges that the client has received responses up to this token. After sending this token, earlier tokens may not be used anymore. The server may close the stream if there are too many unacknowledged responses. Leave this field unset when creating a new stream. To resume a stream at a specific point, set this field and the `stream_id` field. Leave this field unset when creating a new stream.

wrLabels :: Lens' WriteRequest (Maybe WriteRequestLabels) Source #

Labels associated with this write request.

wrWrites :: Lens' WriteRequest [Write] Source #

The writes to apply. Always executed atomically and in order. This must be empty on the first request. This may be empty on the last request. This must not be empty on all other requests.

wrStreamId :: Lens' WriteRequest (Maybe Text) Source #

The ID of the write stream to resume. This may only be set in the first message. When left empty, a new write stream will be created.

LatLng

data LatLng Source #

An object representing a latitude/longitude pair. This is expressed as a pair of doubles representing degrees latitude and degrees longitude. Unless specified otherwise, this must conform to the WGS84 standard. Values must be within normalized ranges.

See: latLng smart constructor.

Instances
Eq LatLng Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Methods

(==) :: LatLng -> LatLng -> Bool #

(/=) :: LatLng -> LatLng -> Bool #

Data LatLng Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> LatLng -> c LatLng #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c LatLng #

toConstr :: LatLng -> Constr #

dataTypeOf :: LatLng -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c LatLng) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c LatLng) #

gmapT :: (forall b. Data b => b -> b) -> LatLng -> LatLng #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> LatLng -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> LatLng -> r #

gmapQ :: (forall d. Data d => d -> u) -> LatLng -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> LatLng -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> LatLng -> m LatLng #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> LatLng -> m LatLng #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> LatLng -> m LatLng #

Show LatLng Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Generic LatLng Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Associated Types

type Rep LatLng :: Type -> Type #

Methods

from :: LatLng -> Rep LatLng x #

to :: Rep LatLng x -> LatLng #

ToJSON LatLng Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

FromJSON LatLng Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

type Rep LatLng Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

type Rep LatLng = D1 (MetaData "LatLng" "Network.Google.FireStore.Types.Product" "gogol-firestore-0.5.0-7rr7qtRkAClEQRp7SbCbFR" False) (C1 (MetaCons "LatLng'" PrefixI True) (S1 (MetaSel (Just "_llLatitude") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double))) :*: S1 (MetaSel (Just "_llLongitude") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double)))))

latLng :: LatLng Source #

Creates a value of LatLng with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

llLatitude :: Lens' LatLng (Maybe Double) Source #

The latitude in degrees. It must be in the range [-90.0, +90.0].

llLongitude :: Lens' LatLng (Maybe Double) Source #

The longitude in degrees. It must be in the range [-180.0, +180.0].

GoogleFirestoreAdminV1IndexFieldOrder

data GoogleFirestoreAdminV1IndexFieldOrder Source #

Indicates that this field supports ordering by the specified order or comparing using =, <, <=, >, >=.

Constructors

OrderUnspecified

ORDER_UNSPECIFIED The ordering is unspecified. Not a valid option.

Ascending

ASCENDING The field is ordered by ascending field value.

Descending

DESCENDING The field is ordered by descending field value.

Instances
Enum GoogleFirestoreAdminV1IndexFieldOrder Source # 
Instance details

Defined in Network.Google.FireStore.Types.Sum

Eq GoogleFirestoreAdminV1IndexFieldOrder Source # 
Instance details

Defined in Network.Google.FireStore.Types.Sum

Data GoogleFirestoreAdminV1IndexFieldOrder Source # 
Instance details

Defined in Network.Google.FireStore.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GoogleFirestoreAdminV1IndexFieldOrder -> c GoogleFirestoreAdminV1IndexFieldOrder #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GoogleFirestoreAdminV1IndexFieldOrder #

toConstr :: GoogleFirestoreAdminV1IndexFieldOrder -> Constr #

dataTypeOf :: GoogleFirestoreAdminV1IndexFieldOrder -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GoogleFirestoreAdminV1IndexFieldOrder) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GoogleFirestoreAdminV1IndexFieldOrder) #

gmapT :: (forall b. Data b => b -> b) -> GoogleFirestoreAdminV1IndexFieldOrder -> GoogleFirestoreAdminV1IndexFieldOrder #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GoogleFirestoreAdminV1IndexFieldOrder -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GoogleFirestoreAdminV1IndexFieldOrder -> r #

gmapQ :: (forall d. Data d => d -> u) -> GoogleFirestoreAdminV1IndexFieldOrder -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GoogleFirestoreAdminV1IndexFieldOrder -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GoogleFirestoreAdminV1IndexFieldOrder -> m GoogleFirestoreAdminV1IndexFieldOrder #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GoogleFirestoreAdminV1IndexFieldOrder -> m GoogleFirestoreAdminV1IndexFieldOrder #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GoogleFirestoreAdminV1IndexFieldOrder -> m GoogleFirestoreAdminV1IndexFieldOrder #

Ord GoogleFirestoreAdminV1IndexFieldOrder Source # 
Instance details

Defined in Network.Google.FireStore.Types.Sum

Read GoogleFirestoreAdminV1IndexFieldOrder Source # 
Instance details

Defined in Network.Google.FireStore.Types.Sum

Show GoogleFirestoreAdminV1IndexFieldOrder Source # 
Instance details

Defined in Network.Google.FireStore.Types.Sum

Generic GoogleFirestoreAdminV1IndexFieldOrder Source # 
Instance details

Defined in Network.Google.FireStore.Types.Sum

Hashable GoogleFirestoreAdminV1IndexFieldOrder Source # 
Instance details

Defined in Network.Google.FireStore.Types.Sum

ToJSON GoogleFirestoreAdminV1IndexFieldOrder Source # 
Instance details

Defined in Network.Google.FireStore.Types.Sum

FromJSON GoogleFirestoreAdminV1IndexFieldOrder Source # 
Instance details

Defined in Network.Google.FireStore.Types.Sum

FromHttpApiData GoogleFirestoreAdminV1IndexFieldOrder Source # 
Instance details

Defined in Network.Google.FireStore.Types.Sum

ToHttpApiData GoogleFirestoreAdminV1IndexFieldOrder Source # 
Instance details

Defined in Network.Google.FireStore.Types.Sum

type Rep GoogleFirestoreAdminV1IndexFieldOrder Source # 
Instance details

Defined in Network.Google.FireStore.Types.Sum

type Rep GoogleFirestoreAdminV1IndexFieldOrder = D1 (MetaData "GoogleFirestoreAdminV1IndexFieldOrder" "Network.Google.FireStore.Types.Sum" "gogol-firestore-0.5.0-7rr7qtRkAClEQRp7SbCbFR" False) (C1 (MetaCons "OrderUnspecified" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Ascending" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Descending" PrefixI False) (U1 :: Type -> Type)))

WriteResult

data WriteResult Source #

The result of applying a write.

See: writeResult smart constructor.

Instances
Eq WriteResult Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Data WriteResult Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> WriteResult -> c WriteResult #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c WriteResult #

toConstr :: WriteResult -> Constr #

dataTypeOf :: WriteResult -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c WriteResult) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c WriteResult) #

gmapT :: (forall b. Data b => b -> b) -> WriteResult -> WriteResult #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> WriteResult -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> WriteResult -> r #

gmapQ :: (forall d. Data d => d -> u) -> WriteResult -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> WriteResult -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> WriteResult -> m WriteResult #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> WriteResult -> m WriteResult #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> WriteResult -> m WriteResult #

Show WriteResult Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Generic WriteResult Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Associated Types

type Rep WriteResult :: Type -> Type #

ToJSON WriteResult Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

FromJSON WriteResult Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

type Rep WriteResult Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

type Rep WriteResult = D1 (MetaData "WriteResult" "Network.Google.FireStore.Types.Product" "gogol-firestore-0.5.0-7rr7qtRkAClEQRp7SbCbFR" False) (C1 (MetaCons "WriteResult'" PrefixI True) (S1 (MetaSel (Just "_wrUpdateTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime')) :*: S1 (MetaSel (Just "_wrTransformResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Value]))))

writeResult :: WriteResult Source #

Creates a value of WriteResult with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

wrUpdateTime :: Lens' WriteResult (Maybe UTCTime) Source #

The last update time of the document after applying the write. Not set after a `delete`. If the write did not actually change the document, this will be the previous update_time.

wrTransformResults :: Lens' WriteResult [Value] Source #

The results of applying each DocumentTransform.FieldTransform, in the same order.

GoogleFirestoreAdminV1Field

data GoogleFirestoreAdminV1Field Source #

Represents a single field in the database. Fields are grouped by their "Collection Group", which represent all collections in the database with the same id.

See: googleFirestoreAdminV1Field smart constructor.

Instances
Eq GoogleFirestoreAdminV1Field Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Data GoogleFirestoreAdminV1Field Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GoogleFirestoreAdminV1Field -> c GoogleFirestoreAdminV1Field #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GoogleFirestoreAdminV1Field #

toConstr :: GoogleFirestoreAdminV1Field -> Constr #

dataTypeOf :: GoogleFirestoreAdminV1Field -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GoogleFirestoreAdminV1Field) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GoogleFirestoreAdminV1Field) #

gmapT :: (forall b. Data b => b -> b) -> GoogleFirestoreAdminV1Field -> GoogleFirestoreAdminV1Field #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GoogleFirestoreAdminV1Field -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GoogleFirestoreAdminV1Field -> r #

gmapQ :: (forall d. Data d => d -> u) -> GoogleFirestoreAdminV1Field -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GoogleFirestoreAdminV1Field -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GoogleFirestoreAdminV1Field -> m GoogleFirestoreAdminV1Field #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GoogleFirestoreAdminV1Field -> m GoogleFirestoreAdminV1Field #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GoogleFirestoreAdminV1Field -> m GoogleFirestoreAdminV1Field #

Show GoogleFirestoreAdminV1Field Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Generic GoogleFirestoreAdminV1Field Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Associated Types

type Rep GoogleFirestoreAdminV1Field :: Type -> Type #

ToJSON GoogleFirestoreAdminV1Field Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

FromJSON GoogleFirestoreAdminV1Field Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

type Rep GoogleFirestoreAdminV1Field Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

type Rep GoogleFirestoreAdminV1Field = D1 (MetaData "GoogleFirestoreAdminV1Field" "Network.Google.FireStore.Types.Product" "gogol-firestore-0.5.0-7rr7qtRkAClEQRp7SbCbFR" False) (C1 (MetaCons "GoogleFirestoreAdminV1Field'" PrefixI True) (S1 (MetaSel (Just "_gfavfIndexConfig") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GoogleFirestoreAdminV1IndexConfig)) :*: S1 (MetaSel (Just "_gfavfName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))

googleFirestoreAdminV1Field :: GoogleFirestoreAdminV1Field Source #

Creates a value of GoogleFirestoreAdminV1Field with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

gfavfIndexConfig :: Lens' GoogleFirestoreAdminV1Field (Maybe GoogleFirestoreAdminV1IndexConfig) Source #

The index configuration for this field. If unset, field indexing will revert to the configuration defined by the `ancestor_field`. To explicitly remove all indexes for this field, specify an index config with an empty list of indexes.

gfavfName :: Lens' GoogleFirestoreAdminV1Field (Maybe Text) Source #

A field name of the form `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}` A field path may be a simple field name, e.g. `address` or a path to fields within map_value , e.g. `address.city`, or a special field path. The only valid special field is `*`, which represents any field. Field paths may be quoted using ` (backtick). The only character that needs to be escaped within a quoted field path is the backtick character itself, escaped using a backslash. Special characters in field paths that must be quoted include: `*`, `.`, ``` (backtick), `[`, `]`, as well as any ascii symbolic characters. Examples: (Note: Comments here are written in markdown syntax, so there is an additional layer of backticks to represent a code block) `\`address.city\`` represents a field named `address.city`, not the map key `city` in the field `address`. `\`*\`` represents a field named `*`, not any field. A special `Field` contains the default indexing settings for all fields. This field's resource name is: `projects/{project_id}/databases/{database_id}/collectionGroups/default/fields/*` Indexes defined on this `Field` will be applied to all fields which do not have their own `Field` index configuration.

TransactionOptions

data TransactionOptions Source #

Options for creating a new transaction.

See: transactionOptions smart constructor.

Instances
Eq TransactionOptions Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Data TransactionOptions Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TransactionOptions -> c TransactionOptions #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TransactionOptions #

toConstr :: TransactionOptions -> Constr #

dataTypeOf :: TransactionOptions -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TransactionOptions) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TransactionOptions) #

gmapT :: (forall b. Data b => b -> b) -> TransactionOptions -> TransactionOptions #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TransactionOptions -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TransactionOptions -> r #

gmapQ :: (forall d. Data d => d -> u) -> TransactionOptions -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> TransactionOptions -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> TransactionOptions -> m TransactionOptions #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TransactionOptions -> m TransactionOptions #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TransactionOptions -> m TransactionOptions #

Show TransactionOptions Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Generic TransactionOptions Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Associated Types

type Rep TransactionOptions :: Type -> Type #

ToJSON TransactionOptions Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

FromJSON TransactionOptions Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

type Rep TransactionOptions Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

type Rep TransactionOptions = D1 (MetaData "TransactionOptions" "Network.Google.FireStore.Types.Product" "gogol-firestore-0.5.0-7rr7qtRkAClEQRp7SbCbFR" False) (C1 (MetaCons "TransactionOptions'" PrefixI True) (S1 (MetaSel (Just "_toReadWrite") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ReadWrite)) :*: S1 (MetaSel (Just "_toReadOnly") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ReadOnly))))

transactionOptions :: TransactionOptions Source #

Creates a value of TransactionOptions with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

toReadWrite :: Lens' TransactionOptions (Maybe ReadWrite) Source #

The transaction can be used for both read and write operations.

toReadOnly :: Lens' TransactionOptions (Maybe ReadOnly) Source #

The transaction can only be used for read operations.

GoogleFirestoreAdminV1IndexConfigDeltaChangeType

data GoogleFirestoreAdminV1IndexConfigDeltaChangeType Source #

Specifies how the index is changing.

Constructors

ChangeTypeUnspecified

CHANGE_TYPE_UNSPECIFIED The type of change is not specified or known.

Add

ADD The single field index is being added.

Remove

REMOVE The single field index is being removed.

Instances
Enum GoogleFirestoreAdminV1IndexConfigDeltaChangeType Source # 
Instance details

Defined in Network.Google.FireStore.Types.Sum

Eq GoogleFirestoreAdminV1IndexConfigDeltaChangeType Source # 
Instance details

Defined in Network.Google.FireStore.Types.Sum

Data GoogleFirestoreAdminV1IndexConfigDeltaChangeType Source # 
Instance details

Defined in Network.Google.FireStore.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GoogleFirestoreAdminV1IndexConfigDeltaChangeType -> c GoogleFirestoreAdminV1IndexConfigDeltaChangeType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GoogleFirestoreAdminV1IndexConfigDeltaChangeType #

toConstr :: GoogleFirestoreAdminV1IndexConfigDeltaChangeType -> Constr #

dataTypeOf :: GoogleFirestoreAdminV1IndexConfigDeltaChangeType -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GoogleFirestoreAdminV1IndexConfigDeltaChangeType) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GoogleFirestoreAdminV1IndexConfigDeltaChangeType) #

gmapT :: (forall b. Data b => b -> b) -> GoogleFirestoreAdminV1IndexConfigDeltaChangeType -> GoogleFirestoreAdminV1IndexConfigDeltaChangeType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GoogleFirestoreAdminV1IndexConfigDeltaChangeType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GoogleFirestoreAdminV1IndexConfigDeltaChangeType -> r #

gmapQ :: (forall d. Data d => d -> u) -> GoogleFirestoreAdminV1IndexConfigDeltaChangeType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GoogleFirestoreAdminV1IndexConfigDeltaChangeType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GoogleFirestoreAdminV1IndexConfigDeltaChangeType -> m GoogleFirestoreAdminV1IndexConfigDeltaChangeType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GoogleFirestoreAdminV1IndexConfigDeltaChangeType -> m GoogleFirestoreAdminV1IndexConfigDeltaChangeType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GoogleFirestoreAdminV1IndexConfigDeltaChangeType -> m GoogleFirestoreAdminV1IndexConfigDeltaChangeType #

Ord GoogleFirestoreAdminV1IndexConfigDeltaChangeType Source # 
Instance details

Defined in Network.Google.FireStore.Types.Sum

Read GoogleFirestoreAdminV1IndexConfigDeltaChangeType Source # 
Instance details

Defined in Network.Google.FireStore.Types.Sum

Show GoogleFirestoreAdminV1IndexConfigDeltaChangeType Source # 
Instance details

Defined in Network.Google.FireStore.Types.Sum

Generic GoogleFirestoreAdminV1IndexConfigDeltaChangeType Source # 
Instance details

Defined in Network.Google.FireStore.Types.Sum

Hashable GoogleFirestoreAdminV1IndexConfigDeltaChangeType Source # 
Instance details

Defined in Network.Google.FireStore.Types.Sum

ToJSON GoogleFirestoreAdminV1IndexConfigDeltaChangeType Source # 
Instance details

Defined in Network.Google.FireStore.Types.Sum

FromJSON GoogleFirestoreAdminV1IndexConfigDeltaChangeType Source # 
Instance details

Defined in Network.Google.FireStore.Types.Sum

FromHttpApiData GoogleFirestoreAdminV1IndexConfigDeltaChangeType Source # 
Instance details

Defined in Network.Google.FireStore.Types.Sum

ToHttpApiData GoogleFirestoreAdminV1IndexConfigDeltaChangeType Source # 
Instance details

Defined in Network.Google.FireStore.Types.Sum

type Rep GoogleFirestoreAdminV1IndexConfigDeltaChangeType Source # 
Instance details

Defined in Network.Google.FireStore.Types.Sum

type Rep GoogleFirestoreAdminV1IndexConfigDeltaChangeType = D1 (MetaData "GoogleFirestoreAdminV1IndexConfigDeltaChangeType" "Network.Google.FireStore.Types.Sum" "gogol-firestore-0.5.0-7rr7qtRkAClEQRp7SbCbFR" False) (C1 (MetaCons "ChangeTypeUnspecified" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Add" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Remove" PrefixI False) (U1 :: Type -> Type)))

Status

data Status Source #

The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC. The error model is designed to be: - Simple to use and understand for most users - Flexible enough to meet unexpected needs # Overview The `Status` message contains three pieces of data: error code, error message, and error details. The error code should be an enum value of google.rpc.Code, but it may accept additional error codes if needed. The error message should be a developer-facing English message that helps developers *understand* and *resolve* the error. If a localized user-facing error message is needed, put the localized message in the error details or localize it in the client. The optional error details may contain arbitrary information about the error. There is a predefined set of error detail types in the package `google.rpc` that can be used for common error conditions. # Language mapping The `Status` message is the logical representation of the error model, but it is not necessarily the actual wire format. When the `Status` message is exposed in different client libraries and different wire protocols, it can be mapped differently. For example, it will likely be mapped to some exceptions in Java, but more likely mapped to some error codes in C. # Other uses The error model and the `Status` message can be used in a variety of environments, either with or without APIs, to provide a consistent developer experience across different environments. Example uses of this error model include: - Partial errors. If a service needs to return partial errors to the client, it may embed the `Status` in the normal response to indicate the partial errors. - Workflow errors. A typical workflow has multiple steps. Each step may have a `Status` message for error reporting. - Batch operations. If a client uses batch request and batch response, the `Status` message should be used directly inside batch response, one for each error sub-response. - Asynchronous operations. If an API call embeds asynchronous operation results in its response, the status of those operations should be represented directly using the `Status` message. - Logging. If some API errors are stored in logs, the message `Status` could be used directly after any stripping needed for security/privacy reasons.

See: status smart constructor.

Instances
Eq Status Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Methods

(==) :: Status -> Status -> Bool #

(/=) :: Status -> Status -> Bool #

Data Status Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Status -> c Status #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Status #

toConstr :: Status -> Constr #

dataTypeOf :: Status -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Status) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Status) #

gmapT :: (forall b. Data b => b -> b) -> Status -> Status #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Status -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Status -> r #

gmapQ :: (forall d. Data d => d -> u) -> Status -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Status -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Status -> m Status #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Status -> m Status #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Status -> m Status #

Show Status Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Generic Status Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Associated Types

type Rep Status :: Type -> Type #

Methods

from :: Status -> Rep Status x #

to :: Rep Status x -> Status #

ToJSON Status Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

FromJSON Status Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

type Rep Status Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

type Rep Status = D1 (MetaData "Status" "Network.Google.FireStore.Types.Product" "gogol-firestore-0.5.0-7rr7qtRkAClEQRp7SbCbFR" False) (C1 (MetaCons "Status'" PrefixI True) (S1 (MetaSel (Just "_sDetails") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [StatusDetailsItem])) :*: (S1 (MetaSel (Just "_sCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_sMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

status :: Status Source #

Creates a value of Status with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

sDetails :: Lens' Status [StatusDetailsItem] Source #

A list of messages that carry the error details. There is a common set of message types for APIs to use.

sCode :: Lens' Status (Maybe Int32) Source #

The status code, which should be an enum value of google.rpc.Code.

sMessage :: Lens' Status (Maybe Text) Source #

A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.

GoogleLongrunningOperationMetadata

data GoogleLongrunningOperationMetadata Source #

Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.

See: googleLongrunningOperationMetadata smart constructor.

Instances
Eq GoogleLongrunningOperationMetadata Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Data GoogleLongrunningOperationMetadata Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GoogleLongrunningOperationMetadata -> c GoogleLongrunningOperationMetadata #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GoogleLongrunningOperationMetadata #

toConstr :: GoogleLongrunningOperationMetadata -> Constr #

dataTypeOf :: GoogleLongrunningOperationMetadata -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GoogleLongrunningOperationMetadata) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GoogleLongrunningOperationMetadata) #

gmapT :: (forall b. Data b => b -> b) -> GoogleLongrunningOperationMetadata -> GoogleLongrunningOperationMetadata #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GoogleLongrunningOperationMetadata -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GoogleLongrunningOperationMetadata -> r #

gmapQ :: (forall d. Data d => d -> u) -> GoogleLongrunningOperationMetadata -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GoogleLongrunningOperationMetadata -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GoogleLongrunningOperationMetadata -> m GoogleLongrunningOperationMetadata #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GoogleLongrunningOperationMetadata -> m GoogleLongrunningOperationMetadata #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GoogleLongrunningOperationMetadata -> m GoogleLongrunningOperationMetadata #

Show GoogleLongrunningOperationMetadata Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Generic GoogleLongrunningOperationMetadata Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Associated Types

type Rep GoogleLongrunningOperationMetadata :: Type -> Type #

ToJSON GoogleLongrunningOperationMetadata Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

FromJSON GoogleLongrunningOperationMetadata Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

type Rep GoogleLongrunningOperationMetadata Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

type Rep GoogleLongrunningOperationMetadata = D1 (MetaData "GoogleLongrunningOperationMetadata" "Network.Google.FireStore.Types.Product" "gogol-firestore-0.5.0-7rr7qtRkAClEQRp7SbCbFR" True) (C1 (MetaCons "GoogleLongrunningOperationMetadata'" PrefixI True) (S1 (MetaSel (Just "_glomAddtional") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (HashMap Text JSONValue))))

googleLongrunningOperationMetadata Source #

Creates a value of GoogleLongrunningOperationMetadata with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

glomAddtional :: Lens' GoogleLongrunningOperationMetadata (HashMap Text JSONValue) Source #

Properties of the object. Contains field 'type with type URL.

Precondition

data Precondition Source #

A precondition on a document, used for conditional operations.

See: precondition smart constructor.

Instances
Eq Precondition Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Data Precondition Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Precondition -> c Precondition #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Precondition #

toConstr :: Precondition -> Constr #

dataTypeOf :: Precondition -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Precondition) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Precondition) #

gmapT :: (forall b. Data b => b -> b) -> Precondition -> Precondition #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Precondition -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Precondition -> r #

gmapQ :: (forall d. Data d => d -> u) -> Precondition -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Precondition -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Precondition -> m Precondition #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Precondition -> m Precondition #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Precondition -> m Precondition #

Show Precondition Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Generic Precondition Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Associated Types

type Rep Precondition :: Type -> Type #

ToJSON Precondition Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

FromJSON Precondition Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

type Rep Precondition Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

type Rep Precondition = D1 (MetaData "Precondition" "Network.Google.FireStore.Types.Product" "gogol-firestore-0.5.0-7rr7qtRkAClEQRp7SbCbFR" False) (C1 (MetaCons "Precondition'" PrefixI True) (S1 (MetaSel (Just "_pExists") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_pUpdateTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime'))))

precondition :: Precondition Source #

Creates a value of Precondition with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

pExists :: Lens' Precondition (Maybe Bool) Source #

When set to `true`, the target document must exist. When set to `false`, the target document must not exist.

pUpdateTime :: Lens' Precondition (Maybe UTCTime) Source #

When set, the target document must exist and have been last updated at that time.

ReadWrite

data ReadWrite Source #

Options for a transaction that can be used to read and write documents.

See: readWrite smart constructor.

Instances
Eq ReadWrite Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Data ReadWrite Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ReadWrite -> c ReadWrite #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ReadWrite #

toConstr :: ReadWrite -> Constr #

dataTypeOf :: ReadWrite -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ReadWrite) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ReadWrite) #

gmapT :: (forall b. Data b => b -> b) -> ReadWrite -> ReadWrite #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ReadWrite -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ReadWrite -> r #

gmapQ :: (forall d. Data d => d -> u) -> ReadWrite -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ReadWrite -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ReadWrite -> m ReadWrite #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ReadWrite -> m ReadWrite #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ReadWrite -> m ReadWrite #

Show ReadWrite Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Generic ReadWrite Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Associated Types

type Rep ReadWrite :: Type -> Type #

ToJSON ReadWrite Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

FromJSON ReadWrite Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

type Rep ReadWrite Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

type Rep ReadWrite = D1 (MetaData "ReadWrite" "Network.Google.FireStore.Types.Product" "gogol-firestore-0.5.0-7rr7qtRkAClEQRp7SbCbFR" True) (C1 (MetaCons "ReadWrite'" PrefixI True) (S1 (MetaSel (Just "_rwRetryTransaction") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Bytes))))

readWrite :: ReadWrite Source #

Creates a value of ReadWrite with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

rwRetryTransaction :: Lens' ReadWrite (Maybe ByteString) Source #

An optional transaction to retry.

RollbackRequest

data RollbackRequest Source #

The request for Firestore.Rollback.

See: rollbackRequest smart constructor.

Instances
Eq RollbackRequest Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Data RollbackRequest Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> RollbackRequest -> c RollbackRequest #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c RollbackRequest #

toConstr :: RollbackRequest -> Constr #

dataTypeOf :: RollbackRequest -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c RollbackRequest) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c RollbackRequest) #

gmapT :: (forall b. Data b => b -> b) -> RollbackRequest -> RollbackRequest #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> RollbackRequest -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> RollbackRequest -> r #

gmapQ :: (forall d. Data d => d -> u) -> RollbackRequest -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> RollbackRequest -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> RollbackRequest -> m RollbackRequest #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> RollbackRequest -> m RollbackRequest #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> RollbackRequest -> m RollbackRequest #

Show RollbackRequest Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Generic RollbackRequest Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Associated Types

type Rep RollbackRequest :: Type -> Type #

ToJSON RollbackRequest Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

FromJSON RollbackRequest Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

type Rep RollbackRequest Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

type Rep RollbackRequest = D1 (MetaData "RollbackRequest" "Network.Google.FireStore.Types.Product" "gogol-firestore-0.5.0-7rr7qtRkAClEQRp7SbCbFR" True) (C1 (MetaCons "RollbackRequest'" PrefixI True) (S1 (MetaSel (Just "_rrTransaction") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Bytes))))

rollbackRequest :: RollbackRequest Source #

Creates a value of RollbackRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

rrTransaction :: Lens' RollbackRequest (Maybe ByteString) Source #

The transaction to roll back.

GoogleFirestoreAdminV1ExportDocumentsRequest

data GoogleFirestoreAdminV1ExportDocumentsRequest Source #

The request for FirestoreAdmin.ExportDocuments.

See: googleFirestoreAdminV1ExportDocumentsRequest smart constructor.

Instances
Eq GoogleFirestoreAdminV1ExportDocumentsRequest Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Data GoogleFirestoreAdminV1ExportDocumentsRequest Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GoogleFirestoreAdminV1ExportDocumentsRequest -> c GoogleFirestoreAdminV1ExportDocumentsRequest #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GoogleFirestoreAdminV1ExportDocumentsRequest #

toConstr :: GoogleFirestoreAdminV1ExportDocumentsRequest -> Constr #

dataTypeOf :: GoogleFirestoreAdminV1ExportDocumentsRequest -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GoogleFirestoreAdminV1ExportDocumentsRequest) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GoogleFirestoreAdminV1ExportDocumentsRequest) #

gmapT :: (forall b. Data b => b -> b) -> GoogleFirestoreAdminV1ExportDocumentsRequest -> GoogleFirestoreAdminV1ExportDocumentsRequest #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GoogleFirestoreAdminV1ExportDocumentsRequest -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GoogleFirestoreAdminV1ExportDocumentsRequest -> r #

gmapQ :: (forall d. Data d => d -> u) -> GoogleFirestoreAdminV1ExportDocumentsRequest -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GoogleFirestoreAdminV1ExportDocumentsRequest -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GoogleFirestoreAdminV1ExportDocumentsRequest -> m GoogleFirestoreAdminV1ExportDocumentsRequest #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GoogleFirestoreAdminV1ExportDocumentsRequest -> m GoogleFirestoreAdminV1ExportDocumentsRequest #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GoogleFirestoreAdminV1ExportDocumentsRequest -> m GoogleFirestoreAdminV1ExportDocumentsRequest #

Show GoogleFirestoreAdminV1ExportDocumentsRequest Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Generic GoogleFirestoreAdminV1ExportDocumentsRequest Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

ToJSON GoogleFirestoreAdminV1ExportDocumentsRequest Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

FromJSON GoogleFirestoreAdminV1ExportDocumentsRequest Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

type Rep GoogleFirestoreAdminV1ExportDocumentsRequest Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

type Rep GoogleFirestoreAdminV1ExportDocumentsRequest = D1 (MetaData "GoogleFirestoreAdminV1ExportDocumentsRequest" "Network.Google.FireStore.Types.Product" "gogol-firestore-0.5.0-7rr7qtRkAClEQRp7SbCbFR" False) (C1 (MetaCons "GoogleFirestoreAdminV1ExportDocumentsRequest'" PrefixI True) (S1 (MetaSel (Just "_gfavedrCollectionIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "_gfavedrOutputURIPrefix") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))

googleFirestoreAdminV1ExportDocumentsRequest :: GoogleFirestoreAdminV1ExportDocumentsRequest Source #

Creates a value of GoogleFirestoreAdminV1ExportDocumentsRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

gfavedrCollectionIds :: Lens' GoogleFirestoreAdminV1ExportDocumentsRequest [Text] Source #

Which collection ids to export. Unspecified means all collections.

gfavedrOutputURIPrefix :: Lens' GoogleFirestoreAdminV1ExportDocumentsRequest (Maybe Text) Source #

The output URI. Currently only supports Google Cloud Storage URIs of the form: `gs://BUCKET_NAME[/NAMESPACE_PATH]`, where `BUCKET_NAME` is the name of the Google Cloud Storage bucket and `NAMESPACE_PATH` is an optional Google Cloud Storage namespace path. When choosing a name, be sure to consider Google Cloud Storage naming guidelines: https://cloud.google.com/storage/docs/naming. If the URI is a bucket (without a namespace path), a prefix will be generated based on the start time.

TargetChange

data TargetChange Source #

Targets being watched have changed.

See: targetChange smart constructor.

Instances
Eq TargetChange Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Data TargetChange Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TargetChange -> c TargetChange #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TargetChange #

toConstr :: TargetChange -> Constr #

dataTypeOf :: TargetChange -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TargetChange) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TargetChange) #

gmapT :: (forall b. Data b => b -> b) -> TargetChange -> TargetChange #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TargetChange -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TargetChange -> r #

gmapQ :: (forall d. Data d => d -> u) -> TargetChange -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> TargetChange -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> TargetChange -> m TargetChange #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TargetChange -> m TargetChange #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TargetChange -> m TargetChange #

Show TargetChange Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Generic TargetChange Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Associated Types

type Rep TargetChange :: Type -> Type #

ToJSON TargetChange Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

FromJSON TargetChange Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

type Rep TargetChange Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

type Rep TargetChange = D1 (MetaData "TargetChange" "Network.Google.FireStore.Types.Product" "gogol-firestore-0.5.0-7rr7qtRkAClEQRp7SbCbFR" False) (C1 (MetaCons "TargetChange'" PrefixI True) ((S1 (MetaSel (Just "_tcReadTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime')) :*: S1 (MetaSel (Just "_tcResumeToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bytes))) :*: (S1 (MetaSel (Just "_tcCause") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Status)) :*: (S1 (MetaSel (Just "_tcTargetChangeType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe TargetChangeTargetChangeType)) :*: S1 (MetaSel (Just "_tcTargetIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Textual Int32]))))))

targetChange :: TargetChange Source #

Creates a value of TargetChange with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

tcReadTime :: Lens' TargetChange (Maybe UTCTime) Source #

The consistent `read_time` for the given `target_ids` (omitted when the target_ids are not at a consistent snapshot). The stream is guaranteed to send a `read_time` with `target_ids` empty whenever the entire stream reaches a new consistent snapshot. ADD, CURRENT, and RESET messages are guaranteed to (eventually) result in a new consistent snapshot (while NO_CHANGE and REMOVE messages are not). For a given stream, `read_time` is guaranteed to be monotonically increasing.

tcResumeToken :: Lens' TargetChange (Maybe ByteString) Source #

A token that can be used to resume the stream for the given `target_ids`, or all targets if `target_ids` is empty. Not set on every target change.

tcCause :: Lens' TargetChange (Maybe Status) Source #

The error that resulted in this change, if applicable.

tcTargetIds :: Lens' TargetChange [Int32] Source #

The target IDs of targets that have changed. If empty, the change applies to all targets. For `target_change_type=ADD`, the order of the target IDs matches the order of the requests to add the targets. This allows clients to unambiguously associate server-assigned target IDs with added targets. For other states, the order of the target IDs is not defined.

ListLocationsResponse

data ListLocationsResponse Source #

The response message for Locations.ListLocations.

See: listLocationsResponse smart constructor.

Instances
Eq ListLocationsResponse Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Data ListLocationsResponse Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListLocationsResponse -> c ListLocationsResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListLocationsResponse #

toConstr :: ListLocationsResponse -> Constr #

dataTypeOf :: ListLocationsResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ListLocationsResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListLocationsResponse) #

gmapT :: (forall b. Data b => b -> b) -> ListLocationsResponse -> ListLocationsResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListLocationsResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListLocationsResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListLocationsResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListLocationsResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListLocationsResponse -> m ListLocationsResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListLocationsResponse -> m ListLocationsResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListLocationsResponse -> m ListLocationsResponse #

Show ListLocationsResponse Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Generic ListLocationsResponse Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Associated Types

type Rep ListLocationsResponse :: Type -> Type #

ToJSON ListLocationsResponse Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

FromJSON ListLocationsResponse Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

type Rep ListLocationsResponse Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

type Rep ListLocationsResponse = D1 (MetaData "ListLocationsResponse" "Network.Google.FireStore.Types.Product" "gogol-firestore-0.5.0-7rr7qtRkAClEQRp7SbCbFR" False) (C1 (MetaCons "ListLocationsResponse'" PrefixI True) (S1 (MetaSel (Just "_llrNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_llrLocations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Location]))))

listLocationsResponse :: ListLocationsResponse Source #

Creates a value of ListLocationsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

llrNextPageToken :: Lens' ListLocationsResponse (Maybe Text) Source #

The standard List next-page token.

llrLocations :: Lens' ListLocationsResponse [Location] Source #

A list of locations that matches the specified filter in the request.

GoogleFirestoreAdminV1IndexState

data GoogleFirestoreAdminV1IndexState Source #

Output only. The serving state of the index.

Constructors

StateUnspecified

STATE_UNSPECIFIED The state is unspecified.

Creating

CREATING The index is being created. There is an active long-running operation for the index. The index is updated when writing a document. Some index data may exist.

Ready

READY The index is ready to be used. The index is updated when writing a document. The index is fully populated from all stored documents it applies to.

NeedsRepair

NEEDS_REPAIR The index was being created, but something went wrong. There is no active long-running operation for the index, and the most recently finished long-running operation failed. The index is not updated when writing a document. Some index data may exist. Use the google.longrunning.Operations API to determine why the operation that last attempted to create this index failed, then re-create the index.

Instances
Enum GoogleFirestoreAdminV1IndexState Source # 
Instance details

Defined in Network.Google.FireStore.Types.Sum

Eq GoogleFirestoreAdminV1IndexState Source # 
Instance details

Defined in Network.Google.FireStore.Types.Sum

Data GoogleFirestoreAdminV1IndexState Source # 
Instance details

Defined in Network.Google.FireStore.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GoogleFirestoreAdminV1IndexState -> c GoogleFirestoreAdminV1IndexState #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GoogleFirestoreAdminV1IndexState #

toConstr :: GoogleFirestoreAdminV1IndexState -> Constr #

dataTypeOf :: GoogleFirestoreAdminV1IndexState -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GoogleFirestoreAdminV1IndexState) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GoogleFirestoreAdminV1IndexState) #

gmapT :: (forall b. Data b => b -> b) -> GoogleFirestoreAdminV1IndexState -> GoogleFirestoreAdminV1IndexState #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GoogleFirestoreAdminV1IndexState -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GoogleFirestoreAdminV1IndexState -> r #

gmapQ :: (forall d. Data d => d -> u) -> GoogleFirestoreAdminV1IndexState -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GoogleFirestoreAdminV1IndexState -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GoogleFirestoreAdminV1IndexState -> m GoogleFirestoreAdminV1IndexState #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GoogleFirestoreAdminV1IndexState -> m GoogleFirestoreAdminV1IndexState #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GoogleFirestoreAdminV1IndexState -> m GoogleFirestoreAdminV1IndexState #

Ord GoogleFirestoreAdminV1IndexState Source # 
Instance details

Defined in Network.Google.FireStore.Types.Sum

Read GoogleFirestoreAdminV1IndexState Source # 
Instance details

Defined in Network.Google.FireStore.Types.Sum

Show GoogleFirestoreAdminV1IndexState Source # 
Instance details

Defined in Network.Google.FireStore.Types.Sum

Generic GoogleFirestoreAdminV1IndexState Source # 
Instance details

Defined in Network.Google.FireStore.Types.Sum

Associated Types

type Rep GoogleFirestoreAdminV1IndexState :: Type -> Type #

Hashable GoogleFirestoreAdminV1IndexState Source # 
Instance details

Defined in Network.Google.FireStore.Types.Sum

ToJSON GoogleFirestoreAdminV1IndexState Source # 
Instance details

Defined in Network.Google.FireStore.Types.Sum

FromJSON GoogleFirestoreAdminV1IndexState Source # 
Instance details

Defined in Network.Google.FireStore.Types.Sum

FromHttpApiData GoogleFirestoreAdminV1IndexState Source # 
Instance details

Defined in Network.Google.FireStore.Types.Sum

ToHttpApiData GoogleFirestoreAdminV1IndexState Source # 
Instance details

Defined in Network.Google.FireStore.Types.Sum

type Rep GoogleFirestoreAdminV1IndexState Source # 
Instance details

Defined in Network.Google.FireStore.Types.Sum

type Rep GoogleFirestoreAdminV1IndexState = D1 (MetaData "GoogleFirestoreAdminV1IndexState" "Network.Google.FireStore.Types.Sum" "gogol-firestore-0.5.0-7rr7qtRkAClEQRp7SbCbFR" False) ((C1 (MetaCons "StateUnspecified" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Creating" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "Ready" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "NeedsRepair" PrefixI False) (U1 :: Type -> Type)))

CompositeFilterOp

data CompositeFilterOp Source #

The operator for combining multiple filters.

Constructors

OperatorUnspecified

OPERATOR_UNSPECIFIED Unspecified. This value must not be used.

And

AND The results are required to satisfy each of the combined filters.

Instances
Enum CompositeFilterOp Source # 
Instance details

Defined in Network.Google.FireStore.Types.Sum

Eq CompositeFilterOp Source # 
Instance details

Defined in Network.Google.FireStore.Types.Sum

Data CompositeFilterOp Source # 
Instance details

Defined in Network.Google.FireStore.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CompositeFilterOp -> c CompositeFilterOp #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CompositeFilterOp #

toConstr :: CompositeFilterOp -> Constr #

dataTypeOf :: CompositeFilterOp -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CompositeFilterOp) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CompositeFilterOp) #

gmapT :: (forall b. Data b => b -> b) -> CompositeFilterOp -> CompositeFilterOp #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CompositeFilterOp -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CompositeFilterOp -> r #

gmapQ :: (forall d. Data d => d -> u) -> CompositeFilterOp -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CompositeFilterOp -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CompositeFilterOp -> m CompositeFilterOp #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CompositeFilterOp -> m CompositeFilterOp #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CompositeFilterOp -> m CompositeFilterOp #

Ord CompositeFilterOp Source # 
Instance details

Defined in Network.Google.FireStore.Types.Sum

Read CompositeFilterOp Source # 
Instance details

Defined in Network.Google.FireStore.Types.Sum

Show CompositeFilterOp Source # 
Instance details

Defined in Network.Google.FireStore.Types.Sum

Generic CompositeFilterOp Source # 
Instance details

Defined in Network.Google.FireStore.Types.Sum

Associated Types

type Rep CompositeFilterOp :: Type -> Type #

Hashable CompositeFilterOp Source # 
Instance details

Defined in Network.Google.FireStore.Types.Sum

ToJSON CompositeFilterOp Source # 
Instance details

Defined in Network.Google.FireStore.Types.Sum

FromJSON CompositeFilterOp Source # 
Instance details

Defined in Network.Google.FireStore.Types.Sum

FromHttpApiData CompositeFilterOp Source # 
Instance details

Defined in Network.Google.FireStore.Types.Sum

ToHttpApiData CompositeFilterOp Source # 
Instance details

Defined in Network.Google.FireStore.Types.Sum

type Rep CompositeFilterOp Source # 
Instance details

Defined in Network.Google.FireStore.Types.Sum

type Rep CompositeFilterOp = D1 (MetaData "CompositeFilterOp" "Network.Google.FireStore.Types.Sum" "gogol-firestore-0.5.0-7rr7qtRkAClEQRp7SbCbFR" False) (C1 (MetaCons "OperatorUnspecified" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "And" PrefixI False) (U1 :: Type -> Type))

Cursor

data Cursor Source #

A position in a query result set.

See: cursor smart constructor.

Instances
Eq Cursor Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Methods

(==) :: Cursor -> Cursor -> Bool #

(/=) :: Cursor -> Cursor -> Bool #

Data Cursor Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Cursor -> c Cursor #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Cursor #

toConstr :: Cursor -> Constr #

dataTypeOf :: Cursor -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Cursor) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Cursor) #

gmapT :: (forall b. Data b => b -> b) -> Cursor -> Cursor #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Cursor -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Cursor -> r #

gmapQ :: (forall d. Data d => d -> u) -> Cursor -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Cursor -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Cursor -> m Cursor #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Cursor -> m Cursor #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Cursor -> m Cursor #

Show Cursor Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Generic Cursor Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Associated Types

type Rep Cursor :: Type -> Type #

Methods

from :: Cursor -> Rep Cursor x #

to :: Rep Cursor x -> Cursor #

ToJSON Cursor Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

FromJSON Cursor Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

type Rep Cursor Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

type Rep Cursor = D1 (MetaData "Cursor" "Network.Google.FireStore.Types.Product" "gogol-firestore-0.5.0-7rr7qtRkAClEQRp7SbCbFR" False) (C1 (MetaCons "Cursor'" PrefixI True) (S1 (MetaSel (Just "_cValues") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Value])) :*: S1 (MetaSel (Just "_cBefore") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))))

cursor :: Cursor Source #

Creates a value of Cursor with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

cValues :: Lens' Cursor [Value] Source #

The values that represent a position, in the order they appear in the order by clause of a query. Can contain fewer values than specified in the order by clause.

cBefore :: Lens' Cursor (Maybe Bool) Source #

If the position is just before or just after the given values, relative to the sort order defined by the query.

GoogleFirestoreAdminV1ImportDocumentsMetadata

data GoogleFirestoreAdminV1ImportDocumentsMetadata Source #

Metadata for google.longrunning.Operation results from FirestoreAdmin.ImportDocuments.

See: googleFirestoreAdminV1ImportDocumentsMetadata smart constructor.

Instances
Eq GoogleFirestoreAdminV1ImportDocumentsMetadata Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Data GoogleFirestoreAdminV1ImportDocumentsMetadata Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GoogleFirestoreAdminV1ImportDocumentsMetadata -> c GoogleFirestoreAdminV1ImportDocumentsMetadata #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GoogleFirestoreAdminV1ImportDocumentsMetadata #

toConstr :: GoogleFirestoreAdminV1ImportDocumentsMetadata -> Constr #

dataTypeOf :: GoogleFirestoreAdminV1ImportDocumentsMetadata -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GoogleFirestoreAdminV1ImportDocumentsMetadata) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GoogleFirestoreAdminV1ImportDocumentsMetadata) #

gmapT :: (forall b. Data b => b -> b) -> GoogleFirestoreAdminV1ImportDocumentsMetadata -> GoogleFirestoreAdminV1ImportDocumentsMetadata #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GoogleFirestoreAdminV1ImportDocumentsMetadata -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GoogleFirestoreAdminV1ImportDocumentsMetadata -> r #

gmapQ :: (forall d. Data d => d -> u) -> GoogleFirestoreAdminV1ImportDocumentsMetadata -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GoogleFirestoreAdminV1ImportDocumentsMetadata -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GoogleFirestoreAdminV1ImportDocumentsMetadata -> m GoogleFirestoreAdminV1ImportDocumentsMetadata #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GoogleFirestoreAdminV1ImportDocumentsMetadata -> m GoogleFirestoreAdminV1ImportDocumentsMetadata #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GoogleFirestoreAdminV1ImportDocumentsMetadata -> m GoogleFirestoreAdminV1ImportDocumentsMetadata #

Show GoogleFirestoreAdminV1ImportDocumentsMetadata Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Generic GoogleFirestoreAdminV1ImportDocumentsMetadata Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

ToJSON GoogleFirestoreAdminV1ImportDocumentsMetadata Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

FromJSON GoogleFirestoreAdminV1ImportDocumentsMetadata Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

type Rep GoogleFirestoreAdminV1ImportDocumentsMetadata Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

type Rep GoogleFirestoreAdminV1ImportDocumentsMetadata = D1 (MetaData "GoogleFirestoreAdminV1ImportDocumentsMetadata" "Network.Google.FireStore.Types.Product" "gogol-firestore-0.5.0-7rr7qtRkAClEQRp7SbCbFR" False) (C1 (MetaCons "GoogleFirestoreAdminV1ImportDocumentsMetadata'" PrefixI True) ((S1 (MetaSel (Just "_gfavidmProgressBytes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GoogleFirestoreAdminV1Progress)) :*: (S1 (MetaSel (Just "_gfavidmStartTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime')) :*: S1 (MetaSel (Just "_gfavidmInputURIPrefix") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_gfavidmCollectionIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "_gfavidmProgressDocuments") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GoogleFirestoreAdminV1Progress))) :*: (S1 (MetaSel (Just "_gfavidmEndTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime')) :*: S1 (MetaSel (Just "_gfavidmOperationState") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GoogleFirestoreAdminV1ImportDocumentsMetadataOperationState))))))

gfavidmEndTime :: Lens' GoogleFirestoreAdminV1ImportDocumentsMetadata (Maybe UTCTime) Source #

The time this operation completed. Will be unset if operation still in progress.

BeginTransactionRequest

data BeginTransactionRequest Source #

The request for Firestore.BeginTransaction.

See: beginTransactionRequest smart constructor.

Instances
Eq BeginTransactionRequest Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Data BeginTransactionRequest Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> BeginTransactionRequest -> c BeginTransactionRequest #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c BeginTransactionRequest #

toConstr :: BeginTransactionRequest -> Constr #

dataTypeOf :: BeginTransactionRequest -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c BeginTransactionRequest) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c BeginTransactionRequest) #

gmapT :: (forall b. Data b => b -> b) -> BeginTransactionRequest -> BeginTransactionRequest #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> BeginTransactionRequest -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> BeginTransactionRequest -> r #

gmapQ :: (forall d. Data d => d -> u) -> BeginTransactionRequest -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> BeginTransactionRequest -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> BeginTransactionRequest -> m BeginTransactionRequest #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> BeginTransactionRequest -> m BeginTransactionRequest #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> BeginTransactionRequest -> m BeginTransactionRequest #

Show BeginTransactionRequest Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Generic BeginTransactionRequest Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Associated Types

type Rep BeginTransactionRequest :: Type -> Type #

ToJSON BeginTransactionRequest Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

FromJSON BeginTransactionRequest Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

type Rep BeginTransactionRequest Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

type Rep BeginTransactionRequest = D1 (MetaData "BeginTransactionRequest" "Network.Google.FireStore.Types.Product" "gogol-firestore-0.5.0-7rr7qtRkAClEQRp7SbCbFR" True) (C1 (MetaCons "BeginTransactionRequest'" PrefixI True) (S1 (MetaSel (Just "_btrOptions") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe TransactionOptions))))

beginTransactionRequest :: BeginTransactionRequest Source #

Creates a value of BeginTransactionRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

btrOptions :: Lens' BeginTransactionRequest (Maybe TransactionOptions) Source #

The options for the transaction. Defaults to a read-write transaction.

RunQueryRequest

data RunQueryRequest Source #

The request for Firestore.RunQuery.

See: runQueryRequest smart constructor.

Instances
Eq RunQueryRequest Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Data RunQueryRequest Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> RunQueryRequest -> c RunQueryRequest #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c RunQueryRequest #

toConstr :: RunQueryRequest -> Constr #

dataTypeOf :: RunQueryRequest -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c RunQueryRequest) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c RunQueryRequest) #

gmapT :: (forall b. Data b => b -> b) -> RunQueryRequest -> RunQueryRequest #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> RunQueryRequest -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> RunQueryRequest -> r #

gmapQ :: (forall d. Data d => d -> u) -> RunQueryRequest -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> RunQueryRequest -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> RunQueryRequest -> m RunQueryRequest #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> RunQueryRequest -> m RunQueryRequest #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> RunQueryRequest -> m RunQueryRequest #

Show RunQueryRequest Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Generic RunQueryRequest Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Associated Types

type Rep RunQueryRequest :: Type -> Type #

ToJSON RunQueryRequest Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

FromJSON RunQueryRequest Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

type Rep RunQueryRequest Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

type Rep RunQueryRequest = D1 (MetaData "RunQueryRequest" "Network.Google.FireStore.Types.Product" "gogol-firestore-0.5.0-7rr7qtRkAClEQRp7SbCbFR" False) (C1 (MetaCons "RunQueryRequest'" PrefixI True) ((S1 (MetaSel (Just "_rqrReadTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime')) :*: S1 (MetaSel (Just "_rqrNewTransaction") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe TransactionOptions))) :*: (S1 (MetaSel (Just "_rqrStructuredQuery") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe StructuredQuery)) :*: S1 (MetaSel (Just "_rqrTransaction") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bytes)))))

runQueryRequest :: RunQueryRequest Source #

Creates a value of RunQueryRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

rqrReadTime :: Lens' RunQueryRequest (Maybe UTCTime) Source #

Reads documents as they were at the given time. This may not be older than 60 seconds.

rqrNewTransaction :: Lens' RunQueryRequest (Maybe TransactionOptions) Source #

Starts a new transaction and reads the documents. Defaults to a read-only transaction. The new transaction ID will be returned as the first response in the stream.

rqrTransaction :: Lens' RunQueryRequest (Maybe ByteString) Source #

Reads documents in a transaction.

GoogleFirestoreAdminV1IndexConfigDelta

data GoogleFirestoreAdminV1IndexConfigDelta Source #

Information about an index configuration change.

See: googleFirestoreAdminV1IndexConfigDelta smart constructor.

Instances
Eq GoogleFirestoreAdminV1IndexConfigDelta Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Data GoogleFirestoreAdminV1IndexConfigDelta Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GoogleFirestoreAdminV1IndexConfigDelta -> c GoogleFirestoreAdminV1IndexConfigDelta #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GoogleFirestoreAdminV1IndexConfigDelta #

toConstr :: GoogleFirestoreAdminV1IndexConfigDelta -> Constr #

dataTypeOf :: GoogleFirestoreAdminV1IndexConfigDelta -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GoogleFirestoreAdminV1IndexConfigDelta) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GoogleFirestoreAdminV1IndexConfigDelta) #

gmapT :: (forall b. Data b => b -> b) -> GoogleFirestoreAdminV1IndexConfigDelta -> GoogleFirestoreAdminV1IndexConfigDelta #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GoogleFirestoreAdminV1IndexConfigDelta -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GoogleFirestoreAdminV1IndexConfigDelta -> r #

gmapQ :: (forall d. Data d => d -> u) -> GoogleFirestoreAdminV1IndexConfigDelta -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GoogleFirestoreAdminV1IndexConfigDelta -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GoogleFirestoreAdminV1IndexConfigDelta -> m GoogleFirestoreAdminV1IndexConfigDelta #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GoogleFirestoreAdminV1IndexConfigDelta -> m GoogleFirestoreAdminV1IndexConfigDelta #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GoogleFirestoreAdminV1IndexConfigDelta -> m GoogleFirestoreAdminV1IndexConfigDelta #

Show GoogleFirestoreAdminV1IndexConfigDelta Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Generic GoogleFirestoreAdminV1IndexConfigDelta Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

ToJSON GoogleFirestoreAdminV1IndexConfigDelta Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

FromJSON GoogleFirestoreAdminV1IndexConfigDelta Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

type Rep GoogleFirestoreAdminV1IndexConfigDelta Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

type Rep GoogleFirestoreAdminV1IndexConfigDelta = D1 (MetaData "GoogleFirestoreAdminV1IndexConfigDelta" "Network.Google.FireStore.Types.Product" "gogol-firestore-0.5.0-7rr7qtRkAClEQRp7SbCbFR" False) (C1 (MetaCons "GoogleFirestoreAdminV1IndexConfigDelta'" PrefixI True) (S1 (MetaSel (Just "_gfavicdIndex") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GoogleFirestoreAdminV1Index)) :*: S1 (MetaSel (Just "_gfavicdChangeType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GoogleFirestoreAdminV1IndexConfigDeltaChangeType))))

googleFirestoreAdminV1IndexConfigDelta :: GoogleFirestoreAdminV1IndexConfigDelta Source #

Creates a value of GoogleFirestoreAdminV1IndexConfigDelta with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

GoogleFirestoreAdminV1IndexConfig

data GoogleFirestoreAdminV1IndexConfig Source #

The index configuration for this field.

See: googleFirestoreAdminV1IndexConfig smart constructor.

Instances
Eq GoogleFirestoreAdminV1IndexConfig Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Data GoogleFirestoreAdminV1IndexConfig Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GoogleFirestoreAdminV1IndexConfig -> c GoogleFirestoreAdminV1IndexConfig #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GoogleFirestoreAdminV1IndexConfig #

toConstr :: GoogleFirestoreAdminV1IndexConfig -> Constr #

dataTypeOf :: GoogleFirestoreAdminV1IndexConfig -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GoogleFirestoreAdminV1IndexConfig) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GoogleFirestoreAdminV1IndexConfig) #

gmapT :: (forall b. Data b => b -> b) -> GoogleFirestoreAdminV1IndexConfig -> GoogleFirestoreAdminV1IndexConfig #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GoogleFirestoreAdminV1IndexConfig -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GoogleFirestoreAdminV1IndexConfig -> r #

gmapQ :: (forall d. Data d => d -> u) -> GoogleFirestoreAdminV1IndexConfig -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GoogleFirestoreAdminV1IndexConfig -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GoogleFirestoreAdminV1IndexConfig -> m GoogleFirestoreAdminV1IndexConfig #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GoogleFirestoreAdminV1IndexConfig -> m GoogleFirestoreAdminV1IndexConfig #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GoogleFirestoreAdminV1IndexConfig -> m GoogleFirestoreAdminV1IndexConfig #

Show GoogleFirestoreAdminV1IndexConfig Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Generic GoogleFirestoreAdminV1IndexConfig Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Associated Types

type Rep GoogleFirestoreAdminV1IndexConfig :: Type -> Type #

ToJSON GoogleFirestoreAdminV1IndexConfig Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

FromJSON GoogleFirestoreAdminV1IndexConfig Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

type Rep GoogleFirestoreAdminV1IndexConfig Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

type Rep GoogleFirestoreAdminV1IndexConfig = D1 (MetaData "GoogleFirestoreAdminV1IndexConfig" "Network.Google.FireStore.Types.Product" "gogol-firestore-0.5.0-7rr7qtRkAClEQRp7SbCbFR" False) (C1 (MetaCons "GoogleFirestoreAdminV1IndexConfig'" PrefixI True) ((S1 (MetaSel (Just "_gfavicAncestorField") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gfavicReverting") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 (MetaSel (Just "_gfavicIndexes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [GoogleFirestoreAdminV1Index])) :*: S1 (MetaSel (Just "_gfavicUsesAncestorConfig") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))))

googleFirestoreAdminV1IndexConfig :: GoogleFirestoreAdminV1IndexConfig Source #

Creates a value of GoogleFirestoreAdminV1IndexConfig with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

gfavicAncestorField :: Lens' GoogleFirestoreAdminV1IndexConfig (Maybe Text) Source #

Output only. Specifies the resource name of the `Field` from which this field's index configuration is set (when `uses_ancestor_config` is true), or from which it *would* be set if this field had no index configuration (when `uses_ancestor_config` is false).

gfavicReverting :: Lens' GoogleFirestoreAdminV1IndexConfig (Maybe Bool) Source #

Output only When true, the `Field`'s index configuration is in the process of being reverted. Once complete, the index config will transition to the same state as the field specified by `ancestor_field`, at which point `uses_ancestor_config` will be `true` and `reverting` will be `false`.

gfavicUsesAncestorConfig :: Lens' GoogleFirestoreAdminV1IndexConfig (Maybe Bool) Source #

Output only. When true, the `Field`'s index configuration is set from the configuration specified by the `ancestor_field`. When false, the `Field`'s index configuration is defined explicitly.

GoogleFirestoreAdminV1IndexField

data GoogleFirestoreAdminV1IndexField Source #

A field in an index. The field_path describes which field is indexed, the value_mode describes how the field value is indexed.

See: googleFirestoreAdminV1IndexField smart constructor.

Instances
Eq GoogleFirestoreAdminV1IndexField Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Data GoogleFirestoreAdminV1IndexField Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GoogleFirestoreAdminV1IndexField -> c GoogleFirestoreAdminV1IndexField #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GoogleFirestoreAdminV1IndexField #

toConstr :: GoogleFirestoreAdminV1IndexField -> Constr #

dataTypeOf :: GoogleFirestoreAdminV1IndexField -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GoogleFirestoreAdminV1IndexField) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GoogleFirestoreAdminV1IndexField) #

gmapT :: (forall b. Data b => b -> b) -> GoogleFirestoreAdminV1IndexField -> GoogleFirestoreAdminV1IndexField #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GoogleFirestoreAdminV1IndexField -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GoogleFirestoreAdminV1IndexField -> r #

gmapQ :: (forall d. Data d => d -> u) -> GoogleFirestoreAdminV1IndexField -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GoogleFirestoreAdminV1IndexField -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GoogleFirestoreAdminV1IndexField -> m GoogleFirestoreAdminV1IndexField #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GoogleFirestoreAdminV1IndexField -> m GoogleFirestoreAdminV1IndexField #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GoogleFirestoreAdminV1IndexField -> m GoogleFirestoreAdminV1IndexField #

Show GoogleFirestoreAdminV1IndexField Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Generic GoogleFirestoreAdminV1IndexField Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Associated Types

type Rep GoogleFirestoreAdminV1IndexField :: Type -> Type #

ToJSON GoogleFirestoreAdminV1IndexField Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

FromJSON GoogleFirestoreAdminV1IndexField Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

type Rep GoogleFirestoreAdminV1IndexField Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

type Rep GoogleFirestoreAdminV1IndexField = D1 (MetaData "GoogleFirestoreAdminV1IndexField" "Network.Google.FireStore.Types.Product" "gogol-firestore-0.5.0-7rr7qtRkAClEQRp7SbCbFR" False) (C1 (MetaCons "GoogleFirestoreAdminV1IndexField'" PrefixI True) (S1 (MetaSel (Just "_gfavifFieldPath") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_gfavifArrayConfig") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GoogleFirestoreAdminV1IndexFieldArrayConfig)) :*: S1 (MetaSel (Just "_gfavifOrder") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GoogleFirestoreAdminV1IndexFieldOrder)))))

googleFirestoreAdminV1IndexField :: GoogleFirestoreAdminV1IndexField Source #

Creates a value of GoogleFirestoreAdminV1IndexField with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

gfavifFieldPath :: Lens' GoogleFirestoreAdminV1IndexField (Maybe Text) Source #

Can be name. For single field indexes, this must match the name of the field or may be omitted.

gfavifArrayConfig :: Lens' GoogleFirestoreAdminV1IndexField (Maybe GoogleFirestoreAdminV1IndexFieldArrayConfig) Source #

Indicates that this field supports operations on `array_value`s.

gfavifOrder :: Lens' GoogleFirestoreAdminV1IndexField (Maybe GoogleFirestoreAdminV1IndexFieldOrder) Source #

Indicates that this field supports ordering by the specified order or comparing using =, <, <=, >, >=.

Write

data Write Source #

A write on a document.

See: write smart constructor.

Instances
Eq Write Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Methods

(==) :: Write -> Write -> Bool #

(/=) :: Write -> Write -> Bool #

Data Write Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Write -> c Write #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Write #

toConstr :: Write -> Constr #

dataTypeOf :: Write -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Write) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Write) #

gmapT :: (forall b. Data b => b -> b) -> Write -> Write #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Write -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Write -> r #

gmapQ :: (forall d. Data d => d -> u) -> Write -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Write -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Write -> m Write #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Write -> m Write #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Write -> m Write #

Show Write Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Methods

showsPrec :: Int -> Write -> ShowS #

show :: Write -> String #

showList :: [Write] -> ShowS #

Generic Write Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Associated Types

type Rep Write :: Type -> Type #

Methods

from :: Write -> Rep Write x #

to :: Rep Write x -> Write #

ToJSON Write Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

FromJSON Write Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

type Rep Write Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

write :: Write Source #

Creates a value of Write with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

wTransform :: Lens' Write (Maybe DocumentTransform) Source #

Applies a transformation to a document. At most one `transform` per document is allowed in a given request. An `update` cannot follow a `transform` on the same document in a given request.

wUpdateMask :: Lens' Write (Maybe DocumentMask) Source #

The fields to update in this write. This field can be set only when the operation is `update`. If the mask is not set for an `update` and the document exists, any existing data will be overwritten. If the mask is set and the document on the server has fields not covered by the mask, they are left unchanged. Fields referenced in the mask, but not present in the input document, are deleted from the document on the server. The field paths in this mask must not contain a reserved field name.

wCurrentDocument :: Lens' Write (Maybe Precondition) Source #

An optional precondition on the document. The write will fail if this is set and not met by the target document.

wDelete :: Lens' Write (Maybe Text) Source #

A document name to delete. In the format: `projects/{project_id}/databases/{database_id}/documents/{document_path}`.

wUpdate :: Lens' Write (Maybe Document) Source #

A document to write.

Location

data Location Source #

A resource that represents Google Cloud Platform location.

See: location smart constructor.

Instances
Eq Location Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Data Location Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Location -> c Location #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Location #

toConstr :: Location -> Constr #

dataTypeOf :: Location -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Location) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Location) #

gmapT :: (forall b. Data b => b -> b) -> Location -> Location #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Location -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Location -> r #

gmapQ :: (forall d. Data d => d -> u) -> Location -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Location -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Location -> m Location #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Location -> m Location #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Location -> m Location #

Show Location Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Generic Location Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Associated Types

type Rep Location :: Type -> Type #

Methods

from :: Location -> Rep Location x #

to :: Rep Location x -> Location #

ToJSON Location Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

FromJSON Location Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

type Rep Location Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

type Rep Location = D1 (MetaData "Location" "Network.Google.FireStore.Types.Product" "gogol-firestore-0.5.0-7rr7qtRkAClEQRp7SbCbFR" False) (C1 (MetaCons "Location'" PrefixI True) ((S1 (MetaSel (Just "_lName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lMetadata") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe LocationMetadata))) :*: (S1 (MetaSel (Just "_lDisplayName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_lLabels") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe LocationLabels)) :*: S1 (MetaSel (Just "_lLocationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

location :: Location Source #

Creates a value of Location with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

lName :: Lens' Location (Maybe Text) Source #

Resource name for the location, which may vary between implementations. For example: `"projects/example-project/locations/us-east1"`

lMetadata :: Lens' Location (Maybe LocationMetadata) Source #

Service-specific metadata. For example the available capacity at the given location.

lDisplayName :: Lens' Location (Maybe Text) Source #

The friendly name for this location, typically a nearby city name. For example, "Tokyo".

lLabels :: Lens' Location (Maybe LocationLabels) Source #

Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"}

lLocationId :: Lens' Location (Maybe Text) Source #

The canonical id for this location. For example: `"us-east1"`.

Empty

data Empty Source #

A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.

See: empty smart constructor.

Instances
Eq Empty Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Methods

(==) :: Empty -> Empty -> Bool #

(/=) :: Empty -> Empty -> Bool #

Data Empty Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Empty -> c Empty #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Empty #

toConstr :: Empty -> Constr #

dataTypeOf :: Empty -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Empty) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Empty) #

gmapT :: (forall b. Data b => b -> b) -> Empty -> Empty #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Empty -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Empty -> r #

gmapQ :: (forall d. Data d => d -> u) -> Empty -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Empty -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Empty -> m Empty #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Empty -> m Empty #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Empty -> m Empty #

Show Empty Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Methods

showsPrec :: Int -> Empty -> ShowS #

show :: Empty -> String #

showList :: [Empty] -> ShowS #

Generic Empty Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Associated Types

type Rep Empty :: Type -> Type #

Methods

from :: Empty -> Rep Empty x #

to :: Rep Empty x -> Empty #

ToJSON Empty Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

FromJSON Empty Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

type Rep Empty Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

type Rep Empty = D1 (MetaData "Empty" "Network.Google.FireStore.Types.Product" "gogol-firestore-0.5.0-7rr7qtRkAClEQRp7SbCbFR" False) (C1 (MetaCons "Empty'" PrefixI False) (U1 :: Type -> Type))

empty :: Empty Source #

Creates a value of Empty with the minimum fields required to make a request.

BatchGetDocumentsResponse

data BatchGetDocumentsResponse Source #

The streamed response for Firestore.BatchGetDocuments.

See: batchGetDocumentsResponse smart constructor.

Instances
Eq BatchGetDocumentsResponse Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Data BatchGetDocumentsResponse Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> BatchGetDocumentsResponse -> c BatchGetDocumentsResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c BatchGetDocumentsResponse #

toConstr :: BatchGetDocumentsResponse -> Constr #

dataTypeOf :: BatchGetDocumentsResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c BatchGetDocumentsResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c BatchGetDocumentsResponse) #

gmapT :: (forall b. Data b => b -> b) -> BatchGetDocumentsResponse -> BatchGetDocumentsResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> BatchGetDocumentsResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> BatchGetDocumentsResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> BatchGetDocumentsResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> BatchGetDocumentsResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> BatchGetDocumentsResponse -> m BatchGetDocumentsResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> BatchGetDocumentsResponse -> m BatchGetDocumentsResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> BatchGetDocumentsResponse -> m BatchGetDocumentsResponse #

Show BatchGetDocumentsResponse Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Generic BatchGetDocumentsResponse Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Associated Types

type Rep BatchGetDocumentsResponse :: Type -> Type #

ToJSON BatchGetDocumentsResponse Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

FromJSON BatchGetDocumentsResponse Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

type Rep BatchGetDocumentsResponse Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

type Rep BatchGetDocumentsResponse = D1 (MetaData "BatchGetDocumentsResponse" "Network.Google.FireStore.Types.Product" "gogol-firestore-0.5.0-7rr7qtRkAClEQRp7SbCbFR" False) (C1 (MetaCons "BatchGetDocumentsResponse'" PrefixI True) ((S1 (MetaSel (Just "_bgdrReadTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime')) :*: S1 (MetaSel (Just "_bgdrFound") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Document))) :*: (S1 (MetaSel (Just "_bgdrTransaction") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bytes)) :*: S1 (MetaSel (Just "_bgdrMissing") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

batchGetDocumentsResponse :: BatchGetDocumentsResponse Source #

Creates a value of BatchGetDocumentsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

bgdrReadTime :: Lens' BatchGetDocumentsResponse (Maybe UTCTime) Source #

The time at which the document was read. This may be monotically increasing, in this case the previous documents in the result stream are guaranteed not to have changed between their read_time and this one.

bgdrFound :: Lens' BatchGetDocumentsResponse (Maybe Document) Source #

A document that was requested.

bgdrTransaction :: Lens' BatchGetDocumentsResponse (Maybe ByteString) Source #

The transaction that was started as part of this request. Will only be set in the first response, and only if BatchGetDocumentsRequest.new_transaction was set in the request.

bgdrMissing :: Lens' BatchGetDocumentsResponse (Maybe Text) Source #

A document name that was requested but does not exist. In the format: `projects/{project_id}/databases/{database_id}/documents/{document_path}`.

CompositeFilter

data CompositeFilter Source #

A filter that merges multiple other filters using the given operator.

See: compositeFilter smart constructor.

Instances
Eq CompositeFilter Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Data CompositeFilter Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CompositeFilter -> c CompositeFilter #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CompositeFilter #

toConstr :: CompositeFilter -> Constr #

dataTypeOf :: CompositeFilter -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CompositeFilter) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CompositeFilter) #

gmapT :: (forall b. Data b => b -> b) -> CompositeFilter -> CompositeFilter #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CompositeFilter -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CompositeFilter -> r #

gmapQ :: (forall d. Data d => d -> u) -> CompositeFilter -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CompositeFilter -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CompositeFilter -> m CompositeFilter #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CompositeFilter -> m CompositeFilter #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CompositeFilter -> m CompositeFilter #

Show CompositeFilter Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Generic CompositeFilter Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Associated Types

type Rep CompositeFilter :: Type -> Type #

ToJSON CompositeFilter Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

FromJSON CompositeFilter Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

type Rep CompositeFilter Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

type Rep CompositeFilter = D1 (MetaData "CompositeFilter" "Network.Google.FireStore.Types.Product" "gogol-firestore-0.5.0-7rr7qtRkAClEQRp7SbCbFR" False) (C1 (MetaCons "CompositeFilter'" PrefixI True) (S1 (MetaSel (Just "_cfOp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe CompositeFilterOp)) :*: S1 (MetaSel (Just "_cfFilters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Filter]))))

compositeFilter :: CompositeFilter Source #

Creates a value of CompositeFilter with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

cfOp :: Lens' CompositeFilter (Maybe CompositeFilterOp) Source #

The operator for combining multiple filters.

cfFilters :: Lens' CompositeFilter [Filter] Source #

The list of filters to combine. Must contain at least one filter.

DocumentsTarget

data DocumentsTarget Source #

A target specified by a set of documents names.

See: documentsTarget smart constructor.

Instances
Eq DocumentsTarget Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Data DocumentsTarget Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DocumentsTarget -> c DocumentsTarget #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DocumentsTarget #

toConstr :: DocumentsTarget -> Constr #

dataTypeOf :: DocumentsTarget -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DocumentsTarget) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DocumentsTarget) #

gmapT :: (forall b. Data b => b -> b) -> DocumentsTarget -> DocumentsTarget #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DocumentsTarget -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DocumentsTarget -> r #

gmapQ :: (forall d. Data d => d -> u) -> DocumentsTarget -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DocumentsTarget -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DocumentsTarget -> m DocumentsTarget #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DocumentsTarget -> m DocumentsTarget #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DocumentsTarget -> m DocumentsTarget #

Show DocumentsTarget Source # 
Instance details

Defined in Network.Google.FireStore.Types.Product