| 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.setAcceptedResponseStatusCodes(List<ResponseStatusCode> acceptedResponseStatusCodes)
If present, the check will only pass if the HTTP response status code is in this set of status
codes.
|
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.setCustomContentType(String customContentType)
A user provided 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.setPingConfig(PingConfig pingConfig)
Contains information needed to add pings to an HTTP check.
|
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.setServiceAgentAuthentication(ServiceAgentAuthentication serviceAgentAuthentication)
If specified, Uptime will generate and attach an OIDC JWT token for the Monitoring service
agent service account as an Authorization header in the HTTP request when probing.
|
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–2025 Google. All rights reserved.