class Google::Apis::AppengineV1beta5::Instance
Instances are the computing units that App Engine uses to automatically scale an application.
Attributes
The App Engine release the instance is running on. @OutputOnly Corresponds to the JSON property `appEngineRelease` @return [String]
Availability of instance. @OutputOnly Corresponds to the JSON property `availability` @return [String]
Latency in milliseconds (averaged over the last minute). @OutputOnly Corresponds to the JSON property `averageLatency` @return [Fixnum]
Number of errors since the instance was started. @OutputOnly Corresponds to the JSON property `errors` @return [Fixnum]
The relative name/path of the instance within the version. Example: “instance- 1” @OutputOnly Corresponds to the JSON property `id` @return [String]
Memory usage (in bytes). @OutputOnly Corresponds to the JSON property `memoryUsage` @return [String]
The full path to the Instance resource in the API. Example: “apps/myapp/ services/default/versions/v1/instances/instance-1” @OutputOnly Corresponds to the JSON property `name` @return [String]
QPS for this instance (averaged over the last minute). @OutputOnly Corresponds to the JSON property `qps` @return [Float]
Number of requests (since the clone was started). @OutputOnly Corresponds to the JSON property `requests` @return [Fixnum]
Time when instance was started. @OutputOnly Corresponds to the JSON property `startTimestamp` @return [String]
For VMEngines instances, the GCE VM ID of the instance. @OutputOnly Corresponds to the JSON property `vmId` @return [String]
For VMEngines instances, the name of GCE VM where the instance lives. @ OutputOnly Corresponds to the JSON property `vmName` @return [String]
For VMEngines instances, the status of GCE VM where the instance lives. @ OutputOnly Corresponds to the JSON property `vmStatus` @return [String]
For VMEngines instances, whether the instance has been unlocked. @OutputOnly Corresponds to the JSON property `vmUnlocked` @return [Boolean]
For VMEngines instances, whether the instance has been unlocked. @OutputOnly Corresponds to the JSON property `vmUnlocked` @return [Boolean]
For VMEngines instances, the zone where the GCE VM is located. @OutputOnly Corresponds to the JSON property `vmZoneName` @return [String]
Public Class Methods
# File generated/google/apis/appengine_v1beta5/classes.rb, line 1555 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/appengine_v1beta5/classes.rb, line 1560 def update!(**args) @name = args[:name] if args.key?(:name) @id = args[:id] if args.key?(:id) @app_engine_release = args[:app_engine_release] if args.key?(:app_engine_release) @availability = args[:availability] if args.key?(:availability) @vm_name = args[:vm_name] if args.key?(:vm_name) @vm_zone_name = args[:vm_zone_name] if args.key?(:vm_zone_name) @vm_id = args[:vm_id] if args.key?(:vm_id) @start_timestamp = args[:start_timestamp] if args.key?(:start_timestamp) @requests = args[:requests] if args.key?(:requests) @errors = args[:errors] if args.key?(:errors) @qps = args[:qps] if args.key?(:qps) @average_latency = args[:average_latency] if args.key?(:average_latency) @memory_usage = args[:memory_usage] if args.key?(:memory_usage) @vm_status = args[:vm_status] if args.key?(:vm_status) @vm_unlocked = args[:vm_unlocked] if args.key?(:vm_unlocked) end