Reference documentation and code samples for the Kubernetes Engine V1 API class Google::Cloud::Container::V1::NotificationConfig::PubSub.
Pub/Sub specific notification config.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#enabled
def enabled() -> ::Boolean
Returns
- (::Boolean) — Enable notifications for Pub/Sub.
#enabled=
def enabled=(value) -> ::Boolean
Parameter
- value (::Boolean) — Enable notifications for Pub/Sub.
Returns
- (::Boolean) — Enable notifications for Pub/Sub.
#filter
def filter() -> ::Google::Cloud::Container::V1::NotificationConfig::Filter
Returns
- (::Google::Cloud::Container::V1::NotificationConfig::Filter) — Allows filtering to one or more specific event types. If no filter is specified, or if a filter is specified with no event types, all event types will be sent
#filter=
def filter=(value) -> ::Google::Cloud::Container::V1::NotificationConfig::Filter
Parameter
- value (::Google::Cloud::Container::V1::NotificationConfig::Filter) — Allows filtering to one or more specific event types. If no filter is specified, or if a filter is specified with no event types, all event types will be sent
Returns
- (::Google::Cloud::Container::V1::NotificationConfig::Filter) — Allows filtering to one or more specific event types. If no filter is specified, or if a filter is specified with no event types, all event types will be sent
#topic
def topic() -> ::String
Returns
-
(::String) — The desired Pub/Sub topic to which notifications will be
sent by GKE. Format is
projects/{project}/topics/{topic}
.
#topic=
def topic=(value) -> ::String
Parameter
-
value (::String) — The desired Pub/Sub topic to which notifications will be
sent by GKE. Format is
projects/{project}/topics/{topic}
.
Returns
-
(::String) — The desired Pub/Sub topic to which notifications will be
sent by GKE. Format is
projects/{project}/topics/{topic}
.