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; |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 * Deletes all error events of a given project. | 47 * Deletes all error events of a given project. |
48 * | 48 * |
49 * Request parameters: | 49 * Request parameters: |
50 * | 50 * |
51 * [projectName] - [Required] The resource name of the Google Cloud Platform | 51 * [projectName] - [Required] The resource name of the Google Cloud Platform |
52 * project. Written | 52 * project. Written |
53 * as `projects/` plus the | 53 * as `projects/` plus the |
54 * [Google Cloud Platform project | 54 * [Google Cloud Platform project |
55 * ID](https://support.google.com/cloud/answer/6158840). | 55 * ID](https://support.google.com/cloud/answer/6158840). |
56 * Example: `projects/my-project-123`. | 56 * Example: `projects/my-project-123`. |
57 * Value must have pattern "^projects/[^/]*$". | 57 * Value must have pattern "^projects/[^/]+$". |
58 * | 58 * |
59 * Completes with a [DeleteEventsResponse]. | 59 * Completes with a [DeleteEventsResponse]. |
60 * | 60 * |
61 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 61 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
62 * error. | 62 * error. |
63 * | 63 * |
64 * If the used [http.Client] completes with an error when making a REST call, | 64 * If the used [http.Client] completes with an error when making a REST call, |
65 * this method will complete with the same error. | 65 * this method will complete with the same error. |
66 */ | 66 */ |
67 async.Future<DeleteEventsResponse> deleteEvents(core.String projectName) { | 67 async.Future<DeleteEventsResponse> deleteEvents(core.String projectName) { |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 * Lists the specified events. | 101 * Lists the specified events. |
102 * | 102 * |
103 * Request parameters: | 103 * Request parameters: |
104 * | 104 * |
105 * [projectName] - [Required] The resource name of the Google Cloud Platform | 105 * [projectName] - [Required] The resource name of the Google Cloud Platform |
106 * project. Written | 106 * project. Written |
107 * as `projects/` plus the | 107 * as `projects/` plus the |
108 * [Google Cloud Platform project | 108 * [Google Cloud Platform project |
109 * ID](https://support.google.com/cloud/answer/6158840). | 109 * ID](https://support.google.com/cloud/answer/6158840). |
110 * Example: `projects/my-project-123`. | 110 * Example: `projects/my-project-123`. |
111 * Value must have pattern "^projects/[^/]*$". | 111 * Value must have pattern "^projects/[^/]+$". |
112 * | 112 * |
113 * [timeRange_period] - Restricts the query to the specified time range. | 113 * [timeRange_period] - Restricts the query to the specified time range. |
114 * Possible string values are: | 114 * Possible string values are: |
115 * - "PERIOD_UNSPECIFIED" : A PERIOD_UNSPECIFIED. | 115 * - "PERIOD_UNSPECIFIED" : A PERIOD_UNSPECIFIED. |
116 * - "PERIOD_1_HOUR" : A PERIOD_1_HOUR. | 116 * - "PERIOD_1_HOUR" : A PERIOD_1_HOUR. |
117 * - "PERIOD_6_HOURS" : A PERIOD_6_HOURS. | 117 * - "PERIOD_6_HOURS" : A PERIOD_6_HOURS. |
118 * - "PERIOD_1_DAY" : A PERIOD_1_DAY. | 118 * - "PERIOD_1_DAY" : A PERIOD_1_DAY. |
119 * - "PERIOD_1_WEEK" : A PERIOD_1_WEEK. | 119 * - "PERIOD_1_WEEK" : A PERIOD_1_WEEK. |
120 * - "PERIOD_30_DAYS" : A PERIOD_30_DAYS. | 120 * - "PERIOD_30_DAYS" : A PERIOD_30_DAYS. |
121 * | 121 * |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 * [request] - The metadata request object. | 197 * [request] - The metadata request object. |
198 * | 198 * |
199 * Request parameters: | 199 * Request parameters: |
200 * | 200 * |
201 * [projectName] - [Required] The resource name of the Google Cloud Platform | 201 * [projectName] - [Required] The resource name of the Google Cloud Platform |
202 * project. Written | 202 * project. Written |
203 * as `projects/` plus the | 203 * as `projects/` plus the |
204 * [Google Cloud Platform project | 204 * [Google Cloud Platform project |
205 * ID](https://support.google.com/cloud/answer/6158840). | 205 * ID](https://support.google.com/cloud/answer/6158840). |
206 * Example: `projects/my-project-123`. | 206 * Example: `projects/my-project-123`. |
207 * Value must have pattern "^projects/[^/]*$". | 207 * Value must have pattern "^projects/[^/]+$". |
208 * | 208 * |
209 * Completes with a [ReportErrorEventResponse]. | 209 * Completes with a [ReportErrorEventResponse]. |
210 * | 210 * |
211 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 211 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
212 * error. | 212 * error. |
213 * | 213 * |
214 * If the used [http.Client] completes with an error when making a REST call, | 214 * If the used [http.Client] completes with an error when making a REST call, |
215 * this method will complete with the same error. | 215 * this method will complete with the same error. |
216 */ | 216 */ |
217 async.Future<ReportErrorEventResponse> report(ReportedErrorEvent request, core
.String projectName) { | 217 async.Future<ReportErrorEventResponse> report(ReportedErrorEvent request, core
.String projectName) { |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
255 * | 255 * |
256 * Request parameters: | 256 * Request parameters: |
257 * | 257 * |
258 * [projectName] - [Required] The resource name of the Google Cloud Platform | 258 * [projectName] - [Required] The resource name of the Google Cloud Platform |
259 * project. Written | 259 * project. Written |
260 * as <code>projects/</code> plus the | 260 * as <code>projects/</code> plus the |
261 * <a href="https://support.google.com/cloud/answer/6158840">Google Cloud | 261 * <a href="https://support.google.com/cloud/answer/6158840">Google Cloud |
262 * Platform project ID</a>. | 262 * Platform project ID</a>. |
263 * | 263 * |
264 * Example: <code>projects/my-project-123</code>. | 264 * Example: <code>projects/my-project-123</code>. |
265 * Value must have pattern "^projects/[^/]*$". | 265 * Value must have pattern "^projects/[^/]+$". |
266 * | 266 * |
267 * [alignment] - [Optional] The alignment of the timed counts to be returned. | 267 * [alignment] - [Optional] The alignment of the timed counts to be returned. |
268 * Default is `ALIGNMENT_EQUAL_AT_END`. | 268 * Default is `ALIGNMENT_EQUAL_AT_END`. |
269 * Possible string values are: | 269 * Possible string values are: |
270 * - "ERROR_COUNT_ALIGNMENT_UNSPECIFIED" : A | 270 * - "ERROR_COUNT_ALIGNMENT_UNSPECIFIED" : A |
271 * ERROR_COUNT_ALIGNMENT_UNSPECIFIED. | 271 * ERROR_COUNT_ALIGNMENT_UNSPECIFIED. |
272 * - "ALIGNMENT_EQUAL_ROUNDED" : A ALIGNMENT_EQUAL_ROUNDED. | 272 * - "ALIGNMENT_EQUAL_ROUNDED" : A ALIGNMENT_EQUAL_ROUNDED. |
273 * - "ALIGNMENT_EQUAL_AT_END" : A ALIGNMENT_EQUAL_AT_END. | 273 * - "ALIGNMENT_EQUAL_AT_END" : A ALIGNMENT_EQUAL_AT_END. |
274 * | 274 * |
275 * [timeRange_period] - Restricts the query to the specified time range. | 275 * [timeRange_period] - Restricts the query to the specified time range. |
276 * Possible string values are: | 276 * Possible string values are: |
277 * - "PERIOD_UNSPECIFIED" : A PERIOD_UNSPECIFIED. | 277 * - "PERIOD_UNSPECIFIED" : A PERIOD_UNSPECIFIED. |
278 * - "PERIOD_1_HOUR" : A PERIOD_1_HOUR. | 278 * - "PERIOD_1_HOUR" : A PERIOD_1_HOUR. |
279 * - "PERIOD_6_HOURS" : A PERIOD_6_HOURS. | 279 * - "PERIOD_6_HOURS" : A PERIOD_6_HOURS. |
280 * - "PERIOD_1_DAY" : A PERIOD_1_DAY. | 280 * - "PERIOD_1_DAY" : A PERIOD_1_DAY. |
281 * - "PERIOD_1_WEEK" : A PERIOD_1_WEEK. | 281 * - "PERIOD_1_WEEK" : A PERIOD_1_WEEK. |
282 * - "PERIOD_30_DAYS" : A PERIOD_30_DAYS. | 282 * - "PERIOD_30_DAYS" : A PERIOD_30_DAYS. |
283 * | 283 * |
284 * [order] - [Optional] The sort order in which the results are returned. | 284 * [order] - [Optional] The sort order in which the results are returned. |
285 * Default is `COUNT_DESC`. | 285 * Default is `COUNT_DESC`. |
286 * Possible string values are: | 286 * Possible string values are: |
287 * - "GROUP_ORDER_UNSPECIFIED" : A GROUP_ORDER_UNSPECIFIED. | 287 * - "GROUP_ORDER_UNSPECIFIED" : A GROUP_ORDER_UNSPECIFIED. |
288 * - "COUNT_DESC" : A COUNT_DESC. | 288 * - "COUNT_DESC" : A COUNT_DESC. |
289 * - "LAST_SEEN_DESC" : A LAST_SEEN_DESC. | 289 * - "LAST_SEEN_DESC" : A LAST_SEEN_DESC. |
290 * - "CREATED_DESC" : A CREATED_DESC. | 290 * - "CREATED_DESC" : A CREATED_DESC. |
291 * - "AFFECTED_USERS_DESC" : A AFFECTED_USERS_DESC. | 291 * - "AFFECTED_USERS_DESC" : A AFFECTED_USERS_DESC. |
292 * | 292 * |
293 * [groupId] - [Optional] List all <code>ErrorGroupStats</code> with these | 293 * [groupId] - [Optional] List all <code>ErrorGroupStats</code> with these |
294 * IDs. | 294 * IDs. |
295 * If not specified, all error group stats with a non-zero error count | |
296 * for the given selection criteria are returned. | |
297 * | 295 * |
298 * [serviceFilter_service] - [Optional] The exact value to match against | 296 * [serviceFilter_service] - [Optional] The exact value to match against |
299 * [`ServiceContext.service`](/error-reporting/reference/rest/v1beta1/ServiceC
ontext#FIELDS.service). | 297 * [`ServiceContext.service`](/error-reporting/reference/rest/v1beta1/ServiceC
ontext#FIELDS.service). |
300 * | 298 * |
301 * [alignmentTime] - [Optional] Time where the timed counts shall be aligned | 299 * [alignmentTime] - [Optional] Time where the timed counts shall be aligned |
302 * if rounded | 300 * if rounded |
303 * alignment is chosen. Default is 00:00 UTC. | 301 * alignment is chosen. Default is 00:00 UTC. |
304 * | 302 * |
305 * [serviceFilter_version] - [Optional] The exact value to match against | 303 * [serviceFilter_version] - [Optional] The exact value to match against |
306 * [`ServiceContext.version`](/error-reporting/reference/rest/v1beta1/ServiceC
ontext#FIELDS.version). | 304 * [`ServiceContext.version`](/error-reporting/reference/rest/v1beta1/ServiceC
ontext#FIELDS.version). |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
395 * Request parameters: | 393 * Request parameters: |
396 * | 394 * |
397 * [groupName] - [Required] The group resource name. Written as | 395 * [groupName] - [Required] The group resource name. Written as |
398 * <code>projects/<var>projectID</var>/groups/<var>group_name</var></code>. | 396 * <code>projects/<var>projectID</var>/groups/<var>group_name</var></code>. |
399 * Call | 397 * Call |
400 * <a href="/error-reporting/reference/rest/v1beta1/projects.groupStats/list"> | 398 * <a href="/error-reporting/reference/rest/v1beta1/projects.groupStats/list"> |
401 * <code>groupStats.list</code></a> to return a list of groups belonging to | 399 * <code>groupStats.list</code></a> to return a list of groups belonging to |
402 * this project. | 400 * this project. |
403 * | 401 * |
404 * Example: <code>projects/my-project-123/groups/my-group</code> | 402 * Example: <code>projects/my-project-123/groups/my-group</code> |
405 * Value must have pattern "^projects/[^/] * / groups/[^/]*$". | 403 * Value must have pattern "^projects/[^/]+/groups/[^/]+$". |
406 * | 404 * |
407 * Completes with a [ErrorGroup]. | 405 * Completes with a [ErrorGroup]. |
408 * | 406 * |
409 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 407 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
410 * error. | 408 * error. |
411 * | 409 * |
412 * If the used [http.Client] completes with an error when making a REST call, | 410 * If the used [http.Client] completes with an error when making a REST call, |
413 * this method will complete with the same error. | 411 * this method will complete with the same error. |
414 */ | 412 */ |
415 async.Future<ErrorGroup> get(core.String groupName) { | 413 async.Future<ErrorGroup> get(core.String groupName) { |
(...skipping 23 matching lines...) Expand all Loading... |
439 /** | 437 /** |
440 * Replace the data for the specified group. | 438 * Replace the data for the specified group. |
441 * Fails if the group does not exist. | 439 * Fails if the group does not exist. |
442 * | 440 * |
443 * [request] - The metadata request object. | 441 * [request] - The metadata request object. |
444 * | 442 * |
445 * Request parameters: | 443 * Request parameters: |
446 * | 444 * |
447 * [name] - The group resource name. | 445 * [name] - The group resource name. |
448 * Example: <code>projects/my-project-123/groups/my-groupid</code> | 446 * Example: <code>projects/my-project-123/groups/my-groupid</code> |
449 * Value must have pattern "^projects/[^/] * / groups/[^/]*$". | 447 * Value must have pattern "^projects/[^/]+/groups/[^/]+$". |
450 * | 448 * |
451 * Completes with a [ErrorGroup]. | 449 * Completes with a [ErrorGroup]. |
452 * | 450 * |
453 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 451 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
454 * error. | 452 * error. |
455 * | 453 * |
456 * If the used [http.Client] completes with an error when making a REST call, | 454 * If the used [http.Client] completes with an error when making a REST call, |
457 * this method will complete with the same error. | 455 * this method will complete with the same error. |
458 */ | 456 */ |
459 async.Future<ErrorGroup> update(ErrorGroup request, core.String name) { | 457 async.Future<ErrorGroup> update(ErrorGroup request, core.String name) { |
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
651 _json["name"] = name; | 649 _json["name"] = name; |
652 } | 650 } |
653 if (trackingIssues != null) { | 651 if (trackingIssues != null) { |
654 _json["trackingIssues"] = trackingIssues.map((value) => (value).toJson()).
toList(); | 652 _json["trackingIssues"] = trackingIssues.map((value) => (value).toJson()).
toList(); |
655 } | 653 } |
656 return _json; | 654 return _json; |
657 } | 655 } |
658 } | 656 } |
659 | 657 |
660 /** | 658 /** |
661 * Data extracted for a specific group based on certain selection criteria, | 659 * Data extracted for a specific group based on certain filter criteria, |
662 * such as a given time period and/or service filter. | 660 * such as a given time period and/or service filter. |
663 */ | 661 */ |
664 class ErrorGroupStats { | 662 class ErrorGroupStats { |
665 /** | 663 /** |
666 * Service contexts with a non-zero error count for the given selection | 664 * Service contexts with a non-zero error count for the given filter |
667 * criteria. This list can be truncated if multiple services are affected. | 665 * criteria. This list can be truncated if multiple services are affected. |
668 * Refer to `num_affected_services` for the total count. | 666 * Refer to `num_affected_services` for the total count. |
669 */ | 667 */ |
670 core.List<ServiceContext> affectedServices; | 668 core.List<ServiceContext> affectedServices; |
671 /** | 669 /** |
672 * Approximate number of affected users in the given group that | 670 * Approximate number of affected users in the given group that |
673 * match the selection criteria. | 671 * match the filter criteria. |
674 * Users are distinguished by data in the `ErrorContext` of the | 672 * Users are distinguished by data in the `ErrorContext` of the |
675 * individual error events, such as their login name or their remote | 673 * individual error events, such as their login name or their remote |
676 * IP address in case of HTTP requests. | 674 * IP address in case of HTTP requests. |
677 * The number of affected users can be zero even if the number of | 675 * The number of affected users can be zero even if the number of |
678 * errors is non-zero if no data was provided from which the | 676 * errors is non-zero if no data was provided from which the |
679 * affected user could be deduced. | 677 * affected user could be deduced. |
680 * Users are counted based on data in the request | 678 * Users are counted based on data in the request |
681 * context that was provided in the error report. If more users are | 679 * context that was provided in the error report. If more users are |
682 * implicitly affected, such as due to a crash of the whole service, | 680 * implicitly affected, such as due to a crash of the whole service, |
683 * this is not reflected here. | 681 * this is not reflected here. |
684 */ | 682 */ |
685 core.String affectedUsersCount; | 683 core.String affectedUsersCount; |
686 /** | 684 /** |
687 * Approximate total number of events in the given group that match | 685 * Approximate total number of events in the given group that match |
688 * the selection criteria. | 686 * the filter criteria. |
689 */ | 687 */ |
690 core.String count; | 688 core.String count; |
691 /** | 689 /** |
692 * Approximate first occurrence that was seen for this group and | 690 * Approximate first occurrence that was ever seen for this group |
693 * which matches the given selection criteria. | 691 * and which matches the given filter criteria, ignoring the |
| 692 * time_range that was specified in the request. |
694 */ | 693 */ |
695 core.String firstSeenTime; | 694 core.String firstSeenTime; |
696 /** Group data that is independent of the selection criteria. */ | 695 /** Group data that is independent of the filter criteria. */ |
697 ErrorGroup group; | 696 ErrorGroup group; |
698 /** | 697 /** |
699 * Approximate last occurrence that was seen for this group | 698 * Approximate last occurrence that was ever seen for this group and |
700 * and which matches the given selection criteria. | 699 * which matches the given filter criteria, ignoring the time_range |
| 700 * that was specified in the request. |
701 */ | 701 */ |
702 core.String lastSeenTime; | 702 core.String lastSeenTime; |
703 /** | 703 /** |
704 * The total number of services with a non-zero error count for the given | 704 * The total number of services with a non-zero error count for the given |
705 * selection criteria. | 705 * filter criteria. |
706 */ | 706 */ |
707 core.int numAffectedServices; | 707 core.int numAffectedServices; |
708 /** | 708 /** |
709 * An arbitrary event that is chosen as representative for the whole group. | 709 * An arbitrary event that is chosen as representative for the whole group. |
710 * The representative event is intended to be used as a quick preview for | 710 * The representative event is intended to be used as a quick preview for |
711 * the whole group. Events in the group are usually sufficiently similar | 711 * the whole group. Events in the group are usually sufficiently similar |
712 * to each other such that showing an arbitrary representative provides | 712 * to each other such that showing an arbitrary representative provides |
713 * insight into the characteristics of the group as a whole. | 713 * insight into the characteristics of the group as a whole. |
714 */ | 714 */ |
715 ErrorEvent representative; | 715 ErrorEvent representative; |
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
863 /** Contains a set of requested error events. */ | 863 /** Contains a set of requested error events. */ |
864 class ListEventsResponse { | 864 class ListEventsResponse { |
865 /** The error events which match the given request. */ | 865 /** The error events which match the given request. */ |
866 core.List<ErrorEvent> errorEvents; | 866 core.List<ErrorEvent> errorEvents; |
867 /** | 867 /** |
868 * If non-empty, more results are available. | 868 * If non-empty, more results are available. |
869 * Pass this token, along with the same query parameters as the first | 869 * Pass this token, along with the same query parameters as the first |
870 * request, to view the next page of results. | 870 * request, to view the next page of results. |
871 */ | 871 */ |
872 core.String nextPageToken; | 872 core.String nextPageToken; |
| 873 /** |
| 874 * The timestamp specifies the start time to which the request was restricted. |
| 875 */ |
| 876 core.String timeRangeBegin; |
873 | 877 |
874 ListEventsResponse(); | 878 ListEventsResponse(); |
875 | 879 |
876 ListEventsResponse.fromJson(core.Map _json) { | 880 ListEventsResponse.fromJson(core.Map _json) { |
877 if (_json.containsKey("errorEvents")) { | 881 if (_json.containsKey("errorEvents")) { |
878 errorEvents = _json["errorEvents"].map((value) => new ErrorEvent.fromJson(
value)).toList(); | 882 errorEvents = _json["errorEvents"].map((value) => new ErrorEvent.fromJson(
value)).toList(); |
879 } | 883 } |
880 if (_json.containsKey("nextPageToken")) { | 884 if (_json.containsKey("nextPageToken")) { |
881 nextPageToken = _json["nextPageToken"]; | 885 nextPageToken = _json["nextPageToken"]; |
882 } | 886 } |
| 887 if (_json.containsKey("timeRangeBegin")) { |
| 888 timeRangeBegin = _json["timeRangeBegin"]; |
| 889 } |
883 } | 890 } |
884 | 891 |
885 core.Map toJson() { | 892 core.Map toJson() { |
886 var _json = new core.Map(); | 893 var _json = new core.Map(); |
887 if (errorEvents != null) { | 894 if (errorEvents != null) { |
888 _json["errorEvents"] = errorEvents.map((value) => (value).toJson()).toList
(); | 895 _json["errorEvents"] = errorEvents.map((value) => (value).toJson()).toList
(); |
889 } | 896 } |
890 if (nextPageToken != null) { | 897 if (nextPageToken != null) { |
891 _json["nextPageToken"] = nextPageToken; | 898 _json["nextPageToken"] = nextPageToken; |
892 } | 899 } |
| 900 if (timeRangeBegin != null) { |
| 901 _json["timeRangeBegin"] = timeRangeBegin; |
| 902 } |
893 return _json; | 903 return _json; |
894 } | 904 } |
895 } | 905 } |
896 | 906 |
897 /** Contains a set of requested error group stats. */ | 907 /** Contains a set of requested error group stats. */ |
898 class ListGroupStatsResponse { | 908 class ListGroupStatsResponse { |
899 /** The error group stats which match the given request. */ | 909 /** The error group stats which match the given request. */ |
900 core.List<ErrorGroupStats> errorGroupStats; | 910 core.List<ErrorGroupStats> errorGroupStats; |
901 /** | 911 /** |
902 * If non-empty, more results are available. | 912 * If non-empty, more results are available. |
903 * Pass this token, along with the same query parameters as the first | 913 * Pass this token, along with the same query parameters as the first |
904 * request, to view the next page of results. | 914 * request, to view the next page of results. |
905 */ | 915 */ |
906 core.String nextPageToken; | 916 core.String nextPageToken; |
| 917 /** |
| 918 * The timestamp specifies the start time to which the request was restricted. |
| 919 * The start time is set based on the requested time range. It may be adjusted |
| 920 * to a later time if a project has exceeded the storage quota and older data |
| 921 * has been deleted. |
| 922 */ |
| 923 core.String timeRangeBegin; |
907 | 924 |
908 ListGroupStatsResponse(); | 925 ListGroupStatsResponse(); |
909 | 926 |
910 ListGroupStatsResponse.fromJson(core.Map _json) { | 927 ListGroupStatsResponse.fromJson(core.Map _json) { |
911 if (_json.containsKey("errorGroupStats")) { | 928 if (_json.containsKey("errorGroupStats")) { |
912 errorGroupStats = _json["errorGroupStats"].map((value) => new ErrorGroupSt
ats.fromJson(value)).toList(); | 929 errorGroupStats = _json["errorGroupStats"].map((value) => new ErrorGroupSt
ats.fromJson(value)).toList(); |
913 } | 930 } |
914 if (_json.containsKey("nextPageToken")) { | 931 if (_json.containsKey("nextPageToken")) { |
915 nextPageToken = _json["nextPageToken"]; | 932 nextPageToken = _json["nextPageToken"]; |
916 } | 933 } |
| 934 if (_json.containsKey("timeRangeBegin")) { |
| 935 timeRangeBegin = _json["timeRangeBegin"]; |
| 936 } |
917 } | 937 } |
918 | 938 |
919 core.Map toJson() { | 939 core.Map toJson() { |
920 var _json = new core.Map(); | 940 var _json = new core.Map(); |
921 if (errorGroupStats != null) { | 941 if (errorGroupStats != null) { |
922 _json["errorGroupStats"] = errorGroupStats.map((value) => (value).toJson()
).toList(); | 942 _json["errorGroupStats"] = errorGroupStats.map((value) => (value).toJson()
).toList(); |
923 } | 943 } |
924 if (nextPageToken != null) { | 944 if (nextPageToken != null) { |
925 _json["nextPageToken"] = nextPageToken; | 945 _json["nextPageToken"] = nextPageToken; |
926 } | 946 } |
| 947 if (timeRangeBegin != null) { |
| 948 _json["timeRangeBegin"] = timeRangeBegin; |
| 949 } |
927 return _json; | 950 return _json; |
928 } | 951 } |
929 } | 952 } |
930 | 953 |
931 /** | 954 /** |
932 * Response for reporting an individual error event. | 955 * Response for reporting an individual error event. |
933 * Data may be added to this message in the future. | 956 * Data may be added to this message in the future. |
934 */ | 957 */ |
935 class ReportErrorEventResponse { | 958 class ReportErrorEventResponse { |
936 | 959 |
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1154 } | 1177 } |
1155 | 1178 |
1156 core.Map toJson() { | 1179 core.Map toJson() { |
1157 var _json = new core.Map(); | 1180 var _json = new core.Map(); |
1158 if (url != null) { | 1181 if (url != null) { |
1159 _json["url"] = url; | 1182 _json["url"] = url; |
1160 } | 1183 } |
1161 return _json; | 1184 return _json; |
1162 } | 1185 } |
1163 } | 1186 } |
OLD | NEW |