Class: CompatibleVersionSet
taskqueue.v1.CompatibleVersionSet
Used by the worker versioning APIs, represents an unordered set of one or more versions which are considered to be compatible with each other. Currently the versions are always worker build IDs.
Implements
Constructors
constructor
• new CompatibleVersionSet(properties?): CompatibleVersionSet
Constructs a new CompatibleVersionSet.
Parameters
| Name | Type | Description |
|---|---|---|
properties? | ICompatibleVersionSet | Properties to set |
Returns
Properties
buildIds
• buildIds: string[]
All the compatible versions, unordered, except for the last element, which is considered the set "default".
Implementation of
ICompatibleVersionSet.buildIds
Methods
toJSON
▸ toJSON(): Object
Converts this CompatibleVersionSet to JSON.
Returns
Object
JSON object
create
▸ create(properties?): CompatibleVersionSet
Creates a new CompatibleVersionSet instance using the specified properties.
Parameters
| Name | Type | Description |
|---|---|---|
properties? | ICompatibleVersionSet | Properties to set |
Returns
CompatibleVersionSet instance
decode
▸ decode(reader, length?): CompatibleVersionSet
Decodes a CompatibleVersionSet message from the specified reader or buffer.