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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 * | 49 * |
50 * Request parameters: | 50 * Request parameters: |
51 * | 51 * |
52 * [userKey] - Represents the profile id or the user email for which the data | 52 * [userKey] - Represents the profile id or the user email for which the data |
53 * should be filtered. When 'all' is specified as the userKey, it returns | 53 * should be filtered. When 'all' is specified as the userKey, it returns |
54 * usageReports for all users. | 54 * usageReports for all users. |
55 * | 55 * |
56 * [applicationName] - Application name for which the events are to be | 56 * [applicationName] - Application name for which the events are to be |
57 * retrieved. | 57 * retrieved. |
58 * Value must have pattern | 58 * Value must have pattern |
59 * "(admin)|(calendar)|(drive)|(login)|(mobile)|(token)|(groups)|(saml)|(chat)
". | 59 * "(admin)|(calendar)|(drive)|(login)|(mobile)|(token)|(groups)|(saml)|(chat)
|(gplus)|(rules)". |
60 * | 60 * |
61 * [actorIpAddress] - IP Address of host where the event was performed. | 61 * [actorIpAddress] - IP Address of host where the event was performed. |
62 * Supports both IPv4 and IPv6 addresses. | 62 * Supports both IPv4 and IPv6 addresses. |
63 * | 63 * |
64 * [customerId] - Represents the customer for which the data is to be fetched. | 64 * [customerId] - Represents the customer for which the data is to be fetched. |
65 * Value must have pattern "C.+". | 65 * Value must have pattern "C.+". |
66 * | 66 * |
67 * [endTime] - Return events which occurred at or before this time. | 67 * [endTime] - Return events which occurred at or before this time. |
68 * Value must have pattern | 68 * Value must have pattern |
69 * "(\d\d\d\d)-(\d\d)-(\d\d)T(\d\d):(\d\d):(\d\d)(?:\.(\d+))?(?:(Z)|([-+])(\d\
d):(\d\d))". | 69 * "(\d\d\d\d)-(\d\d)-(\d\d)T(\d\d):(\d\d):(\d\d)(?:\.(\d+))?(?:(Z)|([-+])(\d\
d):(\d\d))". |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 * | 150 * |
151 * Request parameters: | 151 * Request parameters: |
152 * | 152 * |
153 * [userKey] - Represents the profile id or the user email for which the data | 153 * [userKey] - Represents the profile id or the user email for which the data |
154 * should be filtered. When 'all' is specified as the userKey, it returns | 154 * should be filtered. When 'all' is specified as the userKey, it returns |
155 * usageReports for all users. | 155 * usageReports for all users. |
156 * | 156 * |
157 * [applicationName] - Application name for which the events are to be | 157 * [applicationName] - Application name for which the events are to be |
158 * retrieved. | 158 * retrieved. |
159 * Value must have pattern | 159 * Value must have pattern |
160 * "(admin)|(calendar)|(drive)|(login)|(mobile)|(token)|(groups)|(saml)|(chat)
". | 160 * "(admin)|(calendar)|(drive)|(login)|(mobile)|(token)|(groups)|(saml)|(chat)
|(gplus)|(rules)". |
161 * | 161 * |
162 * [actorIpAddress] - IP Address of host where the event was performed. | 162 * [actorIpAddress] - IP Address of host where the event was performed. |
163 * Supports both IPv4 and IPv6 addresses. | 163 * Supports both IPv4 and IPv6 addresses. |
164 * | 164 * |
165 * [customerId] - Represents the customer for which the data is to be fetched. | 165 * [customerId] - Represents the customer for which the data is to be fetched. |
166 * Value must have pattern "C.+". | 166 * Value must have pattern "C.+". |
167 * | 167 * |
168 * [endTime] - Return events which occurred at or before this time. | 168 * [endTime] - Return events which occurred at or before this time. |
169 * Value must have pattern | 169 * Value must have pattern |
170 * "(\d\d\d\d)-(\d\d)-(\d\d)T(\d\d):(\d\d):(\d\d)(?:\.(\d+))?(?:(Z)|([-+])(\d\
d):(\d\d))". | 170 * "(\d\d\d\d)-(\d\d)-(\d\d)T(\d\d):(\d\d):(\d\d)(?:\.(\d+))?(?:(Z)|([-+])(\d\
d):(\d\d))". |
(...skipping 144 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)|(classroom)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(sites)|
(device_management)|(drive)):[^,]+,)*(((accounts)|(classroom)|(cros)|(gmail)|(ca
lendar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[^,]+)". | 325 * "(((accounts)|(app_maker)|(apps_scripts)|(classroom)|(cros)|(gmail)|(calend
ar)|(docs)|(gplus)|(sites)|(device_management)|(drive)):[^,]+,)*(((accounts)|(ap
p_maker)|(apps_scripts)|(classroom)|(cros)|(gmail)|(calendar)|(docs)|(gplus)|(si
tes)|(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 818 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 |