LogMatch class Null safety

A condition type that checks whether a log message in the scoping project (https://cloud.google.com/monitoring/api/v3#project_name) satisfies the given filter.

Logs from other projects in the metrics scope are not evaluated.

Constructors

LogMatch({String? filter, Map<String, String>? labelExtractors})
LogMatch.fromJson(Map json_)

Properties

filter String?
A logs-based filter.
read / write
hashCode int
The hash code for this object.
read-onlyinherited
labelExtractors Map<String, String>?
A map from a label key to an extractor expression, which is used to extract the value for this label key.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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