HttpCheck

google.monitoring.v3.UptimeCheckConfig. HttpCheck

Represents a HttpCheck.

Constructor

new HttpCheck(propertiesopt)

Constructs a new HttpCheck.

Parameters:
Name Type Attributes Description
properties google.monitoring.v3.UptimeCheckConfig.IHttpCheck <optional>

Properties to set

Implements:
  • IHttpCheck

Classes

BasicAuthentication

Members

(static) ContentType :number

ContentType enum.

Properties:
Name Type Description
TYPE_UNSPECIFIED number

TYPE_UNSPECIFIED value

URL_ENCODED number

URL_ENCODED value

(static) RequestMethod :number

RequestMethod enum.

Properties:
Name Type Description
METHOD_UNSPECIFIED number

METHOD_UNSPECIFIED value

GET number

GET value

POST number

POST value

authInfo :google.monitoring.v3.UptimeCheckConfig.HttpCheck.IBasicAuthentication|null|undefined

HttpCheck authInfo.

body :Uint8Array

HttpCheck body.

contentType :google.monitoring.v3.UptimeCheckConfig.HttpCheck.ContentType

HttpCheck contentType.

headers :Object.<string, string>

HttpCheck headers.

maskHeaders :boolean

HttpCheck maskHeaders.

path :string

HttpCheck path.

port :number

HttpCheck port.

requestMethod :google.monitoring.v3.UptimeCheckConfig.HttpCheck.RequestMethod

HttpCheck requestMethod.

useSsl :boolean

HttpCheck useSsl.

validateSsl :boolean

HttpCheck validateSsl.

Methods

(static) create(propertiesopt) → {google.monitoring.v3.UptimeCheckConfig.HttpCheck}

Creates a new HttpCheck instance using the specified properties.

Parameters:
Name Type Attributes Description
properties google.monitoring.v3.UptimeCheckConfig.IHttpCheck <optional>

Properties to set

(static) decode(reader, lengthopt) → {google.monitoring.v3.UptimeCheckConfig.HttpCheck}

Decodes a HttpCheck message from the specified reader or buffer.

Parameters:
Name Type Attributes Description
reader $protobuf.Reader | Uint8Array

Reader or buffer to decode from

length number <optional>

Message length if known beforehand

Throws:
  • If the payload is not a reader or valid buffer

    Type
    Error
  • If required fields are missing

    Type
    $protobuf.util.ProtocolError

(static) decodeDelimited(reader) → {google.monitoring.v3.UptimeCheckConfig.HttpCheck}

Decodes a HttpCheck message from the specified reader or buffer, length delimited.

Parameters:
Name Type Description
reader $protobuf.Reader | Uint8Array

Reader or buffer to decode from

Throws:
  • If the payload is not a reader or valid buffer

    Type
    Error
  • If required fields are missing

    Type
    $protobuf.util.ProtocolError

(static) encode(message, writeropt) → {$protobuf.Writer}

Encodes the specified HttpCheck message. Does not implicitly verify messages.

Parameters:
Name Type Attributes Description
message google.monitoring.v3.UptimeCheckConfig.IHttpCheck

HttpCheck message or plain object to encode

writer $protobuf.Writer <optional>

Writer to encode to

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

Encodes the specified HttpCheck message, length delimited. Does not implicitly verify messages.

Parameters:
Name Type Attributes Description
message google.monitoring.v3.UptimeCheckConfig.IHttpCheck

HttpCheck message or plain object to encode

writer $protobuf.Writer <optional>

Writer to encode to

(static) fromObject(object) → {google.monitoring.v3.UptimeCheckConfig.HttpCheck}

Creates a HttpCheck message from a plain object. Also converts values to their respective internal types.

Parameters:
Name Type Description
object Object.<string, *>

Plain object

(static) toObject(message, optionsopt) → {Object.<string, *>}

Creates a plain object from a HttpCheck message. Also converts values to other types if specified.

Parameters:
Name Type Attributes Description
message google.monitoring.v3.UptimeCheckConfig.HttpCheck

HttpCheck

options $protobuf.IConversionOptions <optional>

Conversion options

(static) verify(message) → {string|null}

Verifies a HttpCheck message.

Parameters:
Name Type Description
message Object.<string, *>

Plain object to verify

toJSON() → {Object.<string, *>}

Converts this HttpCheck to JSON.