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 \ V1Methods
__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 |
|