Google Cloud Container V1 Client - Class NotificationConfig (1.17.1)

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
NameDescription
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
TypeDescription
Google\Cloud\Container\V1\NotificationConfig\PubSub|null

hasPubsub

clearPubsub

setPubsub

Notification config for Pub/Sub.

Parameter
NameDescription
var Google\Cloud\Container\V1\NotificationConfig\PubSub
Returns
TypeDescription
$this