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

Side by Side Diff: generated/googleapis/lib/vision/v1.dart

Issue 2973303002: Api-Roll 51: 2017-07-10 (Closed)
Patch Set: Created 3 years, 5 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 unified diff | Download patch
OLDNEW
1 // This is a generated file (see the discoveryapis_generator project). 1 // This is a generated file (see the discoveryapis_generator project).
2 2
3 library googleapis.vision.v1; 3 library googleapis.vision.v1;
4 4
5 import 'dart:core' as core; 5 import 'dart:core' as core;
6 import 'dart:async' as async; 6 import 'dart:async' as async;
7 import 'dart:convert' as convert; 7 import 'dart:convert' as convert;
8 8
9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; 9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons;
10 import 'package:http/http.dart' as http; 10 import 'package:http/http.dart' as http;
11 11
12 export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' show 12 export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' show
13 ApiRequestError, DetailedApiRequestError; 13 ApiRequestError, DetailedApiRequestError;
14 14
15 const core.String USER_AGENT = 'dart-api-client vision/v1'; 15 const core.String USER_AGENT = 'dart-api-client vision/v1';
16 16
17 /** 17 /**
18 * Integrates Google Vision features, including image labeling, face, logo, and 18 * Integrates Google Vision features, including image labeling, face, logo, and
19 * landmark detection, optical character recognition (OCR), and detection of 19 * landmark detection, optical character recognition (OCR), and detection of
20 * explicit content, into applications. 20 * explicit content, into applications.
21 */ 21 */
22 class VisionApi { 22 class VisionApi {
23 /** View and manage your data across Google Cloud Platform services */ 23 /** View and manage your data across Google Cloud Platform services */
24 static const CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platf orm"; 24 static const CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platf orm";
25 25
26 /** Apply machine learning models to understand and label images */
27 static const CloudVisionScope = "https://www.googleapis.com/auth/cloud-vision" ;
28
26 29
27 final commons.ApiRequester _requester; 30 final commons.ApiRequester _requester;
28 31
29 ImagesResourceApi get images => new ImagesResourceApi(_requester); 32 ImagesResourceApi get images => new ImagesResourceApi(_requester);
30 33
31 VisionApi(http.Client client, {core.String rootUrl: "https://vision.googleapis .com/", core.String servicePath: ""}) : 34 VisionApi(http.Client client, {core.String rootUrl: "https://vision.googleapis .com/", core.String servicePath: ""}) :
32 _requester = new commons.ApiRequester(client, rootUrl, servicePath, USER_A GENT); 35 _requester = new commons.ApiRequester(client, rootUrl, servicePath, USER_A GENT);
33 } 36 }
34 37
35 38
(...skipping 2288 matching lines...) Expand 10 before | Expand all | Expand 10 after
2324 } 2327 }
2325 if (property != null) { 2328 if (property != null) {
2326 _json["property"] = (property).toJson(); 2329 _json["property"] = (property).toJson();
2327 } 2330 }
2328 if (symbols != null) { 2331 if (symbols != null) {
2329 _json["symbols"] = symbols.map((value) => (value).toJson()).toList(); 2332 _json["symbols"] = symbols.map((value) => (value).toJson()).toList();
2330 } 2333 }
2331 return _json; 2334 return _json;
2332 } 2335 }
2333 } 2336 }
OLDNEW
« no previous file with comments | « generated/googleapis/lib/translate/v2.dart ('k') | generated/googleapis/lib/youtubereporting/v1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698