CloudStorageConfig constructor

const CloudStorageConfig({
  1. Input<AvroConfig>? avroConfig,
  2. required Input<String> bucket,
  3. Input<String>? filenamePrefix,
  4. Input<String>? filenameSuffix,
  5. Input<String>? maxBytes,
  6. Input<String>? maxDuration,
  7. Input<Map<String, dynamic>>? textConfig,
})

Creates a new CloudStorageConfig. avroConfig Optional. If set, message data will be written to Cloud Storage in Avro format. bucket 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 Optional. User-provided prefix for Cloud Storage filename. See the object naming requirements. filenameSuffix Optional. User-provided suffix for Cloud Storage filename. See the object naming requirements. Must not end in "/". maxBytes Optional. 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 Optional. 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. textConfig Optional. If set, message data will be written to Cloud Storage in text format.

Implementation

const CloudStorageConfig({
  this.avroConfig,
  required this.bucket,
  this.filenamePrefix,
  this.filenameSuffix,
  this.maxBytes,
  this.maxDuration,
  this.textConfig,
});