Class: Google::Apis::BeyondcorpV1alpha::CloudPubSubNotificationConfig
- Inherits:
-
Object
- Object
- Google::Apis::BeyondcorpV1alpha::CloudPubSubNotificationConfig
- 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
-
#pubsub_subscription ⇒ String
The Pub/Sub subscription the connector uses to receive notifications.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CloudPubSubNotificationConfig
constructor
A new instance of CloudPubSubNotificationConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_subscription ⇒ String
The Pub/Sub subscription the connector uses to receive notifications.
Corresponds to the JSON property pubsubSubscription
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 |