Struct google_api_proto::google::cloud::eventarc::v1::ChannelConnection
source · pub struct ChannelConnection {
pub name: String,
pub uid: String,
pub channel: String,
pub create_time: Option<Timestamp>,
pub update_time: Option<Timestamp>,
pub activation_token: String,
}
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.
Fields§
§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: Option<Timestamp>
Output only. The creation time.
update_time: Option<Timestamp>
Output only. The last-modified 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.
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 moresource§impl Debug for ChannelConnection
impl Debug for ChannelConnection
source§impl Default for ChannelConnection
impl Default for ChannelConnection
source§impl Message for ChannelConnection
impl Message for ChannelConnection
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for ChannelConnection
impl PartialEq for ChannelConnection
source§fn eq(&self, other: &ChannelConnection) -> bool
fn eq(&self, other: &ChannelConnection) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ChannelConnection
Auto Trait Implementations§
impl Freeze for ChannelConnection
impl RefUnwindSafe for ChannelConnection
impl Send for ChannelConnection
impl Sync for ChannelConnection
impl Unpin for ChannelConnection
impl UnwindSafe for ChannelConnection
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request