class Google::Apis::Core::BatchUploadCommand

Wrapper request for batching multiple uploads in a single server request

Public Instance Methods

ensure_valid_command(command) click to toggle source
# File lib/google/apis/core/batch.rb, line 144
def ensure_valid_command(command)
  fail Google::Apis::ClientError, 'Can only include upload commands in batch'              unless command.is_a?(Google::Apis::Core::BaseUploadCommand)
end
prepare!() click to toggle source
# File lib/google/apis/core/batch.rb, line 149
def prepare!
  header['X-Goog-Upload-Protocol'] = 'batch'
  super
end