Class: Google::Apis::BeyondcorpV1alpha::NotificationConfig

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

Overview

NotificationConfig defines the mechanisms to notify instance agent.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ NotificationConfig

Returns a new instance of NotificationConfig.



3722
3723
3724
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 3722

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

Instance Attribute Details

#pubsub_notificationGoogle::Apis::BeyondcorpV1alpha::CloudPubSubNotificationConfig

The configuration for Pub/Sub messaging for the connector. Corresponds to the JSON property pubsubNotification



3720
3721
3722
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 3720

def pubsub_notification
  @pubsub_notification
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3727
3728
3729
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 3727

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