From 3ded63af96c58b86bbf35c3d87a6a30d3eb524e1 Mon Sep 17 00:00:00 2001 From: Evan Shortiss Date: Fri, 14 Jun 2019 08:41:06 -0700 Subject: [PATCH] fix: update second occurence of Map to Record --- visual-recognition/v3.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/visual-recognition/v3.ts b/visual-recognition/v3.ts index b829554302..e030417933 100644 --- a/visual-recognition/v3.ts +++ b/visual-recognition/v3.ts @@ -249,7 +249,7 @@ class VisualRecognitionV3 extends BaseService { * * @param {Object} params - The parameters to send to the service. * @param {string} params.name - The name of the new classifier. Encode special characters in UTF-8. - * @param {Map} params.positive_examples - A dictionary that contains + * @param {Record} params.positive_examples - A dictionary that contains * the value for each classname. The value is a .zip file of images that depict the visual subject of a class in the * new classifier. You can include more than one positive example file in a call. * @@ -810,7 +810,7 @@ namespace VisualRecognitionV3 { /** The name of the new classifier. Encode special characters in UTF-8. */ name: string; /** A dictionary that contains the value for each classname. The value is a .zip file of images that depict the visual subject of a class in the new classifier. You can include more than one positive example file in a call. Specify the parameter name by appending `_positive_examples` to the class name. For example, `goldenretriever_positive_examples` creates the class **goldenretriever**. Include at least 10 images in .jpg or .png format. The minimum recommended image resolution is 32X32 pixels. The maximum number of images is 10,000 images or 100 MB per .zip file. Encode special characters in the file name in UTF-8. */ - positive_examples: Map; + positive_examples: Record; /** A .zip file of images that do not depict the visual subject of any of the classes of the new classifier. Must contain a minimum of 10 images. Encode special characters in the file name in UTF-8. */ negative_examples?: NodeJS.ReadableStream|FileObject|Buffer; /** The filename for negative_examples. */