Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(67)

Unified Diff: generated/googleapis/lib/vision/v1.dart

Issue 2779563003: Api-roll 47: 2017-03-27 (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « generated/googleapis/lib/tracing/v1.dart ('k') | generated/googleapis/lib/youtubereporting/v1.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: generated/googleapis/lib/vision/v1.dart
diff --git a/generated/googleapis/lib/vision/v1.dart b/generated/googleapis/lib/vision/v1.dart
index 616119c9c261a5460a1dffb8a063d99bcf5d7bb9..70528b8964fd597829201ffd13303670aba12f24 100644
--- a/generated/googleapis/lib/vision/v1.dart
+++ b/generated/googleapis/lib/vision/v1.dart
@@ -2128,6 +2128,8 @@ class WebDetection {
* example an original image will likely have partial matching for its crops.
*/
core.List<WebImage> partialMatchingImages;
+ /** The visually similar image results. */
+ core.List<WebImage> visuallySimilarImages;
/** Deduced entities from similar images on the Internet. */
core.List<WebEntity> webEntities;
@@ -2143,6 +2145,9 @@ class WebDetection {
if (_json.containsKey("partialMatchingImages")) {
partialMatchingImages = _json["partialMatchingImages"].map((value) => new WebImage.fromJson(value)).toList();
}
+ if (_json.containsKey("visuallySimilarImages")) {
+ visuallySimilarImages = _json["visuallySimilarImages"].map((value) => new WebImage.fromJson(value)).toList();
+ }
if (_json.containsKey("webEntities")) {
webEntities = _json["webEntities"].map((value) => new WebEntity.fromJson(value)).toList();
}
@@ -2159,6 +2164,9 @@ class WebDetection {
if (partialMatchingImages != null) {
_json["partialMatchingImages"] = partialMatchingImages.map((value) => (value).toJson()).toList();
}
+ if (visuallySimilarImages != null) {
+ _json["visuallySimilarImages"] = visuallySimilarImages.map((value) => (value).toJson()).toList();
+ }
if (webEntities != null) {
_json["webEntities"] = webEntities.map((value) => (value).toJson()).toList();
}
« no previous file with comments | « generated/googleapis/lib/tracing/v1.dart ('k') | generated/googleapis/lib/youtubereporting/v1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698