Class: UpdateActivityOptionsRequest
NOTE: keep in sync with temporal.api.batch.v1.BatchOperationUpdateActivityOptions
Deprecated. Use UpdateActivityExecutionOptionsRequest.
Properties
activity?
optionalactivity?:"id"|"type"|"matchAll"
either activity id, activity type or update_all must be provided
activityOptions?
optionalactivityOptions?:$Properties|null
Activity options. Partial updates are accepted and controlled by update_mask
execution?
optionalexecution?:$Properties|null
Execution info of the workflow which scheduled this activity
id?
optionalid?:string|null
Only activity with this ID will be updated.
identity
identity:
string
The identity of the client who initiated this request
matchAll?
optionalmatchAll?:boolean|null
Update all running activities.
namespace
namespace:
string
Namespace of the workflow which scheduled this activity
restoreOriginal
restoreOriginal:
boolean
If set, the activity options will be restored to the default. Default options are then options activity was created with. They are part of the first schedule event. This flag cannot be combined with any other option; if you supply restore_original together with other options, the request will be rejected.
type?
optionaltype?:string|null
Update all running activities of this type.
updateMask?
optionalupdateMask?:$Properties|null
Controls which fields from activity_options will be applied
Methods
toJSON()
toJSON():
object
Converts this UpdateActivityOptionsRequest to JSON.
Returns
object
JSON object
create()
Call Signature
staticcreate(properties?):UpdateActivityOptionsRequest&$Shape
Creates a new UpdateActivityOptionsRequest instance using the specified properties.