UptimeCheckConfig class
This message configures which resources and services to monitor for availability.
Constructors
-
UptimeCheckConfig({String? checkerType, List<
ContentMatcher> ? contentMatchers, String? displayName, HttpCheck? httpCheck, List<InternalChecker> ? internalCheckers, bool? isInternal, MonitoredResource? monitoredResource, String? name, String? period, ResourceGroup? resourceGroup, List<String> ? selectedRegions, SyntheticMonitorTarget? syntheticMonitor, TcpCheck? tcpCheck, String? timeout, Map<String, String> ? userLabels}) - UptimeCheckConfig.fromJson(Map json_)
Properties
- checkerType ↔ String?
-
The type of checkers to use to execute the Uptime check.
Possible string values are:
getter/setter pair
-
contentMatchers
↔ List<
ContentMatcher> ? -
The content that is expected to appear in the data returned by the target
server against which the check is run.
getter/setter pair
- displayName ↔ String?
-
A human-friendly name for the Uptime check configuration.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- httpCheck ↔ HttpCheck?
-
Contains information needed to make an HTTP or HTTPS check.
getter/setter pair
-
internalCheckers
↔ List<
InternalChecker> ? -
The internal checkers that this check will egress from.
getter/setter pair
- isInternal ↔ bool?
-
If this is true, then checks are made only from the 'internal_checkers'.
getter/setter pair
- monitoredResource ↔ MonitoredResource?
-
The monitored resource (https://cloud.google.com/monitoring/api/resources)
associated with the configuration.
getter/setter pair
- name ↔ String?
-
Identifier.
getter/setter pair
- period ↔ String?
-
How often, in seconds, the Uptime check is performed.
getter/setter pair
- resourceGroup ↔ ResourceGroup?
-
The group resource associated with the configuration.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
selectedRegions
↔ List<
String> ? -
The list of regions from which the check will be run.
getter/setter pair
- syntheticMonitor ↔ SyntheticMonitorTarget?
-
Specifies a Synthetic Monitor to invoke.
getter/setter pair
- tcpCheck ↔ TcpCheck?
-
Contains information needed to make a TCP check.
getter/setter pair
- timeout ↔ String?
-
The maximum amount of time to wait for the request to complete (must be
between 1 and 60 seconds).
getter/setter pair
-
userLabels
↔ Map<
String, String> ? -
User-supplied key/value data to be used for organizing and identifying the
UptimeCheckConfig objects.The field can contain up to 64 entries.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited