Class: Google::Apis::LoggingV2::SuppressionInfo
- Inherits:
-
Object
- Object
- Google::Apis::LoggingV2::SuppressionInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/logging_v2/classes.rb,
generated/google/apis/logging_v2/representations.rb,
generated/google/apis/logging_v2/representations.rb
Overview
Information about entries that were omitted from the session.
Instance Attribute Summary collapse
-
#reason ⇒ String
The reason that entries were omitted from the session.
-
#suppressed_count ⇒ Fixnum
A lower bound on the count of entries omitted due to reason.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SuppressionInfo
constructor
A new instance of SuppressionInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SuppressionInfo
Returns a new instance of SuppressionInfo.
2161 2162 2163 |
# File 'generated/google/apis/logging_v2/classes.rb', line 2161 def initialize(**args) update!(**args) end |
Instance Attribute Details
#reason ⇒ String
The reason that entries were omitted from the session.
Corresponds to the JSON property reason
2154 2155 2156 |
# File 'generated/google/apis/logging_v2/classes.rb', line 2154 def reason @reason end |
#suppressed_count ⇒ Fixnum
A lower bound on the count of entries omitted due to reason.
Corresponds to the JSON property suppressedCount
2159 2160 2161 |
# File 'generated/google/apis/logging_v2/classes.rb', line 2159 def suppressed_count @suppressed_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2166 2167 2168 2169 |
# File 'generated/google/apis/logging_v2/classes.rb', line 2166 def update!(**args) @reason = args[:reason] if args.key?(:reason) @suppressed_count = args[:suppressed_count] if args.key?(:suppressed_count) end |