Class: Google::Apis::PubsubV1::PlatformLogsSettings
- Inherits:
-
Object
- Object
- Google::Apis::PubsubV1::PlatformLogsSettings
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/pubsub_v1/classes.rb,
lib/google/apis/pubsub_v1/representations.rb,
lib/google/apis/pubsub_v1/representations.rb
Overview
Settings for Platform Logs produced by Pub/Sub.
Instance Attribute Summary collapse
-
#severity ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PlatformLogsSettings
constructor
A new instance of PlatformLogsSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PlatformLogsSettings
Returns a new instance of PlatformLogsSettings.
1350 1351 1352 |
# File 'lib/google/apis/pubsub_v1/classes.rb', line 1350 def initialize(**args) update!(**args) end |
Instance Attribute Details
#severity ⇒ String
Optional. The minimum severity level of Platform Logs that will be written.
Corresponds to the JSON property severity
1348 1349 1350 |
# File 'lib/google/apis/pubsub_v1/classes.rb', line 1348 def severity @severity end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1355 1356 1357 |
# File 'lib/google/apis/pubsub_v1/classes.rb', line 1355 def update!(**args) @severity = args[:severity] if args.key?(:severity) end |