CloudStorageConfigResponse constructor
- required Input<
AvroConfigResponse> avroConfig, - required Input<
String> bucket, - required Input<
String> filenamePrefix, - required Input<
String> filenameSuffix, - required Input<
String> maxBytes, - required Input<
String> maxDuration, - required Input<
String> state, - required Input<
Map< textConfig,String, dynamic> >
Creates a new CloudStorageConfigResponse.
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.
state An output-only field that indicates whether or not the subscription can receive messages.
textConfig Optional. If set, message data will be written to Cloud Storage in text format.
Implementation
const CloudStorageConfigResponse({
required this.avroConfig,
required this.bucket,
required this.filenamePrefix,
required this.filenameSuffix,
required this.maxBytes,
required this.maxDuration,
required this.state,
required this.textConfig,
});