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.



3967
3968
3969
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 3967

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



3965
3966
3967
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 3965

def pubsub_notification
  @pubsub_notification
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3972
3973
3974
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 3972

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