Class: Google::Apis::BeyondcorpV1alpha::CloudPubSubNotificationConfig

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

The configuration for Pub/Sub messaging for the connector.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CloudPubSubNotificationConfig

Returns a new instance of CloudPubSubNotificationConfig.



241
242
243
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 241

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

Instance Attribute Details

#pubsub_subscriptionString

The Pub/Sub subscription the connector uses to receive notifications. Corresponds to the JSON property pubsubSubscription

Returns:

  • (String)


239
240
241
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 239

def pubsub_subscription
  @pubsub_subscription
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



246
247
248
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 246

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