Enum google_api_proto::google::identity::accesscontextmanager::v1::service_perimeter::PerimeterType
source · #[repr(i32)]pub enum PerimeterType {
Regular = 0,
Bridge = 1,
}
Expand description
Specifies the type of the Perimeter. There are two types: regular and bridge. Regular Service Perimeter contains resources, access levels, and restricted services. Every resource can be in at most ONE regular Service Perimeter.
In addition to being in a regular service perimeter, a resource can also be in zero or more perimeter bridges. A perimeter bridge only contains resources. Cross project operations are permitted if all effected resources share some perimeter (whether bridge or regular). Perimeter Bridge does not contain access levels or services: those are governed entirely by the regular perimeter that resource is in.
Perimeter Bridges are typically useful when building more complex toplogies with many independent perimeters that need to share some data with a common perimeter, but should not be able to share data among themselves.
Variants§
Implementations§
source§impl PerimeterType
impl PerimeterType
source§impl PerimeterType
impl PerimeterType
sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
source§impl Clone for PerimeterType
impl Clone for PerimeterType
source§fn clone(&self) -> PerimeterType
fn clone(&self) -> PerimeterType
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PerimeterType
impl Debug for PerimeterType
source§impl Default for PerimeterType
impl Default for PerimeterType
source§fn default() -> PerimeterType
fn default() -> PerimeterType
source§impl From<PerimeterType> for i32
impl From<PerimeterType> for i32
source§fn from(value: PerimeterType) -> i32
fn from(value: PerimeterType) -> i32
source§impl Hash for PerimeterType
impl Hash for PerimeterType
source§impl Ord for PerimeterType
impl Ord for PerimeterType
source§fn cmp(&self, other: &PerimeterType) -> Ordering
fn cmp(&self, other: &PerimeterType) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for PerimeterType
impl PartialEq for PerimeterType
source§fn eq(&self, other: &PerimeterType) -> bool
fn eq(&self, other: &PerimeterType) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for PerimeterType
impl PartialOrd for PerimeterType
source§fn partial_cmp(&self, other: &PerimeterType) -> Option<Ordering>
fn partial_cmp(&self, other: &PerimeterType) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moresource§impl TryFrom<i32> for PerimeterType
impl TryFrom<i32> for PerimeterType
§type Error = DecodeError
type Error = DecodeError
source§fn try_from(value: i32) -> Result<PerimeterType, DecodeError>
fn try_from(value: i32) -> Result<PerimeterType, DecodeError>
impl Copy for PerimeterType
impl Eq for PerimeterType
impl StructuralPartialEq for PerimeterType
Auto Trait Implementations§
impl Freeze for PerimeterType
impl RefUnwindSafe for PerimeterType
impl Send for PerimeterType
impl Sync for PerimeterType
impl Unpin for PerimeterType
impl UnwindSafe for PerimeterType
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§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