Fix prediction sample to comply with updated insert request and take data as command-line flag.
Reviewed in http://codereview.appspot.com/4535113/
Index: samples/prediction/README
===================================================================
new file mode 100644
diff --git a/samples/prediction/setup.sh b/samples/prediction/setup.sh
index bc4aaf4..6df40ed 100755
--- a/samples/prediction/setup.sh
+++ b/samples/prediction/setup.sh
@@ -4,10 +4,13 @@
# Author: jcgregorio@google.com (Joe Gregorio)
#
# Uploads a training data set to Google Storage to be used by this sample
-# application. Download the 'language.txt' file from
-# http://code.google.com/apis/predict/docs/hello_world.html
+# application.
+#
+# Usage:
+# setup.sh bucket/object
#
# Requirements:
# gsutil - a client application for interacting with Google Storage. It
# can be downloaded from https://code.google.com/apis/storage/docs/gsutil.html
-gsutil cp ./language_id.txt gs://apiclient-prediction-sample/prediction_models/languages
+OBJECT_NAME=$1
+gsutil cp language_id.txt gs://$OBJECT_NAME