Class: Google::Apis::PubsubliteV1::DeliveryConfig
- Inherits:
-
Object
- Object
- Google::Apis::PubsubliteV1::DeliveryConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/pubsublite_v1/classes.rb,
generated/google/apis/pubsublite_v1/representations.rb,
generated/google/apis/pubsublite_v1/representations.rb
Overview
The settings for a subscription's message delivery.
Instance Attribute Summary collapse
-
#delivery_requirement ⇒ String
The DeliveryRequirement for this subscription.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DeliveryConfig
constructor
A new instance of DeliveryConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DeliveryConfig
Returns a new instance of DeliveryConfig.
151 152 153 |
# File 'generated/google/apis/pubsublite_v1/classes.rb', line 151 def initialize(**args) update!(**args) end |
Instance Attribute Details
#delivery_requirement ⇒ String
The DeliveryRequirement for this subscription.
Corresponds to the JSON property deliveryRequirement
149 150 151 |
# File 'generated/google/apis/pubsublite_v1/classes.rb', line 149 def delivery_requirement @delivery_requirement end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
156 157 158 |
# File 'generated/google/apis/pubsublite_v1/classes.rb', line 156 def update!(**args) @delivery_requirement = args[:delivery_requirement] if args.key?(:delivery_requirement) end |