class Google::Apis::PubsubV1beta1a::AcknowledgeRequest
Request for the Acknowledge method.
Attributes
ack_id[RW]
The acknowledgment ID for the message being acknowledged. This was returned by the Pub/Sub system in the Pull response. Corresponds to the JSON property `ackId` @return [Array<String>]
subscription[RW]
The subscription whose message is being acknowledged. Corresponds to the JSON property `subscription` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/pubsub_v1beta1a/classes.rb, line 40 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/pubsub_v1beta1a/classes.rb, line 45 def update!(**args) @ack_id = args[:ack_id] if args.key?(:ack_id) @subscription = args[:subscription] if args.key?(:subscription) end