| 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 |
Network.Google.Resource.AndroidPublisher.Edits.Insert
Description
Creates a new edit for an app, populated with the app's current state.
See: Google Play Developer API Reference for androidpublisher.edits.insert.
Synopsis
- type EditsInsertResource = "androidpublisher" :> ("v3" :> ("applications" :> (Capture "packageName" Text :> ("edits" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] AppEdit :> Post '[JSON] AppEdit))))))
- editsInsert :: Text -> AppEdit -> EditsInsert
- data EditsInsert
- eiPackageName :: Lens' EditsInsert Text
- eiPayload :: Lens' EditsInsert AppEdit
REST Resource
type EditsInsertResource = "androidpublisher" :> ("v3" :> ("applications" :> (Capture "packageName" Text :> ("edits" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] AppEdit :> Post '[JSON] AppEdit)))))) Source #
A resource alias for androidpublisher.edits.insert method which the
EditsInsert request conforms to.
Creating a Request
Arguments
| :: Text | |
| -> AppEdit | |
| -> EditsInsert |
Creates a value of EditsInsert with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data EditsInsert Source #
Creates a new edit for an app, populated with the app's current state.
See: editsInsert smart constructor.
Instances
Request Lenses
eiPackageName :: Lens' EditsInsert Text Source #
Unique identifier for the Android app that is being updated; for example, "com.spiffygame".