Class: Google::Apis::PubsubV1::PlatformLogsSettings

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PlatformLogsSettings

Returns a new instance of PlatformLogsSettings.



1457
1458
1459
# File 'lib/google/apis/pubsub_v1/classes.rb', line 1457

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#severityString

Optional. The minimum severity level of Platform Logs that will be written. Corresponds to the JSON property severity

Returns:

  • (String)


1455
1456
1457
# File 'lib/google/apis/pubsub_v1/classes.rb', line 1455

def severity
  @severity
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1462
1463
1464
# File 'lib/google/apis/pubsub_v1/classes.rb', line 1462

def update!(**args)
  @severity = args[:severity] if args.key?(:severity)
end