Google Cloud Container V1 Client - Class NotificationConfig (2.3.0)

Reference documentation and code samples for the Google Cloud Container V1 Client class NotificationConfig.

NotificationConfig is the configuration of notifications.

Generated from protobuf message google.container.v1.NotificationConfig

Namespace

Google \ Cloud \ Container \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ pubsub NotificationConfig\PubSub

Notification config for Pub/Sub.

getPubsub

Notification config for Pub/Sub.

Returns
Type Description
NotificationConfig\PubSub|null

hasPubsub

clearPubsub

setPubsub

Notification config for Pub/Sub.

Parameter
Name Description
var NotificationConfig\PubSub
Returns
Type Description
$this