[][src]Struct gcp_client::google::appengine::v1::Instance

pub struct Instance {
    pub name: String,
    pub id: String,
    pub app_engine_release: String,
    pub availability: i32,
    pub vm_name: String,
    pub vm_zone_name: String,
    pub vm_id: String,
    pub start_time: Option<Timestamp>,
    pub requests: i32,
    pub errors: i32,
    pub qps: f32,
    pub average_latency: i32,
    pub memory_usage: i64,
    pub vm_status: String,
    pub vm_debug_enabled: bool,
}

An Instance resource is the computing unit that App Engine uses to automatically scale an application.

Fields

name: String

Full path to the Instance resource in the API. Example: apps/myapp/services/default/versions/v1/instances/instance-1.

@OutputOnly

id: String

Relative name of the instance within the version. Example: instance-1.

@OutputOnly

app_engine_release: String

App Engine release this instance is running on.

@OutputOnly

availability: i32

Availability of the instance.

@OutputOnly

vm_name: String

Name of the virtual machine where this instance lives. Only applicable for instances in App Engine flexible environment.

@OutputOnly

vm_zone_name: String

Zone where the virtual machine is located. Only applicable for instances in App Engine flexible environment.

@OutputOnly

vm_id: String

Virtual machine ID of this instance. Only applicable for instances in App Engine flexible environment.

@OutputOnly

start_time: Option<Timestamp>

Time that this instance was started.

@OutputOnly

requests: i32

Number of requests since this instance was started.

@OutputOnly

errors: i32

Number of errors since this instance was started.

@OutputOnly

qps: f32

Average queries per second (QPS) over the last minute.

@OutputOnly

average_latency: i32

Average latency (ms) over the last minute.

@OutputOnly

memory_usage: i64

Total memory in use (bytes).

@OutputOnly

vm_status: String

Status of the virtual machine where this instance lives. Only applicable for instances in App Engine flexible environment.

@OutputOnly

vm_debug_enabled: bool

Whether this instance is in debug mode. Only applicable for instances in App Engine flexible environment.

@OutputOnly

Implementations

impl Instance[src]

pub fn availability(&self) -> Availability[src]

Returns the enum value of availability, or the default if the field is set to an invalid enum value.

pub fn set_availability(&mut self, value: Availability)[src]

Sets availability to the provided enum value.

Trait Implementations

impl Clone for Instance[src]

impl Debug for Instance[src]

impl Default for Instance[src]

impl Message for Instance[src]

impl PartialEq<Instance> for Instance[src]

impl StructuralPartialEq for Instance[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]