google_api_monitoring v0.9.0 GoogleApi.Monitoring.V3.Model.HttpCheck View Source

Information involved in an HTTP/HTTPS uptime check request.

Attributes

  • authInfo (BasicAuthentication): The authentication information. Optional when creating an HTTP check; defaults to empty. Defaults to: null.
  • headers (%{optional(String.t) => String.t}): The list of headers to send as part of the uptime check request. If two headers have the same key and different values, they should be entered as a single header, with the value being a comma-separated list of all the desired values as described at https://www.w3.org/Protocols/rfc2616/rfc2616.txt (page 31). Entering two separate headers with the same key in a Create call will cause the first to be overwritten by the second. The maximum number of headers allowed is 100. Defaults to: null.
  • maskHeaders (boolean()): 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 **. Defaults to: null.
  • path (String.t): The path to the page to run the check against. Will be combined with the host (specified within the MonitoredResource) and port to construct the full URL. Optional (defaults to "/"). If the provided path does not begin with "/", it will be prepended automatically. Defaults to: null.
  • port (integer()): The port to the page to run the check against. Will be combined with host (specified within the MonitoredResource) and path to construct the full URL. Optional (defaults to 80 without SSL, or 443 with SSL). Defaults to: null.
  • useSsl (boolean()): If true, use HTTPS instead of HTTP to run the check. Defaults to: null.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t() View Source
t() :: %GoogleApi.Monitoring.V3.Model.HttpCheck{
  authInfo: GoogleApi.Monitoring.V3.Model.BasicAuthentication.t(),
  headers: map(),
  maskHeaders: any(),
  path: any(),
  port: any(),
  useSsl: any()
}

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.