Class: ComputeConfigScalingGroupUpdate
compute.v1.ComputeConfigScalingGroupUpdate
Represents a ComputeConfigScalingGroupUpdate.
Implements
Constructors
constructor
• new ComputeConfigScalingGroupUpdate(properties?): ComputeConfigScalingGroupUpdate
Constructs a new ComputeConfigScalingGroupUpdate.
Parameters
| Name | Type | Description |
|---|---|---|
properties? | IComputeConfigScalingGroupUpdate | Properties to set |
Returns
ComputeConfigScalingGroupUpdate
Properties
scalingGroup
• Optional scalingGroup: null | IComputeConfigScalingGroup
ComputeConfigScalingGroupUpdate scalingGroup.
Implementation of
IComputeConfigScalingGroupUpdate.scalingGroup
updateMask
• Optional updateMask: null | IFieldMask
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"
Implementation of
IComputeConfigScalingGroupUpdate.updateMask
Methods
toJSON
▸ toJSON(): Object
Converts this ComputeConfigScalingGroupUpdate to JSON.
Returns
Object
JSON object
create
▸ create(properties?): ComputeConfigScalingGroupUpdate
Creates a new ComputeConfigScalingGroupUpdate instance using the specified properties.
Parameters
| Name | Type | Description |
|---|---|---|
properties? | IComputeConfigScalingGroupUpdate | Properties to set |
Returns
ComputeConfigScalingGroupUpdate
ComputeConfigScalingGroupUpdate instance
decode
▸ decode(reader, length?): ComputeConfigScalingGroupUpdate
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
ComputeConfigScalingGroupUpdate
Throws
If the payload is not a reader or valid buffer
Throws
If required fields are missing
decodeDelimited
▸ decodeDelimited(reader): ComputeConfigScalingGroupUpdate
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
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 | IComputeConfigScalingGroupUpdate | 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 | IComputeConfigScalingGroupUpdate | 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
getTypeUrl
▸ getTypeUrl(typeUrlPrefix?): string
Gets the default type url for ComputeConfigScalingGroupUpdate
Parameters
| Name | Type | Description |
|---|---|---|
typeUrlPrefix? | string | your custom typeUrlPrefix(default "type.googleapis.com") |
Returns
string
The default type url
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