Reference documentation and code samples for the Cloud Logging V2 API class Google::Cloud::Logging::V2::LogView.
Describes a view over log entries in a bucket.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. The creation timestamp of the view.
#description
def description() -> ::String
- (::String) — Describes this view.
#description=
def description=(value) -> ::String
- value (::String) — Describes this view.
- (::String) — Describes this view.
#filter
def filter() -> ::String
-
(::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 id
For example:
SOURCE("projects/myproject") AND resource.type = "gce_instance" AND LOG_ID("stdout")
#filter=
def filter=(value) -> ::String
-
value (::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 id
For example:
SOURCE("projects/myproject") AND resource.type = "gce_instance" AND LOG_ID("stdout")
-
(::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 id
For example:
SOURCE("projects/myproject") AND resource.type = "gce_instance" AND LOG_ID("stdout")
#name
def name() -> ::String
-
(::String) — The resource name of the view.
For example:
projects/my-project/locations/global/buckets/my-bucket/views/my-view
#name=
def name=(value) -> ::String
-
value (::String) — The resource name of the view.
For example:
projects/my-project/locations/global/buckets/my-bucket/views/my-view
-
(::String) — The resource name of the view.
For example:
projects/my-project/locations/global/buckets/my-bucket/views/my-view
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. The last update timestamp of the view.