Cloud Logging V2 API - Class Google::Cloud::Logging::V2::LogView (v1.0.0)

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
Returns

#description

def description() -> ::String
Returns
  • (::String) — Describes this view.

#description=

def description=(value) -> ::String
Parameter
  • value (::String) — Describes this view.
Returns
  • (::String) — Describes this view.

#filter

def filter() -> ::String
Returns
  • (::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
Parameter
  • 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")

Returns
  • (::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
Returns
  • (::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
Parameter
  • value (::String) — The resource name of the view.

    For example:

    projects/my-project/locations/global/buckets/my-bucket/views/my-view

Returns
  • (::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
Returns