# Transcoder V1 API - Class Google::Cloud::Video::Transcoder::V1::PubsubDestination (v2.6.0)

2.6.0 (latest) 2.5.0 2.4.1 2.3.0 2.2.0 2.1.0 2.0.1 1.2.0 1.1.0 1.0.1 0.13.0 0.12.2 0.11.0 0.10.0 0.9.1 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.2 Reference documentation and code samples for the Transcoder V1 API class Google::Cloud::Video::Transcoder::V1::PubsubDestination.

A Pub/Sub destination.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #topic

    def topic() -> ::String

**Returns**

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

### #topic=

    def topic=(value) -> ::String

**Parameter**

- **value** (::String) --- The name of the Pub/Sub topic to publish job completion notification to. For example: `projects/{project}/topics/{topic}`.
**Returns**

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