Resource: SavedQuery
Describes a query that has been saved by a user.
JSON representation |
---|
{ "name": string, "displayName": string, "description": string, "createTime": string, "updateTime": string, "visibility": enum ( |
Fields | |
---|---|
name |
Output only. Resource name of the saved query. In the format:
For a list of supported locations, see Supported 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. |
display |
Required. The user specified title for the SavedQuery. |
description |
Optional. A human readable description of the saved query. |
create |
Output only. The timestamp when the saved query was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
update |
Output only. The timestamp when the saved query was last updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
visibility |
Required. The visibility status of this query, which determines its ownership. |
Union field query_oneof . The query that is saved. query_oneof can be only one of the following: |
|
logging |
Logging query that can be executed in Logs Explorer or via Logging API. |
ops |
Analytics query that can be executed in Log Analytics. |
Methods |
|
---|---|
|
Creates a new SavedQuery for the user making the request. |
|
Deletes an existing SavedQuery that was created by the user making the request. |
|
Returns all data associated with the requested query. |
|
Lists the SavedQueries that were created by the user making the request. |
|
Updates an existing SavedQuery. |