Google Cloud Eventarc V1 Client - Class CreateChannelConnectionRequest (1.2.2)

Reference documentation and code samples for the Google Cloud Eventarc V1 Client class CreateChannelConnectionRequest.

The request message for the CreateChannelConnection method.

Generated from protobuf message google.cloud.eventarc.v1.CreateChannelConnectionRequest

Namespace

Google \ Cloud \ Eventarc \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The parent collection in which to add this channel connection.

↳ channel_connection Google\Cloud\Eventarc\V1\ChannelConnection

Required. Channel connection to create.

↳ channel_connection_id string

Required. The user-provided ID to be assigned to the channel connection.

getParent

Required. The parent collection in which to add this channel connection.

Returns
TypeDescription
string

setParent

Required. The parent collection in which to add this channel connection.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getChannelConnection

Required. Channel connection to create.

Returns
TypeDescription
Google\Cloud\Eventarc\V1\ChannelConnection|null

hasChannelConnection

clearChannelConnection

setChannelConnection

Required. Channel connection to create.

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

getChannelConnectionId

Required. The user-provided ID to be assigned to the channel connection.

Returns
TypeDescription
string

setChannelConnectionId

Required. The user-provided ID to be assigned to the channel connection.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
parent string

Required. The parent collection in which to add this channel connection. Please see Google\Cloud\Eventarc\V1\EventarcClient::locationName() for help formatting this field.

channelConnection Google\Cloud\Eventarc\V1\ChannelConnection

Required. Channel connection to create.

channelConnectionId string

Required. The user-provided ID to be assigned to the channel connection.

Returns
TypeDescription
Google\Cloud\Eventarc\V1\CreateChannelConnectionRequest