Struct google_api_proto::google::cloud::beyondcorp::appgateways::v1::AppGateway
source · pub struct AppGateway {
pub name: String,
pub create_time: Option<Timestamp>,
pub update_time: Option<Timestamp>,
pub labels: BTreeMap<String, String>,
pub display_name: String,
pub uid: String,
pub type: i32,
pub state: i32,
pub uri: String,
pub allocated_connections: Vec<AllocatedConnection>,
pub host_type: i32,
}
Expand description
A BeyondCorp AppGateway resource represents a BeyondCorp protected AppGateway to a remote application. It creates all the necessary GCP components needed for creating a BeyondCorp protected AppGateway. Multiple connectors can be authorised for a single AppGateway.
Fields§
§name: String
Required. Unique resource name of the AppGateway. The name is ignored when creating an AppGateway.
create_time: Option<Timestamp>
Output only. Timestamp when the resource was created.
update_time: Option<Timestamp>
Output only. Timestamp when the resource was last modified.
labels: BTreeMap<String, String>
Optional. Resource labels to represent user provided metadata.
display_name: String
Optional. An arbitrary user-provided name for the AppGateway. Cannot exceed 64 characters.
uid: String
Output only. A unique identifier for the instance generated by the system.
type: i32
Required. The type of network connectivity used by the AppGateway.
state: i32
Output only. The current state of the AppGateway.
uri: String
Output only. Server-defined URI for this resource.
allocated_connections: Vec<AllocatedConnection>
Output only. A list of connections allocated for the Gateway
host_type: i32
Required. The type of hosting used by the AppGateway.
Implementations§
source§impl AppGateway
impl AppGateway
sourcepub fn type(&self) -> Type
pub fn type(&self) -> Type
Returns the enum value of type
, or the default if the field is set to an invalid enum value.
sourcepub fn state(&self) -> State
pub fn state(&self) -> State
Returns the enum value of state
, or the default if the field is set to an invalid enum value.
sourcepub fn host_type(&self) -> HostType
pub fn host_type(&self) -> HostType
Returns the enum value of host_type
, or the default if the field is set to an invalid enum value.
sourcepub fn set_host_type(&mut self, value: HostType)
pub fn set_host_type(&mut self, value: HostType)
Sets host_type
to the provided enum value.
Trait Implementations§
source§impl Clone for AppGateway
impl Clone for AppGateway
source§fn clone(&self) -> AppGateway
fn clone(&self) -> AppGateway
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AppGateway
impl Debug for AppGateway
source§impl Default for AppGateway
impl Default for AppGateway
source§impl Message for AppGateway
impl Message for AppGateway
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 AppGateway
impl PartialEq for AppGateway
source§fn eq(&self, other: &AppGateway) -> bool
fn eq(&self, other: &AppGateway) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AppGateway
Auto Trait Implementations§
impl Freeze for AppGateway
impl RefUnwindSafe for AppGateway
impl Send for AppGateway
impl Sync for AppGateway
impl Unpin for AppGateway
impl UnwindSafe for AppGateway
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