# Dataflow v1beta3 API - Class PubsubLocation (2.0.0-beta10)

2.0.0-beta10 (latest) 2.0.0-beta09 1.0.0-beta03

    public sealed class PubsubLocation : IMessage<PubsubLocation>, IEquatable<PubsubLocation>, IDeepCloneable<PubsubLocation>, IBufferMessage, IMessage

Reference documentation and code samples for the Dataflow v1beta3 API class PubsubLocation.

Identifies a pubsub location to use for transferring data into or
out of a streaming Dataflow job.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> PubsubLocation

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[PubsubLocation](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataflow.V1Beta3/latest/Google.Cloud.Dataflow.V1Beta3.PubsubLocation), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[PubsubLocation](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataflow.V1Beta3/latest/Google.Cloud.Dataflow.V1Beta3.PubsubLocation), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[PubsubLocation](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataflow.V1Beta3/latest/Google.Cloud.Dataflow.V1Beta3.PubsubLocation), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Dataflow.V1Beta3](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataflow.V1Beta3/latest/Google.Cloud.Dataflow.V1Beta3)

## Assembly

Google.Cloud.Dataflow.V1Beta3.dll

## Constructors

### PubsubLocation()

    public PubsubLocation()

### PubsubLocation(PubsubLocation)

    public PubsubLocation(PubsubLocation other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataflow.V1Beta3/latest/Google.Cloud.Dataflow.V1Beta3.PubsubLocation` |

## Properties

### DropLateData

    public bool DropLateData { get; set; }

Indicates whether the pipeline allows late-arriving data.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### DynamicDestinations

    public bool DynamicDestinations { get; set; }

If true, then this location represents dynamic topics.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### IdLabel

    public string IdLabel { get; set; }

If set, contains a pubsub label from which to extract record ids.
If left empty, record deduplication will be strictly best effort.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### Subscription

    public string Subscription { get; set; }

A pubsub subscription, in the form of
"pubsub.googleapis.com/subscriptions/\<project-id\>/\<subscription-name\>"

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### TimestampLabel

    public string TimestampLabel { get; set; }

If set, contains a pubsub label from which to extract record timestamps.
If left empty, record timestamps will be generated upon arrival.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### Topic

    public string Topic { get; set; }

A pubsub topic, in the form of
"pubsub.googleapis.com/topics/\<project-id\>/\<topic-name\>"

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### TrackingSubscription

    public string TrackingSubscription { get; set; }

If set, specifies the pubsub subscription that will be used for tracking
custom time timestamps for watermark estimation.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### WithAttributes

    public bool WithAttributes { get; set; }

If true, then the client has requested to get pubsub attributes.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |