pub struct ServiceConnectionMap {
pub name: String,
pub create_time: Option<Timestamp>,
pub update_time: Option<Timestamp>,
pub labels: HashMap<String, String>,
pub description: String,
pub service_class: String,
pub service_class_uri: String,
pub infrastructure: i32,
pub producer_psc_configs: Vec<ProducerPscConfig>,
pub consumer_psc_configs: Vec<ConsumerPscConfig>,
pub consumer_psc_connections: Vec<ConsumerPscConnection>,
}Expand description
The ServiceConnectionMap resource. Next id: 14
Fields§
§name: StringImmutable. The name of a ServiceConnectionMap. Format: projects/{project}/locations/{location}/serviceConnectionMaps/{service_connection_map} See: https://google.aip.dev/122#fields-representing-resource-names
create_time: Option<Timestamp>Output only. Time when the ServiceConnectionMap was created.
update_time: Option<Timestamp>Output only. Time when the ServiceConnectionMap was updated.
labels: HashMap<String, String>User-defined labels.
description: StringA description of this resource.
service_class: StringThe service class identifier this ServiceConnectionMap is for. The user of ServiceConnectionMap create API needs to have networkconnecitivty.serviceclasses.use iam permission for the service class.
service_class_uri: StringOutput only. The service class uri this ServiceConnectionMap is for.
infrastructure: i32Output only. The infrastructure used for connections between consumers/producers.
producer_psc_configs: Vec<ProducerPscConfig>The PSC configurations on producer side.
consumer_psc_configs: Vec<ConsumerPscConfig>The PSC configurations on consumer side.
consumer_psc_connections: Vec<ConsumerPscConnection>Output only. PSC connection details on consumer side.
Implementations§
Source§impl ServiceConnectionMap
impl ServiceConnectionMap
Sourcepub fn infrastructure(&self) -> Infrastructure
pub fn infrastructure(&self) -> Infrastructure
Returns the enum value of infrastructure, or the default if the field is set to an invalid enum value.
Sourcepub fn set_infrastructure(&mut self, value: Infrastructure)
pub fn set_infrastructure(&mut self, value: Infrastructure)
Sets infrastructure to the provided enum value.
Trait Implementations§
Source§impl Clone for ServiceConnectionMap
impl Clone for ServiceConnectionMap
Source§fn clone(&self) -> ServiceConnectionMap
fn clone(&self) -> ServiceConnectionMap
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ServiceConnectionMap
impl Debug for ServiceConnectionMap
Source§impl Default for ServiceConnectionMap
impl Default for ServiceConnectionMap
Source§impl Message for ServiceConnectionMap
impl Message for ServiceConnectionMap
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.