CloudStorageConfigArgs

data class CloudStorageConfigArgs(val avroConfig: Output<AvroConfigArgs>? = null, val bucket: Output<String>, val filenamePrefix: Output<String>? = null, val filenameSuffix: Output<String>? = null, val maxBytes: Output<String>? = null, val maxDuration: Output<String>? = null, val textConfig: Output<TextConfigArgs>? = null) : ConvertibleToJava<CloudStorageConfigArgs>

Configuration for a Cloud Storage subscription.

Constructors

Link copied to clipboard
fun CloudStorageConfigArgs(avroConfig: Output<AvroConfigArgs>? = null, bucket: Output<String>, filenamePrefix: Output<String>? = null, filenameSuffix: Output<String>? = null, maxBytes: Output<String>? = null, maxDuration: Output<String>? = null, textConfig: Output<TextConfigArgs>? = null)

Functions

Link copied to clipboard
open override fun toJava(): CloudStorageConfigArgs

Properties

Link copied to clipboard
val avroConfig: Output<AvroConfigArgs>? = null

If set, message data will be written to Cloud Storage in Avro format.

Link copied to clipboard
val bucket: Output<String>

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).

Link copied to clipboard
val filenamePrefix: Output<String>? = null

User-provided prefix for Cloud Storage filename. See the object naming requirements.

Link copied to clipboard
val filenameSuffix: Output<String>? = null

User-provided suffix for Cloud Storage filename. See the object naming requirements.

Link copied to clipboard
val maxBytes: Output<String>? = null

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.

Link copied to clipboard
val maxDuration: Output<String>? = null

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.

Link copied to clipboard
val textConfig: Output<TextConfigArgs>? = null

If set, message data will be written to Cloud Storage in text format.