Stackdriver Logging V2 Client - Class TailLogEntriesResponse (1.24.10)

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.

Generated from protobuf field repeated .google.logging.v2.LogEntry entries = 1;

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.

Generated from protobuf field repeated .google.logging.v2.LogEntry entries = 1;

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.

Generated from protobuf field repeated .google.logging.v2.TailLogEntriesResponse.SuppressionInfo suppression_info = 2;

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.

Generated from protobuf field repeated .google.logging.v2.TailLogEntriesResponse.SuppressionInfo suppression_info = 2;

Parameter
NameDescription
var array<Google\Cloud\Logging\V2\TailLogEntriesResponse\SuppressionInfo>
Returns
TypeDescription
$this