CloudStorageConfig

com.google.pubsub.v1.pubsub.CloudStorageConfig
See theCloudStorageConfig companion object
final case class CloudStorageConfig(bucket: String, filenamePrefix: String, filenameSuffix: String, outputFormat: OutputFormat, maxDuration: Option[Duration], maxBytes: Long, state: State, unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[CloudStorageConfig]

Configuration for a Cloud Storage subscription.

Value parameters

bucket

Required. User-provided name for the Cloud Storage bucket. The bucket must be created by the user. The bucket name must be without any prefix like "gs://". See the [bucket naming requirements] (https://cloud.google.com/storage/docs/buckets#naming).

filenamePrefix

User-provided prefix for Cloud Storage filename. See the [object naming requirements](https://cloud.google.com/storage/docs/objects#naming).

filenameSuffix

User-provided suffix for Cloud Storage filename. See the [object naming requirements](https://cloud.google.com/storage/docs/objects#naming). Must not end in "/".

maxBytes

The maximum bytes that can be written to a Cloud Storage file before a new file is created. Min 1 KB, max 10 GiB. The max_bytes limit may be exceeded in cases where messages are larger than the limit.

maxDuration

The maximum duration that can elapse before a new Cloud Storage file is created. Min 1 minute, max 10 minutes, default 5 minutes. May not exceed the subscription's acknowledgement deadline.

state

Output only. An output-only field that indicates whether or not the subscription can receive messages.

Attributes

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

Members list

Value members

Concrete methods

def getField(`__field`: FieldDescriptor): PValue

Attributes

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

Attributes

Source
CloudStorageConfig.scala
override def serializedSize: Int

Attributes

Definition Classes
GeneratedMessage
Source
CloudStorageConfig.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
CloudStorageConfig.scala
def withUnknownFields(`__v`: UnknownFieldSet): CloudStorageConfig

Attributes

Source
CloudStorageConfig.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
CloudStorageConfig.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

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