state property

String? state
getter/setter pair

The current state of the watch.

Additional details about suspended watches can be found by checking the error_type.

Output only. Possible string values are:

  • "STATE_UNSPECIFIED" : Unspecified state.
  • "ACTIVE" : Watch is active.
  • "SUSPENDED" : The watch is suspended due to an error that may be resolved. The watch will continue to exist until it expires. To attempt to reactivate the watch a call can be made to watches.renew

Implementation

core.String? state;