Class: Google::Apis::ContainerV1beta1::NotificationConfig
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1beta1::NotificationConfig
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- generated/google/apis/container_v1beta1/classes.rb,
generated/google/apis/container_v1beta1/representations.rb,
generated/google/apis/container_v1beta1/representations.rb
Overview
NotificationConfig is the configuration of notifications.
Instance Attribute Summary collapse
-
#pubsub ⇒ Google::Apis::ContainerV1beta1::PubSub
Pub/Sub specific notification config.
Instance Method Summary collapse
-
#initialize(**args) ⇒ NotificationConfig
constructor
A new instance of NotificationConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ NotificationConfig
Returns a new instance of NotificationConfig.
3104 3105 3106 |
# File 'generated/google/apis/container_v1beta1/classes.rb', line 3104 def initialize(**args) update!(**args) end |
Instance Attribute Details
#pubsub ⇒ Google::Apis::ContainerV1beta1::PubSub
Pub/Sub specific notification config.
Corresponds to the JSON property pubsub
3102 3103 3104 |
# File 'generated/google/apis/container_v1beta1/classes.rb', line 3102 def pubsub @pubsub end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3109 3110 3111 |
# File 'generated/google/apis/container_v1beta1/classes.rb', line 3109 def update!(**args) @pubsub = args[:pubsub] if args.key?(:pubsub) end |