Struct google_api_proto::google::appengine::v1::Application
source · pub struct Application {Show 15 fields
pub name: String,
pub id: String,
pub dispatch_rules: Vec<UrlDispatchRule>,
pub auth_domain: String,
pub location_id: String,
pub code_bucket: String,
pub default_cookie_expiration: Option<Duration>,
pub serving_status: i32,
pub default_hostname: String,
pub default_bucket: String,
pub service_account: String,
pub iap: Option<IdentityAwareProxy>,
pub gcr_domain: String,
pub database_type: i32,
pub feature_settings: Option<FeatureSettings>,
}
Expand description
An Application resource contains the top-level configuration of an App Engine application.
Fields§
§name: String
Full path to the Application resource in the API.
Example: apps/myapp
.
@OutputOnly
id: String
Identifier of the Application resource. This identifier is equivalent
to the project ID of the Google Cloud Platform project where you want to
deploy your application.
Example: myapp
.
dispatch_rules: Vec<UrlDispatchRule>
HTTP path dispatch rules for requests to the application that do not explicitly target a service or version. Rules are order-dependent. Up to 20 dispatch rules can be supported.
auth_domain: String
Google Apps authentication domain that controls which users can access this application.
Defaults to open access for any Google Account.
location_id: String
Location from which this application runs. Application instances run out of the data centers in the specified location, which is also where all of the application’s end user content is stored.
Defaults to us-central
.
View the list of supported locations.
code_bucket: String
Google Cloud Storage bucket that can be used for storing files associated with this application. This bucket is associated with the application and can be used by the gcloud deployment commands.
@OutputOnly
Cookie expiration policy for this application.
serving_status: i32
Serving status of this application.
default_hostname: String
Hostname used to reach this application, as resolved by App Engine.
@OutputOnly
default_bucket: String
Google Cloud Storage bucket that can be used by this application to store content.
@OutputOnly
service_account: String
The service account associated with the application. This is the app-level default identity. If no identity provided during create version, Admin API will fallback to this one.
iap: Option<IdentityAwareProxy>
§gcr_domain: String
The Google Container Registry domain used for storing managed build docker images for this application.
database_type: i32
The type of the Cloud Firestore or Cloud Datastore database associated with this application.
feature_settings: Option<FeatureSettings>
The feature specific settings to be used in the application.
Implementations§
source§impl Application
impl Application
sourcepub fn serving_status(&self) -> ServingStatus
pub fn serving_status(&self) -> ServingStatus
Returns the enum value of serving_status
, or the default if the field is set to an invalid enum value.
sourcepub fn set_serving_status(&mut self, value: ServingStatus)
pub fn set_serving_status(&mut self, value: ServingStatus)
Sets serving_status
to the provided enum value.
sourcepub fn database_type(&self) -> DatabaseType
pub fn database_type(&self) -> DatabaseType
Returns the enum value of database_type
, or the default if the field is set to an invalid enum value.
sourcepub fn set_database_type(&mut self, value: DatabaseType)
pub fn set_database_type(&mut self, value: DatabaseType)
Sets database_type
to the provided enum value.
Trait Implementations§
source§impl Clone for Application
impl Clone for Application
source§fn clone(&self) -> Application
fn clone(&self) -> Application
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for Application
impl Debug for Application
source§impl Default for Application
impl Default for Application
source§impl Message for Application
impl Message for Application
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 Application
impl PartialEq for Application
source§fn eq(&self, other: &Application) -> bool
fn eq(&self, other: &Application) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for Application
Auto Trait Implementations§
impl Freeze for Application
impl RefUnwindSafe for Application
impl Send for Application
impl Sync for Application
impl Unpin for Application
impl UnwindSafe for Application
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