Represents an AutomaticScaling.
Package
@google-cloud/appengine-admin!Constructors
(constructor)(properties)
constructor(properties?: google.appengine.v1.IAutomaticScaling);
Constructs a new AutomaticScaling.
Name | Description |
properties |
IAutomaticScaling
Properties to set |
Properties
coolDownPeriod
public coolDownPeriod?: (google.protobuf.IDuration|null);
AutomaticScaling coolDownPeriod.
Type | Description |
(google.protobuf.IDuration|null) |
cpuUtilization
public cpuUtilization?: (google.appengine.v1.ICpuUtilization|null);
AutomaticScaling cpuUtilization.
Type | Description |
(google.appengine.v1.ICpuUtilization|null) |
diskUtilization
public diskUtilization?: (google.appengine.v1.IDiskUtilization|null);
AutomaticScaling diskUtilization.
Type | Description |
(google.appengine.v1.IDiskUtilization|null) |
maxConcurrentRequests
public maxConcurrentRequests: number;
AutomaticScaling maxConcurrentRequests.
Type | Description |
number |
maxIdleInstances
public maxIdleInstances: number;
AutomaticScaling maxIdleInstances.
Type | Description |
number |
maxPendingLatency
public maxPendingLatency?: (google.protobuf.IDuration|null);
AutomaticScaling maxPendingLatency.
Type | Description |
(google.protobuf.IDuration|null) |
maxTotalInstances
public maxTotalInstances: number;
AutomaticScaling maxTotalInstances.
Type | Description |
number |
minIdleInstances
public minIdleInstances: number;
AutomaticScaling minIdleInstances.
Type | Description |
number |
minPendingLatency
public minPendingLatency?: (google.protobuf.IDuration|null);
AutomaticScaling minPendingLatency.
Type | Description |
(google.protobuf.IDuration|null) |
minTotalInstances
public minTotalInstances: number;
AutomaticScaling minTotalInstances.
Type | Description |
number |
networkUtilization
public networkUtilization?: (google.appengine.v1.INetworkUtilization|null);
AutomaticScaling networkUtilization.
Type | Description |
(google.appengine.v1.INetworkUtilization|null) |
requestUtilization
public requestUtilization?: (google.appengine.v1.IRequestUtilization|null);
AutomaticScaling requestUtilization.
Type | Description |
(google.appengine.v1.IRequestUtilization|null) |
standardSchedulerSettings
public standardSchedulerSettings?: (google.appengine.v1.IStandardSchedulerSettings|null);
AutomaticScaling standardSchedulerSettings.
Type | Description |
(google.appengine.v1.IStandardSchedulerSettings|null) |
Methods
create(properties)
public static create(properties?: google.appengine.v1.IAutomaticScaling): google.appengine.v1.AutomaticScaling;
Creates a new AutomaticScaling instance using the specified properties.
Name | Description |
properties |
IAutomaticScaling
Properties to set |
Type | Description |
google.appengine.v1.AutomaticScaling | AutomaticScaling instance |
decode(reader, length)
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.appengine.v1.AutomaticScaling;
Decodes an AutomaticScaling message from the specified reader or buffer.
Name | Description |
reader |
($protobuf.Reader|Uint8Array)
Reader or buffer to decode from |
length |
number
Message length if known beforehand |
Type | Description |
google.appengine.v1.AutomaticScaling | AutomaticScaling |
decodeDelimited(reader)
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.appengine.v1.AutomaticScaling;
Decodes an AutomaticScaling message from the specified reader or buffer, length delimited.
Name | Description |
reader |
($protobuf.Reader|Uint8Array)
Reader or buffer to decode from |
Type | Description |
google.appengine.v1.AutomaticScaling | AutomaticScaling |
encode(message, writer)
public static encode(message: google.appengine.v1.IAutomaticScaling, writer?: $protobuf.Writer): $protobuf.Writer;
Encodes the specified AutomaticScaling message. Does not implicitly messages.
Name | Description |
message |
IAutomaticScaling
AutomaticScaling message or plain object to encode |
writer |
$protobuf.Writer
Writer to encode to |
Type | Description |
$protobuf.Writer | Writer |
encodeDelimited(message, writer)
public static encodeDelimited(message: google.appengine.v1.IAutomaticScaling, writer?: $protobuf.Writer): $protobuf.Writer;
Encodes the specified AutomaticScaling message, length delimited. Does not implicitly messages.
Name | Description |
message |
IAutomaticScaling
AutomaticScaling message or plain object to encode |
writer |
$protobuf.Writer
Writer to encode to |
Type | Description |
$protobuf.Writer | Writer |
fromObject(object)
public static fromObject(object: { [k: string]: any }): google.appengine.v1.AutomaticScaling;
Creates an AutomaticScaling message from a plain object. Also converts values to their respective internal types.
Name | Description |
object |
{ [k: string]: any }
Plain object |
Type | Description |
google.appengine.v1.AutomaticScaling | AutomaticScaling |
toJSON()
public toJSON(): { [k: string]: any };
Converts this AutomaticScaling to JSON.
Type | Description |
{ [k: string]: any } | JSON object |
toObject(message, options)
public static toObject(message: google.appengine.v1.AutomaticScaling, options?: $protobuf.IConversionOptions): { [k: string]: any };
Creates a plain object from an AutomaticScaling message. Also converts values to other types if specified.
Name | Description |
message |
google.appengine.v1.AutomaticScaling
AutomaticScaling |
options |
$protobuf.IConversionOptions
Conversion options |
Type | Description |
{ [k: string]: any } | Plain object |
verify(message)
public static verify(message: { [k: string]: any }): (string|null);
Verifies an AutomaticScaling message.
Name | Description |
message |
{ [k: string]: any }
Plain object to verify |
Type | Description |
(string|null) |
|