UptimeCheckConfig

google.monitoring.v3. UptimeCheckConfig

Represents an UptimeCheckConfig.

Constructor

new UptimeCheckConfig(propertiesopt)

Constructs a new UptimeCheckConfig.

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

Properties to set

Implements:
  • IUptimeCheckConfig

Classes

ContentMatcher
HttpCheck
ResourceGroup
TcpCheck

Members

checkRequestType :"httpCheck"|"tcpCheck"|undefined

UptimeCheckConfig checkRequestType.

contentMatchers :Array.<google.monitoring.v3.UptimeCheckConfig.IContentMatcher>

UptimeCheckConfig contentMatchers.

displayName :string

UptimeCheckConfig displayName.

httpCheck :google.monitoring.v3.UptimeCheckConfig.IHttpCheck|null|undefined

UptimeCheckConfig httpCheck.

internalCheckers :Array.<google.monitoring.v3.IInternalChecker>

UptimeCheckConfig internalCheckers.

isInternal :boolean

UptimeCheckConfig isInternal.

monitoredResource :google.api.IMonitoredResource|null|undefined

UptimeCheckConfig monitoredResource.

name :string

UptimeCheckConfig name.

period :google.protobuf.IDuration|null|undefined

UptimeCheckConfig period.

resource :"monitoredResource"|"resourceGroup"|undefined

UptimeCheckConfig resource.

resourceGroup :google.monitoring.v3.UptimeCheckConfig.IResourceGroup|null|undefined

UptimeCheckConfig resourceGroup.

selectedRegions :Array.<google.monitoring.v3.UptimeCheckRegion>

UptimeCheckConfig selectedRegions.

tcpCheck :google.monitoring.v3.UptimeCheckConfig.ITcpCheck|null|undefined

UptimeCheckConfig tcpCheck.

timeout :google.protobuf.IDuration|null|undefined

UptimeCheckConfig timeout.

Methods

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

Creates a new UptimeCheckConfig instance using the specified properties.

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

Properties to set

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

Decodes an UptimeCheckConfig 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}

Decodes an UptimeCheckConfig 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 UptimeCheckConfig message. Does not implicitly verify messages.

Parameters:
Name Type Attributes Description
message google.monitoring.v3.IUptimeCheckConfig

UptimeCheckConfig message or plain object to encode

writer $protobuf.Writer <optional>

Writer to encode to

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

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

Parameters:
Name Type Attributes Description
message google.monitoring.v3.IUptimeCheckConfig

UptimeCheckConfig message or plain object to encode

writer $protobuf.Writer <optional>

Writer to encode to

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

Creates an UptimeCheckConfig 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 an UptimeCheckConfig message. Also converts values to other types if specified.

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

UptimeCheckConfig

options $protobuf.IConversionOptions <optional>

Conversion options

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

Verifies an UptimeCheckConfig message.

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

Plain object to verify

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

Converts this UptimeCheckConfig to JSON.