Class ExportConfig
Configuration for a Pub/Sub Lite subscription that writes messages to a destination. User subscriber clients must not connect to this subscription.
Implements
Inherited Members
Namespace: Google.Apis.PubsubLite.v1.Data
Assembly: Google.Apis.PubsubLite.v1.dll
Syntax
public class ExportConfig : IDirectResponseSchema
Properties
CurrentState
Output only. The current state of the export, which may be different to the desired state due to errors. This field is output only.
Declaration
[JsonProperty("currentState")]
public virtual string CurrentState { get; set; }
Property Value
Type | Description |
---|---|
string |
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.
Declaration
[JsonProperty("deadLetterTopic")]
public virtual string DeadLetterTopic { get; set; }
Property Value
Type | Description |
---|---|
string |
DesiredState
The desired state of this export. Setting this to values other than ACTIVE
and PAUSED
will result in an
error.
Declaration
[JsonProperty("desiredState")]
public virtual string DesiredState { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
PubsubConfig
Messages are automatically written from the Pub/Sub Lite topic associated with this subscription to a Pub/Sub topic.
Declaration
[JsonProperty("pubsubConfig")]
public virtual PubSubConfig PubsubConfig { get; set; }
Property Value
Type | Description |
---|---|
PubSubConfig |