Class HttpCheck (1.1.2)

Information involved in an HTTP/HTTPS Uptime check request.

If true, use HTTPS instead of HTTP to run the check.

Optional (defaults to 80 when use_ssl is false, and 443 when use_ssl is true). The TCP port on the HTTP server against which to run the check. Will be combined with host (specified within the monitored_resource) and path to construct the full URL.

Boolean specifiying whether to encrypt the header information. Encryption should be specified for any headers related to authentication that you do not wish to be seen when retrieving the configuration. The server will be responsible for encrypting the headers. On Get/List calls, if mask_headers is set to true then the headers will be obscured with ******.

The content type to use for the check.

The request body associated with the HTTP request. If content_type is URL_ENCODED, the body passed in must be URL-encoded. Users can provide a Content-Length header via the headers field or the API will do so. The maximum byte size is 1 megabyte. Note: As with all bytes fields JSON representations are base64 encoded.

Classes

BasicAuthentication

The authentication parameters to provide to the specified resource or URL that requires a username and password. Currently, only Basic HTTP authentication <https://tools.ietf.org/html/rfc7617>__ is supported in Uptime checks.

The password to use when authenticating with the HTTP server.

HeadersEntry

API documentation for monitoring_v3.types.UptimeCheckConfig.HttpCheck.HeadersEntry class.