Skip to content

Commit

Permalink
samples: fix generated samples directory (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
chingor13 authored Feb 27, 2020
1 parent 4d10a2a commit 5360828
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,11 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// DO NOT EDIT! This is a generated sample ("LongRunningRequestAsync",
// "vision_async_batch_annotate_images")
// DO NOT EDIT! This is a generated sample ("LongRunningRequestAsync", "vision_async_batch_annotate_images")
// sample-metadata:
// title: Async Batch Image Annotation
// description: Perform async batch image annotation
// usage: gradle run
// -PmainClass=com.google.cloud.examples.vision.v1.VisionAsyncBatchAnnotateImages
// [--args='[--input_image_uri "gs://cloud-samples-data/vision/label/wakeupcat.jpg"] [--output_uri
// "gs://your-bucket/prefix/"]']
// usage: gradle run -PmainClass=com.google.cloud.examples.vision.v1.VisionAsyncBatchAnnotateImages [--args='[--input_image_uri "gs://cloud-samples-data/vision/label/wakeupcat.jpg"] [--output_uri "gs://your-bucket/prefix/"]']

package com.google.cloud.examples.vision.v1;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@
// sample-metadata:
// title:
// description: Perform batch file annotation
// usage: gradle run -PmainClass=com.google.cloud.examples.vision.v1.VisionBatchAnnotateFiles
// [--args='[--file_path "resources/kafka.pdf"]']
// usage: gradle run -PmainClass=com.google.cloud.examples.vision.v1.VisionBatchAnnotateFiles [--args='[--file_path "resources/kafka.pdf"]']

package com.google.cloud.examples.vision.v1;

Expand Down Expand Up @@ -95,8 +94,7 @@ public static void sampleBatchAnnotateFiles(String filePath) {
Feature featuresElement = Feature.newBuilder().setType(type).build();
List<Feature> features = Arrays.asList(featuresElement);

// The service can process up to 5 pages per document file. Here we specify the first, second,
// and
// The service can process up to 5 pages per document file. Here we specify the first, second, and
// last page of the document to be processed.
int pagesElement = 1;
int pagesElement2 = 2;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@
// sample-metadata:
// title:
// description: Perform batch file annotation
// usage: gradle run -PmainClass=com.google.cloud.examples.vision.v1.VisionBatchAnnotateFilesGcs
// [--args='[--storage_uri "gs://cloud-samples-data/vision/document_understanding/kafka.pdf"]']
// usage: gradle run -PmainClass=com.google.cloud.examples.vision.v1.VisionBatchAnnotateFilesGcs [--args='[--storage_uri "gs://cloud-samples-data/vision/document_understanding/kafka.pdf"]']

package com.google.cloud.examples.vision.v1;

Expand Down

0 comments on commit 5360828

Please sign in to comment.