CloudStorageConfig class

Configuration for a Cloud Storage subscription.

Constructors

CloudStorageConfig({Input<AvroConfig>? avroConfig, required Input<String> bucket, Input<String>? filenamePrefix, Input<String>? filenameSuffix, Input<String>? maxBytes, Input<String>? maxDuration, 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.
const
CloudStorageConfig.fromMap(Map<String, dynamic> map)
factory

Properties

avroConfig → Input<AvroConfig>?
Optional. If set, message data will be written to Cloud Storage in Avro format.
final
bucket → Input<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).
final
filenamePrefix → Input<String>?
Optional. User-provided prefix for Cloud Storage filename. See the object naming requirements.
final
filenameSuffix → Input<String>?
Optional. User-provided suffix for Cloud Storage filename. See the object naming requirements. Must not end in "/".
final
hashCode → int
The hash code for this object.
no setterinherited
maxBytes → Input<String>?
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.
final
maxDuration → Input<String>?
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.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
textConfig → Input<Map<String, dynamic>>?
Optional. If set, message data will be written to Cloud Storage in text format.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited