Stackdriver Logging V2 Client - Class SuppressionInfo (1.30.2)

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
Name Description
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
Type Description
int

setReason

The reason that entries were omitted from the session.

Parameter
Name Description
var int
Returns
Type Description
$this

getSuppressedCount

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

Returns
Type Description
int

setSuppressedCount

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

Parameter
Name Description
var int
Returns
Type Description
$this