Class: ScheduleState
Represents a ScheduleState.
Properties
limitedActions
• limitedActions: boolean
If limited_actions is true, decrement remaining_actions after each action, and do not take any more scheduled actions if remaining_actions is zero. Actions may still be taken by explicit request (i.e. trigger immediately or backfill). Skipped actions (due to overlap policy) do not count against remaining actions. If a schedule has no more remaining actions, then the schedule will be subject to automatic deletion (after several days).
notes
• notes: string
Informative human-readable message with contextual notes, e.g. the reason a schedule is paused. The system may overwrite this message on certain conditions, e.g. when pause-on-failure happens.
paused
• paused: boolean
If true, do not take any actions based on the schedule spec.
remainingActions
• remainingActions: Long
ScheduleState remainingActions.
Methods
toJSON
▸ toJSON(): Object
Converts this ScheduleState to JSON.
Returns
Object
JSON object
create
▸ create(properties?): ScheduleState & $Properties
Creates a new ScheduleState instance using the specified properties.
Parameters
| Name | Type | Description |
|---|---|---|
properties? | $Properties | Properties to set |
Returns
ScheduleState instance
▸ create(properties?): ScheduleState
Parameters
| Name | Type |
|---|---|
properties? | $Properties |
Returns
decode
▸ decode(reader, length?): ScheduleState & $Properties
Decodes a ScheduleState 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
ScheduleState
Throws
If the payload is not a reader or valid buffer
Throws
If required fields are missing
decodeDelimited
▸ decodeDelimited(reader): ScheduleState & $Properties
Decodes a ScheduleState message from the specified reader or buffer, length delimited.
Parameters
| Name | Type | Description |
|---|---|---|
reader | Uint8Array | Reader | Reader or buffer to decode from |