class Google::Apis::AppengineV1beta5::Instance
An Instance
resource is the computing unit that App Engine uses to automatically scale an application.
Attributes
App Engine release this instance is running on.@OutputOnly Corresponds to the JSON property `appEngineRelease` @return [String]
Availability of the instance.@OutputOnly Corresponds to the JSON property `availability` @return [String]
Average latency (ms) over the last minute.@OutputOnly Corresponds to the JSON property `averageLatency` @return [Fixnum]
Number of errors since this instance was started.@OutputOnly Corresponds to the JSON property `errors` @return [Fixnum]
Relative name of the instance within the version. Example: instance-1.@ OutputOnly Corresponds to the JSON property `id` @return [String]
Total memory in use (bytes).@OutputOnly Corresponds to the JSON property `memoryUsage` @return [Fixnum]
Full path to the Instance
resource in the API. Example: apps/myapp/services/ OutputOnly at default/versions/v1/instances/instance-1.
Corresponds to the JSON property `name` @return [String]
Average queries per second (QPS) over the last minute.@OutputOnly Corresponds to the JSON property `qps` @return [Float]
Number of requests since this instance was started.@OutputOnly Corresponds to the JSON property `requests` @return [Fixnum]
Time that this instance was started.@OutputOnly Corresponds to the JSON property `startTimestamp` @return [String]
Virtual machine ID of this instance. Only applicable for instances in App Engine flexible environment.@OutputOnly Corresponds to the JSON property `vmId` @return [String]
The IP address of this instance. Only applicable for instances in App Engine flexible environment.@OutputOnly Corresponds to the JSON property `vmIp` @return [String]
Name of the virtual machine where this instance lives. Only applicable for instances in App Engine flexible environment.@OutputOnly Corresponds to the JSON property `vmName` @return [String]
Status
of the virtual machine where this instance lives. Only applicable for instances in App Engine flexible environment.@OutputOnly Corresponds to the JSON property `vmStatus` @return [String]
Whether this instance is in debug mode. Only applicable for instances in App Engine flexible environment.@OutputOnly Corresponds to the JSON property `vmUnlocked` @return [Boolean]
Whether this instance is in debug mode. Only applicable for instances in App Engine flexible environment.@OutputOnly Corresponds to the JSON property `vmUnlocked` @return [Boolean]
Zone where the virtual machine is located. Only applicable for instances in App Engine flexible environment.@OutputOnly Corresponds to the JSON property `vmZoneName` @return [String]
Public Class Methods
# File lib/google/apis/appengine_v1beta5/classes.rb, line 815 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/appengine_v1beta5/classes.rb, line 820 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_timestamp = args[:start_timestamp] if args.key?(:start_timestamp) @vm_id = args[:vm_id] if args.key?(:vm_id) @vm_ip = args[:vm_ip] if args.key?(:vm_ip) @vm_name = args[:vm_name] if args.key?(:vm_name) @vm_status = args[:vm_status] if args.key?(:vm_status) @vm_unlocked = args[:vm_unlocked] if args.key?(:vm_unlocked) @vm_zone_name = args[:vm_zone_name] if args.key?(:vm_zone_name) end