Cloud PubSub V1 Client - Class PlatformLogsSettings (2.8.0)

Reference documentation and code samples for the Cloud PubSub V1 Client class PlatformLogsSettings.

Settings for Platform Logs produced by Pub/Sub.

Generated from protobuf message google.pubsub.v1.PlatformLogsSettings

Namespace

Google \ Cloud \ PubSub \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ severity int

Optional. The minimum severity level of Platform Logs that will be written.

getSeverity

Optional. The minimum severity level of Platform Logs that will be written.

Returns
Type Description
int

setSeverity

Optional. The minimum severity level of Platform Logs that will be written.

Parameter
Name Description
var int
Returns
Type Description
$this