NotificationConfig

com.google.storage.v2.storage.NotificationConfig
See theNotificationConfig companion object
final case class NotificationConfig(name: String, topic: String, etag: String, eventTypes: Seq[String], customAttributes: Map[String, String], objectNamePrefix: String, payloadFormat: String, unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[NotificationConfig]

A directive to publish Pub/Sub notifications upon changes to a bucket.

Value parameters

customAttributes

A list of additional attributes to attach to each Pub/Sub message published for this NotificationConfig.

etag

The etag of the NotificationConfig. If included in the metadata of GetNotificationConfigRequest, the operation will only be performed if the etag matches that of the NotificationConfig.

eventTypes

If present, only send notifications about listed event types. If empty, sent notifications for all event types.

name

Required. The resource name of this NotificationConfig. Format: projects/{project}/buckets/{bucket}/notificationConfigs/{notificationConfig} The {project} portion may be _ for globally unique buckets.

objectNamePrefix

If present, only apply this NotificationConfig to object names that begin with this prefix.

payloadFormat

Required. The desired content of the Payload.

topic

Required. The Pub/Sub topic to which this subscription publishes. Formatted as: '//pubsub.googleapis.com/projects/{project-identifier}/topics/{my-topic}'

Attributes

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

Members list

Value members

Concrete methods

def addAllCustomAttributes(`__vs`: Iterable[(String, String)]): NotificationConfig

Attributes

Source
NotificationConfig.scala
def addAllEventTypes(`__vs`: Iterable[String]): NotificationConfig

Attributes

Source
NotificationConfig.scala
def addCustomAttributes(`__vs`: (String, String)*): NotificationConfig

Attributes

Source
NotificationConfig.scala
def addEventTypes(`__vs`: String*): NotificationConfig

Attributes

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

Attributes

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

Attributes

Source
NotificationConfig.scala
override def serializedSize: Int

Attributes

Definition Classes
GeneratedMessage
Source
NotificationConfig.scala
def toProtoString: String

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
NotificationConfig.scala
def withCustomAttributes(`__v`: Map[String, String]): NotificationConfig

Attributes

Source
NotificationConfig.scala
def withEtag(`__v`: String): NotificationConfig

Attributes

Source
NotificationConfig.scala
def withEventTypes(`__v`: Seq[String]): NotificationConfig

Attributes

Source
NotificationConfig.scala
def withName(`__v`: String): NotificationConfig

Attributes

Source
NotificationConfig.scala

Attributes

Source
NotificationConfig.scala

Attributes

Source
NotificationConfig.scala
def withTopic(`__v`: String): NotificationConfig

Attributes

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

Attributes

Source
NotificationConfig.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
NotificationConfig.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

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

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