Struct google_api_proto::google::cloud::connectors::v1::Connection
source · pub struct Connection {Show 18 fields
pub name: String,
pub create_time: Option<Timestamp>,
pub update_time: Option<Timestamp>,
pub labels: BTreeMap<String, String>,
pub description: String,
pub connector_version: String,
pub status: Option<ConnectionStatus>,
pub config_variables: Vec<ConfigVariable>,
pub auth_config: Option<AuthConfig>,
pub lock_config: Option<LockConfig>,
pub destination_configs: Vec<DestinationConfig>,
pub image_location: String,
pub service_account: String,
pub service_directory: String,
pub envoy_image_location: String,
pub suspended: bool,
pub node_config: Option<NodeConfig>,
pub ssl_config: Option<SslConfig>,
}
Expand description
Connection represents an instance of connector.
Fields§
§name: String
Output only. Resource name of the Connection. Format: projects/{project}/locations/{location}/connections/{connection}
create_time: Option<Timestamp>
Output only. Created time.
update_time: Option<Timestamp>
Output only. Updated time.
labels: BTreeMap<String, String>
Optional. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources
description: String
Optional. Description of the resource.
connector_version: String
Required. Connector version on which the connection is created. The format is: projects//locations//providers//connectors//versions/* Only global location is supported for ConnectorVersion resource.
status: Option<ConnectionStatus>
Output only. Current status of the connection.
config_variables: Vec<ConfigVariable>
Optional. Configuration for configuring the connection with an external system.
auth_config: Option<AuthConfig>
Optional. Configuration for establishing the connection’s authentication with an external system.
lock_config: Option<LockConfig>
Optional. Configuration that indicates whether or not the Connection can be edited.
destination_configs: Vec<DestinationConfig>
Optional. Configuration of the Connector’s destination. Only accepted for Connectors that accepts user defined destination(s).
image_location: String
Output only. GCR location where the runtime image is stored. formatted like: gcr.io/{bucketName}/{imageName}
service_account: String
Optional. Service account needed for runtime plane to access GCP resources.
service_directory: String
Output only. The name of the Service Directory service name. Used for Private Harpoon to resolve the ILB address. e.g. “projects/cloud-connectors-e2e-testing/locations/us-central1/namespaces/istio-system/services/istio-ingressgateway-connectors”
envoy_image_location: String
Output only. GCR location where the envoy image is stored. formatted like: gcr.io/{bucketName}/{imageName}
suspended: bool
Optional. Suspended indicates if a user has suspended a connection or not.
node_config: Option<NodeConfig>
Optional. Node configuration for the connection.
ssl_config: Option<SslConfig>
Optional. Ssl config of a connection
Trait Implementations§
source§impl Clone for Connection
impl Clone for Connection
source§fn clone(&self) -> Connection
fn clone(&self) -> Connection
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for Connection
impl Debug for Connection
source§impl Default for Connection
impl Default for Connection
source§impl Message for Connection
impl Message for Connection
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 Connection
impl PartialEq for Connection
source§fn eq(&self, other: &Connection) -> bool
fn eq(&self, other: &Connection) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for Connection
Auto Trait Implementations§
impl Freeze for Connection
impl RefUnwindSafe for Connection
impl Send for Connection
impl Sync for Connection
impl Unpin for Connection
impl UnwindSafe for Connection
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