Class: Google::Cloud::Logging::V2::LogView
- Inherits:
-
Object
- Object
- Google::Cloud::Logging::V2::LogView
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/logging/v2/logging_config.rb
Overview
Describes a view over log entries in a bucket.
Instance Attribute Summary collapse
-
#create_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#description ⇒ ::String
Describes this view.
-
#filter ⇒ ::String
Filter that restricts which log entries in a bucket are visible in this view.
-
#name ⇒ ::String
The resource name of the view.
-
#update_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
Instance Attribute Details
#create_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. The creation timestamp of the view.
119 120 121 122 |
# File 'proto_docs/google/logging/v2/logging_config.rb', line 119 class LogView include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#description ⇒ ::String
Returns Describes this view.
119 120 121 122 |
# File 'proto_docs/google/logging/v2/logging_config.rb', line 119 class LogView include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#filter ⇒ ::String
Returns 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").
119 120 121 122 |
# File 'proto_docs/google/logging/v2/logging_config.rb', line 119 class LogView include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#name ⇒ ::String
Returns The resource name of the view.
For example:
projects/my-project/locations/global/buckets/my-bucket/views/my-view
.
119 120 121 122 |
# File 'proto_docs/google/logging/v2/logging_config.rb', line 119 class LogView include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#update_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. The last update timestamp of the view.
119 120 121 122 |
# File 'proto_docs/google/logging/v2/logging_config.rb', line 119 class LogView include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |