Cloud Pub/Sub V1 API - Class Google::Cloud::PubSub::V1::PushConfig::NoWrapper (v0.20.2)

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

Sets the data field as the HTTP body for delivery.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#write_metadata

def write_metadata() -> ::Boolean
Returns
  • (::Boolean) — When true, writes the Pub/Sub message metadata to x-goog-pubsub-<KEY>:<VAL> headers of the HTTP request. Writes the Pub/Sub message attributes to <KEY>:<VAL> headers of the HTTP request.

#write_metadata=

def write_metadata=(value) -> ::Boolean
Parameter
  • value (::Boolean) — When true, writes the Pub/Sub message metadata to x-goog-pubsub-<KEY>:<VAL> headers of the HTTP request. Writes the Pub/Sub message attributes to <KEY>:<VAL> headers of the HTTP request.
Returns
  • (::Boolean) — When true, writes the Pub/Sub message metadata to x-goog-pubsub-<KEY>:<VAL> headers of the HTTP request. Writes the Pub/Sub message attributes to <KEY>:<VAL> headers of the HTTP request.