View Source GoogleApi.Discovery.V1.Model.RestMethodMediaUploadProtocols (google_api_discovery v0.14.0)

Supported upload protocols.

Attributes

  • resumable (type: GoogleApi.Discovery.V1.Model.RestMethodMediaUploadProtocolsResumable.t, default: nil) - Supports the Resumable Media Upload protocol.
  • simple (type: GoogleApi.Discovery.V1.Model.RestMethodMediaUploadProtocolsSimple.t, default: nil) - Supports uploading as a single HTTP request.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Discovery.V1.Model.RestMethodMediaUploadProtocols{
  resumable:
    GoogleApi.Discovery.V1.Model.RestMethodMediaUploadProtocolsResumable.t()
    | nil,
  simple:
    GoogleApi.Discovery.V1.Model.RestMethodMediaUploadProtocolsSimple.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.