class Google::Apis::AppengineV1beta::Instance

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

Attributes

app_engine_release[RW]

Output only. App Engine release this instance is running on. Corresponds to the JSON property `appEngineRelease` @return [String]

availability[RW]

Output only. Availability of the instance. Corresponds to the JSON property `availability` @return [String]

average_latency[RW]

Output only. Average latency (ms) over the last minute. Corresponds to the JSON property `averageLatency` @return [Fixnum]

errors[RW]

Output only. Number of errors since this instance was started. Corresponds to the JSON property `errors` @return [Fixnum]

id[RW]

Output only. Relative name of the instance within the version. Example: instance-1. Corresponds to the JSON property `id` @return [String]

memory_usage[RW]

Output only. Total memory in use (bytes). Corresponds to the JSON property `memoryUsage` @return [Fixnum]

name[RW]

Output only. Full path to the Instance resource in the API. Example: apps/ myapp/services/default/versions/v1/instances/instance-1. Corresponds to the JSON property `name` @return [String]

qps[RW]

Output only. Average queries per second (QPS) over the last minute. Corresponds to the JSON property `qps` @return [Float]

requests[RW]

Output only. Number of requests since this instance was started. Corresponds to the JSON property `requests` @return [Fixnum]

start_time[RW]

Output only. Time that this instance was started.@OutputOnly Corresponds to the JSON property `startTime` @return [String]

vm_debug_enabled[RW]

Output only. Whether this instance is in debug mode. Only applicable for instances in App Engine flexible environment. Corresponds to the JSON property `vmDebugEnabled` @return [Boolean]

vm_debug_enabled?[RW]

Output only. Whether this instance is in debug mode. Only applicable for instances in App Engine flexible environment. Corresponds to the JSON property `vmDebugEnabled` @return [Boolean]

vm_id[RW]

Output only. Virtual machine ID of this instance. Only applicable for instances in App Engine flexible environment. Corresponds to the JSON property `vmId` @return [String]

vm_ip[RW]

Output only. The IP address of this instance. Only applicable for instances in App Engine flexible environment. Corresponds to the JSON property `vmIp` @return [String]

vm_liveness[RW]

Output only. The liveness health check of this instance. Only applicable for instances in App Engine flexible environment. Corresponds to the JSON property `vmLiveness` @return [String]

vm_name[RW]

Output only. Name of the virtual machine where this instance lives. Only applicable for instances in App Engine flexible environment. Corresponds to the JSON property `vmName` @return [String]

vm_status[RW]

Output only. Status of the virtual machine where this instance lives. Only applicable for instances in App Engine flexible environment. Corresponds to the JSON property `vmStatus` @return [String]

vm_zone_name[RW]

Output only. Zone where the virtual machine is located. Only applicable for instances in App Engine flexible environment. Corresponds to the JSON property `vmZoneName` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/appengine_v1beta/classes.rb, line 1504
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/appengine_v1beta/classes.rb, line 1509
def update!(**args)
  @app_engine_release = args[:app_engine_release] if args.key?(:app_engine_release)
  @availability = args[:availability] if args.key?(:availability)
  @average_latency = args[:average_latency] if args.key?(:average_latency)
  @errors = args[:errors] if args.key?(:errors)
  @id = args[:id] if args.key?(:id)
  @memory_usage = args[:memory_usage] if args.key?(:memory_usage)
  @name = args[:name] if args.key?(:name)
  @qps = args[:qps] if args.key?(:qps)
  @requests = args[:requests] if args.key?(:requests)
  @start_time = args[:start_time] if args.key?(:start_time)
  @vm_debug_enabled = args[:vm_debug_enabled] if args.key?(:vm_debug_enabled)
  @vm_id = args[:vm_id] if args.key?(:vm_id)
  @vm_ip = args[:vm_ip] if args.key?(:vm_ip)
  @vm_liveness = args[:vm_liveness] if args.key?(:vm_liveness)
  @vm_name = args[:vm_name] if args.key?(:vm_name)
  @vm_status = args[:vm_status] if args.key?(:vm_status)
  @vm_zone_name = args[:vm_zone_name] if args.key?(:vm_zone_name)
end