Show / Hide Table of Contents

Class CustomMetric

Allows autoscaling based on Stackdriver metrics.

Inheritance
System.Object
CustomMetric
Implements
IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Appengine.v1beta.Data
Assembly: Google.Apis.Appengine.v1beta.dll
Syntax
public class CustomMetric : IDirectResponseSchema

Properties

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
System.String

Filter

Allows filtering on the metric's fields.

Declaration
[JsonProperty("filter")]
public virtual string Filter { get; set; }
Property Value
Type Description
System.String

MetricName

The name of the metric.

Declaration
[JsonProperty("metricName")]
public virtual string MetricName { get; set; }
Property Value
Type Description
System.String

SingleInstanceAssignment

May be used instead of target_utilization when an instance can handle a specific amount of work/resources and the metric value is equal to the current amount of work remaining. The autoscaler will try to keep the number of instances equal to the metric value divided by single_instance_assignment.

Declaration
[JsonProperty("singleInstanceAssignment")]
public virtual double? SingleInstanceAssignment { get; set; }
Property Value
Type Description
System.Nullable<System.Double>

TargetType

The type of the metric. Must be a string representing a Stackdriver metric type e.g. GAGUE, DELTA_PER_SECOND, etc.

Declaration
[JsonProperty("targetType")]
public virtual string TargetType { get; set; }
Property Value
Type Description
System.String

TargetUtilization

The target value for the metric.

Declaration
[JsonProperty("targetUtilization")]
public virtual double? TargetUtilization { get; set; }
Property Value
Type Description
System.Nullable<System.Double>

Implements

IDirectResponseSchema
In This Article
Back to top