SavedQuery class
Describes a query that has been saved by a user.
Constructors
- SavedQuery({String? createTime, String? description, String? displayName, LoggingQuery? loggingQuery, String? name, OpsAnalyticsQuery? opsAnalyticsQuery, String? updateTime, String? visibility})
- SavedQuery.fromJson(Map json_)
Properties
- createTime ↔ String?
-
The timestamp when the saved query was created.
getter/setter pair
- description ↔ String?
-
A human readable description of the saved query.
getter/setter pair
- displayName ↔ String?
-
The user specified title for the SavedQuery.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- loggingQuery ↔ LoggingQuery?
-
Logging query that can be executed in Logs Explorer or via Logging API.
getter/setter pair
- name ↔ String?
-
Resource name of the saved query.In the format:
"projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]"
For a list of supported locations, see Supported Regions
(https://cloud.google.com/logging/docs/region-support#bucket-regions)After
the saved query is created, the location cannot be changed.If the user
doesn't provide a QUERY_ID, the system will generate an 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
- updateTime ↔ String?
-
The timestamp when the saved query was last updated.
getter/setter pair
- visibility ↔ String?
-
The visibility status of this query, which determines its ownership.
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