Google Cloud Eventarc V1 Client - Class CreateChannelConnectionRequest (2.1.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
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 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
ChannelConnection|null

hasChannelConnection

clearChannelConnection

setChannelConnection

Required. Channel connection to create.

Parameter
Name Description
var 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 EventarcClient::locationName() for help formatting this field.

channelConnection ChannelConnection

Required. Channel connection to create.

channelConnectionId string

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

Returns
Type Description
CreateChannelConnectionRequest