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 new uptime check configuration.
See: Stackdriver Monitoring API Reference for monitoring.projects.uptimeCheckConfigs.create
.
Synopsis
- type ProjectsUptimeCheckConfigsCreateResource = "v3" :> (Capture "parent" Text :> ("uptimeCheckConfigs" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] UptimeCheckConfig :> Post '[JSON] UptimeCheckConfig)))))))))
- projectsUptimeCheckConfigsCreate :: Text -> UptimeCheckConfig -> ProjectsUptimeCheckConfigsCreate
- data ProjectsUptimeCheckConfigsCreate
- pucccParent :: Lens' ProjectsUptimeCheckConfigsCreate Text
- pucccXgafv :: Lens' ProjectsUptimeCheckConfigsCreate (Maybe Xgafv)
- pucccUploadProtocol :: Lens' ProjectsUptimeCheckConfigsCreate (Maybe Text)
- pucccAccessToken :: Lens' ProjectsUptimeCheckConfigsCreate (Maybe Text)
- pucccUploadType :: Lens' ProjectsUptimeCheckConfigsCreate (Maybe Text)
- pucccPayload :: Lens' ProjectsUptimeCheckConfigsCreate UptimeCheckConfig
- pucccCallback :: Lens' ProjectsUptimeCheckConfigsCreate (Maybe Text)
REST Resource
type ProjectsUptimeCheckConfigsCreateResource = "v3" :> (Capture "parent" Text :> ("uptimeCheckConfigs" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] UptimeCheckConfig :> Post '[JSON] UptimeCheckConfig))))))))) Source #
A resource alias for monitoring.projects.uptimeCheckConfigs.create
method which the
ProjectsUptimeCheckConfigsCreate
request conforms to.
Creating a Request
projectsUptimeCheckConfigsCreate Source #
Creates a value of ProjectsUptimeCheckConfigsCreate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsUptimeCheckConfigsCreate Source #
Creates a new uptime check configuration.
See: projectsUptimeCheckConfigsCreate
smart constructor.
Instances
Request Lenses
pucccParent :: Lens' ProjectsUptimeCheckConfigsCreate Text Source #
The project in which to create the uptime check. The format is projects/[PROJECT_ID].
pucccXgafv :: Lens' ProjectsUptimeCheckConfigsCreate (Maybe Xgafv) Source #
V1 error format.
pucccUploadProtocol :: Lens' ProjectsUptimeCheckConfigsCreate (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pucccAccessToken :: Lens' ProjectsUptimeCheckConfigsCreate (Maybe Text) Source #
OAuth access token.
pucccUploadType :: Lens' ProjectsUptimeCheckConfigsCreate (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pucccPayload :: Lens' ProjectsUptimeCheckConfigsCreate UptimeCheckConfig Source #
Multipart request metadata.