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.admin.reports_v1; | 3 library googleapis.admin.reports_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; |
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
315 * Value must have pattern "(\d){4}-(\d){2}-(\d){2}". | 315 * Value must have pattern "(\d){4}-(\d){2}-(\d){2}". |
316 * | 316 * |
317 * [customerId] - Represents the customer for which the data is to be fetched. | 317 * [customerId] - Represents the customer for which the data is to be fetched. |
318 * Value must have pattern "C.+". | 318 * Value must have pattern "C.+". |
319 * | 319 * |
320 * [pageToken] - Token to specify next page. | 320 * [pageToken] - Token to specify next page. |
321 * | 321 * |
322 * [parameters] - Represents the application name, parameter name pairs to | 322 * [parameters] - Represents the application name, parameter name pairs to |
323 * fetch in csv as app_name1:param_name1, app_name2:param_name2. | 323 * fetch in csv as app_name1:param_name1, app_name2:param_name2. |
324 * Value must have pattern | 324 * Value must have pattern |
325 * "(((accounts)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_mana
gement)|(drive)):[^,]+,)*(((accounts)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(
sites)|(device_management)|(drive)):[^,]+)". | 325 * "(((accounts)|(classroom)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|
(device_management)|(drive)):[^,]+,)*(((accounts)|(classroom)|(cros)|(gmail)|(ca
lendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[^,]+)". |
326 * | 326 * |
327 * Completes with a [UsageReports]. | 327 * Completes with a [UsageReports]. |
328 * | 328 * |
329 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 329 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
330 * error. | 330 * error. |
331 * | 331 * |
332 * If the used [http.Client] completes with an error when making a REST call, | 332 * If the used [http.Client] completes with an error when making a REST call, |
333 * this method will complete with the same error. | 333 * this method will complete with the same error. |
334 */ | 334 */ |
335 async.Future<UsageReports> get(core.String date, {core.String customerId, core
.String pageToken, core.String parameters}) { | 335 async.Future<UsageReports> get(core.String date, {core.String customerId, core
.String pageToken, core.String parameters}) { |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
386 * [date] - Represents the date in yyyy-mm-dd format for which the data is to | 386 * [date] - Represents the date in yyyy-mm-dd format for which the data is to |
387 * be fetched. | 387 * be fetched. |
388 * Value must have pattern "(\d){4}-(\d){2}-(\d){2}". | 388 * Value must have pattern "(\d){4}-(\d){2}-(\d){2}". |
389 * | 389 * |
390 * [customerId] - Represents the customer for which the data is to be fetched. | 390 * [customerId] - Represents the customer for which the data is to be fetched. |
391 * Value must have pattern "C.+". | 391 * Value must have pattern "C.+". |
392 * | 392 * |
393 * [filters] - Represents the set of filters including parameter operator | 393 * [filters] - Represents the set of filters including parameter operator |
394 * value. | 394 * value. |
395 * Value must have pattern | 395 * Value must have pattern |
396 * "(((accounts)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_mana
gement)|(drive)):[a-z0-9_]+[<,<=,==,>=,>,!=][^,]+,)*(((accounts)|(cros)|(gmail)|
(calendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[a-z0-9_]+[<,<=,=
=,>=,>,!=][^,]+)". | 396 * "(((accounts)|(classroom)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|
(device_management)|(drive)):[a-z0-9_]+[<,<=,==,>=,>,!=][^,]+,)*(((accounts)|(cl
assroom)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_management)|(d
rive)):[a-z0-9_]+[<,<=,==,>=,>,!=][^,]+)". |
397 * | 397 * |
398 * [maxResults] - Maximum number of results to return. Maximum allowed is 1000 | 398 * [maxResults] - Maximum number of results to return. Maximum allowed is 1000 |
399 * | 399 * |
400 * [pageToken] - Token to specify next page. | 400 * [pageToken] - Token to specify next page. |
401 * | 401 * |
402 * [parameters] - Represents the application name, parameter name pairs to | 402 * [parameters] - Represents the application name, parameter name pairs to |
403 * fetch in csv as app_name1:param_name1, app_name2:param_name2. | 403 * fetch in csv as app_name1:param_name1, app_name2:param_name2. |
404 * Value must have pattern | 404 * Value must have pattern |
405 * "(((accounts)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|(device_mana
gement)|(drive)):[^,]+,)*(((accounts)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(
sites)|(device_management)|(drive)):[^,]+)". | 405 * "(((accounts)|(classroom)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|
(device_management)|(drive)):[^,]+,)*(((accounts)|(classroom)|(cros)|(gmail)|(ca
lendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[^,]+)". |
406 * | 406 * |
407 * Completes with a [UsageReports]. | 407 * Completes with a [UsageReports]. |
408 * | 408 * |
409 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 409 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
410 * error. | 410 * error. |
411 * | 411 * |
412 * If the used [http.Client] completes with an error when making a REST call, | 412 * If the used [http.Client] completes with an error when making a REST call, |
413 * this method will complete with the same error. | 413 * this method will complete with the same error. |
414 */ | 414 */ |
415 async.Future<UsageReports> get(core.String userKey, core.String date, {core.St
ring customerId, core.String filters, core.int maxResults, core.String pageToken
, core.String parameters}) { | 415 async.Future<UsageReports> get(core.String userKey, core.String date, {core.St
ring customerId, core.String filters, core.int maxResults, core.String pageToken
, core.String parameters}) { |
(...skipping 738 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1154 } | 1154 } |
1155 if (usageReports != null) { | 1155 if (usageReports != null) { |
1156 _json["usageReports"] = usageReports.map((value) => (value).toJson()).toLi
st(); | 1156 _json["usageReports"] = usageReports.map((value) => (value).toJson()).toLi
st(); |
1157 } | 1157 } |
1158 if (warnings != null) { | 1158 if (warnings != null) { |
1159 _json["warnings"] = warnings.map((value) => (value).toJson()).toList(); | 1159 _json["warnings"] = warnings.map((value) => (value).toJson()).toList(); |
1160 } | 1160 } |
1161 return _json; | 1161 return _json; |
1162 } | 1162 } |
1163 } | 1163 } |
OLD | NEW |