Reference documentation and code samples for the Google Cloud Eventarc V1 Client class ChannelConnection.
A representation of the ChannelConnection resource.
A ChannelConnection is a resource which event providers create during the activation process to establish a connection between the provider and the subscriber channel.
Generated from protobuf message google.cloud.eventarc.v1.ChannelConnection
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Required. The name of the connection.
↳ uid
string
Output only. Server assigned ID of the resource. The server guarantees uniqueness and immutability until deleted.
↳ channel
string
Required. The name of the connected subscriber Channel. This is a weak reference to avoid cross project and cross accounts references. This must be in projects/{project}/location/{location}/channels/{channel_id}
format.
↳ create_time
↳ update_time
↳ activation_token
string
Input only. Activation token for the channel. The token will be used during the creation of ChannelConnection to bind the channel with the provider project. This field will not be stored in the provider resource.
getName
Required. The name of the connection.
string
setName
Required. The name of the connection.
var
string
$this
getUid
Output only. Server assigned ID of the resource.
The server guarantees uniqueness and immutability until deleted.
string
setUid
Output only. Server assigned ID of the resource.
The server guarantees uniqueness and immutability until deleted.
var
string
$this
getChannel
Required. The name of the connected subscriber Channel.
This is a weak reference to avoid cross project and cross accounts
references. This must be in projects/{project}/location/{location}/channels/{channel_id}
format.
string
setChannel
Required. The name of the connected subscriber Channel.
This is a weak reference to avoid cross project and cross accounts
references. This must be in projects/{project}/location/{location}/channels/{channel_id}
format.
var
string
$this
getCreateTime
Output only. The creation time.
hasCreateTime
clearCreateTime
setCreateTime
Output only. The creation time.
$this
getUpdateTime
Output only. The last-modified time.
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. The last-modified time.
$this
getActivationToken
Input only. Activation token for the channel. The token will be used during the creation of ChannelConnection to bind the channel with the provider project. This field will not be stored in the provider resource.
string
setActivationToken
Input only. Activation token for the channel. The token will be used during the creation of ChannelConnection to bind the channel with the provider project. This field will not be stored in the provider resource.
var
string
$this