Kubernetes Engine V1beta1 API - Class Google::Cloud::Container::V1beta1::NotificationConfig::PubSub (v0.39.0)

Reference documentation and code samples for the Kubernetes Engine V1beta1 API class Google::Cloud::Container::V1beta1::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::V1beta1::NotificationConfig::Filter
Returns

#filter=

def filter=(value) -> ::Google::Cloud::Container::V1beta1::NotificationConfig::Filter
Parameter
Returns

#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}.