Google Cloud Eventarc V1 Client - Class Transport (1.3.0)

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
NameDescription
data array

Optional. Data for populating the Message object.

↳ pubsub Google\Cloud\Eventarc\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
TypeDescription
Google\Cloud\Eventarc\V1\Pubsub|null

hasPubsub

setPubsub

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

Parameter
NameDescription
var Google\Cloud\Eventarc\V1\Pubsub
Returns
TypeDescription
$this

getIntermediary

Returns
TypeDescription
string