Google Cloud Video Transcoder V1beta1 Client - Class PubsubDestination (0.5.3)

Reference documentation and code samples for the Google Cloud Video Transcoder V1beta1 Client class PubsubDestination.

A Pub/Sub destination.

Generated from protobuf message google.cloud.video.transcoder.v1beta1.PubsubDestination

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ topic string

The name of the Pub/Sub topic to publish job completion notification to. For example: projects/{project}/topics/{topic}.

getTopic

The name of the Pub/Sub topic to publish job completion notification to. For example: projects/{project}/topics/{topic}.

Returns
TypeDescription
string

setTopic

The name of the Pub/Sub topic to publish job completion notification to. For example: projects/{project}/topics/{topic}.

Parameter
NameDescription
var string
Returns
TypeDescription
$this