class Google::Apis::AppengineV1beta::Instance
An Instance
resource is the computing unit that App Engine uses to automatically scale an application.
Attributes
Output only. App Engine release this instance is running on. Corresponds to the JSON property `appEngineRelease` @return [String]
Output only. Availability of the instance. Corresponds to the JSON property `availability` @return [String]
Output only. Average latency (ms) over the last minute. Corresponds to the JSON property `averageLatency` @return [Fixnum]
Output only. Number of errors since this instance was started. Corresponds to the JSON property `errors` @return [Fixnum]
Output only. Relative name of the instance within the version. Example: instance-1. Corresponds to the JSON property `id` @return [String]
Output only. Total memory in use (bytes). Corresponds to the JSON property `memoryUsage` @return [Fixnum]
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]
Output only. Average queries per second (QPS) over the last minute. Corresponds to the JSON property `qps` @return [Float]
Output only. Number of requests since this instance was started. Corresponds to the JSON property `requests` @return [Fixnum]
Output only. Time that this instance was started.@OutputOnly Corresponds to the JSON property `startTime` @return [String]
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]
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]
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]
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]
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]
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]
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]
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
# File lib/google/apis/appengine_v1beta/classes.rb, line 1504 def initialize(**args) update!(**args) end
Public Instance Methods
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