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.cloudresourcemanager.v2beta1; | 3 library googleapis.cloudresourcemanager.v2beta1; |
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 1535 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1546 * results in its response, the status of those operations should be | 1546 * results in its response, the status of those operations should be |
1547 * represented directly using the `Status` message. | 1547 * represented directly using the `Status` message. |
1548 * | 1548 * |
1549 * - Logging. If some API errors are stored in logs, the message `Status` could | 1549 * - Logging. If some API errors are stored in logs, the message `Status` could |
1550 * be used directly after any stripping needed for security/privacy reasons. | 1550 * be used directly after any stripping needed for security/privacy reasons. |
1551 */ | 1551 */ |
1552 class Status { | 1552 class Status { |
1553 /** The status code, which should be an enum value of google.rpc.Code. */ | 1553 /** The status code, which should be an enum value of google.rpc.Code. */ |
1554 core.int code; | 1554 core.int code; |
1555 /** | 1555 /** |
1556 * A list of messages that carry the error details. There will be a | 1556 * A list of messages that carry the error details. There is a common set of |
1557 * common set of message types for APIs to use. | 1557 * message types for APIs to use. |
1558 * | 1558 * |
1559 * The values for Object must be JSON objects. It can consist of `num`, | 1559 * The values for Object must be JSON objects. It can consist of `num`, |
1560 * `String`, `bool` and `null` as well as `Map` and `List` values. | 1560 * `String`, `bool` and `null` as well as `Map` and `List` values. |
1561 */ | 1561 */ |
1562 core.List<core.Map<core.String, core.Object>> details; | 1562 core.List<core.Map<core.String, core.Object>> details; |
1563 /** | 1563 /** |
1564 * A developer-facing error message, which should be in English. Any | 1564 * A developer-facing error message, which should be in English. Any |
1565 * user-facing error message should be localized and sent in the | 1565 * user-facing error message should be localized and sent in the |
1566 * google.rpc.Status.details field, or localized by the client. | 1566 * google.rpc.Status.details field, or localized by the client. |
1567 */ | 1567 */ |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1654 UndeleteFolderRequest(); | 1654 UndeleteFolderRequest(); |
1655 | 1655 |
1656 UndeleteFolderRequest.fromJson(core.Map _json) { | 1656 UndeleteFolderRequest.fromJson(core.Map _json) { |
1657 } | 1657 } |
1658 | 1658 |
1659 core.Map<core.String, core.Object> toJson() { | 1659 core.Map<core.String, core.Object> toJson() { |
1660 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); | 1660 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1661 return _json; | 1661 return _json; |
1662 } | 1662 } |
1663 } | 1663 } |
OLD | NEW |