Class: Google::Apis::ContainerV1beta1::NotificationConfig

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/container_v1beta1/classes.rb,
lib/google/apis/container_v1beta1/representations.rb,
lib/google/apis/container_v1beta1/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.



4497
4498
4499
# File 'lib/google/apis/container_v1beta1/classes.rb', line 4497

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

Instance Attribute Details

#pubsubGoogle::Apis::ContainerV1beta1::PubSub

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



4495
4496
4497
# File 'lib/google/apis/container_v1beta1/classes.rb', line 4495

def pubsub
  @pubsub
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4502
4503
4504
# File 'lib/google/apis/container_v1beta1/classes.rb', line 4502

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