App Engine v1 API - Class Instance (2.4.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
Name Description
other Instance

Properties

AppEngineRelease

public string AppEngineRelease { get; set; }

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

Property Value
Type Description
string

Availability

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

Output only. Availability of the instance.

Property Value
Type Description
InstanceTypesAvailability

AverageLatency

public int AverageLatency { get; set; }

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

Property Value
Type Description
int

Errors

public int Errors { get; set; }

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

Property Value
Type Description
int

Id

public string Id { get; set; }

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

Property Value
Type Description
string

InstanceName

public InstanceName InstanceName { get; set; }

InstanceName-typed view over the Name resource name property.

Property Value
Type Description
InstanceName

MemoryUsage

public long MemoryUsage { get; set; }

Output only. Total memory in use (bytes).

Property Value
Type Description
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
Type Description
string

Qps

public float Qps { get; set; }

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

Property Value
Type Description
float

Requests

public int Requests { get; set; }

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

Property Value
Type Description
int

StartTime

public Timestamp StartTime { get; set; }

Output only. Time that this instance was started.

@OutputOnly

Property Value
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
string