class Google::Apis::ContainerV1::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_v1/classes.rb, line 3353 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_v1/classes.rb, line 3358 def update!(**args) @enabled = args[:enabled] if args.key?(:enabled) @topic = args[:topic] if args.key?(:topic) end