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.



3462
3463
3464
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 3462

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



3460
3461
3462
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 3460

def pubsub_notification
  @pubsub_notification
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3467
3468
3469
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 3467

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