View Source GoogleApi.Forms.V1.Model.CreateWatchRequest (google_api_forms v0.2.1)

Create a new watch.

Attributes

  • watch (type: GoogleApi.Forms.V1.Model.Watch.t, default: nil) - Required. The watch object. No ID should be set on this object; use watch_id instead.
  • watchId (type: String.t, default: nil) - The ID to use for the watch. If specified, the ID must not already be in use. If not specified, an ID is generated. This value should be 4-63 characters, and valid characters are /a-z-/.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Forms.V1.Model.CreateWatchRequest{
  watch: GoogleApi.Forms.V1.Model.Watch.t() | nil,
  watchId: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.