Class NotificationConfig (2.30.0)

NotificationConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

NotificationConfig is the configuration of notifications.

Attribute

NameDescription
pubsub google.cloud.container_v1.types.NotificationConfig.PubSub
Notification config for Pub/Sub.

Classes

EventType

EventType(value)

Types of notifications currently supported. Can be used to filter what notifications are sent.

Values: EVENT_TYPE_UNSPECIFIED (0): Not set, will be ignored. UPGRADE_AVAILABLE_EVENT (1): Corresponds with UpgradeAvailableEvent. UPGRADE_EVENT (2): Corresponds with UpgradeEvent. SECURITY_BULLETIN_EVENT (3): Corresponds with SecurityBulletinEvent.

Filter

Filter(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Allows filtering to one or more specific event types. If event types are present, those and only those event types will be transmitted to the cluster. Other types will be skipped. If no filter is specified, or no event types are present, all event types will be sent

PubSub

PubSub(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Pub/Sub specific notification config.