Class: Google::Apis::LoggingV2::SuppressionInfo

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/logging_v2/classes.rb,
lib/google/apis/logging_v2/representations.rb,
lib/google/apis/logging_v2/representations.rb

Overview

Information about entries that were omitted from the session.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SuppressionInfo

Returns a new instance of SuppressionInfo.



3825
3826
3827
# File 'lib/google/apis/logging_v2/classes.rb', line 3825

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

Instance Attribute Details

#reasonString

The reason that entries were omitted from the session. Corresponds to the JSON property reason

Returns:

  • (String)


3818
3819
3820
# File 'lib/google/apis/logging_v2/classes.rb', line 3818

def reason
  @reason
end

#suppressed_countFixnum

A lower bound on the count of entries omitted due to reason. Corresponds to the JSON property suppressedCount

Returns:

  • (Fixnum)


3823
3824
3825
# File 'lib/google/apis/logging_v2/classes.rb', line 3823

def suppressed_count
  @suppressed_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3830
3831
3832
3833
# File 'lib/google/apis/logging_v2/classes.rb', line 3830

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