code property

String? code
getter/setter pair

The code is a string intended for consumption by a machine that identifies the type of message being sent.

Examples: 1. "HARNESS_STARTED" might be used to indicate the worker harness has started. 2. "GCS_DOWNLOAD_ERROR" might be used to indicate an error downloading a Cloud Storage file as part of the boot process of one of the worker containers. This is a string and not an enum to make it easy to add new codes without waiting for an API change.

Implementation

core.String? code;