Class Subscription
Metadata about a subscription resource.
Implements
Inherited Members
Namespace: Google.Apis.PubsubLite.v1.Data
Assembly: Google.Apis.PubsubLite.v1.dll
Syntax
public class Subscription : IDirectResponseSchema
Properties
DeliveryConfig
The settings for this subscription's message delivery.
Declaration
[JsonProperty("deliveryConfig")]
public virtual DeliveryConfig DeliveryConfig { get; set; }
Property Value
Type | Description |
---|---|
DeliveryConfig |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
ExportConfig
If present, messages are automatically written from the Pub/Sub Lite topic associated with this subscription to a destination.
Declaration
[JsonProperty("exportConfig")]
public virtual ExportConfig ExportConfig { get; set; }
Property Value
Type | Description |
---|---|
ExportConfig |
Name
The name of the subscription. Structured like: projects/{project_number}/locations/{location}/subscriptions/{subscription_id}
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Topic
The name of the topic this subscription is attached to. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}
Declaration
[JsonProperty("topic")]
public virtual string Topic { get; set; }
Property Value
Type | Description |
---|---|
string |