Struct google_api_proto::google::identity::accesscontextmanager::v1::service_perimeter_config::ApiOperation
source · pub struct ApiOperation {
pub service_name: String,
pub method_selectors: Vec<MethodSelector>,
}
Expand description
Identification for an API Operation.
Fields§
§service_name: String
The name of the API whose methods or permissions the [IngressPolicy]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.IngressPolicy]
or [EgressPolicy]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.EgressPolicy]
want to allow. A single [ApiOperation]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.ApiOperation]
with service_name
field set to *
will allow all methods AND
permissions for all services.
method_selectors: Vec<MethodSelector>
API methods or permissions to allow. Method or permission must belong to
the service specified by service_name
field. A single [MethodSelector]
[google.identity.accesscontextmanager.v1.ServicePerimeterConfig.MethodSelector]
entry with *
specified for the method
field will allow all methods
AND permissions for the service specified in service_name
.
Trait Implementations§
source§impl Clone for ApiOperation
impl Clone for ApiOperation
source§fn clone(&self) -> ApiOperation
fn clone(&self) -> ApiOperation
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ApiOperation
impl Debug for ApiOperation
source§impl Default for ApiOperation
impl Default for ApiOperation
source§impl Message for ApiOperation
impl Message for ApiOperation
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 ApiOperation
impl PartialEq for ApiOperation
source§fn eq(&self, other: &ApiOperation) -> bool
fn eq(&self, other: &ApiOperation) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ApiOperation
Auto Trait Implementations§
impl Freeze for ApiOperation
impl RefUnwindSafe for ApiOperation
impl Send for ApiOperation
impl Sync for ApiOperation
impl Unpin for ApiOperation
impl UnwindSafe for ApiOperation
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