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

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.

Generated from protobuf field .google.container.v1.NotificationConfig.PubSub pubsub = 1;

Returns
TypeDescription
Google\Cloud\Container\V1\NotificationConfig\PubSub|null

hasPubsub

clearPubsub

setPubsub

Notification config for Pub/Sub.

Generated from protobuf field .google.container.v1.NotificationConfig.PubSub pubsub = 1;

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