RecentQuery class
Describes a recent query executed on the Logs Explorer or Log Analytics page within the last ~ 30 days.
Constructors
- RecentQuery({String? lastRunTime, LoggingQuery? loggingQuery, String? name, OpsAnalyticsQuery? opsAnalyticsQuery})
- RecentQuery.fromJson(Map json_)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- lastRunTime ↔ String?
-
The timestamp when this query was last run.
getter/setter pair
- loggingQuery ↔ LoggingQuery?
-
Logging query that can be executed in Logs Explorer or via Logging API.
getter/setter pair
- name ↔ String?
-
Resource name of the recent query.In the format:
"projects/[PROJECT_ID]/locations/[LOCATION_ID]/recentQueries/[QUERY_ID]"
For a list of supported locations, see Supported Regions
(https://cloud.google.com/logging/docs/region-support)The QUERY_ID is a
system generated alphanumeric ID.
getter/setter pair
- opsAnalyticsQuery ↔ OpsAnalyticsQuery?
-
Analytics query that can be executed in Log Analytics.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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