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.cloudmonitoring.v2beta2; | 3 library googleapis_beta.cloudmonitoring.v2beta2; |
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 cloudmonitoring/v2beta2'; | 15 const core.String USER_AGENT = 'dart-api-client cloudmonitoring/v2beta2'; |
16 | 16 |
17 /** API for accessing Google Cloud and API monitoring data. */ | 17 /** API for accessing Google Cloud and API monitoring data. */ |
18 class CloudmonitoringApi { | 18 class CloudmonitoringApi { |
| 19 /** View and manage your data across Google Cloud Platform services */ |
| 20 static const CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platf
orm"; |
| 21 |
19 /** | 22 /** |
20 * View and write monitoring data for all of your Google and third-party Cloud | 23 * View and write monitoring data for all of your Google and third-party Cloud |
21 * and API projects | 24 * and API projects |
22 */ | 25 */ |
23 static const MonitoringScope = "https://www.googleapis.com/auth/monitoring"; | 26 static const MonitoringScope = "https://www.googleapis.com/auth/monitoring"; |
24 | 27 |
25 | 28 |
26 final commons.ApiRequester _requester; | 29 final commons.ApiRequester _requester; |
27 | 30 |
28 MetricDescriptorsResourceApi get metricDescriptors => new MetricDescriptorsRes
ourceApi(_requester); | 31 MetricDescriptorsResourceApi get metricDescriptors => new MetricDescriptorsRes
ourceApi(_requester); |
(...skipping 1373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1402 } | 1405 } |
1403 | 1406 |
1404 core.Map toJson() { | 1407 core.Map toJson() { |
1405 var _json = new core.Map(); | 1408 var _json = new core.Map(); |
1406 if (kind != null) { | 1409 if (kind != null) { |
1407 _json["kind"] = kind; | 1410 _json["kind"] = kind; |
1408 } | 1411 } |
1409 return _json; | 1412 return _json; |
1410 } | 1413 } |
1411 } | 1414 } |
OLD | NEW |