class Google::Apis::ContainerV1beta1::PubSub

Pub/Sub specific notification config.

Attributes

enabled[RW]

Enable notifications for Pub/Sub. Corresponds to the JSON property `enabled` @return [Boolean]

enabled?[RW]

Enable notifications for Pub/Sub. Corresponds to the JSON property `enabled` @return [Boolean]

topic[RW]

The desired Pub/Sub topic to which notifications will be sent by GKE. Format is `projects/`project`/topics/`topic“. Corresponds to the JSON property `topic` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/container_v1beta1/classes.rb, line 3912
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/container_v1beta1/classes.rb, line 3917
def update!(**args)
  @enabled = args[:enabled] if args.key?(:enabled)
  @topic = args[:topic] if args.key?(:topic)
end