#acknowledge_subscription(subscription, ack_ids) ⇒ Object

# File 'lib/fog/google/requests/pubsub/acknowledge_subscription.rb', line 8defacknowledge_subscription(subscription,ack_ids)# Previous behavior allowed passing a single ack_id without being wrapped in an Array,
# this is for backwards compatibility.
unlessack_ids.is_a?(Array)ack_ids=[ack_ids]endack_request=::Google::Apis::PubsubV1::AcknowledgeRequest.new(:ack_ids=>ack_ids)@pubsub.acknowledge_subscription(subscription,ack_request)end

name of the subscription to create. Note that it must follow the restrictions of subscription names; specifically it must be named within a project (e.g. “projects/my-project/subscriptions/my-subscripton”)