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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Returns the encoded length of the message without a length delimiter.

Clears the message, resetting all fields to their default.

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

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

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Wrap the input message T in a tonic::Request

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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