GetSubscriptionCloudStorageConfig constructor

const GetSubscriptionCloudStorageConfig({
  1. required Input<List<GetSubscriptionCloudStorageConfigAvroConfig>> avroConfigs,
  2. required Input<String> bucket,
  3. required Input<String> filenameDatetimeFormat,
  4. required Input<String> filenamePrefix,
  5. required Input<String> filenameSuffix,
  6. required Input<int> maxBytes,
  7. required Input<String> maxDuration,
  8. required Input<int> maxMessages,
  9. required Input<String> serviceAccountEmail,
  10. required Input<String> state,
  11. required Input<List<GetSubscriptionCloudStorageConfigTextConfig>> textConfigs,
})

Creates a new GetSubscriptionCloudStorageConfig. avroConfigs 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://". filenameDatetimeFormat User-provided format string specifying how to represent datetimes in Cloud Storage filenames. filenamePrefix User-provided prefix for Cloud Storage filename. filenameSuffix User-provided suffix for Cloud Storage filename. Must not end in "/". maxBytes The maximum bytes that can be written to a Cloud Storage file before a new file is created. Min 1 KB, max 10 GiB. maxDuration The maximum duration that can elapse before a new Cloud Storage file is created. Min 1 minute, max 10 minutes, default 5 minutes. maxMessages The maximum messages that can be written to a Cloud Storage file before a new file is created. Min 1000 messages. serviceAccountEmail The service account to use to write to Cloud Storage. If not specified, the Pub/Sub state An output-only field that indicates whether or not the subscription can receive messages. textConfigs If set, message data will be written to Cloud Storage in text format.

Implementation

const GetSubscriptionCloudStorageConfig({
  required this.avroConfigs,
  required this.bucket,
  required this.filenameDatetimeFormat,
  required this.filenamePrefix,
  required this.filenameSuffix,
  required this.maxBytes,
  required this.maxDuration,
  required this.maxMessages,
  required this.serviceAccountEmail,
  required this.state,
  required this.textConfigs,
});