Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
- Service Configuration
- OAuth Scopes
- API Declaration
- Resources
- datastore.projects.allocateIds
- datastore.projects.beginTransaction
- datastore.projects.commit
- datastore.projects.export
- datastore.projects.import
- datastore.projects.indexes.get
- datastore.projects.indexes.list
- datastore.projects.lookup
- datastore.projects.operations.cancel
- datastore.projects.operations.delete
- datastore.projects.operations.get
- datastore.projects.operations.list
- datastore.projects.reserveIds
- datastore.projects.rollback
- datastore.projects.runQuery
- Types
- LatLng
- TransactionOptions
- PropertyOrderDirection
- Status
- GoogleLongrunningOperationMetadata
- ReadWrite
- GoogleDatastoreAdminV1beta1ExportEntitiesResponse
- RollbackRequest
- ReserveIdsRequest
- PartitionId
- GoogleDatastoreAdminV1ListIndexesResponse
- QueryResultBatch
- CompositeFilterOp
- EntityProperties
- GoogleDatastoreAdminV1ImportEntitiesRequestLabels
- BeginTransactionRequest
- RunQueryRequest
- AllocateIdsRequest
- GoogleDatastoreAdminV1ExportEntitiesMetadata
- QueryResultBatchEntityResultType
- GoogleDatastoreAdminV1beta1CommonMetadata
- Empty
- CompositeFilter
- GoogleDatastoreAdminV1beta1CommonMetadataOperationType
- QueryResultBatchMoreResults
- GoogleDatastoreAdminV1IndexOperationMetadata
- GoogleDatastoreAdminV1beta1ImportEntitiesMetadata
- GoogleDatastoreAdminV1beta1Progress
- BeginTransactionResponse
- MutationResult
- AllocateIdsResponse
- GqlQuery
- RunQueryResponse
- GoogleDatastoreAdminV1ExportEntitiesRequestLabels
- GoogleDatastoreAdminV1CommonMetadataOperationType
- Value
- ValueNullValue
- GoogleDatastoreAdminV1IndexedPropertyDirection
- GoogleDatastoreAdminV1CommonMetadataLabels
- GoogleDatastoreAdminV1IndexAncestor
- StatusDetailsItem
- LookupRequest
- ReadOptionsReadConsistency
- GoogleDatastoreAdminV1CommonMetadata
- GoogleDatastoreAdminV1ExportEntitiesRequest
- Mutation
- GqlQueryNamedBindings
- GoogleDatastoreAdminV1ExportEntitiesResponse
- PropertyReference
- Key
- GoogleDatastoreAdminV1ImportEntitiesRequest
- GoogleDatastoreAdminV1IndexState
- PropertyFilter
- Query
- ArrayValue
- EntityResult
- Xgafv
- CommitResponse
- KindExpression
- GoogleLongrunningOperationResponse
- ReadOptions
- GoogleDatastoreAdminV1beta1CommonMetadataState
- GoogleDatastoreAdminV1EntityFilter
- RollbackResponse
- Projection
- ReserveIdsResponse
- Filter
- GoogleDatastoreAdminV1Index
- GoogleDatastoreAdminV1beta1CommonMetadataLabels
- PropertyFilterOp
- CommitRequest
- CommitRequestMode
- GoogleLongrunningListOperationsResponse
- GoogleDatastoreAdminV1ImportEntitiesMetadata
- GoogleDatastoreAdminV1Progress
- PathElement
- Entity
- GoogleDatastoreAdminV1beta1EntityFilter
- ReadOnly
- GoogleDatastoreAdminV1IndexedProperty
- LookupResponse
- GoogleLongrunningOperation
- PropertyOrder
- GoogleDatastoreAdminV1beta1ExportEntitiesMetadata
- GqlQueryParameter
- GoogleDatastoreAdminV1CommonMetadataState
Accesses the schemaless NoSQL database to provide fully managed, robust, scalable storage for your application.
Synopsis
- datastoreService :: ServiceConfig
- cloudPlatformScope :: Proxy '["https://www.googleapis.com/auth/cloud-platform"]
- datastoreScope :: Proxy '["https://www.googleapis.com/auth/datastore"]
- type DatastoreAPI = ProjectsIndexesListResource :<|> (ProjectsIndexesGetResource :<|> (ProjectsOperationsListResource :<|> (ProjectsOperationsGetResource :<|> (ProjectsOperationsCancelResource :<|> (ProjectsOperationsDeleteResource :<|> (ProjectsExportResource :<|> (ProjectsBeginTransactionResource :<|> (ProjectsAllocateIdsResource :<|> (ProjectsRunQueryResource :<|> (ProjectsRollbackResource :<|> (ProjectsReserveIdsResource :<|> (ProjectsLookupResource :<|> (ProjectsImportResource :<|> ProjectsCommitResource)))))))))))))
- module Network.Google.Resource.Datastore.Projects.AllocateIds
- module Network.Google.Resource.Datastore.Projects.BeginTransaction
- module Network.Google.Resource.Datastore.Projects.Commit
- module Network.Google.Resource.Datastore.Projects.Export
- module Network.Google.Resource.Datastore.Projects.Import
- module Network.Google.Resource.Datastore.Projects.Indexes.Get
- module Network.Google.Resource.Datastore.Projects.Indexes.List
- module Network.Google.Resource.Datastore.Projects.Lookup
- module Network.Google.Resource.Datastore.Projects.Operations.Cancel
- module Network.Google.Resource.Datastore.Projects.Operations.Delete
- module Network.Google.Resource.Datastore.Projects.Operations.Get
- module Network.Google.Resource.Datastore.Projects.Operations.List
- module Network.Google.Resource.Datastore.Projects.ReserveIds
- module Network.Google.Resource.Datastore.Projects.Rollback
- module Network.Google.Resource.Datastore.Projects.RunQuery
- data LatLng
- latLng :: LatLng
- llLatitude :: Lens' LatLng (Maybe Double)
- llLongitude :: Lens' LatLng (Maybe Double)
- data TransactionOptions
- transactionOptions :: TransactionOptions
- toReadWrite :: Lens' TransactionOptions (Maybe ReadWrite)
- toReadOnly :: Lens' TransactionOptions (Maybe ReadOnly)
- data PropertyOrderDirection
- data Status
- status :: Status
- sDetails :: Lens' Status [StatusDetailsItem]
- sCode :: Lens' Status (Maybe Int32)
- sMessage :: Lens' Status (Maybe Text)
- data GoogleLongrunningOperationMetadata
- googleLongrunningOperationMetadata :: HashMap Text JSONValue -> GoogleLongrunningOperationMetadata
- glomAddtional :: Lens' GoogleLongrunningOperationMetadata (HashMap Text JSONValue)
- data ReadWrite
- readWrite :: ReadWrite
- rwPreviousTransaction :: Lens' ReadWrite (Maybe ByteString)
- data GoogleDatastoreAdminV1beta1ExportEntitiesResponse
- googleDatastoreAdminV1beta1ExportEntitiesResponse :: GoogleDatastoreAdminV1beta1ExportEntitiesResponse
- gdaveerOutputURL :: Lens' GoogleDatastoreAdminV1beta1ExportEntitiesResponse (Maybe Text)
- data RollbackRequest
- rollbackRequest :: RollbackRequest
- rrTransaction :: Lens' RollbackRequest (Maybe ByteString)
- data ReserveIdsRequest
- reserveIdsRequest :: ReserveIdsRequest
- rirKeys :: Lens' ReserveIdsRequest [Key]
- rirDatabaseId :: Lens' ReserveIdsRequest (Maybe Text)
- data PartitionId
- partitionId :: PartitionId
- piNamespaceId :: Lens' PartitionId (Maybe Text)
- piProjectId :: Lens' PartitionId (Maybe Text)
- data GoogleDatastoreAdminV1ListIndexesResponse
- googleDatastoreAdminV1ListIndexesResponse :: GoogleDatastoreAdminV1ListIndexesResponse
- gdavlirNextPageToken :: Lens' GoogleDatastoreAdminV1ListIndexesResponse (Maybe Text)
- gdavlirIndexes :: Lens' GoogleDatastoreAdminV1ListIndexesResponse [GoogleDatastoreAdminV1Index]
- data QueryResultBatch
- queryResultBatch :: QueryResultBatch
- qrbSkippedResults :: Lens' QueryResultBatch (Maybe Int32)
- qrbSkippedCursor :: Lens' QueryResultBatch (Maybe ByteString)
- qrbEntityResultType :: Lens' QueryResultBatch (Maybe QueryResultBatchEntityResultType)
- qrbSnapshotVersion :: Lens' QueryResultBatch (Maybe Int64)
- qrbEntityResults :: Lens' QueryResultBatch [EntityResult]
- qrbMoreResults :: Lens' QueryResultBatch (Maybe QueryResultBatchMoreResults)
- qrbEndCursor :: Lens' QueryResultBatch (Maybe ByteString)
- data CompositeFilterOp
- data EntityProperties
- entityProperties :: HashMap Text Value -> EntityProperties
- epAddtional :: Lens' EntityProperties (HashMap Text Value)
- data GoogleDatastoreAdminV1ImportEntitiesRequestLabels
- googleDatastoreAdminV1ImportEntitiesRequestLabels :: HashMap Text Text -> GoogleDatastoreAdminV1ImportEntitiesRequestLabels
- gdavierlAddtional :: Lens' GoogleDatastoreAdminV1ImportEntitiesRequestLabels (HashMap Text Text)
- data BeginTransactionRequest
- beginTransactionRequest :: BeginTransactionRequest
- btrTransactionOptions :: Lens' BeginTransactionRequest (Maybe TransactionOptions)
- data RunQueryRequest
- runQueryRequest :: RunQueryRequest
- rqrPartitionId :: Lens' RunQueryRequest (Maybe PartitionId)
- rqrGqlQuery :: Lens' RunQueryRequest (Maybe GqlQuery)
- rqrQuery :: Lens' RunQueryRequest (Maybe Query)
- rqrReadOptions :: Lens' RunQueryRequest (Maybe ReadOptions)
- data AllocateIdsRequest
- allocateIdsRequest :: AllocateIdsRequest
- airKeys :: Lens' AllocateIdsRequest [Key]
- data GoogleDatastoreAdminV1ExportEntitiesMetadata
- googleDatastoreAdminV1ExportEntitiesMetadata :: GoogleDatastoreAdminV1ExportEntitiesMetadata
- gdaveemProgressBytes :: Lens' GoogleDatastoreAdminV1ExportEntitiesMetadata (Maybe GoogleDatastoreAdminV1Progress)
- gdaveemOutputURLPrefix :: Lens' GoogleDatastoreAdminV1ExportEntitiesMetadata (Maybe Text)
- gdaveemProgressEntities :: Lens' GoogleDatastoreAdminV1ExportEntitiesMetadata (Maybe GoogleDatastoreAdminV1Progress)
- gdaveemEntityFilter :: Lens' GoogleDatastoreAdminV1ExportEntitiesMetadata (Maybe GoogleDatastoreAdminV1EntityFilter)
- gdaveemCommon :: Lens' GoogleDatastoreAdminV1ExportEntitiesMetadata (Maybe GoogleDatastoreAdminV1CommonMetadata)
- data QueryResultBatchEntityResultType
- data GoogleDatastoreAdminV1beta1CommonMetadata
- googleDatastoreAdminV1beta1CommonMetadata :: GoogleDatastoreAdminV1beta1CommonMetadata
- gdavcmState :: Lens' GoogleDatastoreAdminV1beta1CommonMetadata (Maybe GoogleDatastoreAdminV1beta1CommonMetadataState)
- gdavcmStartTime :: Lens' GoogleDatastoreAdminV1beta1CommonMetadata (Maybe UTCTime)
- gdavcmEndTime :: Lens' GoogleDatastoreAdminV1beta1CommonMetadata (Maybe UTCTime)
- gdavcmLabels :: Lens' GoogleDatastoreAdminV1beta1CommonMetadata (Maybe GoogleDatastoreAdminV1beta1CommonMetadataLabels)
- gdavcmOperationType :: Lens' GoogleDatastoreAdminV1beta1CommonMetadata (Maybe GoogleDatastoreAdminV1beta1CommonMetadataOperationType)
- data Empty
- empty :: Empty
- data CompositeFilter
- compositeFilter :: CompositeFilter
- cfOp :: Lens' CompositeFilter (Maybe CompositeFilterOp)
- cfFilters :: Lens' CompositeFilter [Filter]
- data GoogleDatastoreAdminV1beta1CommonMetadataOperationType
- data QueryResultBatchMoreResults
- data GoogleDatastoreAdminV1IndexOperationMetadata
- googleDatastoreAdminV1IndexOperationMetadata :: GoogleDatastoreAdminV1IndexOperationMetadata
- gdaviomProgressEntities :: Lens' GoogleDatastoreAdminV1IndexOperationMetadata (Maybe GoogleDatastoreAdminV1Progress)
- gdaviomCommon :: Lens' GoogleDatastoreAdminV1IndexOperationMetadata (Maybe GoogleDatastoreAdminV1CommonMetadata)
- gdaviomIndexId :: Lens' GoogleDatastoreAdminV1IndexOperationMetadata (Maybe Text)
- data GoogleDatastoreAdminV1beta1ImportEntitiesMetadata
- googleDatastoreAdminV1beta1ImportEntitiesMetadata :: GoogleDatastoreAdminV1beta1ImportEntitiesMetadata
- gdaviemProgressBytes :: Lens' GoogleDatastoreAdminV1beta1ImportEntitiesMetadata (Maybe GoogleDatastoreAdminV1beta1Progress)
- gdaviemProgressEntities :: Lens' GoogleDatastoreAdminV1beta1ImportEntitiesMetadata (Maybe GoogleDatastoreAdminV1beta1Progress)
- gdaviemEntityFilter :: Lens' GoogleDatastoreAdminV1beta1ImportEntitiesMetadata (Maybe GoogleDatastoreAdminV1beta1EntityFilter)
- gdaviemInputURL :: Lens' GoogleDatastoreAdminV1beta1ImportEntitiesMetadata (Maybe Text)
- gdaviemCommon :: Lens' GoogleDatastoreAdminV1beta1ImportEntitiesMetadata (Maybe GoogleDatastoreAdminV1beta1CommonMetadata)
- data GoogleDatastoreAdminV1beta1Progress
- googleDatastoreAdminV1beta1Progress :: GoogleDatastoreAdminV1beta1Progress
- gdavpWorkCompleted :: Lens' GoogleDatastoreAdminV1beta1Progress (Maybe Int64)
- gdavpWorkEstimated :: Lens' GoogleDatastoreAdminV1beta1Progress (Maybe Int64)
- data BeginTransactionResponse
- beginTransactionResponse :: BeginTransactionResponse
- btrTransaction :: Lens' BeginTransactionResponse (Maybe ByteString)
- data MutationResult
- mutationResult :: MutationResult
- mrConflictDetected :: Lens' MutationResult (Maybe Bool)
- mrKey :: Lens' MutationResult (Maybe Key)
- mrVersion :: Lens' MutationResult (Maybe Int64)
- data AllocateIdsResponse
- allocateIdsResponse :: AllocateIdsResponse
- aKeys :: Lens' AllocateIdsResponse [Key]
- data GqlQuery
- gqlQuery :: GqlQuery
- gqPositionalBindings :: Lens' GqlQuery [GqlQueryParameter]
- gqNamedBindings :: Lens' GqlQuery (Maybe GqlQueryNamedBindings)
- gqQueryString :: Lens' GqlQuery (Maybe Text)
- gqAllowLiterals :: Lens' GqlQuery (Maybe Bool)
- data RunQueryResponse
- runQueryResponse :: RunQueryResponse
- rBatch :: Lens' RunQueryResponse (Maybe QueryResultBatch)
- rQuery :: Lens' RunQueryResponse (Maybe Query)
- data GoogleDatastoreAdminV1ExportEntitiesRequestLabels
- googleDatastoreAdminV1ExportEntitiesRequestLabels :: HashMap Text Text -> GoogleDatastoreAdminV1ExportEntitiesRequestLabels
- gdaveerlAddtional :: Lens' GoogleDatastoreAdminV1ExportEntitiesRequestLabels (HashMap Text Text)
- data GoogleDatastoreAdminV1CommonMetadataOperationType
- data Value
- value :: Value
- vKeyValue :: Lens' Value (Maybe Key)
- vGeoPointValue :: Lens' Value (Maybe LatLng)
- vIntegerValue :: Lens' Value (Maybe Int64)
- vTimestampValue :: Lens' Value (Maybe UTCTime)
- vEntityValue :: Lens' Value (Maybe Entity)
- vExcludeFromIndexes :: Lens' Value (Maybe Bool)
- vDoubleValue :: Lens' Value (Maybe Double)
- vStringValue :: Lens' Value (Maybe Text)
- vBooleanValue :: Lens' Value (Maybe Bool)
- vMeaning :: Lens' Value (Maybe Int32)
- vArrayValue :: Lens' Value (Maybe ArrayValue)
- vNullValue :: Lens' Value (Maybe ValueNullValue)
- vBlobValue :: Lens' Value (Maybe ByteString)
- data ValueNullValue = NullValue
- data GoogleDatastoreAdminV1IndexedPropertyDirection
- data GoogleDatastoreAdminV1CommonMetadataLabels
- googleDatastoreAdminV1CommonMetadataLabels :: HashMap Text Text -> GoogleDatastoreAdminV1CommonMetadataLabels
- gdavcmlAddtional :: Lens' GoogleDatastoreAdminV1CommonMetadataLabels (HashMap Text Text)
- data GoogleDatastoreAdminV1IndexAncestor
- data StatusDetailsItem
- statusDetailsItem :: HashMap Text JSONValue -> StatusDetailsItem
- sdiAddtional :: Lens' StatusDetailsItem (HashMap Text JSONValue)
- data LookupRequest
- lookupRequest :: LookupRequest
- lrKeys :: Lens' LookupRequest [Key]
- lrReadOptions :: Lens' LookupRequest (Maybe ReadOptions)
- data ReadOptionsReadConsistency
- data GoogleDatastoreAdminV1CommonMetadata
- googleDatastoreAdminV1CommonMetadata :: GoogleDatastoreAdminV1CommonMetadata
- gState :: Lens' GoogleDatastoreAdminV1CommonMetadata (Maybe GoogleDatastoreAdminV1CommonMetadataState)
- gStartTime :: Lens' GoogleDatastoreAdminV1CommonMetadata (Maybe UTCTime)
- gEndTime :: Lens' GoogleDatastoreAdminV1CommonMetadata (Maybe UTCTime)
- gLabels :: Lens' GoogleDatastoreAdminV1CommonMetadata (Maybe GoogleDatastoreAdminV1CommonMetadataLabels)
- gOperationType :: Lens' GoogleDatastoreAdminV1CommonMetadata (Maybe GoogleDatastoreAdminV1CommonMetadataOperationType)
- data GoogleDatastoreAdminV1ExportEntitiesRequest
- googleDatastoreAdminV1ExportEntitiesRequest :: GoogleDatastoreAdminV1ExportEntitiesRequest
- gdaveerOutputURLPrefix :: Lens' GoogleDatastoreAdminV1ExportEntitiesRequest (Maybe Text)
- gdaveerEntityFilter :: Lens' GoogleDatastoreAdminV1ExportEntitiesRequest (Maybe GoogleDatastoreAdminV1EntityFilter)
- gdaveerLabels :: Lens' GoogleDatastoreAdminV1ExportEntitiesRequest (Maybe GoogleDatastoreAdminV1ExportEntitiesRequestLabels)
- data Mutation
- mutation :: Mutation
- mBaseVersion :: Lens' Mutation (Maybe Int64)
- mInsert :: Lens' Mutation (Maybe Entity)
- mUpsert :: Lens' Mutation (Maybe Entity)
- mDelete :: Lens' Mutation (Maybe Key)
- mUpdate :: Lens' Mutation (Maybe Entity)
- data GqlQueryNamedBindings
- gqlQueryNamedBindings :: HashMap Text GqlQueryParameter -> GqlQueryNamedBindings
- gqnbAddtional :: Lens' GqlQueryNamedBindings (HashMap Text GqlQueryParameter)
- data GoogleDatastoreAdminV1ExportEntitiesResponse
- googleDatastoreAdminV1ExportEntitiesResponse :: GoogleDatastoreAdminV1ExportEntitiesResponse
- gOutputURL :: Lens' GoogleDatastoreAdminV1ExportEntitiesResponse (Maybe Text)
- data PropertyReference
- propertyReference :: PropertyReference
- prName :: Lens' PropertyReference (Maybe Text)
- data Key
- key :: Key
- kPartitionId :: Lens' Key (Maybe PartitionId)
- kPath :: Lens' Key [PathElement]
- data GoogleDatastoreAdminV1ImportEntitiesRequest
- googleDatastoreAdminV1ImportEntitiesRequest :: GoogleDatastoreAdminV1ImportEntitiesRequest
- gdavierEntityFilter :: Lens' GoogleDatastoreAdminV1ImportEntitiesRequest (Maybe GoogleDatastoreAdminV1EntityFilter)
- gdavierInputURL :: Lens' GoogleDatastoreAdminV1ImportEntitiesRequest (Maybe Text)
- gdavierLabels :: Lens' GoogleDatastoreAdminV1ImportEntitiesRequest (Maybe GoogleDatastoreAdminV1ImportEntitiesRequestLabels)
- data GoogleDatastoreAdminV1IndexState
- data PropertyFilter
- propertyFilter :: PropertyFilter
- pfProperty :: Lens' PropertyFilter (Maybe PropertyReference)
- pfOp :: Lens' PropertyFilter (Maybe PropertyFilterOp)
- pfValue :: Lens' PropertyFilter (Maybe Value)
- data Query
- query :: Query
- qStartCursor :: Lens' Query (Maybe ByteString)
- qOffSet :: Lens' Query (Maybe Int32)
- qKind :: Lens' Query [KindExpression]
- qDistinctOn :: Lens' Query [PropertyReference]
- qEndCursor :: Lens' Query (Maybe ByteString)
- qLimit :: Lens' Query (Maybe Int32)
- qProjection :: Lens' Query [Projection]
- qFilter :: Lens' Query (Maybe Filter)
- qOrder :: Lens' Query [PropertyOrder]
- data ArrayValue
- arrayValue :: ArrayValue
- avValues :: Lens' ArrayValue [Value]
- data EntityResult
- entityResult :: EntityResult
- erCursor :: Lens' EntityResult (Maybe ByteString)
- erVersion :: Lens' EntityResult (Maybe Int64)
- erEntity :: Lens' EntityResult (Maybe Entity)
- data Xgafv
- data CommitResponse
- commitResponse :: CommitResponse
- crIndexUpdates :: Lens' CommitResponse (Maybe Int32)
- crMutationResults :: Lens' CommitResponse [MutationResult]
- data KindExpression
- kindExpression :: KindExpression
- keName :: Lens' KindExpression (Maybe Text)
- data GoogleLongrunningOperationResponse
- googleLongrunningOperationResponse :: HashMap Text JSONValue -> GoogleLongrunningOperationResponse
- glorAddtional :: Lens' GoogleLongrunningOperationResponse (HashMap Text JSONValue)
- data ReadOptions
- readOptions :: ReadOptions
- roReadConsistency :: Lens' ReadOptions (Maybe ReadOptionsReadConsistency)
- roTransaction :: Lens' ReadOptions (Maybe ByteString)
- data GoogleDatastoreAdminV1beta1CommonMetadataState
- data GoogleDatastoreAdminV1EntityFilter
- googleDatastoreAdminV1EntityFilter :: GoogleDatastoreAdminV1EntityFilter
- gdavefNamespaceIds :: Lens' GoogleDatastoreAdminV1EntityFilter [Text]
- gdavefKinds :: Lens' GoogleDatastoreAdminV1EntityFilter [Text]
- data RollbackResponse
- rollbackResponse :: RollbackResponse
- data Projection
- projection :: Projection
- pProperty :: Lens' Projection (Maybe PropertyReference)
- data ReserveIdsResponse
- reserveIdsResponse :: ReserveIdsResponse
- data Filter
- filter' :: Filter
- fCompositeFilter :: Lens' Filter (Maybe CompositeFilter)
- fPropertyFilter :: Lens' Filter (Maybe PropertyFilter)
- data GoogleDatastoreAdminV1Index
- googleDatastoreAdminV1Index :: GoogleDatastoreAdminV1Index
- gdaviState :: Lens' GoogleDatastoreAdminV1Index (Maybe GoogleDatastoreAdminV1IndexState)
- gdaviKind :: Lens' GoogleDatastoreAdminV1Index (Maybe Text)
- gdaviProjectId :: Lens' GoogleDatastoreAdminV1Index (Maybe Text)
- gdaviIndexId :: Lens' GoogleDatastoreAdminV1Index (Maybe Text)
- gdaviAncestor :: Lens' GoogleDatastoreAdminV1Index (Maybe GoogleDatastoreAdminV1IndexAncestor)
- gdaviProperties :: Lens' GoogleDatastoreAdminV1Index [GoogleDatastoreAdminV1IndexedProperty]
- data GoogleDatastoreAdminV1beta1CommonMetadataLabels
- googleDatastoreAdminV1beta1CommonMetadataLabels :: HashMap Text Text -> GoogleDatastoreAdminV1beta1CommonMetadataLabels
- gAddtional :: Lens' GoogleDatastoreAdminV1beta1CommonMetadataLabels (HashMap Text Text)
- data PropertyFilterOp
- data CommitRequest
- commitRequest :: CommitRequest
- crMutations :: Lens' CommitRequest [Mutation]
- crMode :: Lens' CommitRequest (Maybe CommitRequestMode)
- crTransaction :: Lens' CommitRequest (Maybe ByteString)
- data CommitRequestMode
- data GoogleLongrunningListOperationsResponse
- googleLongrunningListOperationsResponse :: GoogleLongrunningListOperationsResponse
- gllorNextPageToken :: Lens' GoogleLongrunningListOperationsResponse (Maybe Text)
- gllorOperations :: Lens' GoogleLongrunningListOperationsResponse [GoogleLongrunningOperation]
- data GoogleDatastoreAdminV1ImportEntitiesMetadata
- googleDatastoreAdminV1ImportEntitiesMetadata :: GoogleDatastoreAdminV1ImportEntitiesMetadata
- gProgressBytes :: Lens' GoogleDatastoreAdminV1ImportEntitiesMetadata (Maybe GoogleDatastoreAdminV1Progress)
- gProgressEntities :: Lens' GoogleDatastoreAdminV1ImportEntitiesMetadata (Maybe GoogleDatastoreAdminV1Progress)
- gEntityFilter :: Lens' GoogleDatastoreAdminV1ImportEntitiesMetadata (Maybe GoogleDatastoreAdminV1EntityFilter)
- gInputURL :: Lens' GoogleDatastoreAdminV1ImportEntitiesMetadata (Maybe Text)
- gCommon :: Lens' GoogleDatastoreAdminV1ImportEntitiesMetadata (Maybe GoogleDatastoreAdminV1CommonMetadata)
- data GoogleDatastoreAdminV1Progress
- googleDatastoreAdminV1Progress :: GoogleDatastoreAdminV1Progress
- gWorkCompleted :: Lens' GoogleDatastoreAdminV1Progress (Maybe Int64)
- gWorkEstimated :: Lens' GoogleDatastoreAdminV1Progress (Maybe Int64)
- data PathElement
- pathElement :: PathElement
- peKind :: Lens' PathElement (Maybe Text)
- peName :: Lens' PathElement (Maybe Text)
- peId :: Lens' PathElement (Maybe Int64)
- data Entity
- entity :: Entity
- eKey :: Lens' Entity (Maybe Key)
- eProperties :: Lens' Entity (Maybe EntityProperties)
- data GoogleDatastoreAdminV1beta1EntityFilter
- googleDatastoreAdminV1beta1EntityFilter :: GoogleDatastoreAdminV1beta1EntityFilter
- gNamespaceIds :: Lens' GoogleDatastoreAdminV1beta1EntityFilter [Text]
- gKinds :: Lens' GoogleDatastoreAdminV1beta1EntityFilter [Text]
- data ReadOnly
- readOnly :: ReadOnly
- data GoogleDatastoreAdminV1IndexedProperty
- googleDatastoreAdminV1IndexedProperty :: GoogleDatastoreAdminV1IndexedProperty
- gdavipDirection :: Lens' GoogleDatastoreAdminV1IndexedProperty (Maybe GoogleDatastoreAdminV1IndexedPropertyDirection)
- gdavipName :: Lens' GoogleDatastoreAdminV1IndexedProperty (Maybe Text)
- data LookupResponse
- lookupResponse :: LookupResponse
- lrDeferred :: Lens' LookupResponse [Key]
- lrFound :: Lens' LookupResponse [EntityResult]
- lrMissing :: Lens' LookupResponse [EntityResult]
- data GoogleLongrunningOperation
- googleLongrunningOperation :: GoogleLongrunningOperation
- gloDone :: Lens' GoogleLongrunningOperation (Maybe Bool)
- gloError :: Lens' GoogleLongrunningOperation (Maybe Status)
- gloResponse :: Lens' GoogleLongrunningOperation (Maybe GoogleLongrunningOperationResponse)
- gloName :: Lens' GoogleLongrunningOperation (Maybe Text)
- gloMetadata :: Lens' GoogleLongrunningOperation (Maybe GoogleLongrunningOperationMetadata)
- data PropertyOrder
- propertyOrder :: PropertyOrder
- poProperty :: Lens' PropertyOrder (Maybe PropertyReference)
- poDirection :: Lens' PropertyOrder (Maybe PropertyOrderDirection)
- data GoogleDatastoreAdminV1beta1ExportEntitiesMetadata
- googleDatastoreAdminV1beta1ExportEntitiesMetadata :: GoogleDatastoreAdminV1beta1ExportEntitiesMetadata
- gooProgressBytes :: Lens' GoogleDatastoreAdminV1beta1ExportEntitiesMetadata (Maybe GoogleDatastoreAdminV1beta1Progress)
- gooOutputURLPrefix :: Lens' GoogleDatastoreAdminV1beta1ExportEntitiesMetadata (Maybe Text)
- gooProgressEntities :: Lens' GoogleDatastoreAdminV1beta1ExportEntitiesMetadata (Maybe GoogleDatastoreAdminV1beta1Progress)
- gooEntityFilter :: Lens' GoogleDatastoreAdminV1beta1ExportEntitiesMetadata (Maybe GoogleDatastoreAdminV1beta1EntityFilter)
- gooCommon :: Lens' GoogleDatastoreAdminV1beta1ExportEntitiesMetadata (Maybe GoogleDatastoreAdminV1beta1CommonMetadata)
- data GqlQueryParameter
- gqlQueryParameter :: GqlQueryParameter
- gqpCursor :: Lens' GqlQueryParameter (Maybe ByteString)
- gqpValue :: Lens' GqlQueryParameter (Maybe Value)
- data GoogleDatastoreAdminV1CommonMetadataState
Service Configuration
datastoreService :: ServiceConfig Source #
Default request referring to version v1
of the Cloud Datastore 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
API Declaration
type DatastoreAPI = ProjectsIndexesListResource :<|> (ProjectsIndexesGetResource :<|> (ProjectsOperationsListResource :<|> (ProjectsOperationsGetResource :<|> (ProjectsOperationsCancelResource :<|> (ProjectsOperationsDeleteResource :<|> (ProjectsExportResource :<|> (ProjectsBeginTransactionResource :<|> (ProjectsAllocateIdsResource :<|> (ProjectsRunQueryResource :<|> (ProjectsRollbackResource :<|> (ProjectsReserveIdsResource :<|> (ProjectsLookupResource :<|> (ProjectsImportResource :<|> ProjectsCommitResource))))))))))))) Source #
Represents the entirety of the methods and resources available for the Cloud Datastore API service.
Resources
datastore.projects.allocateIds
datastore.projects.beginTransaction
datastore.projects.commit
datastore.projects.export
datastore.projects.import
datastore.projects.indexes.get
datastore.projects.indexes.list
datastore.projects.lookup
datastore.projects.operations.cancel
datastore.projects.operations.delete
datastore.projects.operations.get
datastore.projects.operations.list
datastore.projects.reserveIds
datastore.projects.rollback
datastore.projects.runQuery
Types
LatLng
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 # | |
Data LatLng Source # | |
Defined in Network.Google.Datastore.Types.Product 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 # | |
Generic LatLng Source # | |
ToJSON LatLng Source # | |
Defined in Network.Google.Datastore.Types.Product | |
FromJSON LatLng Source # | |
type Rep LatLng Source # | |
Defined in Network.Google.Datastore.Types.Product type Rep LatLng = D1 (MetaData "LatLng" "Network.Google.Datastore.Types.Product" "gogol-datastore-0.4.0-DxtGpCFjzKb7bKvoY75v5a" 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))))) |
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].
TransactionOptions
data TransactionOptions Source #
Options for beginning a new transaction. Transactions can be created explicitly with calls to Datastore.BeginTransaction or implicitly by setting ReadOptions.new_transaction in read requests.
See: transactionOptions
smart constructor.
Instances
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 should allow both reads and writes.
toReadOnly :: Lens' TransactionOptions (Maybe ReadOnly) Source #
The transaction should only allow reads.
PropertyOrderDirection
data PropertyOrderDirection Source #
The direction to order by. Defaults to `ASCENDING`.
DirectionUnspecified |
|
Ascending |
|
Descending |
|
Instances
Status
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 # | |
Data Status Source # | |
Defined in Network.Google.Datastore.Types.Product 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 # | |
Generic Status Source # | |
ToJSON Status Source # | |
Defined in Network.Google.Datastore.Types.Product | |
FromJSON Status Source # | |
type Rep Status Source # | |
Defined in Network.Google.Datastore.Types.Product type Rep Status = D1 (MetaData "Status" "Network.Google.Datastore.Types.Product" "gogol-datastore-0.4.0-DxtGpCFjzKb7bKvoY75v5a" 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))))) |
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
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.
ReadWrite
Options specific to read / write transactions.
See: readWrite
smart constructor.
Instances
Eq ReadWrite Source # | |
Data ReadWrite Source # | |
Defined in Network.Google.Datastore.Types.Product 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 # | |
Generic ReadWrite Source # | |
ToJSON ReadWrite Source # | |
Defined in Network.Google.Datastore.Types.Product | |
FromJSON ReadWrite Source # | |
type Rep ReadWrite Source # | |
Defined in Network.Google.Datastore.Types.Product type Rep ReadWrite = D1 (MetaData "ReadWrite" "Network.Google.Datastore.Types.Product" "gogol-datastore-0.4.0-DxtGpCFjzKb7bKvoY75v5a" True) (C1 (MetaCons "ReadWrite'" PrefixI True) (S1 (MetaSel (Just "_rwPreviousTransaction") 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:
rwPreviousTransaction :: Lens' ReadWrite (Maybe ByteString) Source #
The transaction identifier of the transaction being retried.
GoogleDatastoreAdminV1beta1ExportEntitiesResponse
data GoogleDatastoreAdminV1beta1ExportEntitiesResponse Source #
The response for google.datastore.admin.v1beta1.DatastoreAdmin.ExportEntities.
See: googleDatastoreAdminV1beta1ExportEntitiesResponse
smart constructor.
Instances
googleDatastoreAdminV1beta1ExportEntitiesResponse :: GoogleDatastoreAdminV1beta1ExportEntitiesResponse Source #
Creates a value of GoogleDatastoreAdminV1beta1ExportEntitiesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gdaveerOutputURL :: Lens' GoogleDatastoreAdminV1beta1ExportEntitiesResponse (Maybe Text) Source #
Location of the output metadata file. This can be used to begin an import into Cloud Datastore (this project or another project). See google.datastore.admin.v1beta1.ImportEntitiesRequest.input_url. Only present if the operation completed successfully.
RollbackRequest
data RollbackRequest Source #
The request for Datastore.Rollback.
See: rollbackRequest
smart constructor.
Instances
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 identifier, returned by a call to Datastore.BeginTransaction.
ReserveIdsRequest
data ReserveIdsRequest Source #
The request for Datastore.ReserveIds.
See: reserveIdsRequest
smart constructor.
Instances
reserveIdsRequest :: ReserveIdsRequest Source #
Creates a value of ReserveIdsRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rirKeys :: Lens' ReserveIdsRequest [Key] Source #
A list of keys with complete key paths whose numeric IDs should not be auto-allocated.
rirDatabaseId :: Lens' ReserveIdsRequest (Maybe Text) Source #
If not empty, the ID of the database against which to make the request.
PartitionId
data PartitionId Source #
A partition ID identifies a grouping of entities. The grouping is always by project and namespace, however the namespace ID may be empty. A partition ID contains several dimensions: project ID and namespace ID. Partition dimensions: - May be `""`. - Must be valid UTF-8 bytes. - Must have values that match regex `[A-Za-z\d\.\-_]{1,100}` If the value of any dimension matches regex `.*`, the partition is reserved/read-only. A reserved/read-only partition ID is forbidden in certain documented contexts. Foreign partition IDs (in which the project ID does not match the context project ID ) are discouraged. Reads and writes of foreign partition IDs may fail if the project is not in an active state.
See: partitionId
smart constructor.
Instances
partitionId :: PartitionId Source #
Creates a value of PartitionId
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
piNamespaceId :: Lens' PartitionId (Maybe Text) Source #
If not empty, the ID of the namespace to which the entities belong.
piProjectId :: Lens' PartitionId (Maybe Text) Source #
The ID of the project to which the entities belong.
GoogleDatastoreAdminV1ListIndexesResponse
data GoogleDatastoreAdminV1ListIndexesResponse Source #
The response for google.datastore.admin.v1.DatastoreAdmin.ListIndexes.
See: googleDatastoreAdminV1ListIndexesResponse
smart constructor.
Instances
googleDatastoreAdminV1ListIndexesResponse :: GoogleDatastoreAdminV1ListIndexesResponse Source #
Creates a value of GoogleDatastoreAdminV1ListIndexesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gdavlirNextPageToken :: Lens' GoogleDatastoreAdminV1ListIndexesResponse (Maybe Text) Source #
The standard List next-page token.
gdavlirIndexes :: Lens' GoogleDatastoreAdminV1ListIndexesResponse [GoogleDatastoreAdminV1Index] Source #
The indexes.
QueryResultBatch
data QueryResultBatch Source #
A batch of results produced by a query.
See: queryResultBatch
smart constructor.
Instances
queryResultBatch :: QueryResultBatch Source #
Creates a value of QueryResultBatch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
qrbSkippedResults :: Lens' QueryResultBatch (Maybe Int32) Source #
The number of results skipped, typically because of an offset.
qrbSkippedCursor :: Lens' QueryResultBatch (Maybe ByteString) Source #
A cursor that points to the position after the last skipped result. Will be set when `skipped_results` != 0.
qrbEntityResultType :: Lens' QueryResultBatch (Maybe QueryResultBatchEntityResultType) Source #
The result type for every entity in `entity_results`.
qrbSnapshotVersion :: Lens' QueryResultBatch (Maybe Int64) Source #
The version number of the snapshot this batch was returned from. This applies to the range of results from the query's `start_cursor` (or the beginning of the query if no cursor was given) to this batch's `end_cursor` (not the query's `end_cursor`). In a single transaction, subsequent query result batches for the same query can have a greater snapshot version number. Each batch's snapshot version is valid for all preceding batches. The value will be zero for eventually consistent queries.
qrbEntityResults :: Lens' QueryResultBatch [EntityResult] Source #
The results for this batch.
qrbMoreResults :: Lens' QueryResultBatch (Maybe QueryResultBatchMoreResults) Source #
The state of the query after the current batch.
qrbEndCursor :: Lens' QueryResultBatch (Maybe ByteString) Source #
A cursor that points to the position after the last result in the batch.
CompositeFilterOp
data CompositeFilterOp Source #
The operator for combining multiple filters.
OperatorUnspecified |
|
And |
|
Instances
EntityProperties
data EntityProperties Source #
The entity's properties. The map's keys are property names. A property name matching regex `.*` is reserved. A reserved property name is forbidden in certain documented contexts. The name must not contain more than 500 characters. The name cannot be `""`.
See: entityProperties
smart constructor.
Instances
Creates a value of EntityProperties
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
GoogleDatastoreAdminV1ImportEntitiesRequestLabels
data GoogleDatastoreAdminV1ImportEntitiesRequestLabels Source #
Client-assigned labels.
See: googleDatastoreAdminV1ImportEntitiesRequestLabels
smart constructor.
Instances
googleDatastoreAdminV1ImportEntitiesRequestLabels Source #
Creates a value of GoogleDatastoreAdminV1ImportEntitiesRequestLabels
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gdavierlAddtional :: Lens' GoogleDatastoreAdminV1ImportEntitiesRequestLabels (HashMap Text Text) Source #
BeginTransactionRequest
data BeginTransactionRequest Source #
The request for Datastore.BeginTransaction.
See: beginTransactionRequest
smart constructor.
Instances
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:
btrTransactionOptions :: Lens' BeginTransactionRequest (Maybe TransactionOptions) Source #
Options for a new transaction.
RunQueryRequest
data RunQueryRequest Source #
The request for Datastore.RunQuery.
See: runQueryRequest
smart constructor.
Instances
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:
rqrPartitionId :: Lens' RunQueryRequest (Maybe PartitionId) Source #
Entities are partitioned into subsets, identified by a partition ID. Queries are scoped to a single partition. This partition ID is normalized with the standard default context partition ID.
rqrGqlQuery :: Lens' RunQueryRequest (Maybe GqlQuery) Source #
The GQL query to run.
rqrReadOptions :: Lens' RunQueryRequest (Maybe ReadOptions) Source #
The options for this query.
AllocateIdsRequest
data AllocateIdsRequest Source #
The request for Datastore.AllocateIds.
See: allocateIdsRequest
smart constructor.
Instances
allocateIdsRequest :: AllocateIdsRequest Source #
Creates a value of AllocateIdsRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
airKeys :: Lens' AllocateIdsRequest [Key] Source #
A list of keys with incomplete key paths for which to allocate IDs. No key may be reserved/read-only.
GoogleDatastoreAdminV1ExportEntitiesMetadata
data GoogleDatastoreAdminV1ExportEntitiesMetadata Source #
Metadata for ExportEntities operations.
See: googleDatastoreAdminV1ExportEntitiesMetadata
smart constructor.
Instances
googleDatastoreAdminV1ExportEntitiesMetadata :: GoogleDatastoreAdminV1ExportEntitiesMetadata Source #
Creates a value of GoogleDatastoreAdminV1ExportEntitiesMetadata
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gdaveemProgressBytes :: Lens' GoogleDatastoreAdminV1ExportEntitiesMetadata (Maybe GoogleDatastoreAdminV1Progress) Source #
An estimate of the number of bytes processed.
gdaveemOutputURLPrefix :: Lens' GoogleDatastoreAdminV1ExportEntitiesMetadata (Maybe Text) Source #
Location for the export metadata and data files. This will be the same value as the google.datastore.admin.v1.ExportEntitiesRequest.output_url_prefix field. The final output location is provided in google.datastore.admin.v1.ExportEntitiesResponse.output_url.
gdaveemProgressEntities :: Lens' GoogleDatastoreAdminV1ExportEntitiesMetadata (Maybe GoogleDatastoreAdminV1Progress) Source #
An estimate of the number of entities processed.
gdaveemEntityFilter :: Lens' GoogleDatastoreAdminV1ExportEntitiesMetadata (Maybe GoogleDatastoreAdminV1EntityFilter) Source #
Description of which entities are being exported.
gdaveemCommon :: Lens' GoogleDatastoreAdminV1ExportEntitiesMetadata (Maybe GoogleDatastoreAdminV1CommonMetadata) Source #
Metadata common to all Datastore Admin operations.
QueryResultBatchEntityResultType
data QueryResultBatchEntityResultType Source #
The result type for every entity in `entity_results`.
QRBERTResultTypeUnspecified |
|
QRBERTFull |
|
QRBERTProjection |
|
QRBERTKeyOnly |
|
Instances
GoogleDatastoreAdminV1beta1CommonMetadata
data GoogleDatastoreAdminV1beta1CommonMetadata Source #
Metadata common to all Datastore Admin operations.
See: googleDatastoreAdminV1beta1CommonMetadata
smart constructor.
Instances
googleDatastoreAdminV1beta1CommonMetadata :: GoogleDatastoreAdminV1beta1CommonMetadata Source #
Creates a value of GoogleDatastoreAdminV1beta1CommonMetadata
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gdavcmState :: Lens' GoogleDatastoreAdminV1beta1CommonMetadata (Maybe GoogleDatastoreAdminV1beta1CommonMetadataState) Source #
The current state of the Operation.
gdavcmStartTime :: Lens' GoogleDatastoreAdminV1beta1CommonMetadata (Maybe UTCTime) Source #
The time that work began on the operation.
gdavcmEndTime :: Lens' GoogleDatastoreAdminV1beta1CommonMetadata (Maybe UTCTime) Source #
The time the operation ended, either successfully or otherwise.
gdavcmLabels :: Lens' GoogleDatastoreAdminV1beta1CommonMetadata (Maybe GoogleDatastoreAdminV1beta1CommonMetadataLabels) Source #
The client-assigned labels which were provided when the operation was created. May also include additional labels.
gdavcmOperationType :: Lens' GoogleDatastoreAdminV1beta1CommonMetadata (Maybe GoogleDatastoreAdminV1beta1CommonMetadataOperationType) Source #
The type of the operation. Can be used as a filter in ListOperationsRequest.
Empty
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 # | |
Data Empty Source # | |
Defined in Network.Google.Datastore.Types.Product 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 # 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 # | |
Generic Empty Source # | |
ToJSON Empty Source # | |
Defined in Network.Google.Datastore.Types.Product | |
FromJSON Empty Source # | |
type Rep Empty Source # | |
CompositeFilter
data CompositeFilter Source #
A filter that merges multiple other filters using the given operator.
See: compositeFilter
smart constructor.
Instances
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.
GoogleDatastoreAdminV1beta1CommonMetadataOperationType
data GoogleDatastoreAdminV1beta1CommonMetadataOperationType Source #
The type of the operation. Can be used as a filter in ListOperationsRequest.
OperationTypeUnspecified |
|
ExportEntities |
|
ImportEntities |
|
Instances
QueryResultBatchMoreResults
data QueryResultBatchMoreResults Source #
The state of the query after the current batch.
MoreResultsTypeUnspecified |
|
NotFinished |
|
MoreResultsAfterLimit |
|
MoreResultsAfterCursor |
|
NoMoreResults |
|
Instances
GoogleDatastoreAdminV1IndexOperationMetadata
data GoogleDatastoreAdminV1IndexOperationMetadata Source #
Metadata for Index operations.
See: googleDatastoreAdminV1IndexOperationMetadata
smart constructor.
Instances
googleDatastoreAdminV1IndexOperationMetadata :: GoogleDatastoreAdminV1IndexOperationMetadata Source #
Creates a value of GoogleDatastoreAdminV1IndexOperationMetadata
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gdaviomProgressEntities :: Lens' GoogleDatastoreAdminV1IndexOperationMetadata (Maybe GoogleDatastoreAdminV1Progress) Source #
An estimate of the number of entities processed.
gdaviomCommon :: Lens' GoogleDatastoreAdminV1IndexOperationMetadata (Maybe GoogleDatastoreAdminV1CommonMetadata) Source #
Metadata common to all Datastore Admin operations.
gdaviomIndexId :: Lens' GoogleDatastoreAdminV1IndexOperationMetadata (Maybe Text) Source #
The index resource ID that this operation is acting on.
GoogleDatastoreAdminV1beta1ImportEntitiesMetadata
data GoogleDatastoreAdminV1beta1ImportEntitiesMetadata Source #
Metadata for ImportEntities operations.
See: googleDatastoreAdminV1beta1ImportEntitiesMetadata
smart constructor.
Instances
googleDatastoreAdminV1beta1ImportEntitiesMetadata :: GoogleDatastoreAdminV1beta1ImportEntitiesMetadata Source #
Creates a value of GoogleDatastoreAdminV1beta1ImportEntitiesMetadata
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gdaviemProgressBytes :: Lens' GoogleDatastoreAdminV1beta1ImportEntitiesMetadata (Maybe GoogleDatastoreAdminV1beta1Progress) Source #
An estimate of the number of bytes processed.
gdaviemProgressEntities :: Lens' GoogleDatastoreAdminV1beta1ImportEntitiesMetadata (Maybe GoogleDatastoreAdminV1beta1Progress) Source #
An estimate of the number of entities processed.
gdaviemEntityFilter :: Lens' GoogleDatastoreAdminV1beta1ImportEntitiesMetadata (Maybe GoogleDatastoreAdminV1beta1EntityFilter) Source #
Description of which entities are being imported.
gdaviemInputURL :: Lens' GoogleDatastoreAdminV1beta1ImportEntitiesMetadata (Maybe Text) Source #
The location of the import metadata file. This will be the same value as the google.datastore.admin.v1beta1.ExportEntitiesResponse.output_url field.
gdaviemCommon :: Lens' GoogleDatastoreAdminV1beta1ImportEntitiesMetadata (Maybe GoogleDatastoreAdminV1beta1CommonMetadata) Source #
Metadata common to all Datastore Admin operations.
GoogleDatastoreAdminV1beta1Progress
data GoogleDatastoreAdminV1beta1Progress Source #
Measures the progress of a particular metric.
See: googleDatastoreAdminV1beta1Progress
smart constructor.
Instances
googleDatastoreAdminV1beta1Progress :: GoogleDatastoreAdminV1beta1Progress Source #
Creates a value of GoogleDatastoreAdminV1beta1Progress
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gdavpWorkCompleted :: Lens' GoogleDatastoreAdminV1beta1Progress (Maybe Int64) Source #
The amount of work that has been completed. Note that this may be greater than work_estimated.
gdavpWorkEstimated :: Lens' GoogleDatastoreAdminV1beta1Progress (Maybe Int64) Source #
An estimate of how much work needs to be performed. May be zero if the work estimate is unavailable.
BeginTransactionResponse
data BeginTransactionResponse Source #
The response for Datastore.BeginTransaction.
See: beginTransactionResponse
smart constructor.
Instances
beginTransactionResponse :: BeginTransactionResponse Source #
Creates a value of BeginTransactionResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
btrTransaction :: Lens' BeginTransactionResponse (Maybe ByteString) Source #
The transaction identifier (always present).
MutationResult
data MutationResult Source #
The result of applying a mutation.
See: mutationResult
smart constructor.
Instances
mutationResult :: MutationResult Source #
Creates a value of MutationResult
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
mrConflictDetected :: Lens' MutationResult (Maybe Bool) Source #
Whether a conflict was detected for this mutation. Always false when a conflict detection strategy field is not set in the mutation.
mrKey :: Lens' MutationResult (Maybe Key) Source #
The automatically allocated key. Set only when the mutation allocated a key.
mrVersion :: Lens' MutationResult (Maybe Int64) Source #
The version of the entity on the server after processing the mutation. If the mutation doesn't change anything on the server, then the version will be the version of the current entity or, if no entity is present, a version that is strictly greater than the version of any previous entity and less than the version of any possible future entity.
AllocateIdsResponse
data AllocateIdsResponse Source #
The response for Datastore.AllocateIds.
See: allocateIdsResponse
smart constructor.
Instances
allocateIdsResponse :: AllocateIdsResponse Source #
Creates a value of AllocateIdsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
aKeys :: Lens' AllocateIdsResponse [Key] Source #
The keys specified in the request (in the same order), each with its key path completed with a newly allocated ID.
GqlQuery
Instances
Eq GqlQuery Source # | |
Data GqlQuery Source # | |
Defined in Network.Google.Datastore.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GqlQuery -> c GqlQuery # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GqlQuery # toConstr :: GqlQuery -> Constr # dataTypeOf :: GqlQuery -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GqlQuery) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GqlQuery) # gmapT :: (forall b. Data b => b -> b) -> GqlQuery -> GqlQuery # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GqlQuery -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GqlQuery -> r # gmapQ :: (forall d. Data d => d -> u) -> GqlQuery -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> GqlQuery -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> GqlQuery -> m GqlQuery # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GqlQuery -> m GqlQuery # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GqlQuery -> m GqlQuery # | |
Show GqlQuery Source # | |
Generic GqlQuery Source # | |
ToJSON GqlQuery Source # | |
Defined in Network.Google.Datastore.Types.Product | |
FromJSON GqlQuery Source # | |
type Rep GqlQuery Source # | |
Defined in Network.Google.Datastore.Types.Product type Rep GqlQuery = D1 (MetaData "GqlQuery" "Network.Google.Datastore.Types.Product" "gogol-datastore-0.4.0-DxtGpCFjzKb7bKvoY75v5a" False) (C1 (MetaCons "GqlQuery'" PrefixI True) ((S1 (MetaSel (Just "_gqPositionalBindings") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [GqlQueryParameter])) :*: S1 (MetaSel (Just "_gqNamedBindings") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GqlQueryNamedBindings))) :*: (S1 (MetaSel (Just "_gqQueryString") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gqAllowLiterals") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))))) |
Creates a value of GqlQuery
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gqPositionalBindings :: Lens' GqlQuery [GqlQueryParameter] Source #
Numbered binding site '1 references the first numbered parameter, effectively using 1-based indexing, rather than the usual 0. For each binding site numbered i in `query_string`, there must be an i-th numbered parameter. The inverse must also be true.
gqNamedBindings :: Lens' GqlQuery (Maybe GqlQueryNamedBindings) Source #
For each non-reserved named binding site in the query string, there must be a named parameter with that name, but not necessarily the inverse. Key must match regex `A-Za-z_$*`, must not match regex `.*`, and must not be `""`.
gqAllowLiterals :: Lens' GqlQuery (Maybe Bool) Source #
When false, the query string must not contain any literals and instead must bind all values. For example, `SELECT * FROM Kind WHERE a = 'string literal'` is not allowed, while `SELECT * FROM Kind WHERE a = 'value` is.
RunQueryResponse
data RunQueryResponse Source #
The response for Datastore.RunQuery.
See: runQueryResponse
smart constructor.
Instances
runQueryResponse :: RunQueryResponse Source #
Creates a value of RunQueryResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rBatch :: Lens' RunQueryResponse (Maybe QueryResultBatch) Source #
A batch of query results (always present).
rQuery :: Lens' RunQueryResponse (Maybe Query) Source #
The parsed form of the `GqlQuery` from the request, if it was set.
GoogleDatastoreAdminV1ExportEntitiesRequestLabels
data GoogleDatastoreAdminV1ExportEntitiesRequestLabels Source #
Client-assigned labels.
See: googleDatastoreAdminV1ExportEntitiesRequestLabels
smart constructor.
Instances
googleDatastoreAdminV1ExportEntitiesRequestLabels Source #
Creates a value of GoogleDatastoreAdminV1ExportEntitiesRequestLabels
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gdaveerlAddtional :: Lens' GoogleDatastoreAdminV1ExportEntitiesRequestLabels (HashMap Text Text) Source #
GoogleDatastoreAdminV1CommonMetadataOperationType
data GoogleDatastoreAdminV1CommonMetadataOperationType Source #
The type of the operation. Can be used as a filter in ListOperationsRequest.
GDAVCMOTOperationTypeUnspecified |
|
GDAVCMOTExportEntities |
|
GDAVCMOTImportEntities |
|
GDAVCMOTCreateIndex |
|
GDAVCMOTDeleteIndex |
|
Instances
Value
A message that can hold any of the supported value types and associated metadata.
See: value
smart constructor.
Instances
Creates a value of Value
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
vGeoPointValue :: Lens' Value (Maybe LatLng) Source #
A geo point value representing a point on the surface of Earth.
vTimestampValue :: Lens' Value (Maybe UTCTime) Source #
A timestamp value. When stored in the Datastore, precise only to microseconds; any additional precision is rounded down.
vEntityValue :: Lens' Value (Maybe Entity) Source #
An entity value. - May have no key. - May have a key with an incomplete key path. - May have a reserved/read-only key.
vExcludeFromIndexes :: Lens' Value (Maybe Bool) Source #
If the value should be excluded from all indexes including those defined explicitly.
vStringValue :: Lens' Value (Maybe Text) Source #
A UTF-8 encoded string value. When `exclude_from_indexes` is false (it is indexed) , may have at most 1500 bytes. Otherwise, may be set to at least 1,000,000 bytes.
vMeaning :: Lens' Value (Maybe Int32) Source #
The `meaning` field should only be populated for backwards compatibility.
vArrayValue :: Lens' Value (Maybe ArrayValue) Source #
An array value. Cannot contain another array value. A `Value` instance that sets field `array_value` must not set fields `meaning` or `exclude_from_indexes`.
vNullValue :: Lens' Value (Maybe ValueNullValue) Source #
A null value.
vBlobValue :: Lens' Value (Maybe ByteString) Source #
A blob value. May have at most 1,000,000 bytes. When `exclude_from_indexes` is false, may have at most 1500 bytes. In JSON requests, must be base64-encoded.
ValueNullValue
data ValueNullValue Source #
A null value.
NullValue |
|
Instances
GoogleDatastoreAdminV1IndexedPropertyDirection
data GoogleDatastoreAdminV1IndexedPropertyDirection Source #
The indexed property's direction. Must not be DIRECTION_UNSPECIFIED. Required.
GDAVIPDDirectionUnspecified |
|
GDAVIPDAscending |
|
GDAVIPDDescending |
|
Instances
GoogleDatastoreAdminV1CommonMetadataLabels
data GoogleDatastoreAdminV1CommonMetadataLabels Source #
The client-assigned labels which were provided when the operation was created. May also include additional labels.
See: googleDatastoreAdminV1CommonMetadataLabels
smart constructor.
Instances
googleDatastoreAdminV1CommonMetadataLabels Source #
Creates a value of GoogleDatastoreAdminV1CommonMetadataLabels
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
GoogleDatastoreAdminV1IndexAncestor
data GoogleDatastoreAdminV1IndexAncestor Source #
The index's ancestor mode. Must not be ANCESTOR_MODE_UNSPECIFIED. Required.
AncestorModeUnspecified |
|
None |
|
AllAncestors |
|
Instances
StatusDetailsItem
data StatusDetailsItem Source #
Instances
Creates a value of StatusDetailsItem
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sdiAddtional :: Lens' StatusDetailsItem (HashMap Text JSONValue) Source #
Properties of the object. Contains field 'type with type URL.
LookupRequest
data LookupRequest Source #
The request for Datastore.Lookup.
See: lookupRequest
smart constructor.
Instances
lookupRequest :: LookupRequest Source #
Creates a value of LookupRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lrReadOptions :: Lens' LookupRequest (Maybe ReadOptions) Source #
The options for this lookup request.
ReadOptionsReadConsistency
data ReadOptionsReadConsistency Source #
The non-transactional read consistency to use. Cannot be set to `STRONG` for global queries.
ReadConsistencyUnspecified |
|
Strong |
|
Eventual |
|
Instances
GoogleDatastoreAdminV1CommonMetadata
data GoogleDatastoreAdminV1CommonMetadata Source #
Metadata common to all Datastore Admin operations.
See: googleDatastoreAdminV1CommonMetadata
smart constructor.
Instances
googleDatastoreAdminV1CommonMetadata :: GoogleDatastoreAdminV1CommonMetadata Source #
Creates a value of GoogleDatastoreAdminV1CommonMetadata
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gState :: Lens' GoogleDatastoreAdminV1CommonMetadata (Maybe GoogleDatastoreAdminV1CommonMetadataState) Source #
The current state of the Operation.
gStartTime :: Lens' GoogleDatastoreAdminV1CommonMetadata (Maybe UTCTime) Source #
The time that work began on the operation.
gEndTime :: Lens' GoogleDatastoreAdminV1CommonMetadata (Maybe UTCTime) Source #
The time the operation ended, either successfully or otherwise.
gLabels :: Lens' GoogleDatastoreAdminV1CommonMetadata (Maybe GoogleDatastoreAdminV1CommonMetadataLabels) Source #
The client-assigned labels which were provided when the operation was created. May also include additional labels.
gOperationType :: Lens' GoogleDatastoreAdminV1CommonMetadata (Maybe GoogleDatastoreAdminV1CommonMetadataOperationType) Source #
The type of the operation. Can be used as a filter in ListOperationsRequest.
GoogleDatastoreAdminV1ExportEntitiesRequest
data GoogleDatastoreAdminV1ExportEntitiesRequest Source #
The request for google.datastore.admin.v1.DatastoreAdmin.ExportEntities.
See: googleDatastoreAdminV1ExportEntitiesRequest
smart constructor.
Instances
googleDatastoreAdminV1ExportEntitiesRequest :: GoogleDatastoreAdminV1ExportEntitiesRequest Source #
Creates a value of GoogleDatastoreAdminV1ExportEntitiesRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gdaveerOutputURLPrefix :: Lens' GoogleDatastoreAdminV1ExportEntitiesRequest (Maybe Text) Source #
Location for the export metadata and data files. The full resource URL of the external storage location. Currently, only Google Cloud Storage is supported. So output_url_prefix should be of the form: `gs://BUCKET_NAME[/NAMESPACE_PATH]`, where `BUCKET_NAME` is the name of the Cloud Storage bucket and `NAMESPACE_PATH` is an optional Cloud Storage namespace path (this is not a Cloud Datastore namespace). For more information about Cloud Storage namespace paths, see Object name considerations. The resulting files will be nested deeper than the specified URL prefix. The final output URL will be provided in the google.datastore.admin.v1.ExportEntitiesResponse.output_url field. That value should be used for subsequent ImportEntities operations. By nesting the data files deeper, the same Cloud Storage bucket can be used in multiple ExportEntities operations without conflict.
gdaveerEntityFilter :: Lens' GoogleDatastoreAdminV1ExportEntitiesRequest (Maybe GoogleDatastoreAdminV1EntityFilter) Source #
Description of what data from the project is included in the export.
gdaveerLabels :: Lens' GoogleDatastoreAdminV1ExportEntitiesRequest (Maybe GoogleDatastoreAdminV1ExportEntitiesRequestLabels) Source #
Client-assigned labels.
Mutation
A mutation to apply to an entity.
See: mutation
smart constructor.
Instances
mBaseVersion :: Lens' Mutation (Maybe Int64) Source #
The version of the entity that this mutation is being applied to. If this does not match the current version on the server, the mutation conflicts.
mInsert :: Lens' Mutation (Maybe Entity) Source #
The entity to insert. The entity must not already exist. The entity key's final path element may be incomplete.
mUpsert :: Lens' Mutation (Maybe Entity) Source #
The entity to upsert. The entity may or may not already exist. The entity key's final path element may be incomplete.
mDelete :: Lens' Mutation (Maybe Key) Source #
The key of the entity to delete. The entity may or may not already exist. Must have a complete key path and must not be reserved/read-only.
mUpdate :: Lens' Mutation (Maybe Entity) Source #
The entity to update. The entity must already exist. Must have a complete key path.
GqlQueryNamedBindings
data GqlQueryNamedBindings Source #
For each non-reserved named binding site in the query string, there must be a named parameter with that name, but not necessarily the inverse. Key must match regex `A-Za-z_$*`, must not match regex `.*`, and must not be `""`.
See: gqlQueryNamedBindings
smart constructor.
Instances
gqlQueryNamedBindings Source #
Creates a value of GqlQueryNamedBindings
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
GoogleDatastoreAdminV1ExportEntitiesResponse
data GoogleDatastoreAdminV1ExportEntitiesResponse Source #
The response for google.datastore.admin.v1.DatastoreAdmin.ExportEntities.
See: googleDatastoreAdminV1ExportEntitiesResponse
smart constructor.
Instances
googleDatastoreAdminV1ExportEntitiesResponse :: GoogleDatastoreAdminV1ExportEntitiesResponse Source #
Creates a value of GoogleDatastoreAdminV1ExportEntitiesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gOutputURL :: Lens' GoogleDatastoreAdminV1ExportEntitiesResponse (Maybe Text) Source #
Location of the output metadata file. This can be used to begin an import into Cloud Datastore (this project or another project). See google.datastore.admin.v1.ImportEntitiesRequest.input_url. Only present if the operation completed successfully.
PropertyReference
data PropertyReference Source #
A reference to a property relative to the kind expressions.
See: propertyReference
smart constructor.
Instances
propertyReference :: PropertyReference Source #
Creates a value of PropertyReference
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
prName :: Lens' PropertyReference (Maybe Text) Source #
The name of the property. If name includes "."s, it may be interpreted as a property name path.
Key
A unique identifier for an entity. If a key's partition ID or any of its path kinds or names are reserved/read-only, the key is reserved/read-only. A reserved/read-only key is forbidden in certain documented contexts.
See: key
smart constructor.
Instances
Eq Key Source # | |
Data Key Source # | |
Defined in Network.Google.Datastore.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Key -> c Key # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Key # dataTypeOf :: Key -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Key) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Key) # gmapT :: (forall b. Data b => b -> b) -> Key -> Key # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Key -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Key -> r # gmapQ :: (forall d. Data d => d -> u) -> Key -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Key -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Key -> m Key # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Key -> m Key # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Key -> m Key # | |
Show Key Source # | |
Generic Key Source # | |
ToJSON Key Source # | |
Defined in Network.Google.Datastore.Types.Product | |
FromJSON Key Source # | |
type Rep Key Source # | |
Defined in Network.Google.Datastore.Types.Product type Rep Key = D1 (MetaData "Key" "Network.Google.Datastore.Types.Product" "gogol-datastore-0.4.0-DxtGpCFjzKb7bKvoY75v5a" False) (C1 (MetaCons "Key'" PrefixI True) (S1 (MetaSel (Just "_kPartitionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe PartitionId)) :*: S1 (MetaSel (Just "_kPath") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [PathElement])))) |
Creates a value of Key
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
kPartitionId :: Lens' Key (Maybe PartitionId) Source #
Entities are partitioned into subsets, currently identified by a project ID and namespace ID. Queries are scoped to a single partition.
kPath :: Lens' Key [PathElement] Source #
The entity path. An entity path consists of one or more elements composed of a kind and a string or numerical identifier, which identify entities. The first element identifies a _root entity_, the second element identifies a _child_ of the root entity, the third element identifies a child of the second entity, and so forth. The entities identified by all prefixes of the path are called the element's _ancestors_. An entity path is always fully complete: *all* of the entity's ancestors are required to be in the path along with the entity identifier itself. The only exception is that in some documented cases, the identifier in the last path element (for the entity) itself may be omitted. For example, the last path element of the key of `Mutation.insert` may have no identifier. A path can never be empty, and a path can have at most 100 elements.
GoogleDatastoreAdminV1ImportEntitiesRequest
data GoogleDatastoreAdminV1ImportEntitiesRequest Source #
The request for google.datastore.admin.v1.DatastoreAdmin.ImportEntities.
See: googleDatastoreAdminV1ImportEntitiesRequest
smart constructor.
Instances
googleDatastoreAdminV1ImportEntitiesRequest :: GoogleDatastoreAdminV1ImportEntitiesRequest Source #
Creates a value of GoogleDatastoreAdminV1ImportEntitiesRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gdavierEntityFilter :: Lens' GoogleDatastoreAdminV1ImportEntitiesRequest (Maybe GoogleDatastoreAdminV1EntityFilter) Source #
Optionally specify which kinds/namespaces are to be imported. If provided, the list must be a subset of the EntityFilter used in creating the export, otherwise a FAILED_PRECONDITION error will be returned. If no filter is specified then all entities from the export are imported.
gdavierInputURL :: Lens' GoogleDatastoreAdminV1ImportEntitiesRequest (Maybe Text) Source #
The full resource URL of the external storage location. Currently, only Google Cloud Storage is supported. So input_url should be of the form: `gs://BUCKET_NAME[/NAMESPACE_PATH]/OVERALL_EXPORT_METADATA_FILE`, where `BUCKET_NAME` is the name of the Cloud Storage bucket, `NAMESPACE_PATH` is an optional Cloud Storage namespace path (this is not a Cloud Datastore namespace), and `OVERALL_EXPORT_METADATA_FILE` is the metadata file written by the ExportEntities operation. For more information about Cloud Storage namespace paths, see Object name considerations. For more information, see google.datastore.admin.v1.ExportEntitiesResponse.output_url.
gdavierLabels :: Lens' GoogleDatastoreAdminV1ImportEntitiesRequest (Maybe GoogleDatastoreAdminV1ImportEntitiesRequestLabels) Source #
Client-assigned labels.
GoogleDatastoreAdminV1IndexState
data GoogleDatastoreAdminV1IndexState Source #
The state of the index. Output only.
StateUnspecified |
|
Creating |
|
Ready |
|
Deleting |
|
Error' |
|
Instances
PropertyFilter
data PropertyFilter Source #
A filter on a specific property.
See: propertyFilter
smart constructor.
Instances
propertyFilter :: PropertyFilter Source #
Creates a value of PropertyFilter
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
pfProperty :: Lens' PropertyFilter (Maybe PropertyReference) Source #
The property to filter by.
pfOp :: Lens' PropertyFilter (Maybe PropertyFilterOp) Source #
The operator to filter by.
Query
A query for entities.
See: query
smart constructor.
Instances
Creates a value of Query
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
qStartCursor :: Lens' Query (Maybe ByteString) Source #
A starting point for the query results. Query cursors are returned in query result batches and can only be used to continue the same query.
qOffSet :: Lens' Query (Maybe Int32) Source #
The number of results to skip. Applies before limit, but after all other constraints. Optional. Must be >= 0 if specified.
qKind :: Lens' Query [KindExpression] Source #
The kinds to query (if empty, returns entities of all kinds). Currently at most 1 kind may be specified.
qDistinctOn :: Lens' Query [PropertyReference] Source #
The properties to make distinct. The query results will contain the first result for each distinct combination of values for the given properties (if empty, all results are returned).
qEndCursor :: Lens' Query (Maybe ByteString) Source #
An ending point for the query results. Query cursors are returned in query result batches and can only be used to limit the same query.
qLimit :: Lens' Query (Maybe Int32) Source #
The maximum number of results to return. Applies after all other constraints. Optional. Unspecified is interpreted as no limit. Must be >= 0 if specified.
qProjection :: Lens' Query [Projection] Source #
The projection to return. Defaults to returning all properties.
qOrder :: Lens' Query [PropertyOrder] Source #
The order to apply to the query results (if empty, order is unspecified).
ArrayValue
data ArrayValue Source #
An array value.
See: arrayValue
smart constructor.
Instances
arrayValue :: ArrayValue Source #
Creates a value of ArrayValue
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
avValues :: Lens' ArrayValue [Value] Source #
Values in the array. The order of values in an array is preserved as long as all values have identical settings for 'exclude_from_indexes'.
EntityResult
data EntityResult Source #
The result of fetching an entity from Datastore.
See: entityResult
smart constructor.
Instances
entityResult :: EntityResult Source #
Creates a value of EntityResult
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
erCursor :: Lens' EntityResult (Maybe ByteString) Source #
A cursor that points to the position after the result entity. Set only when the `EntityResult` is part of a `QueryResultBatch` message.
erVersion :: Lens' EntityResult (Maybe Int64) Source #
The version of the entity, a strictly positive number that monotonically increases with changes to the entity. This field is set for `FULL` entity results. For missing entities in `LookupResponse`, this is the version of the snapshot that was used to look up the entity, and it is always set except for eventually consistent reads.
Xgafv
V1 error format.
Instances
CommitResponse
data CommitResponse Source #
The response for Datastore.Commit.
See: commitResponse
smart constructor.
Instances
commitResponse :: CommitResponse Source #
Creates a value of CommitResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
crIndexUpdates :: Lens' CommitResponse (Maybe Int32) Source #
The number of index entries updated during the commit, or zero if none were updated.
crMutationResults :: Lens' CommitResponse [MutationResult] Source #
The result of performing the mutations. The i-th mutation result corresponds to the i-th mutation in the request.
KindExpression
data KindExpression Source #
A representation of a kind.
See: kindExpression
smart constructor.
Instances
kindExpression :: KindExpression Source #
Creates a value of KindExpression
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
GoogleLongrunningOperationResponse
data GoogleLongrunningOperationResponse Source #
The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
See: googleLongrunningOperationResponse
smart constructor.
Instances
googleLongrunningOperationResponse Source #
Creates a value of GoogleLongrunningOperationResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
glorAddtional :: Lens' GoogleLongrunningOperationResponse (HashMap Text JSONValue) Source #
Properties of the object. Contains field 'type with type URL.
ReadOptions
data ReadOptions Source #
The options shared by read requests.
See: readOptions
smart constructor.
Instances
readOptions :: ReadOptions Source #
Creates a value of ReadOptions
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
roReadConsistency :: Lens' ReadOptions (Maybe ReadOptionsReadConsistency) Source #
The non-transactional read consistency to use. Cannot be set to `STRONG` for global queries.
roTransaction :: Lens' ReadOptions (Maybe ByteString) Source #
The identifier of the transaction in which to read. A transaction identifier is returned by a call to Datastore.BeginTransaction.
GoogleDatastoreAdminV1beta1CommonMetadataState
data GoogleDatastoreAdminV1beta1CommonMetadataState Source #
The current state of the Operation.
GDAVCMSStateUnspecified |
|
GDAVCMSInitializing |
|
GDAVCMSProcessing |
|
GDAVCMSCancelling |
|
GDAVCMSFinalizing |
|
GDAVCMSSuccessful |
|
GDAVCMSFailed |
|
GDAVCMSCancelled |
|
Instances
GoogleDatastoreAdminV1EntityFilter
data GoogleDatastoreAdminV1EntityFilter Source #
Identifies a subset of entities in a project. This is specified as combinations of kinds and namespaces (either or both of which may be all, as described in the following examples). Example usage: Entire project: kinds=[], namespace_ids=[] Kinds Foo and Bar in all namespaces: kinds=['Foo', 'Bar'], namespace_ids=[] Kinds Foo and Bar only in the default namespace: kinds=['Foo', 'Bar'], namespace_ids=[''] Kinds Foo and Bar in both the default and Baz namespaces: kinds=['Foo', 'Bar'], namespace_ids=['', 'Baz'] The entire Baz namespace: kinds=[], namespace_ids=['Baz']
See: googleDatastoreAdminV1EntityFilter
smart constructor.
Instances
googleDatastoreAdminV1EntityFilter :: GoogleDatastoreAdminV1EntityFilter Source #
Creates a value of GoogleDatastoreAdminV1EntityFilter
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gdavefNamespaceIds :: Lens' GoogleDatastoreAdminV1EntityFilter [Text] Source #
An empty list represents all namespaces. This is the preferred usage for projects that don't use namespaces. An empty string element represents the default namespace. This should be used if the project has data in non-default namespaces, but doesn't want to include them. Each namespace in this list must be unique.
gdavefKinds :: Lens' GoogleDatastoreAdminV1EntityFilter [Text] Source #
If empty, then this represents all kinds.
RollbackResponse
data RollbackResponse Source #
The response for Datastore.Rollback. (an empty message).
See: rollbackResponse
smart constructor.
Instances
rollbackResponse :: RollbackResponse Source #
Creates a value of RollbackResponse
with the minimum fields required to make a request.
Projection
data Projection Source #
A representation of a property in a projection.
See: projection
smart constructor.
Instances
projection :: Projection Source #
Creates a value of Projection
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
pProperty :: Lens' Projection (Maybe PropertyReference) Source #
The property to project.
ReserveIdsResponse
data ReserveIdsResponse Source #
The response for Datastore.ReserveIds.
See: reserveIdsResponse
smart constructor.
Instances
reserveIdsResponse :: ReserveIdsResponse Source #
Creates a value of ReserveIdsResponse
with the minimum fields required to make a request.
Filter
A holder for any type of filter.
See: filter'
smart constructor.
Instances
Eq Filter Source # | |
Data Filter Source # | |
Defined in Network.Google.Datastore.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Filter -> c Filter # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Filter # toConstr :: Filter -> Constr # dataTypeOf :: Filter -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Filter) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Filter) # gmapT :: (forall b. Data b => b -> b) -> Filter -> Filter # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Filter -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Filter -> r # gmapQ :: (forall d. Data d => d -> u) -> Filter -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Filter -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Filter -> m Filter # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Filter -> m Filter # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Filter -> m Filter # | |
Show Filter Source # | |
Generic Filter Source # | |
ToJSON Filter Source # | |
Defined in Network.Google.Datastore.Types.Product | |
FromJSON Filter Source # | |
type Rep Filter Source # | |
Defined in Network.Google.Datastore.Types.Product type Rep Filter = D1 (MetaData "Filter" "Network.Google.Datastore.Types.Product" "gogol-datastore-0.4.0-DxtGpCFjzKb7bKvoY75v5a" False) (C1 (MetaCons "Filter'" PrefixI True) (S1 (MetaSel (Just "_fCompositeFilter") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe CompositeFilter)) :*: S1 (MetaSel (Just "_fPropertyFilter") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe PropertyFilter)))) |
Creates a value of Filter
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
fCompositeFilter :: Lens' Filter (Maybe CompositeFilter) Source #
A composite filter.
fPropertyFilter :: Lens' Filter (Maybe PropertyFilter) Source #
A filter on a property.
GoogleDatastoreAdminV1Index
data GoogleDatastoreAdminV1Index Source #
A minimal index definition.
See: googleDatastoreAdminV1Index
smart constructor.
Instances
googleDatastoreAdminV1Index :: GoogleDatastoreAdminV1Index Source #
Creates a value of GoogleDatastoreAdminV1Index
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gdaviState :: Lens' GoogleDatastoreAdminV1Index (Maybe GoogleDatastoreAdminV1IndexState) Source #
The state of the index. Output only.
gdaviKind :: Lens' GoogleDatastoreAdminV1Index (Maybe Text) Source #
The entity kind to which this index applies. Required.
gdaviProjectId :: Lens' GoogleDatastoreAdminV1Index (Maybe Text) Source #
Project ID. Output only.
gdaviIndexId :: Lens' GoogleDatastoreAdminV1Index (Maybe Text) Source #
The resource ID of the index. Output only.
gdaviAncestor :: Lens' GoogleDatastoreAdminV1Index (Maybe GoogleDatastoreAdminV1IndexAncestor) Source #
The index's ancestor mode. Must not be ANCESTOR_MODE_UNSPECIFIED. Required.
gdaviProperties :: Lens' GoogleDatastoreAdminV1Index [GoogleDatastoreAdminV1IndexedProperty] Source #
An ordered sequence of property names and their index attributes. Required.
GoogleDatastoreAdminV1beta1CommonMetadataLabels
data GoogleDatastoreAdminV1beta1CommonMetadataLabels Source #
The client-assigned labels which were provided when the operation was created. May also include additional labels.
See: googleDatastoreAdminV1beta1CommonMetadataLabels
smart constructor.
Instances
googleDatastoreAdminV1beta1CommonMetadataLabels Source #
Creates a value of GoogleDatastoreAdminV1beta1CommonMetadataLabels
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
PropertyFilterOp
data PropertyFilterOp Source #
The operator to filter by.
PFOOperatorUnspecified |
|
PFOLessThan |
|
PFOLessThanOrEqual |
|
PFOGreaterThan |
|
PFOGreaterThanOrEqual |
|
PFOEqual |
|
PFOHasAncestor |
|
Instances
CommitRequest
data CommitRequest Source #
The request for Datastore.Commit.
See: commitRequest
smart constructor.
Instances
commitRequest :: CommitRequest Source #
Creates a value of CommitRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
crMutations :: Lens' CommitRequest [Mutation] Source #
The mutations to perform. When mode is `TRANSACTIONAL`, mutations affecting a single entity are applied in order. The following sequences of mutations affecting a single entity are not permitted in a single `Commit` request: - `insert` followed by `insert` - `update` followed by `insert` - `upsert` followed by `insert` - `delete` followed by `update` When mode is `NON_TRANSACTIONAL`, no two mutations may affect a single entity.
crMode :: Lens' CommitRequest (Maybe CommitRequestMode) Source #
The type of commit to perform. Defaults to `TRANSACTIONAL`.
crTransaction :: Lens' CommitRequest (Maybe ByteString) Source #
The identifier of the transaction associated with the commit. A transaction identifier is returned by a call to Datastore.BeginTransaction.
CommitRequestMode
data CommitRequestMode Source #
The type of commit to perform. Defaults to `TRANSACTIONAL`.
ModeUnspecified |
|
Transactional |
|
NonTransactional |
|
Instances
GoogleLongrunningListOperationsResponse
data GoogleLongrunningListOperationsResponse Source #
The response message for Operations.ListOperations.
See: googleLongrunningListOperationsResponse
smart constructor.
Instances
googleLongrunningListOperationsResponse :: GoogleLongrunningListOperationsResponse Source #
Creates a value of GoogleLongrunningListOperationsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gllorNextPageToken :: Lens' GoogleLongrunningListOperationsResponse (Maybe Text) Source #
The standard List next-page token.
gllorOperations :: Lens' GoogleLongrunningListOperationsResponse [GoogleLongrunningOperation] Source #
A list of operations that matches the specified filter in the request.
GoogleDatastoreAdminV1ImportEntitiesMetadata
data GoogleDatastoreAdminV1ImportEntitiesMetadata Source #
Metadata for ImportEntities operations.
See: googleDatastoreAdminV1ImportEntitiesMetadata
smart constructor.
Instances
googleDatastoreAdminV1ImportEntitiesMetadata :: GoogleDatastoreAdminV1ImportEntitiesMetadata Source #
Creates a value of GoogleDatastoreAdminV1ImportEntitiesMetadata
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gProgressBytes :: Lens' GoogleDatastoreAdminV1ImportEntitiesMetadata (Maybe GoogleDatastoreAdminV1Progress) Source #
An estimate of the number of bytes processed.
gProgressEntities :: Lens' GoogleDatastoreAdminV1ImportEntitiesMetadata (Maybe GoogleDatastoreAdminV1Progress) Source #
An estimate of the number of entities processed.
gEntityFilter :: Lens' GoogleDatastoreAdminV1ImportEntitiesMetadata (Maybe GoogleDatastoreAdminV1EntityFilter) Source #
Description of which entities are being imported.
gInputURL :: Lens' GoogleDatastoreAdminV1ImportEntitiesMetadata (Maybe Text) Source #
The location of the import metadata file. This will be the same value as the google.datastore.admin.v1.ExportEntitiesResponse.output_url field.
gCommon :: Lens' GoogleDatastoreAdminV1ImportEntitiesMetadata (Maybe GoogleDatastoreAdminV1CommonMetadata) Source #
Metadata common to all Datastore Admin operations.
GoogleDatastoreAdminV1Progress
data GoogleDatastoreAdminV1Progress Source #
Measures the progress of a particular metric.
See: googleDatastoreAdminV1Progress
smart constructor.
Instances
googleDatastoreAdminV1Progress :: GoogleDatastoreAdminV1Progress Source #
Creates a value of GoogleDatastoreAdminV1Progress
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gWorkCompleted :: Lens' GoogleDatastoreAdminV1Progress (Maybe Int64) Source #
The amount of work that has been completed. Note that this may be greater than work_estimated.
gWorkEstimated :: Lens' GoogleDatastoreAdminV1Progress (Maybe Int64) Source #
An estimate of how much work needs to be performed. May be zero if the work estimate is unavailable.
PathElement
data PathElement Source #
A (kind, ID/name) pair used to construct a key path. If either name or ID is set, the element is complete. If neither is set, the element is incomplete.
See: pathElement
smart constructor.
Instances
pathElement :: PathElement Source #
Creates a value of PathElement
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
peKind :: Lens' PathElement (Maybe Text) Source #
The kind of the entity. A kind matching regex `.*` is reserved/read-only. A kind must not contain more than 1500 bytes when UTF-8 encoded. Cannot be `""`.
peName :: Lens' PathElement (Maybe Text) Source #
The name of the entity. A name matching regex `.*` is reserved/read-only. A name must not be more than 1500 bytes when UTF-8 encoded. Cannot be `""`.
peId :: Lens' PathElement (Maybe Int64) Source #
The auto-allocated ID of the entity. Never equal to zero. Values less than zero are discouraged and may not be supported in the future.
Entity
A Datastore data object. An entity is limited to 1 megabyte when stored. That _roughly_ corresponds to a limit of 1 megabyte for the serialized form of this message.
See: entity
smart constructor.
Instances
Eq Entity Source # | |
Data Entity Source # | |
Defined in Network.Google.Datastore.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Entity -> c Entity # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Entity # toConstr :: Entity -> Constr # dataTypeOf :: Entity -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Entity) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Entity) # gmapT :: (forall b. Data b => b -> b) -> Entity -> Entity # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Entity -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Entity -> r # gmapQ :: (forall d. Data d => d -> u) -> Entity -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Entity -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Entity -> m Entity # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Entity -> m Entity # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Entity -> m Entity # | |
Show Entity Source # | |
Generic Entity Source # | |
ToJSON Entity Source # | |
Defined in Network.Google.Datastore.Types.Product | |
FromJSON Entity Source # | |
type Rep Entity Source # | |
Defined in Network.Google.Datastore.Types.Product type Rep Entity = D1 (MetaData "Entity" "Network.Google.Datastore.Types.Product" "gogol-datastore-0.4.0-DxtGpCFjzKb7bKvoY75v5a" False) (C1 (MetaCons "Entity'" PrefixI True) (S1 (MetaSel (Just "_eKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Key)) :*: S1 (MetaSel (Just "_eProperties") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe EntityProperties)))) |
Creates a value of Entity
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
eKey :: Lens' Entity (Maybe Key) Source #
The entity's key. An entity must have a key, unless otherwise documented (for example, an entity in `Value.entity_value` may have no key). An entity's kind is its key path's last element's kind, or null if it has no key.
eProperties :: Lens' Entity (Maybe EntityProperties) Source #
The entity's properties. The map's keys are property names. A property name matching regex `.*` is reserved. A reserved property name is forbidden in certain documented contexts. The name must not contain more than 500 characters. The name cannot be `""`.
GoogleDatastoreAdminV1beta1EntityFilter
data GoogleDatastoreAdminV1beta1EntityFilter Source #
Identifies a subset of entities in a project. This is specified as combinations of kinds and namespaces (either or both of which may be all, as described in the following examples). Example usage: Entire project: kinds=[], namespace_ids=[] Kinds Foo and Bar in all namespaces: kinds=['Foo', 'Bar'], namespace_ids=[] Kinds Foo and Bar only in the default namespace: kinds=['Foo', 'Bar'], namespace_ids=[''] Kinds Foo and Bar in both the default and Baz namespaces: kinds=['Foo', 'Bar'], namespace_ids=['', 'Baz'] The entire Baz namespace: kinds=[], namespace_ids=['Baz']
See: googleDatastoreAdminV1beta1EntityFilter
smart constructor.
Instances
googleDatastoreAdminV1beta1EntityFilter :: GoogleDatastoreAdminV1beta1EntityFilter Source #
Creates a value of GoogleDatastoreAdminV1beta1EntityFilter
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gNamespaceIds :: Lens' GoogleDatastoreAdminV1beta1EntityFilter [Text] Source #
An empty list represents all namespaces. This is the preferred usage for projects that don't use namespaces. An empty string element represents the default namespace. This should be used if the project has data in non-default namespaces, but doesn't want to include them. Each namespace in this list must be unique.
gKinds :: Lens' GoogleDatastoreAdminV1beta1EntityFilter [Text] Source #
If empty, then this represents all kinds.
ReadOnly
Options specific to read-only transactions.
See: readOnly
smart constructor.
Instances
Eq ReadOnly Source # | |
Data ReadOnly Source # | |
Defined in Network.Google.Datastore.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ReadOnly -> c ReadOnly # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ReadOnly # toConstr :: ReadOnly -> Constr # dataTypeOf :: ReadOnly -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ReadOnly) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ReadOnly) # gmapT :: (forall b. Data b => b -> b) -> ReadOnly -> ReadOnly # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ReadOnly -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ReadOnly -> r # gmapQ :: (forall d. Data d => d -> u) -> ReadOnly -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> ReadOnly -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> ReadOnly -> m ReadOnly # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ReadOnly -> m ReadOnly # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ReadOnly -> m ReadOnly # | |
Show ReadOnly Source # | |
Generic ReadOnly Source # | |
ToJSON ReadOnly Source # | |
Defined in Network.Google.Datastore.Types.Product | |
FromJSON ReadOnly Source # | |
type Rep ReadOnly Source # | |
Creates a value of ReadOnly
with the minimum fields required to make a request.
GoogleDatastoreAdminV1IndexedProperty
data GoogleDatastoreAdminV1IndexedProperty Source #
A property of an index.
See: googleDatastoreAdminV1IndexedProperty
smart constructor.
Instances
googleDatastoreAdminV1IndexedProperty :: GoogleDatastoreAdminV1IndexedProperty Source #
Creates a value of GoogleDatastoreAdminV1IndexedProperty
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gdavipDirection :: Lens' GoogleDatastoreAdminV1IndexedProperty (Maybe GoogleDatastoreAdminV1IndexedPropertyDirection) Source #
The indexed property's direction. Must not be DIRECTION_UNSPECIFIED. Required.
gdavipName :: Lens' GoogleDatastoreAdminV1IndexedProperty (Maybe Text) Source #
The property name to index. Required.
LookupResponse
data LookupResponse Source #
The response for Datastore.Lookup.
See: lookupResponse
smart constructor.
Instances
lookupResponse :: LookupResponse Source #
Creates a value of LookupResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lrDeferred :: Lens' LookupResponse [Key] Source #
A list of keys that were not looked up due to resource constraints. The order of results in this field is undefined and has no relation to the order of the keys in the input.
lrFound :: Lens' LookupResponse [EntityResult] Source #
Entities found as `ResultType.FULL` entities. The order of results in this field is undefined and has no relation to the order of the keys in the input.
lrMissing :: Lens' LookupResponse [EntityResult] Source #
Entities not found as `ResultType.KEY_ONLY` entities. The order of results in this field is undefined and has no relation to the order of the keys in the input.
GoogleLongrunningOperation
data GoogleLongrunningOperation Source #
This resource represents a long-running operation that is the result of a network API call.
See: googleLongrunningOperation
smart constructor.
Instances
googleLongrunningOperation :: GoogleLongrunningOperation Source #
Creates a value of GoogleLongrunningOperation
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gloDone :: Lens' GoogleLongrunningOperation (Maybe Bool) Source #
If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
gloError :: Lens' GoogleLongrunningOperation (Maybe Status) Source #
The error result of the operation in case of failure or cancellation.
gloResponse :: Lens' GoogleLongrunningOperation (Maybe GoogleLongrunningOperationResponse) Source #
The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
gloName :: Lens' GoogleLongrunningOperation (Maybe Text) Source #
The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should have the format of `operations/some/unique/name`.
gloMetadata :: Lens' GoogleLongrunningOperation (Maybe 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.
PropertyOrder
data PropertyOrder Source #
The desired order for a specific property.
See: propertyOrder
smart constructor.
Instances
propertyOrder :: PropertyOrder Source #
Creates a value of PropertyOrder
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
poProperty :: Lens' PropertyOrder (Maybe PropertyReference) Source #
The property to order by.
poDirection :: Lens' PropertyOrder (Maybe PropertyOrderDirection) Source #
The direction to order by. Defaults to `ASCENDING`.
GoogleDatastoreAdminV1beta1ExportEntitiesMetadata
data GoogleDatastoreAdminV1beta1ExportEntitiesMetadata Source #
Metadata for ExportEntities operations.
See: googleDatastoreAdminV1beta1ExportEntitiesMetadata
smart constructor.
Instances
googleDatastoreAdminV1beta1ExportEntitiesMetadata :: GoogleDatastoreAdminV1beta1ExportEntitiesMetadata Source #
Creates a value of GoogleDatastoreAdminV1beta1ExportEntitiesMetadata
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gooProgressBytes :: Lens' GoogleDatastoreAdminV1beta1ExportEntitiesMetadata (Maybe GoogleDatastoreAdminV1beta1Progress) Source #
An estimate of the number of bytes processed.
gooOutputURLPrefix :: Lens' GoogleDatastoreAdminV1beta1ExportEntitiesMetadata (Maybe Text) Source #
Location for the export metadata and data files. This will be the same value as the google.datastore.admin.v1beta1.ExportEntitiesRequest.output_url_prefix field. The final output location is provided in google.datastore.admin.v1beta1.ExportEntitiesResponse.output_url.
gooProgressEntities :: Lens' GoogleDatastoreAdminV1beta1ExportEntitiesMetadata (Maybe GoogleDatastoreAdminV1beta1Progress) Source #
An estimate of the number of entities processed.
gooEntityFilter :: Lens' GoogleDatastoreAdminV1beta1ExportEntitiesMetadata (Maybe GoogleDatastoreAdminV1beta1EntityFilter) Source #
Description of which entities are being exported.
gooCommon :: Lens' GoogleDatastoreAdminV1beta1ExportEntitiesMetadata (Maybe GoogleDatastoreAdminV1beta1CommonMetadata) Source #
Metadata common to all Datastore Admin operations.
GqlQueryParameter
data GqlQueryParameter Source #
A binding parameter for a GQL query.
See: gqlQueryParameter
smart constructor.
Instances
gqlQueryParameter :: GqlQueryParameter Source #
Creates a value of GqlQueryParameter
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gqpCursor :: Lens' GqlQueryParameter (Maybe ByteString) Source #
A query cursor. Query cursors are returned in query result batches.
GoogleDatastoreAdminV1CommonMetadataState
data GoogleDatastoreAdminV1CommonMetadataState Source #
The current state of the Operation.
GStateUnspecified |
|
GInitializing |
|
GProcessing |
|
GCancelling |
|
GFinalizing |
|
GSuccessful |
|
GFailed |
|
GCancelled |
|