PushConfig

com.google.pubsub.v1.pubsub.PushConfig
See thePushConfig companion object
final case class PushConfig(pushEndpoint: String, attributes: Map[String, String], authenticationMethod: AuthenticationMethod, wrapper: Wrapper, unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[PushConfig]

Configuration for a push delivery endpoint.

Value parameters

attributes

Endpoint configuration attributes that can be used to control different aspects of the message delivery. The only currently supported attribute is x-goog-version, which you can use to change the format of the pushed message. This attribute indicates the version of the data expected by the endpoint. This controls the shape of the pushed message (i.e., its fields and metadata). If not present during the CreateSubscription call, it will default to the version of the Pub/Sub API used to make such call. If not present in a ModifyPushConfig call, its value will not be changed. GetSubscription calls will always return a valid version, even if the subscription was created without this attribute. The only supported values for the x-goog-version attribute are: * v1beta1: uses the push format defined in the v1beta1 Pub/Sub API. * v1 or v1beta2: uses the push format defined in the v1 Pub/Sub API. For example: attributes { "x-goog-version": "v1" }

pushEndpoint

A URL locating the endpoint to which messages should be pushed. For example, a Webhook endpoint might use https://example.com/push.

Attributes

Companion
object
Source
PushConfig.scala
Graph
Supertypes
trait Updatable[PushConfig]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

Attributes

Source
PushConfig.scala

Attributes

Source
PushConfig.scala

Attributes

Source
PushConfig.scala
def companion: PushConfig.type

Attributes

Source
PushConfig.scala
def getField(`__field`: FieldDescriptor): PValue

Attributes

Source
PushConfig.scala
def getFieldByNumber(`__fieldNumber`: Int): Any

Attributes

Source
PushConfig.scala

Attributes

Source
PushConfig.scala

Attributes

Source
PushConfig.scala
override def serializedSize: Int

Attributes

Definition Classes
GeneratedMessage
Source
PushConfig.scala

Returns a human-readable ASCII format representation of this message.

Returns a human-readable ASCII format representation of this message.

The original message can be decoded from this format by using fromAscii on the companion object.

Attributes

Returns

human-readable representation of this message.

Source
PushConfig.scala

Attributes

Source
PushConfig.scala

Attributes

Source
PushConfig.scala

Attributes

Source
PushConfig.scala

Attributes

Source
PushConfig.scala
def withUnknownFields(`__v`: UnknownFieldSet): PushConfig

Attributes

Source
PushConfig.scala

Attributes

Source
PushConfig.scala
def writeTo(`_output__`: CodedOutputStream): Unit

Serializes the message into the given coded output stream

Serializes the message into the given coded output stream

Attributes

Source
PushConfig.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
final def toByteArray: Array[Byte]

Serializes the message and returns a byte array containing its raw bytes

Serializes the message and returns a byte array containing its raw bytes

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala
final def toByteString: ByteString

Serializes the message and returns a ByteString containing its raw bytes

Serializes the message and returns a ByteString containing its raw bytes

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala
final def toPMessage: PMessage

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala
def update(ms: Lens[PushConfig, PushConfig] => () => PushConfig*): A

Attributes

Inherited from:
Updatable
Source
Lenses.scala
final def writeDelimitedTo(output: OutputStream): Unit

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala
final def writeTo(output: OutputStream): Unit

Serializes the message into the given output stream

Serializes the message into the given output stream

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala