Google Cloud Container V1 Client - Class NotificationConfig (1.32.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 Google\Cloud\Container\V1\NotificationConfig\PubSub

Notification config for Pub/Sub.

getPubsub

Notification config for Pub/Sub.

Returns
Type Description
Google\Cloud\Container\V1\NotificationConfig\PubSub|null

hasPubsub

clearPubsub

setPubsub

Notification config for Pub/Sub.

Parameter
Name Description
var Google\Cloud\Container\V1\NotificationConfig\PubSub
Returns
Type Description
$this