Skip to main content

Interface: IPinnedOverride

v1.VersioningOverride.IPinnedOverride

Properties of a PinnedOverride.

Implemented by

Properties

behavior

Optional behavior: null | PinnedOverrideBehavior

Defaults to PINNED_OVERRIDE_BEHAVIOR_UNSPECIFIED. See PinnedOverrideBehavior for details.


version

Optional version: null | IWorkerDeploymentVersion

Specifies the Worker Deployment Version to pin this workflow to. Required if the target workflow is not already pinned to a version.

If omitted and the target workflow is already pinned, the effective pinned version will be the existing pinned version.

If omitted and the target workflow is not pinned, the override request will be rejected with a PreconditionFailed error.