App Engine v1 API - Class Instance (2.2.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
InstanceTypesAvailability

AverageLatency

public int AverageLatency { get; set; }

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

Property Value
TypeDescription
int

Errors

public int Errors { get; set; }

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

Property Value
TypeDescription
int

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
long

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
float

Requests

public int Requests { get; set; }

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

Property Value
TypeDescription
int

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
bool

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
InstanceTypesLivenessTypesLivenessState

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