GoogleApi.WalletObjects.V1.Model.MediaRequestInfo (google_api_wallet_objects v0.12.0)

View Source

Extra information added to operations that support Scotty media requests.

Attributes

  • currentBytes (type: String.t, default: nil) - The number of current bytes uploaded or downloaded.
  • customData (type: String.t, default: nil) - Data to be copied to backend requests. Custom data is returned to Scotty in the agent_state field, which Scotty will then provide in subsequent upload notifications.
  • diffObjectVersion (type: String.t, default: nil) - Set if the http request info is diff encoded. The value of this field is the version number of the base revision. This is corresponding to Apiary's mediaDiffObjectVersion (//depot/google3/java/com/google/api/server/media/variable/DiffObjectVersionVariable.java). See go/esf-scotty-diff-upload for more information.
  • finalStatus (type: integer(), default: nil) - The existence of the final_status field indicates that this is the last call to the agent for this request_id. http://google3/uploader/agent/scotty_agent.proto?l=737&rcl=347601929
  • notificationType (type: String.t, default: nil) - The type of notification received from Scotty.
  • requestId (type: String.t, default: nil) - The Scotty request ID.
  • requestReceivedParamsServingInfo (type: String.t, default: nil) - The partition of the Scotty server handling this request. type is uploader_service.RequestReceivedParamsServingInfo LINT.IfChange(request_received_params_serving_info_annotations) LINT.ThenChange()
  • totalBytes (type: String.t, default: nil) - The total size of the file.
  • totalBytesIsEstimated (type: boolean(), default: nil) - Whether the total bytes field contains an estimated data.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.WalletObjects.V1.Model.MediaRequestInfo{
  currentBytes: String.t() | nil,
  customData: String.t() | nil,
  diffObjectVersion: String.t() | nil,
  finalStatus: integer() | nil,
  notificationType: String.t() | nil,
  requestId: String.t() | nil,
  requestReceivedParamsServingInfo: String.t() | nil,
  totalBytes: String.t() | nil,
  totalBytesIsEstimated: boolean() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.