Struct google_monitoring3::HttpCheck[][src]

pub struct HttpCheck {
    pub headers: Option<HashMap<String, String>>,
    pub auth_info: Option<BasicAuthentication>,
    pub use_ssl: Option<bool>,
    pub mask_headers: Option<bool>,
    pub path: Option<String>,
    pub port: Option<i32>,
}

Information involved in an HTTP/HTTPS uptime check request.

This type is not used in any activity, and only used as part of another schema.

Fields

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 authentication information. Optional when creating an HTTP check; defaults to empty.

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

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 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 "/").

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).

Trait Implementations

impl Default for HttpCheck
[src]

Returns the "default value" for a type. Read more

impl Clone for HttpCheck
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for HttpCheck
[src]

Formats the value using the given formatter. Read more

impl Part for HttpCheck
[src]

Auto Trait Implementations

impl Send for HttpCheck

impl Sync for HttpCheck