Stackdriver Logging V2 Client - Class TailLogEntriesResponse (1.30.2)

Reference documentation and code samples for the Stackdriver Logging V2 Client class TailLogEntriesResponse.

Result returned from TailLogEntries.

Generated from protobuf message google.logging.v2.TailLogEntriesResponse

Namespace

Google \ Cloud \ Logging \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ entries array<Google\Cloud\Logging\V2\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.

↳ suppression_info array<Google\Cloud\Logging\V2\TailLogEntriesResponse\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.

getEntries

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.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setEntries

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.

Parameter
Name Description
var array<Google\Cloud\Logging\V2\LogEntry>
Returns
Type Description
$this

getSuppressionInfo

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.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setSuppressionInfo

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.

Parameter
Name Description
var array<Google\Cloud\Logging\V2\TailLogEntriesResponse\SuppressionInfo>
Returns
Type Description
$this