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 |
Creates a composite index. This returns a google.longrunning.Operation which may be used to track the status of the creation. The metadata for the operation will be the type IndexOperationMetadata.
See: Cloud Firestore API Reference for firestore.projects.databases.collectionGroups.indexes.create
.
Synopsis
- type ProjectsDatabasesCollectionGroupsIndexesCreateResource = "v1" :> (Capture "parent" Text :> ("indexes" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GoogleFirestoreAdminV1Index :> Post '[JSON] GoogleLongrunningOperation)))))))))
- projectsDatabasesCollectionGroupsIndexesCreate :: Text -> GoogleFirestoreAdminV1Index -> ProjectsDatabasesCollectionGroupsIndexesCreate
- data ProjectsDatabasesCollectionGroupsIndexesCreate
- pdcgicParent :: Lens' ProjectsDatabasesCollectionGroupsIndexesCreate Text
- pdcgicXgafv :: Lens' ProjectsDatabasesCollectionGroupsIndexesCreate (Maybe Xgafv)
- pdcgicUploadProtocol :: Lens' ProjectsDatabasesCollectionGroupsIndexesCreate (Maybe Text)
- pdcgicAccessToken :: Lens' ProjectsDatabasesCollectionGroupsIndexesCreate (Maybe Text)
- pdcgicUploadType :: Lens' ProjectsDatabasesCollectionGroupsIndexesCreate (Maybe Text)
- pdcgicPayload :: Lens' ProjectsDatabasesCollectionGroupsIndexesCreate GoogleFirestoreAdminV1Index
- pdcgicCallback :: Lens' ProjectsDatabasesCollectionGroupsIndexesCreate (Maybe Text)
REST Resource
type ProjectsDatabasesCollectionGroupsIndexesCreateResource = "v1" :> (Capture "parent" Text :> ("indexes" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GoogleFirestoreAdminV1Index :> Post '[JSON] GoogleLongrunningOperation))))))))) Source #
A resource alias for firestore.projects.databases.collectionGroups.indexes.create
method which the
ProjectsDatabasesCollectionGroupsIndexesCreate
request conforms to.
Creating a Request
projectsDatabasesCollectionGroupsIndexesCreate Source #
Creates a value of ProjectsDatabasesCollectionGroupsIndexesCreate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsDatabasesCollectionGroupsIndexesCreate Source #
Creates a composite index. This returns a google.longrunning.Operation which may be used to track the status of the creation. The metadata for the operation will be the type IndexOperationMetadata.
See: projectsDatabasesCollectionGroupsIndexesCreate
smart constructor.
Instances
Request Lenses
pdcgicParent :: Lens' ProjectsDatabasesCollectionGroupsIndexesCreate Text Source #
A parent name of the form `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
pdcgicXgafv :: Lens' ProjectsDatabasesCollectionGroupsIndexesCreate (Maybe Xgafv) Source #
V1 error format.
pdcgicUploadProtocol :: Lens' ProjectsDatabasesCollectionGroupsIndexesCreate (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pdcgicAccessToken :: Lens' ProjectsDatabasesCollectionGroupsIndexesCreate (Maybe Text) Source #
OAuth access token.
pdcgicUploadType :: Lens' ProjectsDatabasesCollectionGroupsIndexesCreate (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pdcgicPayload :: Lens' ProjectsDatabasesCollectionGroupsIndexesCreate GoogleFirestoreAdminV1Index Source #
Multipart request metadata.