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 | |
---|---|
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.
Generated from protobuf field .google.container.v1.NotificationConfig.PubSub pubsub = 1;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
Google\Cloud\Container\V1\NotificationConfig\PubSub
|
Returns | |
---|---|
Type | Description |
$this |