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.



3754
3755
3756
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 3754

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



3752
3753
3754
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 3752

def pubsub_notification
  @pubsub_notification
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3759
3760
3761
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 3759

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