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 |
Updates an uptime check configuration. You can either replace the entire configuration with a new one or replace only certain fields in the current configuration by specifying the fields to be updated via "updateMask". Returns the updated configuration.
See: Stackdriver Monitoring API Reference for monitoring.projects.uptimeCheckConfigs.patch
.
Synopsis
- type ProjectsUptimeCheckConfigsPatchResource = "v3" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "updateMask" GFieldMask :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] UptimeCheckConfig :> Patch '[JSON] UptimeCheckConfig)))))))))
- projectsUptimeCheckConfigsPatch :: UptimeCheckConfig -> Text -> ProjectsUptimeCheckConfigsPatch
- data ProjectsUptimeCheckConfigsPatch
- puccpXgafv :: Lens' ProjectsUptimeCheckConfigsPatch (Maybe Xgafv)
- puccpUploadProtocol :: Lens' ProjectsUptimeCheckConfigsPatch (Maybe Text)
- puccpUpdateMask :: Lens' ProjectsUptimeCheckConfigsPatch (Maybe GFieldMask)
- puccpAccessToken :: Lens' ProjectsUptimeCheckConfigsPatch (Maybe Text)
- puccpUploadType :: Lens' ProjectsUptimeCheckConfigsPatch (Maybe Text)
- puccpPayload :: Lens' ProjectsUptimeCheckConfigsPatch UptimeCheckConfig
- puccpName :: Lens' ProjectsUptimeCheckConfigsPatch Text
- puccpCallback :: Lens' ProjectsUptimeCheckConfigsPatch (Maybe Text)
REST Resource
type ProjectsUptimeCheckConfigsPatchResource = "v3" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "updateMask" GFieldMask :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] UptimeCheckConfig :> Patch '[JSON] UptimeCheckConfig))))))))) Source #
A resource alias for monitoring.projects.uptimeCheckConfigs.patch
method which the
ProjectsUptimeCheckConfigsPatch
request conforms to.
Creating a Request
projectsUptimeCheckConfigsPatch Source #
Creates a value of ProjectsUptimeCheckConfigsPatch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsUptimeCheckConfigsPatch Source #
Updates an uptime check configuration. You can either replace the entire configuration with a new one or replace only certain fields in the current configuration by specifying the fields to be updated via "updateMask". Returns the updated configuration.
See: projectsUptimeCheckConfigsPatch
smart constructor.
Instances
Request Lenses
puccpXgafv :: Lens' ProjectsUptimeCheckConfigsPatch (Maybe Xgafv) Source #
V1 error format.
puccpUploadProtocol :: Lens' ProjectsUptimeCheckConfigsPatch (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
puccpUpdateMask :: Lens' ProjectsUptimeCheckConfigsPatch (Maybe GFieldMask) Source #
Optional. If present, only the listed fields in the current uptime check configuration are updated with values from the new configuration. If this field is empty, then the current configuration is completely replaced with the new configuration.
puccpAccessToken :: Lens' ProjectsUptimeCheckConfigsPatch (Maybe Text) Source #
OAuth access token.
puccpUploadType :: Lens' ProjectsUptimeCheckConfigsPatch (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
puccpPayload :: Lens' ProjectsUptimeCheckConfigsPatch UptimeCheckConfig Source #
Multipart request metadata.
puccpName :: Lens' ProjectsUptimeCheckConfigsPatch Text Source #
A unique resource name for this UptimeCheckConfig. The format is:projects/[PROJECT_ID]/uptimeCheckConfigs/[UPTIME_CHECK_ID].This field should be omitted when creating the uptime check configuration; on create, the resource name is assigned by the server and included in the response.