| Package | Description |
|---|---|
| com.google.api.services.monitoring.v3.model |
| Modifier and Type | Method and Description |
|---|---|
HttpCheck |
HttpCheck.clone() |
HttpCheck |
HttpCheck.encodeBody(byte[] body)
The request body associated with the HTTP POST request.
|
HttpCheck |
UptimeCheckConfig.getHttpCheck()
Contains information needed to make an HTTP or HTTPS check.
|
HttpCheck |
HttpCheck.set(String fieldName,
Object value) |
HttpCheck |
HttpCheck.setAuthInfo(BasicAuthentication authInfo)
The authentication information.
|
HttpCheck |
HttpCheck.setBody(String body)
The request body associated with the HTTP POST request.
|
HttpCheck |
HttpCheck.setContentType(String contentType)
The content type header to use for the check.
|
HttpCheck |
HttpCheck.setHeaders(Map<String,String> headers)
The list of headers to send as part of the Uptime check request.
|
HttpCheck |
HttpCheck.setMaskHeaders(Boolean maskHeaders)
Boolean specifying whether to encrypt the header information.
|
HttpCheck |
HttpCheck.setPath(String path)
Optional (defaults to "/").
|
HttpCheck |
HttpCheck.setPort(Integer port)
Optional (defaults to 80 when use_ssl is false, and 443 when use_ssl is true).
|
HttpCheck |
HttpCheck.setRequestMethod(String requestMethod)
The HTTP request method to use for the check.
|
HttpCheck |
HttpCheck.setUseSsl(Boolean useSsl)
If true, use HTTPS instead of HTTP to run the check.
|
HttpCheck |
HttpCheck.setValidateSsl(Boolean validateSsl)
Boolean specifying whether to include SSL certificate validation as a part of the Uptime check.
|
| Modifier and Type | Method and Description |
|---|---|
UptimeCheckConfig |
UptimeCheckConfig.setHttpCheck(HttpCheck httpCheck)
Contains information needed to make an HTTP or HTTPS check.
|
Copyright © 2011–2022 Google. All rights reserved.