Google Cloud Logging v2 API - Class LogView (4.2.0)

public sealed class LogView : IMessage<LogView>, IEquatable<LogView>, IDeepCloneable<LogView>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Logging v2 API class LogView.

Describes a view over log entries in a bucket.

Inheritance

object > LogView

Namespace

Google.Cloud.Logging.V2

Assembly

Google.Cloud.Logging.V2.dll

Constructors

LogView()

public LogView()

LogView(LogView)

public LogView(LogView other)
Parameter
NameDescription
otherLogView

Properties

CreateTime

public Timestamp CreateTime { get; set; }

Output only. The creation timestamp of the view.

Property Value
TypeDescription
Timestamp

Description

public string Description { get; set; }

Describes this view.

Property Value
TypeDescription
string

Filter

public string Filter { get; set; }

Filter that restricts which log entries in a bucket are visible in this view.

Filters are restricted to be a logical AND of ==/!= of any of the following:

  • originating project/folder/organization/billing account.
  • resource type
  • log id

For example:

SOURCE("projects/myproject") AND resource.type = "gce_instance" AND LOG_ID("stdout")

Property Value
TypeDescription
string

LogViewName

public LogViewName LogViewName { get; set; }

LogViewName-typed view over the Name resource name property.

Property Value
TypeDescription
LogViewName

Name

public string Name { get; set; }

The resource name of the view.

For example:

projects/my-project/locations/global/buckets/my-bucket/views/my-view

Property Value
TypeDescription
string

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. The last update timestamp of the view.

Property Value
TypeDescription
Timestamp