class Google::Apis::PubsubliteV1::Subscription
Metadata about a subscription resource.
Attributes
delivery_config[RW]
The settings for a subscription's message delivery. Corresponds to the JSON property `deliveryConfig` @return [Google::Apis::PubsubliteV1::DeliveryConfig]
name[RW]
The name of the subscription. Structured like: projects/`project_number`/ locations/`location`/subscriptions/`subscription_id` Corresponds to the JSON property `name` @return [String]
topic[RW]
The name of the topic this subscription is attached to. Structured like: projects/`project_number`/locations/`location`/topics/`topic_id` Corresponds to the JSON property `topic` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/pubsublite_v1/classes.rb, line 742 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/pubsublite_v1/classes.rb, line 747 def update!(**args) @delivery_config = args[:delivery_config] if args.key?(:delivery_config) @name = args[:name] if args.key?(:name) @topic = args[:topic] if args.key?(:topic) end