Stackdriver Logging V2 Client - Class TailLogEntriesResponse (1.25.5)

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

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
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
NameDescription
var array<Google\Cloud\Logging\V2\LogEntry>
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var array<Google\Cloud\Logging\V2\TailLogEntriesResponse\SuppressionInfo>
Returns
TypeDescription
$this