Struct gapi_grpc::google::appengine::v1::Instance [−][src]
An Instance resource is the computing unit that App Engine uses to automatically scale an application.
Fields
name: String
Output only. Full path to the Instance resource in the API.
Example: apps/myapp/services/default/versions/v1/instances/instance-1
.
id: String
Output only. Relative name of the instance within the version.
Example: instance-1
.
app_engine_release: String
Output only. App Engine release this instance is running on.
availability: i32
Output only. Availability of the instance.
vm_name: String
Output only. Name of the virtual machine where this instance lives. Only applicable for instances in App Engine flexible environment.
vm_zone_name: String
Output only. Zone where the virtual machine is located. Only applicable for instances in App Engine flexible environment.
vm_id: String
Output only. Virtual machine ID of this instance. Only applicable for instances in App Engine flexible environment.
start_time: Option<Timestamp>
Output only. Time that this instance was started.
@OutputOnly
requests: i32
Output only. Number of requests since this instance was started.
errors: i32
Output only. Number of errors since this instance was started.
qps: f32
Output only. Average queries per second (QPS) over the last minute.
average_latency: i32
Output only. Average latency (ms) over the last minute.
memory_usage: i64
Output only. Total memory in use (bytes).
vm_status: String
Output only. Status of the virtual machine where this instance lives. Only applicable for instances in App Engine flexible environment.
vm_debug_enabled: bool
Output only. Whether this instance is in debug mode. Only applicable for instances in App Engine flexible environment.
vm_ip: String
Output only. The IP address of this instance. Only applicable for instances in App Engine flexible environment.
vm_liveness: i32
Output only. The liveness health check of this instance. Only applicable for instances in App Engine flexible environment.
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.
pub fn vm_liveness(&self) -> LivenessState
[src]
Returns the enum value of vm_liveness
, or the default if the field is set to an invalid enum value.
pub fn set_vm_liveness(&mut self, value: LivenessState)
[src]
Sets vm_liveness
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]
fn encode_raw<B>(&self, buf: &mut B) where
B: BufMut,
[src]
B: BufMut,
fn merge_field<B>(
&mut self,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
[src]
&mut self,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
fn encoded_len(&self) -> usize
[src]
fn clear(&mut self)
[src]
pub fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError> where
B: BufMut,
[src]
B: BufMut,
pub fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError> where
B: BufMut,
[src]
B: BufMut,
pub fn decode<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
[src]
Self: Default,
B: Buf,
pub fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
[src]
Self: Default,
B: Buf,
pub fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError> where
B: Buf,
[src]
B: Buf,
pub fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError> where
B: Buf,
[src]
B: Buf,
impl PartialEq<Instance> for Instance
[src]
impl StructuralPartialEq for Instance
[src]
Auto Trait Implementations
impl RefUnwindSafe for Instance
impl Send for Instance
impl Sync for Instance
impl Unpin for Instance
impl UnwindSafe for Instance
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> IntoRequest<T> for T
[src]
pub fn into_request(self) -> Request<T>
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src]
V: MultiLane<T>,
impl<T> WithSubscriber for T
[src]
pub fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,