Class: Google::Cloud::Eventarc::V1::LoggingConfig

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

Overview

The configuration for Platform Telemetry logging for Eventarc Advanced resources.

Defined Under Namespace

Modules: LogSeverity

Instance Attribute Summary collapse

Instance Attribute Details

#log_severity::Google::Cloud::Eventarc::V1::LoggingConfig::LogSeverity

Returns Optional. The minimum severity of logs that will be sent to Stackdriver/Platform Telemetry. Logs at severitiy ≥ this value will be sent, unless it is NONE.

Returns:



31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# File 'proto_docs/google/cloud/eventarc/v1/logging_config.rb', line 31

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

  # The different severities for logging supported by Eventarc Advanced
  # resources.
  # This enum is an exhaustive list of log severities and is FROZEN. Do not
  # expect new values to be added.
  module LogSeverity
    # Log severity is not specified. This value is treated the same as NONE,
    # but is used to distinguish between no update and update to NONE in
    # update_masks.
    LOG_SEVERITY_UNSPECIFIED = 0

    # Default value at resource creation, presence of this value must be
    # treated as no logging/disable logging.
    NONE = 1

    # Debug or trace level logging.
    DEBUG = 2

    # Routine information, such as ongoing status or performance.
    INFO = 3

    # Normal but significant events, such as start up, shut down, or a
    # configuration change.
    NOTICE = 4

    # Warning events might cause problems.
    WARNING = 5

    # Error events are likely to cause problems.
    ERROR = 6

    # Critical events cause more severe problems or outages.
    CRITICAL = 7

    # A person must take action immediately.
    ALERT = 8

    # One or more systems are unusable.
    EMERGENCY = 9
  end
end