Cloud PubSub V1 Client - Class PlatformLogsSettings (2.13.2)

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 Enum of type Severity.

setSeverity

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

Parameter
Name Description
var int

Enum of type Severity.

Returns
Type Description
$this