Reference documentation and code samples for the gapic-common class Gapic::Rest::ResumableUpload::StreamMismatchError.
Raised when stream content or length does not match resumed upload specifications.
Inherits
Methods
#initialize
def initialize(message = "Stream content or length does not match resumed upload", resume_handle: nil) -> StreamMismatchErrorInitializes a new StreamMismatchError.
Parameters
- message (String) — Error message
- resume_handle (Gapic::Rest::ResumableUpload::ResumeHandle, nil) (defaults to: nil) — Associated resume handle
Returns
- (StreamMismatchError) — a new instance of StreamMismatchError
#resume_handle
def resume_handle() -> Gapic::Rest::ResumableUpload::ResumeHandle, nil
Returns
- (Gapic::Rest::ResumableUpload::ResumeHandle, nil) — Associated resume handle