state property

String? state
getter/setter pair

State of the audit schedule.

While most states are managed by the system, you can use UpdateAuditSchedule to start, pause, or delete the schedule.

Optional. Possible string values are:

  • "SCHEDULE_STATE_UNSPECIFIED" : Default value. This value is unused.
  • "SCHEDULE_STATE_ACTIVE" : Schedule is active and will trigger runs.
  • "SCHEDULE_STATE_PAUSED" : Schedule is paused and will not trigger runs.
  • "SCHEDULE_STATE_COMPLETED" : Schedule end time has passed.
  • "SCHEDULE_STATE_FAILED_SETUP" : Schedule setup failed during creation or update.
  • "SCHEDULE_STATE_ERROR" : Schedule is in an error state due to persistent failure to trigger an audit. Manual intervention is required.
  • "SCHEDULE_STATE_DELETED" : Schedule has been marked for deletion by the user.

Implementation

core.String? state;