Class: Google::Apis::ContainerV1::NotificationConfig

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/container_v1/classes.rb,
lib/google/apis/container_v1/representations.rb,
lib/google/apis/container_v1/representations.rb

Overview

NotificationConfig is the configuration of notifications.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ NotificationConfig

Returns a new instance of NotificationConfig.



5330
5331
5332
# File 'lib/google/apis/container_v1/classes.rb', line 5330

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#pubsubGoogle::Apis::ContainerV1::PubSub

Pub/Sub specific notification config. Corresponds to the JSON property pubsub



5328
5329
5330
# File 'lib/google/apis/container_v1/classes.rb', line 5328

def pubsub
  @pubsub
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5335
5336
5337
# File 'lib/google/apis/container_v1/classes.rb', line 5335

def update!(**args)
  @pubsub = args[:pubsub] if args.key?(:pubsub)
end