Cloud Pub/Sub V1 API - Class Google::Cloud::PubSub::V1::AcknowledgeRequest (v0.24.0)

Reference documentation and code samples for the Cloud Pub/Sub V1 API class Google::Cloud::PubSub::V1::AcknowledgeRequest.

Request for the Acknowledge method.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#ack_ids

def ack_ids() -> ::Array<::String>
Returns
  • (::Array<::String>) — Required. The acknowledgment ID for the messages being acknowledged that was returned by the Pub/Sub system in the Pull response. Must not be empty.

#ack_ids=

def ack_ids=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — Required. The acknowledgment ID for the messages being acknowledged that was returned by the Pub/Sub system in the Pull response. Must not be empty.
Returns
  • (::Array<::String>) — Required. The acknowledgment ID for the messages being acknowledged that was returned by the Pub/Sub system in the Pull response. Must not be empty.

#subscription

def subscription() -> ::String
Returns
  • (::String) — Required. The subscription whose message is being acknowledged. Format is projects/{project}/subscriptions/{sub}.

#subscription=

def subscription=(value) -> ::String
Parameter
  • value (::String) — Required. The subscription whose message is being acknowledged. Format is projects/{project}/subscriptions/{sub}.
Returns
  • (::String) — Required. The subscription whose message is being acknowledged. Format is projects/{project}/subscriptions/{sub}.