pub struct ExportConfig {
pub current_state: Option<String>,
pub dead_letter_topic: Option<String>,
pub desired_state: Option<String>,
pub pubsub_config: Option<PubSubConfig>,
}Expand description
Configuration for a Pub/Sub Lite subscription that writes messages to a destination. User subscriber clients must not connect to this subscription.
This type is not used in any activity, and only used as part of another schema.
Fields§
§current_state: Option<String>Output only. The current state of the export, which may be different to the desired state due to errors. This field is output only.
dead_letter_topic: Option<String>Optional. The name of an optional Pub/Sub Lite topic to publish messages that can not be exported to the destination. For example, the message can not be published to the Pub/Sub service because it does not satisfy the constraints documented at https://cloud.google.com/pubsub/docs/publisher. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}. Must be within the same project and location as the subscription. The topic may be changed or removed.
desired_state: Option<String>The desired state of this export. Setting this to values other than ACTIVE and PAUSED will result in an error.
pubsub_config: Option<PubSubConfig>Messages are automatically written from the Pub/Sub Lite topic associated with this subscription to a Pub/Sub topic.
Trait Implementations§
Source§impl Clone for ExportConfig
impl Clone for ExportConfig
Source§fn clone(&self) -> ExportConfig
fn clone(&self) -> ExportConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more