ExportConfigResponse class

Configuration for a Pub/Sub Lite subscription that writes messages to a destination. User subscriber clients must not connect to this subscription.

Constructors

ExportConfigResponse({required Input<String> currentState, required Input<String> deadLetterTopic, required Input<String> desiredState, required Input<PubSubConfigResponse> pubsubConfig})
Creates a new ExportConfigResponse. currentState The current state of the export, which may be different to the desired state due to errors. This field is output only. deadLetterTopic 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. desiredState The desired state of this export. Setting this to values other than ACTIVE and PAUSED will result in an error. pubsubConfig Messages are automatically written from the Pub/Sub Lite topic associated with this subscription to a Pub/Sub topic.
const
ExportConfigResponse.fromMap(Map<String, dynamic> map)
factory

Properties

currentState → Input<String>
The current state of the export, which may be different to the desired state due to errors. This field is output only.
final
deadLetterTopic → Input<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.
final
desiredState → Input<String>
The desired state of this export. Setting this to values other than ACTIVE and PAUSED will result in an error.
final
hashCode → int
The hash code for this object.
no setterinherited
pubsubConfig → Input<PubSubConfigResponse>
Messages are automatically written from the Pub/Sub Lite topic associated with this subscription to a Pub/Sub topic.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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