| 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.v1; | 3 library googleapis.cloudresourcemanager.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 1512 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1523 * | 1523 * |
| 1524 * Label values must be between 0 and 63 characters long and must conform | 1524 * Label values must be between 0 and 63 characters long and must conform |
| 1525 * to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?. | 1525 * to the regular expression (\[a-z\](\[-a-z0-9\]*\[a-z0-9\])?)?. |
| 1526 * | 1526 * |
| 1527 * No more than 256 labels can be associated with a given resource. | 1527 * No more than 256 labels can be associated with a given resource. |
| 1528 * | 1528 * |
| 1529 * Clients should store labels in a representation such as JSON that does not | 1529 * Clients should store labels in a representation such as JSON that does not |
| 1530 * depend on specific characters being disallowed. | 1530 * depend on specific characters being disallowed. |
| 1531 * | 1531 * |
| 1532 * Example: <code>"environment" : "dev"</code> | 1532 * Example: <code>"environment" : "dev"</code> |
| 1533 * | |
| 1534 * Read-write. | 1533 * Read-write. |
| 1535 */ | 1534 */ |
| 1536 core.Map<core.String, core.String> labels; | 1535 core.Map<core.String, core.String> labels; |
| 1537 /** | 1536 /** |
| 1538 * The Project lifecycle state. | 1537 * The Project lifecycle state. |
| 1539 * | 1538 * |
| 1540 * Read-only. | 1539 * Read-only. |
| 1541 * Possible string values are: | 1540 * Possible string values are: |
| 1542 * - "LIFECYCLE_STATE_UNSPECIFIED" : Unspecified state. This is only | 1541 * - "LIFECYCLE_STATE_UNSPECIFIED" : Unspecified state. This is only |
| 1543 * used/useful for distinguishing | 1542 * used/useful for distinguishing |
| 1544 * unset values. | 1543 * unset values. |
| 1545 * - "ACTIVE" : The normal and active state. | 1544 * - "ACTIVE" : The normal and active state. |
| 1546 * - "DELETE_REQUESTED" : The project has been marked for deletion by the user | 1545 * - "DELETE_REQUESTED" : The project has been marked for deletion by the user |
| 1547 * (by invoking | 1546 * (by invoking |
| 1548 * DeleteProject) | 1547 * DeleteProject) |
| 1549 * or by the system (Google Cloud Platform). | 1548 * or by the system (Google Cloud Platform). |
| 1550 * This can generally be reversed by invoking UndeleteProject. | 1549 * This can generally be reversed by invoking UndeleteProject. |
| 1551 * - "DELETE_IN_PROGRESS" : This lifecycle state is no longer used and not | 1550 * - "DELETE_IN_PROGRESS" : This lifecycle state is no longer used and not |
| 1552 * returned by the API. | 1551 * returned by the API. |
| 1553 */ | 1552 */ |
| 1554 core.String lifecycleState; | 1553 core.String lifecycleState; |
| 1555 /** | 1554 /** |
| 1556 * The user-assigned display name of the Project. | 1555 * The user-assigned display name of the Project. |
| 1557 * It must be 4 to 30 characters. | 1556 * It must be 4 to 30 characters. |
| 1558 * Allowed characters are: lowercase and uppercase letters, numbers, | 1557 * Allowed characters are: lowercase and uppercase letters, numbers, |
| 1559 * hyphen, single-quote, double-quote, space, and exclamation point. | 1558 * hyphen, single-quote, double-quote, space, and exclamation point. |
| 1560 * | 1559 * |
| 1561 * Example: <code>My Project</code> | 1560 * Example: <code>My Project</code> |
| 1562 * | |
| 1563 * Read-write. | 1561 * Read-write. |
| 1564 */ | 1562 */ |
| 1565 core.String name; | 1563 core.String name; |
| 1566 /** | 1564 /** |
| 1567 * An optional reference to a parent Resource. | 1565 * An optional reference to a parent Resource. |
| 1568 * | 1566 * |
| 1569 * The only supported parent type is "organization". Once set, the parent | 1567 * The only supported parent type is "organization". Once set, the parent |
| 1570 * cannot be modified. | 1568 * cannot be modified. The `parent` can be set on creation or using the |
| 1569 * `UpdateProject` method; the end user must have the |
| 1570 * `resourcemanager.projects.create` permission on the parent. |
| 1571 * | 1571 * |
| 1572 * Read-write. | 1572 * Read-write. |
| 1573 */ | 1573 */ |
| 1574 ResourceId parent; | 1574 ResourceId parent; |
| 1575 /** | 1575 /** |
| 1576 * The unique, user-assigned ID of the Project. | 1576 * The unique, user-assigned ID of the Project. |
| 1577 * It must be 6 to 30 lowercase letters, digits, or hyphens. | 1577 * It must be 6 to 30 lowercase letters, digits, or hyphens. |
| 1578 * It must start with a letter. | 1578 * It must start with a letter. |
| 1579 * Trailing hyphens are prohibited. | 1579 * Trailing hyphens are prohibited. |
| 1580 * | 1580 * |
| 1581 * Example: <code>tokyo-rain-123</code> | 1581 * Example: <code>tokyo-rain-123</code> |
| 1582 * | |
| 1583 * Read-only after creation. | 1582 * Read-only after creation. |
| 1584 */ | 1583 */ |
| 1585 core.String projectId; | 1584 core.String projectId; |
| 1586 /** | 1585 /** |
| 1587 * The number uniquely identifying the project. | 1586 * The number uniquely identifying the project. |
| 1588 * | 1587 * |
| 1589 * Example: <code>415104041262</code> | 1588 * Example: <code>415104041262</code> |
| 1590 * | |
| 1591 * Read-only. | 1589 * Read-only. |
| 1592 */ | 1590 */ |
| 1593 core.String projectNumber; | 1591 core.String projectNumber; |
| 1594 | 1592 |
| 1595 Project(); | 1593 Project(); |
| 1596 | 1594 |
| 1597 Project.fromJson(core.Map _json) { | 1595 Project.fromJson(core.Map _json) { |
| 1598 if (_json.containsKey("createTime")) { | 1596 if (_json.containsKey("createTime")) { |
| 1599 createTime = _json["createTime"]; | 1597 createTime = _json["createTime"]; |
| 1600 } | 1598 } |
| (...skipping 421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2022 UndeleteProjectRequest(); | 2020 UndeleteProjectRequest(); |
| 2023 | 2021 |
| 2024 UndeleteProjectRequest.fromJson(core.Map _json) { | 2022 UndeleteProjectRequest.fromJson(core.Map _json) { |
| 2025 } | 2023 } |
| 2026 | 2024 |
| 2027 core.Map toJson() { | 2025 core.Map toJson() { |
| 2028 var _json = new core.Map(); | 2026 var _json = new core.Map(); |
| 2029 return _json; | 2027 return _json; |
| 2030 } | 2028 } |
| 2031 } | 2029 } |
| OLD | NEW |