CloudStorageConfigResponse class

Configuration for a Cloud Storage subscription.

Constructors

CloudStorageConfigResponse({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<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.
const
CloudStorageConfigResponse.fromMap(Map<String, dynamic> map)
factory

Properties

avroConfig → Input<AvroConfigResponse>
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
state → Input<String>
An output-only field that indicates whether or not the subscription can receive messages.
final
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