| OLD | NEW |
| 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_beta.clouderrorreporting.v1beta1; | 3 library googleapis_beta.clouderrorreporting.v1beta1; |
| 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 clouderrorreporting/v1beta1'; | 15 const core.String USER_AGENT = 'dart-api-client clouderrorreporting/v1beta1'; |
| 16 | 16 |
| 17 /** | 17 /** |
| 18 * Stackdriver Error Reporting groups and counts similar errors from cloud | 18 * Stackdriver Error Reporting groups and counts similar errors from cloud |
| 19 * services. The Stackdriver Error Reporting API provides read access to error | 19 * services. The Stackdriver Error Reporting API provides a way to report new |
| 20 * groups and their associated errors. | 20 * errors and read access to error groups and their associated errors. |
| 21 */ | 21 */ |
| 22 class ClouderrorreportingApi { | 22 class ClouderrorreportingApi { |
| 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 | 26 |
| 27 final commons.ApiRequester _requester; | 27 final commons.ApiRequester _requester; |
| 28 | 28 |
| 29 ProjectsResourceApi get projects => new ProjectsResourceApi(_requester); | 29 ProjectsResourceApi get projects => new ProjectsResourceApi(_requester); |
| 30 | 30 |
| (...skipping 969 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1000 } | 1000 } |
| 1001 } | 1001 } |
| 1002 | 1002 |
| 1003 /** | 1003 /** |
| 1004 * Describes a running service that sends errors. | 1004 * Describes a running service that sends errors. |
| 1005 * Its version changes over time and multiple versions can run in parallel. | 1005 * Its version changes over time and multiple versions can run in parallel. |
| 1006 */ | 1006 */ |
| 1007 class ServiceContext { | 1007 class ServiceContext { |
| 1008 /** | 1008 /** |
| 1009 * An identifier of the service, such as the name of the | 1009 * An identifier of the service, such as the name of the |
| 1010 * executable, job, or Google App Engine module name. This field is expected | 1010 * executable, job, or Google App Engine service name. This field is expected |
| 1011 * to have a low number of values that are relatively stable over time, as | 1011 * to have a low number of values that are relatively stable over time, as |
| 1012 * opposed to `version`, which can be changed whenever new code is deployed. | 1012 * opposed to `version`, which can be changed whenever new code is deployed. |
| 1013 * | 1013 * |
| 1014 * Contains the module name for error reports extracted from Google | 1014 * Contains the service name for error reports extracted from Google |
| 1015 * App Engine logs or `default` if the App Engine default module is used. | 1015 * App Engine logs or `default` if the App Engine default service is used. |
| 1016 */ | 1016 */ |
| 1017 core.String service; | 1017 core.String service; |
| 1018 /** | 1018 /** |
| 1019 * Represents the source code version that the developer provided, | 1019 * Represents the source code version that the developer provided, |
| 1020 * which could represent a version label or a Git SHA-1 hash, for example. | 1020 * which could represent a version label or a Git SHA-1 hash, for example. |
| 1021 */ | 1021 */ |
| 1022 core.String version; | 1022 core.String version; |
| 1023 | 1023 |
| 1024 ServiceContext(); | 1024 ServiceContext(); |
| 1025 | 1025 |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1154 } | 1154 } |
| 1155 | 1155 |
| 1156 core.Map toJson() { | 1156 core.Map toJson() { |
| 1157 var _json = new core.Map(); | 1157 var _json = new core.Map(); |
| 1158 if (url != null) { | 1158 if (url != null) { |
| 1159 _json["url"] = url; | 1159 _json["url"] = url; |
| 1160 } | 1160 } |
| 1161 return _json; | 1161 return _json; |
| 1162 } | 1162 } |
| 1163 } | 1163 } |
| OLD | NEW |