Skip to main content

Class: ComputeConfigScalingGroupUpdate

Represents a ComputeConfigScalingGroupUpdate.

Properties​

scalingGroup?​

optional scalingGroup?: $Properties | null

ComputeConfigScalingGroupUpdate scalingGroup.


updateMask?​

optional updateMask?: $Properties | null

Controls which fields from scaling_group will be applied. Semantics:

  • Mask is ignored for new scaling groups (only applicable when scaling group already exists).
  • Empty mask for an existing scaling group is no-op: no change.
  • Non-empty mask for an existing scaling group will update/unset only to the fields mentioned in the mask.
  • Accepted paths: "task_queue_types", "region_ids", "provider", "provider.type", "provider.details", "provider.nexus_endpoint", "scaler", "scaler.type", "scaler.details"

Methods​

toJSON()​

toJSON(): object

Converts this ComputeConfigScalingGroupUpdate to JSON.

Returns​

object

JSON object


create()​

Call Signature​

static create(properties?): ComputeConfigScalingGroupUpdate & $Properties

Creates a new ComputeConfigScalingGroupUpdate instance using the specified properties.

Parameters​
properties?​

$Properties

Properties to set

Returns​

ComputeConfigScalingGroupUpdate & $Properties

ComputeConfigScalingGroupUpdate instance

Call Signature​

static create(properties?): ComputeConfigScalingGroupUpdate

Creates a new ComputeConfigScalingGroupUpdate instance using the specified properties.

Parameters​
properties?​

$Properties

Properties to set

Returns​

ComputeConfigScalingGroupUpdate

ComputeConfigScalingGroupUpdate instance


decode()​

static decode(reader, length?): ComputeConfigScalingGroupUpdate & $Properties

Decodes a ComputeConfigScalingGroupUpdate message from the specified reader or buffer.

Parameters​

reader​

Uint8Array<ArrayBufferLike> | Reader

Reader or buffer to decode from

length?​

number

Message length if known beforehand

Returns​

ComputeConfigScalingGroupUpdate & $Properties

ComputeConfigScalingGroupUpdate

Throws​

If the payload is not a reader or valid buffer

Throws​

If required fields are missing


decodeDelimited()​

static decodeDelimited(reader): ComputeConfigScalingGroupUpdate & $Properties

Decodes a ComputeConfigScalingGroupUpdate message from the specified reader or buffer, length delimited.

Parameters​

reader​

Uint8Array<ArrayBufferLike> | Reader

Reader or buffer to decode from

Returns​

ComputeConfigScalingGroupUpdate & $Properties

ComputeConfigScalingGroupUpdate

Throws​

If the payload is not a reader or valid buffer

Throws​

If required fields are missing


encode()​

static encode(message, writer?): Writer

Encodes the specified ComputeConfigScalingGroupUpdate message. Does not implicitly temporal.api.compute.v1.ComputeConfigScalingGroupUpdate.verify|verify messages.

Parameters​

message​

$Properties

ComputeConfigScalingGroupUpdate message or plain object to encode

writer?​

Writer

Writer to encode to

Returns​

Writer

Writer


encodeDelimited()​

static encodeDelimited(message, writer?): Writer

Encodes the specified ComputeConfigScalingGroupUpdate message, length delimited. Does not implicitly temporal.api.compute.v1.ComputeConfigScalingGroupUpdate.verify|verify messages.

Parameters​

message​

$Properties

ComputeConfigScalingGroupUpdate message or plain object to encode

writer?​

Writer

Writer to encode to

Returns​

Writer

Writer


fromObject()​

static fromObject(object): ComputeConfigScalingGroupUpdate

Creates a ComputeConfigScalingGroupUpdate message from a plain object. Also converts values to their respective internal types.

Parameters​

object​

Plain object

Returns​

ComputeConfigScalingGroupUpdate

ComputeConfigScalingGroupUpdate


toObject()​

static toObject(message, options?): object

Creates a plain object from a ComputeConfigScalingGroupUpdate message. Also converts values to other types if specified.

Parameters​

message​

ComputeConfigScalingGroupUpdate

ComputeConfigScalingGroupUpdate

options?​

IConversionOptions

Conversion options

Returns​

object

Plain object