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.
455 456 457 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 455 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
453 454 455 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 453 def pubsub_subscription @pubsub_subscription end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
460 461 462 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 460 def update!(**args) @pubsub_subscription = args[:pubsub_subscription] if args.key?(:pubsub_subscription) end |