Class: Google::Apis::PubsubliteV1::DeliveryConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/pubsublite_v1/classes.rb,
lib/google/apis/pubsublite_v1/representations.rb,
lib/google/apis/pubsublite_v1/representations.rb

Overview

The settings for a subscription's message delivery.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DeliveryConfig

Returns a new instance of DeliveryConfig.



288
289
290
# File 'lib/google/apis/pubsublite_v1/classes.rb', line 288

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

Instance Attribute Details

#delivery_requirementString

The DeliveryRequirement for this subscription. Corresponds to the JSON property deliveryRequirement

Returns:

  • (String)


286
287
288
# File 'lib/google/apis/pubsublite_v1/classes.rb', line 286

def delivery_requirement
  @delivery_requirement
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



293
294
295
# File 'lib/google/apis/pubsublite_v1/classes.rb', line 293

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