Class: Google::Apis::LoggingV2::TailLogEntriesResponse
- Inherits:
-
Object
- Object
- Google::Apis::LoggingV2::TailLogEntriesResponse
- 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
Result returned from TailLogEntries.
Instance Attribute Summary collapse
-
#entries ⇒ Array<Google::Apis::LoggingV2::LogEntry>
A list of log entries.
-
#suppression_info ⇒ Array<Google::Apis::LoggingV2::SuppressionInfo>
If entries that otherwise would have been included in the session were not sent back to the client, counts of relevant entries omitted from the session with the reason that they were not included.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TailLogEntriesResponse
constructor
A new instance of TailLogEntriesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TailLogEntriesResponse
Returns a new instance of TailLogEntriesResponse.
2237 2238 2239 |
# File 'generated/google/apis/logging_v2/classes.rb', line 2237 def initialize(**args) update!(**args) end |
Instance Attribute Details
#entries ⇒ Array<Google::Apis::LoggingV2::LogEntry>
A list of log entries. Each response in the stream will order entries with
increasing values of LogEntry.timestamp. Ordering is not guaranteed between
separate responses.
Corresponds to the JSON property entries
2226 2227 2228 |
# File 'generated/google/apis/logging_v2/classes.rb', line 2226 def entries @entries end |
#suppression_info ⇒ Array<Google::Apis::LoggingV2::SuppressionInfo>
If entries that otherwise would have been included in the session were not
sent back to the client, counts of relevant entries omitted from the session
with the reason that they were not included. There will be at most one of each
reason per response. The counts represent the number of suppressed entries
since the last streamed response.
Corresponds to the JSON property suppressionInfo
2235 2236 2237 |
# File 'generated/google/apis/logging_v2/classes.rb', line 2235 def suppression_info @suppression_info end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2242 2243 2244 2245 |
# File 'generated/google/apis/logging_v2/classes.rb', line 2242 def update!(**args) @entries = args[:entries] if args.key?(:entries) @suppression_info = args[:suppression_info] if args.key?(:suppression_info) end |