Class: Google::Cloud::PubSub::V1::PlatformLogsSettings

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/pubsub/v1/pubsub.rb

Overview

Settings for Platform Logs produced by Pub/Sub.

Defined Under Namespace

Modules: Severity

Instance Attribute Summary collapse

Instance Attribute Details

#severity::Google::Cloud::PubSub::V1::PlatformLogsSettings::Severity

Returns Optional. The minimum severity level of Platform Logs that will be written.

Returns:



242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
# File 'proto_docs/google/pubsub/v1/pubsub.rb', line 242

class PlatformLogsSettings
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Severity levels of Platform Logs.
  module Severity
    # Default value. Logs level is unspecified. Logs will be disabled.
    SEVERITY_UNSPECIFIED = 0

    # Logs will be disabled.
    DISABLED = 1

    # Debug logs and higher-severity logs will be written.
    DEBUG = 2

    # Info logs and higher-severity logs will be written.
    INFO = 3

    # Warning logs and higher-severity logs will be written.
    WARNING = 4

    # Only error logs will be written.
    ERROR = 5
  end
end