CloudStorageConfigResponse constructor

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

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,
});