Google Cloud Eventarc V1 Client - Class CreateChannelConnectionRequest (2.0.1)

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
Name Description
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
Type Description
string

setParent

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

Parameter
Name Description
var string
Returns
Type Description
$this

getChannelConnection

Required. Channel connection to create.

Returns
Type Description
Google\Cloud\Eventarc\V1\ChannelConnection|null

hasChannelConnection

clearChannelConnection

setChannelConnection

Required. Channel connection to create.

Parameter
Name Description
var Google\Cloud\Eventarc\V1\ChannelConnection
Returns
Type Description
$this

getChannelConnectionId

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

Returns
Type Description
string

setChannelConnectionId

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

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameters
Name Description
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
Type Description
Google\Cloud\Eventarc\V1\CreateChannelConnectionRequest