| 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.serviceuser.v1; | 3 library googleapis.serviceuser.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_1; | 10 import 'package:http/http.dart' as http_1; |
| (...skipping 4169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4180 * results in its response, the status of those operations should be | 4180 * results in its response, the status of those operations should be |
| 4181 * represented directly using the `Status` message. | 4181 * represented directly using the `Status` message. |
| 4182 * | 4182 * |
| 4183 * - Logging. If some API errors are stored in logs, the message `Status` could | 4183 * - Logging. If some API errors are stored in logs, the message `Status` could |
| 4184 * be used directly after any stripping needed for security/privacy reasons. | 4184 * be used directly after any stripping needed for security/privacy reasons. |
| 4185 */ | 4185 */ |
| 4186 class Status { | 4186 class Status { |
| 4187 /** The status code, which should be an enum value of google.rpc.Code. */ | 4187 /** The status code, which should be an enum value of google.rpc.Code. */ |
| 4188 core.int code; | 4188 core.int code; |
| 4189 /** | 4189 /** |
| 4190 * A list of messages that carry the error details. There will be a | 4190 * A list of messages that carry the error details. There is a common set of |
| 4191 * common set of message types for APIs to use. | 4191 * message types for APIs to use. |
| 4192 * | 4192 * |
| 4193 * The values for Object must be JSON objects. It can consist of `num`, | 4193 * The values for Object must be JSON objects. It can consist of `num`, |
| 4194 * `String`, `bool` and `null` as well as `Map` and `List` values. | 4194 * `String`, `bool` and `null` as well as `Map` and `List` values. |
| 4195 */ | 4195 */ |
| 4196 core.List<core.Map<core.String, core.Object>> details; | 4196 core.List<core.Map<core.String, core.Object>> details; |
| 4197 /** | 4197 /** |
| 4198 * A developer-facing error message, which should be in English. Any | 4198 * A developer-facing error message, which should be in English. Any |
| 4199 * user-facing error message should be localized and sent in the | 4199 * user-facing error message should be localized and sent in the |
| 4200 * google.rpc.Status.details field, or localized by the client. | 4200 * google.rpc.Status.details field, or localized by the client. |
| 4201 */ | 4201 */ |
| (...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4712 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 4712 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 4713 if (restriction != null) { | 4713 if (restriction != null) { |
| 4714 _json["restriction"] = restriction; | 4714 _json["restriction"] = restriction; |
| 4715 } | 4715 } |
| 4716 if (selector != null) { | 4716 if (selector != null) { |
| 4717 _json["selector"] = selector; | 4717 _json["selector"] = selector; |
| 4718 } | 4718 } |
| 4719 return _json; | 4719 return _json; |
| 4720 } | 4720 } |
| 4721 } | 4721 } |
| OLD | NEW |