pub struct ChannelConnection {
pub activation_token: Option<String>,
pub channel: Option<String>,
pub create_time: Option<DateTime<Utc>>,
pub labels: Option<HashMap<String, String>>,
pub name: Option<String>,
pub uid: Option<String>,
pub update_time: Option<DateTime<Utc>>,
}Expand description
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.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- locations channel connections create projects (request)
- locations channel connections get projects (response)
Fields§
§activation_token: Option<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.
channel: Option<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: Option<DateTime<Utc>>Output only. The creation time.
labels: Option<HashMap<String, String>>Optional. Resource labels.
name: Option<String>Required. The name of the connection.
uid: Option<String>Output only. Server assigned ID of the resource. The server guarantees uniqueness and immutability until deleted.
update_time: Option<DateTime<Utc>>Output only. The last-modified time.
Trait Implementations§
Source§impl Clone for ChannelConnection
impl Clone for ChannelConnection
Source§fn clone(&self) -> ChannelConnection
fn clone(&self) -> ChannelConnection
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more