Class LogView (3.3.0)

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

Describes a view over logs 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 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-id/locations/my-location/buckets/my-bucket-id/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