google_api_service_user v0.4.0 GoogleApi.ServiceUser.V1.Model.MediaUpload View Source

Defines the Media configuration for a service in case of an upload. Use this only for Scotty Requests. Do not use this for media support using Bytestream, add instead [][google.bytestream.RestByteStream] as an API to your configuration for Bytestream methods.

Attributes

  • completeNotification (boolean()): A boolean that determines whether a notification for the completion of an upload should be sent to the backend. These notifications will not be seen by the client and will not consume quota. Defaults to: null.
  • dropzone (String.t): Name of the Scotty dropzone to use for the current API. Defaults to: null.
  • enabled (boolean()): Whether upload is enabled. Defaults to: null.
  • maxSize (String.t): Optional maximum acceptable size for an upload. The size is specified in bytes. Defaults to: null.
  • mimeTypes ([String.t]): An array of mimetype patterns. Esf will only accept uploads that match one of the given patterns. Defaults to: null.
  • progressNotification (boolean()): Whether to receive a notification for progress changes of media upload. Defaults to: null.
  • startNotification (boolean()): Whether to receive a notification on the start of media upload. Defaults to: null.
  • uploadService (String.t): DO NOT USE FIELDS BELOW THIS LINE UNTIL THIS WARNING IS REMOVED. Specify name of the upload service if one is used for upload. Defaults to: null.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t() View Source
t() :: %GoogleApi.ServiceUser.V1.Model.MediaUpload{
  completeNotification: any(),
  dropzone: any(),
  enabled: any(),
  maxSize: any(),
  mimeTypes: [any()],
  progressNotification: any(),
  startNotification: any(),
  uploadService: any()
}

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.