Class: Google::Apis::EventarcV1::LoggingConfig
- Inherits:
-
Object
- Object
- Google::Apis::EventarcV1::LoggingConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/eventarc_v1/classes.rb,
lib/google/apis/eventarc_v1/representations.rb,
lib/google/apis/eventarc_v1/representations.rb
Overview
The configuration for Platform Telemetry logging for Eventarc Avdvanced resources.
Instance Attribute Summary collapse
-
#log_severity ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LoggingConfig
constructor
A new instance of LoggingConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LoggingConfig
Returns a new instance of LoggingConfig.
1856 1857 1858 |
# File 'lib/google/apis/eventarc_v1/classes.rb', line 1856 def initialize(**args) update!(**args) end |
Instance Attribute Details
#log_severity ⇒ String
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.
Corresponds to the JSON property logSeverity
1854 1855 1856 |
# File 'lib/google/apis/eventarc_v1/classes.rb', line 1854 def log_severity @log_severity end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1861 1862 1863 |
# File 'lib/google/apis/eventarc_v1/classes.rb', line 1861 def update!(**args) @log_severity = args[:log_severity] if args.key?(:log_severity) end |