Show / Hide Table of Contents

Class RecentQuery

Describes a recent query executed on the Logs Explorer or Log Analytics page within the last ~ 30 days.

Inheritance
object
RecentQuery
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Logging.v2.Data
Assembly: Google.Apis.Logging.v2.dll
Syntax
public class RecentQuery : IDirectResponseSchema

Properties

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

LastRunTime

object representation of LastRunTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use LastRunTimeDateTimeOffset instead.")]
public virtual object LastRunTime { get; set; }
Property Value
Type Description
object

LastRunTimeDateTimeOffset

DateTimeOffset representation of LastRunTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? LastRunTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

LastRunTimeRaw

Output only. The timestamp when this query was last run.

Declaration
[JsonProperty("lastRunTime")]
public virtual string LastRunTimeRaw { get; set; }
Property Value
Type Description
string

LoggingQuery

Logging query that can be executed in Logs Explorer or via Logging API.

Declaration
[JsonProperty("loggingQuery")]
public virtual LoggingQuery LoggingQuery { get; set; }
Property Value
Type Description
LoggingQuery

Name

Output only. 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.

Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type Description
string

OpsAnalyticsQuery

Analytics query that can be executed in Log Analytics.

Declaration
[JsonProperty("opsAnalyticsQuery")]
public virtual OpsAnalyticsQuery OpsAnalyticsQuery { get; set; }
Property Value
Type Description
OpsAnalyticsQuery

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX