Show / Hide Table of Contents

Class CustomMetric

Allows autoscaling based on Stackdriver metrics.

Inheritance
object
CustomMetric
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
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
string

Filter

Allows filtering on the metric's fields.

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

MetricName

The name of the metric.

Declaration
[JsonProperty("metricName")]
public virtual string MetricName { get; set; }
Property Value
Type Description
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
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
string

TargetUtilization

The target value for the metric.

Declaration
[JsonProperty("targetUtilization")]
public virtual double? TargetUtilization { get; set; }
Property Value
Type Description
double?

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX