final case class PushConfig(pushEndpoint: String = "", attributes: Map[String, String] = _root_.scala.collection.immutable.Map.empty, authenticationMethod: AuthenticationMethod = com.google.pubsub.v1.pubsub.PushConfig.AuthenticationMethod.Empty, wrapper: Wrapper = com.google.pubsub.v1.pubsub.PushConfig.Wrapper.Empty, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[PushConfig] with Product with Serializable

Configuration for a push delivery endpoint.

pushEndpoint

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

attributes

Optional. 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" }

Annotations
@SerialVersionUID()
Source
PushConfig.scala
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PushConfig
  2. Updatable
  3. GeneratedMessage
  4. Serializable
  5. Product
  6. Equals
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new PushConfig(pushEndpoint: String = "", attributes: Map[String, String] = _root_.scala.collection.immutable.Map.empty, authenticationMethod: AuthenticationMethod = com.google.pubsub.v1.pubsub.PushConfig.AuthenticationMethod.Empty, wrapper: Wrapper = com.google.pubsub.v1.pubsub.PushConfig.Wrapper.Empty, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty)

    pushEndpoint

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

    attributes

    Optional. 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" }

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addAllAttributes(__vs: Iterable[(String, String)]): PushConfig
  5. def addAttributes(__vs: (String, String)*): PushConfig
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. val attributes: Map[String, String]
  8. val authenticationMethod: AuthenticationMethod
  9. def clearAttributes: PushConfig
  10. def clearAuthenticationMethod: PushConfig
  11. def clearWrapper: PushConfig
  12. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  13. def companion: PushConfig.type
    Definition Classes
    PushConfig → GeneratedMessage
  14. def discardUnknownFields: PushConfig
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def getField(__field: FieldDescriptor): PValue
    Definition Classes
    PushConfig → GeneratedMessage
  18. def getFieldByNumber(__fieldNumber: Int): Any
    Definition Classes
    PushConfig → GeneratedMessage
  19. def getNoWrapper: NoWrapper
  20. def getOidcToken: OidcToken
  21. def getPubsubWrapper: PubsubWrapper
  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. def productElementNames: Iterator[String]
    Definition Classes
    Product
  27. val pushEndpoint: String
  28. def serializedSize: Int
    Definition Classes
    PushConfig → GeneratedMessage
  29. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  30. final def toByteArray: Array[Byte]
    Definition Classes
    GeneratedMessage
  31. final def toByteString: ByteString
    Definition Classes
    GeneratedMessage
  32. final def toPMessage: PMessage
    Definition Classes
    GeneratedMessage
  33. def toProtoString: String
    Definition Classes
    PushConfig → GeneratedMessage
  34. val unknownFields: UnknownFieldSet
  35. def update(ms: (Lens[PushConfig, PushConfig]) => Mutation[PushConfig]*): PushConfig
    Definition Classes
    Updatable
  36. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  37. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  38. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  39. def withAttributes(__v: Map[String, String]): PushConfig
  40. def withAuthenticationMethod(__v: AuthenticationMethod): PushConfig
  41. def withNoWrapper(__v: NoWrapper): PushConfig
  42. def withOidcToken(__v: OidcToken): PushConfig
  43. def withPubsubWrapper(__v: PubsubWrapper): PushConfig
  44. def withPushEndpoint(__v: String): PushConfig
  45. def withUnknownFields(__v: UnknownFieldSet): PushConfig
  46. def withWrapper(__v: Wrapper): PushConfig
  47. val wrapper: Wrapper
  48. final def writeDelimitedTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage
  49. def writeTo(_output__: CodedOutputStream): Unit
    Definition Classes
    PushConfig → GeneratedMessage
  50. final def writeTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from Updatable[PushConfig]

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped