Google Cloud Dataflow V1beta3 Client - Class PubSubIODetails (0.4.1)

Reference documentation and code samples for the Google Cloud Dataflow V1beta3 Client class PubSubIODetails.

Metadata for a Pub/Sub connector used by the job.

Generated from protobuf message google.dataflow.v1beta3.PubSubIODetails

Namespace

Google \ Cloud \ Dataflow \ V1beta3

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ topic string

Topic accessed in the connection.

↳ subscription string

Subscription used in the connection.

getTopic

Topic accessed in the connection.

Returns
TypeDescription
string

setTopic

Topic accessed in the connection.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getSubscription

Subscription used in the connection.

Returns
TypeDescription
string

setSubscription

Subscription used in the connection.

Parameter
NameDescription
var string
Returns
TypeDescription
$this