Stackdriver Logging V2 Client - Class SuppressionInfo (1.27.1)

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

Information about entries that were omitted from the session.

Generated from protobuf message google.logging.v2.TailLogEntriesResponse.SuppressionInfo

Namespace

Google \ Cloud \ Logging \ V2 \ TailLogEntriesResponse

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ reason int

The reason that entries were omitted from the session.

↳ suppressed_count int

A lower bound on the count of entries omitted due to reason.

getReason

The reason that entries were omitted from the session.

Returns
TypeDescription
int

setReason

The reason that entries were omitted from the session.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getSuppressedCount

A lower bound on the count of entries omitted due to reason.

Returns
TypeDescription
int

setSuppressedCount

A lower bound on the count of entries omitted due to reason.

Parameter
NameDescription
var int
Returns
TypeDescription
$this