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 |
Requests access to a specified Google My Business account.
See: Content API for Shopping Reference for content.liasettings.requestgmbaccess
.
Synopsis
- type LiaSettingsRequestgmbAccessResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("liasettings" :> (Capture "accountId" (Textual Word64) :> ("requestgmbaccess" :> (QueryParam "gmbEmail" Text :> (QueryParam "alt" AltJSON :> Post '[JSON] LiaSettingsRequestGmbAccessResponse)))))))
- liaSettingsRequestgmbAccess :: Text -> Word64 -> Word64 -> LiaSettingsRequestgmbAccess
- data LiaSettingsRequestgmbAccess
- lsraGmbEmail :: Lens' LiaSettingsRequestgmbAccess Text
- lsraMerchantId :: Lens' LiaSettingsRequestgmbAccess Word64
- lsraAccountId :: Lens' LiaSettingsRequestgmbAccess Word64
REST Resource
type LiaSettingsRequestgmbAccessResource = "content" :> ("v2.1" :> (Capture "merchantId" (Textual Word64) :> ("liasettings" :> (Capture "accountId" (Textual Word64) :> ("requestgmbaccess" :> (QueryParam "gmbEmail" Text :> (QueryParam "alt" AltJSON :> Post '[JSON] LiaSettingsRequestGmbAccessResponse))))))) Source #
A resource alias for content.liasettings.requestgmbaccess
method which the
LiaSettingsRequestgmbAccess
request conforms to.
Creating a Request
liaSettingsRequestgmbAccess Source #
Creates a value of LiaSettingsRequestgmbAccess
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data LiaSettingsRequestgmbAccess Source #
Requests access to a specified Google My Business account.
See: liaSettingsRequestgmbAccess
smart constructor.
Instances
Request Lenses
lsraGmbEmail :: Lens' LiaSettingsRequestgmbAccess Text Source #
The email of the Google My Business account.
lsraMerchantId :: Lens' LiaSettingsRequestgmbAccess Word64 Source #
The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account.
lsraAccountId :: Lens' LiaSettingsRequestgmbAccess Word64 Source #
The ID of the account for which GMB access is requested.