Struct googapis::google::appengine::v1::Instance [−][src]
pub struct Instance {Show 17 fields
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,
pub vm_ip: String,
pub vm_liveness: i32,
}
Expand description
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
Returns the enum value of availability
, or the default if the field is set to an invalid enum value.
Sets availability
to the provided enum value.
Returns the enum value of vm_liveness
, or the default if the field is set to an invalid enum value.
Sets vm_liveness
to the provided enum value.
Trait Implementations
fn merge_field<B>(
&mut self,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
Returns the encoded length of the message without a length delimiter.
Encodes the message to a buffer. Read more
Encodes the message to a newly allocated buffer.
Encodes the message with a length-delimiter to a buffer. Read more
Encodes the message with a length-delimiter to a newly allocated buffer.
Decodes an instance of the message from a buffer. Read more
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
Decodes a length-delimited instance of the message from the buffer.
Decodes an instance of the message from a buffer, and merges it into self
. Read more
Decodes a length-delimited instance of the message from buffer, and
merges it into self
. Read more
Auto Trait Implementations
impl RefUnwindSafe for Instance
impl UnwindSafe for Instance
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more