App Engine v1 API - Class Instance (2.1.0)

public sealed class Instance : IMessage<Instance>, IEquatable<Instance>, IDeepCloneable<Instance>, IBufferMessage, IMessage

Reference documentation and code samples for the App Engine v1 API class Instance.

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

Inheritance

Object > Instance

Namespace

Google.Cloud.AppEngine.V1

Assembly

Google.Cloud.AppEngine.V1.dll

Constructors

Instance()

public Instance()

Instance(Instance)

public Instance(Instance other)
Parameter
NameDescription
otherInstance

Properties

AppEngineRelease

public string AppEngineRelease { get; set; }

Output only. App Engine release this instance is running on.

Property Value
TypeDescription
String

Availability

public Instance.Types.Availability Availability { get; set; }

Output only. Availability of the instance.

Property Value
TypeDescription
Instance.Types.Availability

AverageLatency

public int AverageLatency { get; set; }

Output only. Average latency (ms) over the last minute.

Property Value
TypeDescription
Int32

Errors

public int Errors { get; set; }

Output only. Number of errors since this instance was started.

Property Value
TypeDescription
Int32

Id

public string Id { get; set; }

Output only. Relative name of the instance within the version. Example: instance-1.

Property Value
TypeDescription
String

InstanceName

public InstanceName InstanceName { get; set; }

InstanceName-typed view over the Name resource name property.

Property Value
TypeDescription
InstanceName

MemoryUsage

public long MemoryUsage { get; set; }

Output only. Total memory in use (bytes).

Property Value
TypeDescription
Int64

Name

public string Name { get; set; }

Output only. Full path to the Instance resource in the API. Example: apps/myapp/services/default/versions/v1/instances/instance-1.

Property Value
TypeDescription
String

Qps

public float Qps { get; set; }

Output only. Average queries per second (QPS) over the last minute.

Property Value
TypeDescription
Single

Requests

public int Requests { get; set; }

Output only. Number of requests since this instance was started.

Property Value
TypeDescription
Int32

StartTime

public Timestamp StartTime { get; set; }

Output only. Time that this instance was started.

@OutputOnly

Property Value
TypeDescription
Timestamp

VmDebugEnabled

public bool VmDebugEnabled { get; set; }

Output only. Whether this instance is in debug mode. Only applicable for instances in App Engine flexible environment.

Property Value
TypeDescription
Boolean

VmId

public string VmId { get; set; }

Output only. Virtual machine ID of this instance. Only applicable for instances in App Engine flexible environment.

Property Value
TypeDescription
String

VmIp

public string VmIp { get; set; }

Output only. The IP address of this instance. Only applicable for instances in App Engine flexible environment.

Property Value
TypeDescription
String

VmLiveness

public Instance.Types.Liveness.Types.LivenessState VmLiveness { get; set; }

Output only. The liveness health check of this instance. Only applicable for instances in App Engine flexible environment.

Property Value
TypeDescription
Instance.Types.Liveness.Types.LivenessState

VmName

public string VmName { get; set; }

Output only. Name of the virtual machine where this instance lives. Only applicable for instances in App Engine flexible environment.

Property Value
TypeDescription
String

VmStatus

public string VmStatus { get; set; }

Output only. Status of the virtual machine where this instance lives. Only applicable for instances in App Engine flexible environment.

Property Value
TypeDescription
String

VmZoneName

public string VmZoneName { get; set; }

Output only. Zone where the virtual machine is located. Only applicable for instances in App Engine flexible environment.

Property Value
TypeDescription
String