class Google::Apis::AppengineV1beta5::Instance

Instances are the computing units that App Engine uses to automatically scale an application.

Attributes

app_engine_release[RW]

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

availability[RW]

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

average_latency[RW]

Latency in milliseconds (averaged over the last minute). @OutputOnly Corresponds to the JSON property `averageLatency` @return [Fixnum]

errors[RW]

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

id[RW]

The relative name/path of the instance within the version. Example: “instance- 1” @OutputOnly Corresponds to the JSON property `id` @return [String]

memory_usage[RW]

Memory usage (in bytes). @OutputOnly Corresponds to the JSON property `memoryUsage` @return [String]

name[RW]

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[RW]

QPS for this instance (averaged over the last minute). @OutputOnly Corresponds to the JSON property `qps` @return [Float]

requests[RW]

Number of requests (since the clone was started). @OutputOnly Corresponds to the JSON property `requests` @return [Fixnum]

start_timestamp[RW]

Time when instance was started. @OutputOnly Corresponds to the JSON property `startTimestamp` @return [String]

vm_id[RW]

For VMEngines instances, the GCE VM ID of the instance. @OutputOnly Corresponds to the JSON property `vmId` @return [String]

vm_name[RW]

For VMEngines instances, the name of GCE VM where the instance lives. @ OutputOnly Corresponds to the JSON property `vmName` @return [String]

vm_status[RW]

For VMEngines instances, the status of GCE VM where the instance lives. @ OutputOnly Corresponds to the JSON property `vmStatus` @return [String]

vm_unlocked[RW]

For VMEngines instances, whether the instance has been unlocked. @OutputOnly Corresponds to the JSON property `vmUnlocked` @return [Boolean]

vm_unlocked?[RW]

For VMEngines instances, whether the instance has been unlocked. @OutputOnly Corresponds to the JSON property `vmUnlocked` @return [Boolean]

vm_zone_name[RW]

For VMEngines instances, the zone where the GCE VM is located. @OutputOnly Corresponds to the JSON property `vmZoneName` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

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