Struct google_api_proto::google::cloud::compute::v1::BackendServiceIap
source · pub struct BackendServiceIap {
pub enabled: Option<bool>,
pub oauth2_client_id: Option<String>,
pub oauth2_client_secret: Option<String>,
pub oauth2_client_secret_sha256: Option<String>,
}
Expand description
Identity-Aware Proxy
Fields§
§enabled: Option<bool>
Whether the serving infrastructure will authenticate and authorize all incoming requests.
oauth2_client_id: Option<String>
OAuth2 client ID to use for the authentication flow.
oauth2_client_secret: Option<String>
OAuth2 client secret to use for the authentication flow. For security reasons, this value cannot be retrieved via the API. Instead, the SHA-256 hash of the value is returned in the oauth2ClientSecretSha256 field. @InputOnly
oauth2_client_secret_sha256: Option<String>
[Output Only] SHA256 hash value for the field oauth2_client_secret above.
Implementations§
source§impl BackendServiceIap
impl BackendServiceIap
sourcepub fn enabled(&self) -> bool
pub fn enabled(&self) -> bool
Returns the value of enabled
, or the default value if enabled
is unset.
sourcepub fn oauth2_client_secret(&self) -> &str
pub fn oauth2_client_secret(&self) -> &str
Returns the value of oauth2_client_secret
, or the default value if oauth2_client_secret
is unset.
sourcepub fn oauth2_client_secret_sha256(&self) -> &str
pub fn oauth2_client_secret_sha256(&self) -> &str
Returns the value of oauth2_client_secret_sha256
, or the default value if oauth2_client_secret_sha256
is unset.
sourcepub fn oauth2_client_id(&self) -> &str
pub fn oauth2_client_id(&self) -> &str
Returns the value of oauth2_client_id
, or the default value if oauth2_client_id
is unset.
Trait Implementations§
source§impl Clone for BackendServiceIap
impl Clone for BackendServiceIap
source§fn clone(&self) -> BackendServiceIap
fn clone(&self) -> BackendServiceIap
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for BackendServiceIap
impl Debug for BackendServiceIap
source§impl Default for BackendServiceIap
impl Default for BackendServiceIap
source§impl Message for BackendServiceIap
impl Message for BackendServiceIap
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 BackendServiceIap
impl PartialEq for BackendServiceIap
source§fn eq(&self, other: &BackendServiceIap) -> bool
fn eq(&self, other: &BackendServiceIap) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BackendServiceIap
Auto Trait Implementations§
impl Freeze for BackendServiceIap
impl RefUnwindSafe for BackendServiceIap
impl Send for BackendServiceIap
impl Sync for BackendServiceIap
impl Unpin for BackendServiceIap
impl UnwindSafe for BackendServiceIap
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