OLD | NEW |
1 library googleapis.admin.reports_v1; | 1 library googleapis.admin.reports_v1; |
2 | 2 |
3 import "dart:core" as core; | 3 import "dart:core" as core; |
4 import "dart:collection" as collection; | 4 import "dart:collection" as collection; |
5 import "dart:async" as async; | 5 import "dart:async" as async; |
6 import "dart:convert" as convert; | 6 import "dart:convert" as convert; |
7 | 7 |
8 import "package:crypto/crypto.dart" as crypto; | 8 import "package:crypto/crypto.dart" as crypto; |
9 import 'package:http/http.dart' as http; | 9 import 'package:http/http.dart' as http; |
10 import '../src/common_internal.dart' as common_internal; | 10 import '../src/common_internal.dart' as common_internal; |
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
317 * Value must have pattern "(\d){4}-(\d){2}-(\d){2}". | 317 * Value must have pattern "(\d){4}-(\d){2}-(\d){2}". |
318 * | 318 * |
319 * [customerId] - Represents the customer for which the data is to be fetched. | 319 * [customerId] - Represents the customer for which the data is to be fetched. |
320 * Value must have pattern "C.+". | 320 * Value must have pattern "C.+". |
321 * | 321 * |
322 * [pageToken] - Token to specify next page. | 322 * [pageToken] - Token to specify next page. |
323 * | 323 * |
324 * [parameters] - Represents the application name, parameter name pairs to | 324 * [parameters] - Represents the application name, parameter name pairs to |
325 * fetch in csv as app_name1:param_name1, app_name2:param_name2. | 325 * fetch in csv as app_name1:param_name1, app_name2:param_name2. |
326 * Value must have pattern | 326 * Value must have pattern |
327 * "(((accounts)|(cros)|(gmail)|(calendar)|(docs)|(gplus)):.+,)*(((accounts)|(
cros)|(gmail)|(calendar)|(docs)|(gplus)):.+)". | 327 * "(((accounts)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)):.+,)*(((acc
ounts)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)):.+)". |
328 * | 328 * |
329 * Completes with a [UsageReports]. | 329 * Completes with a [UsageReports]. |
330 * | 330 * |
331 * Completes with a [common.ApiRequestError] if the API endpoint returned an | 331 * Completes with a [common.ApiRequestError] if the API endpoint returned an |
332 * error. | 332 * error. |
333 * | 333 * |
334 * If the used [http.Client] completes with an error when making a REST call, | 334 * If the used [http.Client] completes with an error when making a REST call, |
335 * this method will complete with the same error. | 335 * this method will complete with the same error. |
336 */ | 336 */ |
337 async.Future<UsageReports> get(core.String date, {core.String customerId, core
.String pageToken, core.String parameters}) { | 337 async.Future<UsageReports> get(core.String date, {core.String customerId, core
.String pageToken, core.String parameters}) { |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
390 * [date] - Represents the date in yyyy-mm-dd format for which the data is to | 390 * [date] - Represents the date in yyyy-mm-dd format for which the data is to |
391 * be fetched. | 391 * be fetched. |
392 * Value must have pattern "(\d){4}-(\d){2}-(\d){2}". | 392 * Value must have pattern "(\d){4}-(\d){2}-(\d){2}". |
393 * | 393 * |
394 * [customerId] - Represents the customer for which the data is to be fetched. | 394 * [customerId] - Represents the customer for which the data is to be fetched. |
395 * Value must have pattern "C.+". | 395 * Value must have pattern "C.+". |
396 * | 396 * |
397 * [filters] - Represents the set of filters including parameter operator | 397 * [filters] - Represents the set of filters including parameter operator |
398 * value. | 398 * value. |
399 * Value must have pattern | 399 * Value must have pattern |
400 * "(((accounts)|(cros)|(gmail)|(calendar)|(docs)|(gplus)):.+[<,<=,==,>=,>,!=]
.+,)*(((accounts)|(cros)|(gmail)|(calendar)|(docs)|(gplus)):.+[<,<=,==,>=,>,!=].
+)". | 400 * "(((accounts)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)):.+[<,<=,==,
>=,>,!=].+,)*(((accounts)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)):.+[<
,<=,==,>=,>,!=].+)". |
401 * | 401 * |
402 * [maxResults] - Maximum number of results to return. Maximum allowed is 1000 | 402 * [maxResults] - Maximum number of results to return. Maximum allowed is 1000 |
403 * | 403 * |
404 * [pageToken] - Token to specify next page. | 404 * [pageToken] - Token to specify next page. |
405 * | 405 * |
406 * [parameters] - Represents the application name, parameter name pairs to | 406 * [parameters] - Represents the application name, parameter name pairs to |
407 * fetch in csv as app_name1:param_name1, app_name2:param_name2. | 407 * fetch in csv as app_name1:param_name1, app_name2:param_name2. |
408 * Value must have pattern | 408 * Value must have pattern |
409 * "(((accounts)|(cros)|(gmail)|(calendar)|(docs)|(gplus)):.+,)*(((accounts)|(
cros)|(gmail)|(calendar)|(docs)|(gplus)):.+)". | 409 * "(((accounts)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)):.+,)*(((acc
ounts)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)):.+)". |
410 * | 410 * |
411 * Completes with a [UsageReports]. | 411 * Completes with a [UsageReports]. |
412 * | 412 * |
413 * Completes with a [common.ApiRequestError] if the API endpoint returned an | 413 * Completes with a [common.ApiRequestError] if the API endpoint returned an |
414 * error. | 414 * error. |
415 * | 415 * |
416 * If the used [http.Client] completes with an error when making a REST call, | 416 * If the used [http.Client] completes with an error when making a REST call, |
417 * this method will complete with the same error. | 417 * this method will complete with the same error. |
418 */ | 418 */ |
419 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}) { | 419 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 821 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1241 _json["usageReports"] = usageReports.map((value) => (value).toJson()).toLi
st(); | 1241 _json["usageReports"] = usageReports.map((value) => (value).toJson()).toLi
st(); |
1242 } | 1242 } |
1243 if (warnings != null) { | 1243 if (warnings != null) { |
1244 _json["warnings"] = warnings.map((value) => (value).toJson()).toList(); | 1244 _json["warnings"] = warnings.map((value) => (value).toJson()).toList(); |
1245 } | 1245 } |
1246 return _json; | 1246 return _json; |
1247 } | 1247 } |
1248 } | 1248 } |
1249 | 1249 |
1250 | 1250 |
OLD | NEW |