App Engine Admin V1 API - Class Google::Cloud::AppEngine::V1::Instance (v0.5.0)

Reference documentation and code samples for the App Engine Admin V1 API class Google::Cloud::AppEngine::V1::Instance.

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

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#app_engine_release

def app_engine_release() -> ::String
Returns
  • (::String) — Output only. App Engine release this instance is running on.

#availability

def availability() -> ::Google::Cloud::AppEngine::V1::Instance::Availability
Returns

#average_latency

def average_latency() -> ::Integer
Returns
  • (::Integer) — Output only. Average latency (ms) over the last minute.

#errors

def errors() -> ::Integer
Returns
  • (::Integer) — Output only. Number of errors since this instance was started.

#id

def id() -> ::String
Returns
  • (::String) — Output only. Relative name of the instance within the version. Example: instance-1.

#memory_usage

def memory_usage() -> ::Integer
Returns
  • (::Integer) — Output only. Total memory in use (bytes).

#name

def name() -> ::String
Returns
  • (::String) — Output only. Full path to the Instance resource in the API. Example: apps/myapp/services/default/versions/v1/instances/instance-1.

#qps

def qps() -> ::Float
Returns
  • (::Float) — Output only. Average queries per second (QPS) over the last minute.

#requests

def requests() -> ::Integer
Returns
  • (::Integer) — Output only. Number of requests since this instance was started.

#start_time

def start_time() -> ::Google::Protobuf::Timestamp
Returns

#vm_debug_enabled

def vm_debug_enabled() -> ::Boolean
Returns
  • (::Boolean) — Output only. Whether this instance is in debug mode. Only applicable for instances in App Engine flexible environment.

#vm_id

def vm_id() -> ::String
Returns
  • (::String) — Output only. Virtual machine ID of this instance. Only applicable for instances in App Engine flexible environment.

#vm_ip

def vm_ip() -> ::String
Returns
  • (::String) — Output only. The IP address of this instance. Only applicable for instances in App Engine flexible environment.

#vm_liveness

def vm_liveness() -> ::Google::Cloud::AppEngine::V1::Instance::Liveness::LivenessState
Returns

#vm_name

def vm_name() -> ::String
Returns
  • (::String) — Output only. Name of the virtual machine where this instance lives. Only applicable for instances in App Engine flexible environment.

#vm_status

def vm_status() -> ::String
Returns
  • (::String) — Output only. Status of the virtual machine where this instance lives. Only applicable for instances in App Engine flexible environment.

#vm_zone_name

def vm_zone_name() -> ::String
Returns
  • (::String) — Output only. Zone where the virtual machine is located. Only applicable for instances in App Engine flexible environment.