class Google::Apis::LoggingV2::LogView
Describes a view over log entries in a bucket.
Attributes
Output only. The creation timestamp of the view. Corresponds to the JSON property `createTime` @return [String]
Describes this view. Corresponds to the JSON property `description` @return [String]
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 idFor example:SOURCE(“projects/myproject”) AND resource.type = “gce_instance” AND LOG_ID(“stdout”) Corresponds to the JSON property `filter` @return [String]
The resource name of the view.For example:projects/my-project/locations/global/ buckets/my-bucket/views/my-view Corresponds to the JSON property `name` @return [String]
Schema of a table containing logs. Corresponds to the JSON property `schema` @return [Google::Apis::LoggingV2::TableSchema]
Output only. The last update timestamp of the view. Corresponds to the JSON property `updateTime` @return [String]
Public Class Methods
# File lib/google/apis/logging_v2/classes.rb, line 1706 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/logging_v2/classes.rb, line 1711 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @description = args[:description] if args.key?(:description) @filter = args[:filter] if args.key?(:filter) @name = args[:name] if args.key?(:name) @schema = args[:schema] if args.key?(:schema) @update_time = args[:update_time] if args.key?(:update_time) end