Class: Google::Cloud::Logging::V2::LogView

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#create_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. The creation timestamp of the view.

Returns:



152
153
154
155
# File 'proto_docs/google/logging/v2/logging_config.rb', line 152

class LogView
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#description::String

Returns Describes this view.

Returns:

  • (::String)

    Describes this view.



152
153
154
155
# File 'proto_docs/google/logging/v2/logging_config.rb', line 152

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").

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")



152
153
154
155
# File 'proto_docs/google/logging/v2/logging_config.rb', line 152

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.

Returns:

  • (::String)

    The resource name of the view.

    For example:

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



152
153
154
155
# File 'proto_docs/google/logging/v2/logging_config.rb', line 152

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.

Returns:



152
153
154
155
# File 'proto_docs/google/logging/v2/logging_config.rb', line 152

class LogView
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end