Class: ComputeConfigScalingGroupUpdate
compute.v1.ComputeConfigScalingGroupUpdate
Represents a ComputeConfigScalingGroupUpdate.
Properties
scalingGroup
• Optional scalingGroup: null | $Properties
ComputeConfigScalingGroupUpdate scalingGroup.
updateMask
• Optional updateMask: null | $Properties
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", "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
▸ create(properties?): ComputeConfigScalingGroupUpdate & $Properties
Creates a new ComputeConfigScalingGroupUpdate instance using the specified properties.
Parameters
| Name | Type | Description |
|---|---|---|
properties? | $Properties | Properties to set |
Returns
ComputeConfigScalingGroupUpdate & $Properties
ComputeConfigScalingGroupUpdate instance
▸ create(properties?): ComputeConfigScalingGroupUpdate
Parameters
| Name | Type |
|---|---|
properties? | $Properties |
Returns
ComputeConfigScalingGroupUpdate
decode
▸ decode(reader, length?): ComputeConfigScalingGroupUpdate & $Properties
Decodes a ComputeConfigScalingGroupUpdate message from the specified reader or buffer.
Parameters
| Name | Type | Description |
|---|---|---|
reader | Uint8Array | 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
▸ decodeDelimited(reader): ComputeConfigScalingGroupUpdate & $Properties
Decodes a ComputeConfigScalingGroupUpdate message from the specified reader or buffer, length delimited.
Parameters
| Name | Type | Description |
|---|---|---|
reader | Uint8Array | 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
▸ encode(message, writer?): Writer
Encodes the specified ComputeConfigScalingGroupUpdate message. Does not implicitly temporal.api.compute.v1.ComputeConfigScalingGroupUpdate.verify|verify messages.
Parameters
| Name | Type | Description |
|---|---|---|
message | $Properties | ComputeConfigScalingGroupUpdate message or plain object to encode |
writer? | Writer | Writer to encode to |
Returns
Writer
Writer
encodeDelimited
▸ encodeDelimited(message, writer?): Writer
Encodes the specified ComputeConfigScalingGroupUpdate message, length delimited. Does not implicitly temporal.api.compute.v1.ComputeConfigScalingGroupUpdate.verify|verify messages.
Parameters
| Name | Type | Description |
|---|---|---|
message | $Properties | ComputeConfigScalingGroupUpdate message or plain object to encode |
writer? | Writer | Writer to encode to |
Returns
Writer
Writer
fromObject
▸ fromObject(object): ComputeConfigScalingGroupUpdate
Creates a ComputeConfigScalingGroupUpdate message from a plain object. Also converts values to their respective internal types.
Parameters
| Name | Type | Description |
|---|---|---|
object | Object | Plain object |
Returns
ComputeConfigScalingGroupUpdate
ComputeConfigScalingGroupUpdate
toObject
▸ toObject(message, options?): Object
Creates a plain object from a ComputeConfigScalingGroupUpdate message. Also converts values to other types if specified.
Parameters
| Name | Type | Description |
|---|---|---|
message | ComputeConfigScalingGroupUpdate | ComputeConfigScalingGroupUpdate |
options? | IConversionOptions | Conversion options |
Returns
Object
Plain object