state property

String? state
getter/setter pair

Status of this announcement.

If unspecified, the default state is DRAFT. Possible string values are:

  • "ANNOUNCEMENT_STATE_UNSPECIFIED" : No state specified. This is never returned.
  • "PUBLISHED" : Status for announcement that has been published. This is the default state.
  • "DRAFT" : Status for an announcement that is not yet published. Announcement in this state is visible only to course teachers and domain administrators.
  • "DELETED" : Status for announcement that was published but is now deleted. Announcement in this state is visible only to course teachers and domain administrators. Announcement in this state is deleted after some time.

Implementation

core.String? state;