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.
Namespace
Google.Cloud.Logging.V2Assembly
Google.Cloud.Logging.V2.dll
Constructors
LogView()
public LogView()
LogView(LogView)
public LogView(LogView other)
Parameter | |
---|---|
Name | Description |
other | LogView |
Properties
CreateTime
public Timestamp CreateTime { get; set; }
Output only. The creation timestamp of the view.
Property Value | |
---|---|
Type | Description |
Timestamp |
Description
public string Description { get; set; }
Describes this view.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
string |
LogViewName
public LogViewName LogViewName { get; set; }
LogViewName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
string |
UpdateTime
public Timestamp UpdateTime { get; set; }
Output only. The last update timestamp of the view.
Property Value | |
---|---|
Type | Description |
Timestamp |