[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Dataflow V1beta3 Client - Class PubsubLocation (0.8.2)\n\nVersion latestkeyboard_arrow_down\n\n- [0.8.2 (latest)](/php/docs/reference/cloud-dataflow/latest/V1beta3.PubsubLocation)\n- [0.8.1](/php/docs/reference/cloud-dataflow/0.8.1/V1beta3.PubsubLocation)\n- [0.7.1](/php/docs/reference/cloud-dataflow/0.7.1/V1beta3.PubsubLocation)\n- [0.6.6](/php/docs/reference/cloud-dataflow/0.6.6/V1beta3.PubsubLocation)\n- [0.5.1](/php/docs/reference/cloud-dataflow/0.5.1/V1beta3.PubsubLocation)\n- [0.4.1](/php/docs/reference/cloud-dataflow/0.4.1/V1beta3.PubsubLocation)\n- [0.3.10](/php/docs/reference/cloud-dataflow/0.3.10/V1beta3.PubsubLocation) \n| **Beta**\n|\n|\n| This library is covered by the [Pre-GA Offerings Terms](/terms/service-terms#1)\n| of the Terms of Service. Pre-GA libraries might have limited support,\n| and changes to pre-GA libraries might not be compatible with other pre-GA versions.\n| For more information, see the\n[launch stage descriptions](/products#product-launch-stages). \nReference documentation and code samples for the Google Cloud Dataflow V1beta3 Client class PubsubLocation.\n\nIdentifies a pubsub location to use for transferring data into or\nout of a streaming Dataflow job.\n\nGenerated from protobuf message `google.dataflow.v1beta3.PubsubLocation`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Dataflow \\\\ V1beta3\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getTopic\n\nA pubsub topic, in the form of\n\"pubsub.googleapis.com/topics/\n\n\n### setTopic\n\nA pubsub topic, in the form of\n\"pubsub.googleapis.com/topics/\n\n\n### getSubscription\n\nA pubsub subscription, in the form of\n\"pubsub.googleapis.com/subscriptions/\n\n\n### setSubscription\n\nA pubsub subscription, in the form of\n\"pubsub.googleapis.com/subscriptions/\n\n\n### getTimestampLabel\n\nIf set, contains a pubsub label from which to extract record timestamps.\n\nIf left empty, record timestamps will be generated upon arrival.\n\n### setTimestampLabel\n\nIf set, contains a pubsub label from which to extract record timestamps.\n\nIf left empty, record timestamps will be generated upon arrival.\n\n### getIdLabel\n\nIf set, contains a pubsub label from which to extract record ids.\n\nIf left empty, record deduplication will be strictly best effort.\n\n### setIdLabel\n\nIf set, contains a pubsub label from which to extract record ids.\n\nIf left empty, record deduplication will be strictly best effort.\n\n### getDropLateData\n\nIndicates whether the pipeline allows late-arriving data.\n\n### setDropLateData\n\nIndicates whether the pipeline allows late-arriving data.\n\n### getTrackingSubscription\n\nIf set, specifies the pubsub subscription that will be used for tracking\ncustom time timestamps for watermark estimation.\n\n### setTrackingSubscription\n\nIf set, specifies the pubsub subscription that will be used for tracking\ncustom time timestamps for watermark estimation.\n\n### getWithAttributes\n\nIf true, then the client has requested to get pubsub attributes.\n\n### setWithAttributes\n\nIf true, then the client has requested to get pubsub attributes.\n\n### getDynamicDestinations\n\nIf true, then this location represents dynamic topics.\n\n### setDynamicDestinations\n\nIf true, then this location represents dynamic topics."]]