Class: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpAppconnectorsV1alphaNotificationConfig

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) ⇒ GoogleCloudBeyondcorpAppconnectorsV1alphaNotificationConfig

Returns a new instance of GoogleCloudBeyondcorpAppconnectorsV1alphaNotificationConfig.



1701
1702
1703
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 1701

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

Instance Attribute Details

#pubsub_notificationGoogle::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpAppconnectorsV1alphaNotificationConfigCloudPubSubNotificationConfig

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



1699
1700
1701
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 1699

def pubsub_notification
  @pubsub_notification
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1706
1707
1708
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 1706

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