Skip to main content

watches

Overview

Namewatches
TypeResource
Idgoogleworkspace.forms.watches

Fields

Methods

NameAccessible byRequired ParamsDescription
forms_watches_listSELECTformIdReturn a list of the watches owned by the invoking project. The maximum number of watches is two: For each invoker, the limit is one for each event type per form.
forms_watches_createINSERTformIdCreate a new watch. If a watch ID is provided, it must be unused. For each invoking project, the per form limit is one watch per Watch.EventType. A watch expires seven days after it is created (see Watch.expire_time).
forms_watches_deleteDELETEformId, watchIdDelete a watch.
forms_watches_renewEXECformId, watchIdRenew an existing watch for seven days. The state of the watch after renewal is ACTIVE, and the expire_time is seven days from the renewal. Renewing a watch in an error state (e.g. SUSPENDED) succeeds if the error is no longer present, but fail otherwise. After a watch has expired, RenewWatch returns NOT_FOUND.