# Google Cloud Eventarc V1 Client - Class Transport (2.3.1)

2.3.1 (latest) 2.3.0 2.2.1 2.1.5 2.0.1 1.3.5 1.2.2 1.1.1 1.0.5 Reference documentation and code samples for the Google Cloud Eventarc V1 Client class Transport.

Represents the transport intermediaries created for the trigger to
deliver events.

Generated from protobuf message `google.cloud.eventarc.v1.Transport`

## Namespace

Google \\ Cloud \\ Eventarc \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ pubsub` | `https://docs.cloud.google.com/php/docs/reference/cloud-eventarc/latest/V1.Pubsub` The Pub/Sub topic and subscription used by Eventarc as a transport intermediary. |

### getPubsub

The Pub/Sub topic and subscription used by Eventarc as a transport
intermediary.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-eventarc/latest/V1.Pubsub|null` |   |

### hasPubsub

### setPubsub

The Pub/Sub topic and subscription used by Eventarc as a transport
intermediary.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-eventarc/latest/V1.Pubsub` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getIntermediary

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |