Struct google_apigateway1::api::ApigatewayApi
source · [−]pub struct ApigatewayApi {
pub create_time: Option<String>,
pub display_name: Option<String>,
pub labels: Option<HashMap<String, String>>,
pub managed_service: Option<String>,
pub name: Option<String>,
pub state: Option<String>,
pub update_time: Option<String>,
}
Expand description
An API that can be served by one or more Gateways.
Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- locations apis create projects (request)
- locations apis get projects (response)
- locations apis patch projects (request)
Fields
create_time: Option<String>
Output only. Created time.
display_name: Option<String>
Optional. Display name.
labels: Option<HashMap<String, String>>
Optional. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources
managed_service: Option<String>
Optional. Immutable. The name of a Google Managed Service ( https://cloud.google.com/service-infrastructure/docs/glossary#managed). If not specified, a new Service will automatically be created in the same project as this API.
name: Option<String>
Output only. Resource name of the API. Format: projects/{project}/locations/global/apis/{api}
state: Option<String>
Output only. State of the API.
update_time: Option<String>
Output only. Updated time.
Trait Implementations
sourceimpl Clone for ApigatewayApi
impl Clone for ApigatewayApi
sourcefn clone(&self) -> ApigatewayApi
fn clone(&self) -> ApigatewayApi
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ApigatewayApi
impl Debug for ApigatewayApi
sourceimpl Default for ApigatewayApi
impl Default for ApigatewayApi
sourcefn default() -> ApigatewayApi
fn default() -> ApigatewayApi
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ApigatewayApi
impl<'de> Deserialize<'de> for ApigatewayApi
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Serialize for ApigatewayApi
impl Serialize for ApigatewayApi
impl RequestValue for ApigatewayApi
impl ResponseResult for ApigatewayApi
Auto Trait Implementations
impl RefUnwindSafe for ApigatewayApi
impl Send for ApigatewayApi
impl Sync for ApigatewayApi
impl Unpin for ApigatewayApi
impl UnwindSafe for ApigatewayApi
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more