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 GTM Variable.
See: Tag Manager API Reference for tagmanager.accounts.containers.workspaces.variables.create
.
Synopsis
- type AccountsContainersWorkspacesVariablesCreateResource = "tagmanager" :> ("v2" :> (Capture "parent" Text :> ("variables" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Variable :> Post '[JSON] Variable)))))
- accountsContainersWorkspacesVariablesCreate :: Text -> Variable -> AccountsContainersWorkspacesVariablesCreate
- data AccountsContainersWorkspacesVariablesCreate
- acwvcParent :: Lens' AccountsContainersWorkspacesVariablesCreate Text
- acwvcPayload :: Lens' AccountsContainersWorkspacesVariablesCreate Variable
REST Resource
type AccountsContainersWorkspacesVariablesCreateResource = "tagmanager" :> ("v2" :> (Capture "parent" Text :> ("variables" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Variable :> Post '[JSON] Variable))))) Source #
A resource alias for tagmanager.accounts.containers.workspaces.variables.create
method which the
AccountsContainersWorkspacesVariablesCreate
request conforms to.
Creating a Request
accountsContainersWorkspacesVariablesCreate Source #
Creates a value of AccountsContainersWorkspacesVariablesCreate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AccountsContainersWorkspacesVariablesCreate Source #
Creates a GTM Variable.
See: accountsContainersWorkspacesVariablesCreate
smart constructor.
Instances
Request Lenses
acwvcParent :: Lens' AccountsContainersWorkspacesVariablesCreate Text Source #
GTM Workspace's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}
acwvcPayload :: Lens' AccountsContainersWorkspacesVariablesCreate Variable Source #
Multipart request metadata.