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 |
Gets the metadata and configuration for a Field.
See: Cloud Firestore API Reference for firestore.projects.databases.collectionGroups.fields.get
.
Synopsis
- type ProjectsDatabasesCollectionGroupsFieldsGetResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] GoogleFirestoreAdminV1Field)))))))
- projectsDatabasesCollectionGroupsFieldsGet :: Text -> ProjectsDatabasesCollectionGroupsFieldsGet
- data ProjectsDatabasesCollectionGroupsFieldsGet
- pdcgfgXgafv :: Lens' ProjectsDatabasesCollectionGroupsFieldsGet (Maybe Xgafv)
- pdcgfgUploadProtocol :: Lens' ProjectsDatabasesCollectionGroupsFieldsGet (Maybe Text)
- pdcgfgAccessToken :: Lens' ProjectsDatabasesCollectionGroupsFieldsGet (Maybe Text)
- pdcgfgUploadType :: Lens' ProjectsDatabasesCollectionGroupsFieldsGet (Maybe Text)
- pdcgfgName :: Lens' ProjectsDatabasesCollectionGroupsFieldsGet Text
- pdcgfgCallback :: Lens' ProjectsDatabasesCollectionGroupsFieldsGet (Maybe Text)
REST Resource
type ProjectsDatabasesCollectionGroupsFieldsGetResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] GoogleFirestoreAdminV1Field))))))) Source #
A resource alias for firestore.projects.databases.collectionGroups.fields.get
method which the
ProjectsDatabasesCollectionGroupsFieldsGet
request conforms to.
Creating a Request
projectsDatabasesCollectionGroupsFieldsGet Source #
Creates a value of ProjectsDatabasesCollectionGroupsFieldsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsDatabasesCollectionGroupsFieldsGet Source #
Gets the metadata and configuration for a Field.
See: projectsDatabasesCollectionGroupsFieldsGet
smart constructor.
Instances
Request Lenses
pdcgfgXgafv :: Lens' ProjectsDatabasesCollectionGroupsFieldsGet (Maybe Xgafv) Source #
V1 error format.
pdcgfgUploadProtocol :: Lens' ProjectsDatabasesCollectionGroupsFieldsGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pdcgfgAccessToken :: Lens' ProjectsDatabasesCollectionGroupsFieldsGet (Maybe Text) Source #
OAuth access token.
pdcgfgUploadType :: Lens' ProjectsDatabasesCollectionGroupsFieldsGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pdcgfgName :: Lens' ProjectsDatabasesCollectionGroupsFieldsGet Text Source #
A name of the form `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_id}`