View Source GoogleApi.Discovery.V1.Model.RestMethodMediaUpload (google_api_discovery v0.16.0)

Media upload parameters.

Attributes

  • accept (type: list(String.t), default: nil) - MIME Media Ranges for acceptable media uploads to this method.
  • maxSize (type: String.t, default: nil) - Maximum size of a media upload, such as "1MB", "2GB" or "3TB".
  • protocols (type: GoogleApi.Discovery.V1.Model.RestMethodMediaUploadProtocols.t, default: nil) - Supported upload protocols.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Discovery.V1.Model.RestMethodMediaUpload{
  accept: [String.t()] | nil,
  maxSize: String.t() | nil,
  protocols:
    GoogleApi.Discovery.V1.Model.RestMethodMediaUploadProtocols.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.