|
1698 | 1698 | }
|
1699 | 1699 | }
|
1700 | 1700 | },
|
| 1701 | + "relations": { |
| 1702 | + "methods": { |
| 1703 | + "get": { |
| 1704 | + "description": "Gets the details of an relation.", |
| 1705 | + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/relations/{relationsId}", |
| 1706 | + "httpMethod": "GET", |
| 1707 | + "id": "migrationcenter.projects.locations.relations.get", |
| 1708 | + "parameterOrder": [ |
| 1709 | + "name" |
| 1710 | + ], |
| 1711 | + "parameters": { |
| 1712 | + "name": { |
| 1713 | + "description": "Required. Name of the resource.", |
| 1714 | + "location": "path", |
| 1715 | + "pattern": "^projects/[^/]+/locations/[^/]+/relations/[^/]+$", |
| 1716 | + "required": true, |
| 1717 | + "type": "string" |
| 1718 | + } |
| 1719 | + }, |
| 1720 | + "path": "v1/{+name}", |
| 1721 | + "response": { |
| 1722 | + "$ref": "Relation" |
| 1723 | + }, |
| 1724 | + "scopes": [ |
| 1725 | + "https://www.googleapis.com/auth/cloud-platform" |
| 1726 | + ] |
| 1727 | + }, |
| 1728 | + "list": { |
| 1729 | + "description": "Lists all the relations in a given project and location.", |
| 1730 | + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/relations", |
| 1731 | + "httpMethod": "GET", |
| 1732 | + "id": "migrationcenter.projects.locations.relations.list", |
| 1733 | + "parameterOrder": [ |
| 1734 | + "parent" |
| 1735 | + ], |
| 1736 | + "parameters": { |
| 1737 | + "filter": { |
| 1738 | + "description": "Optional. Filtering results.", |
| 1739 | + "location": "query", |
| 1740 | + "type": "string" |
| 1741 | + }, |
| 1742 | + "orderBy": { |
| 1743 | + "description": "Optional. Field to sort by. See https://google.aip.dev/132#ordering for more details.", |
| 1744 | + "location": "query", |
| 1745 | + "type": "string" |
| 1746 | + }, |
| 1747 | + "pageSize": { |
| 1748 | + "description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.", |
| 1749 | + "format": "int32", |
| 1750 | + "location": "query", |
| 1751 | + "type": "integer" |
| 1752 | + }, |
| 1753 | + "pageToken": { |
| 1754 | + "description": "Optional. A token identifying a page of results the server should return.", |
| 1755 | + "location": "query", |
| 1756 | + "type": "string" |
| 1757 | + }, |
| 1758 | + "parent": { |
| 1759 | + "description": "Required. Parent value for `ListRelationsRequest`.", |
| 1760 | + "location": "path", |
| 1761 | + "pattern": "^projects/[^/]+/locations/[^/]+$", |
| 1762 | + "required": true, |
| 1763 | + "type": "string" |
| 1764 | + } |
| 1765 | + }, |
| 1766 | + "path": "v1/{+parent}/relations", |
| 1767 | + "response": { |
| 1768 | + "$ref": "ListRelationsResponse" |
| 1769 | + }, |
| 1770 | + "scopes": [ |
| 1771 | + "https://www.googleapis.com/auth/cloud-platform" |
| 1772 | + ] |
| 1773 | + } |
| 1774 | + } |
| 1775 | + }, |
1701 | 1776 | "reportConfigs": {
|
1702 | 1777 | "methods": {
|
1703 | 1778 | "create": {
|
|
2309 | 2384 | }
|
2310 | 2385 | }
|
2311 | 2386 | },
|
2312 |
| - "revision": "20241205", |
| 2387 | + "revision": "20250115", |
2313 | 2388 | "rootUrl": "https://migrationcenter.googleapis.com/",
|
2314 | 2389 | "schemas": {
|
2315 | 2390 | "AddAssetsToGroupRequest": {
|
|
4622 | 4697 | },
|
4623 | 4698 | "type": "object"
|
4624 | 4699 | },
|
| 4700 | + "ListRelationsResponse": { |
| 4701 | + "description": "Response message for listing relations.", |
| 4702 | + "id": "ListRelationsResponse", |
| 4703 | + "properties": { |
| 4704 | + "nextPageToken": { |
| 4705 | + "description": "A token identifying a page of results the server should return.", |
| 4706 | + "type": "string" |
| 4707 | + }, |
| 4708 | + "relations": { |
| 4709 | + "description": "A list of relations.", |
| 4710 | + "items": { |
| 4711 | + "$ref": "Relation" |
| 4712 | + }, |
| 4713 | + "type": "array" |
| 4714 | + } |
| 4715 | + }, |
| 4716 | + "type": "object" |
| 4717 | + }, |
4625 | 4718 | "ListReportConfigsResponse": {
|
4626 | 4719 | "description": "Response message for listing report configs.",
|
4627 | 4720 | "id": "ListReportConfigsResponse",
|
|
5704 | 5797 | },
|
5705 | 5798 | "type": "object"
|
5706 | 5799 | },
|
| 5800 | + "Relation": { |
| 5801 | + "description": "Message representing a relation between 2 resource.", |
| 5802 | + "id": "Relation", |
| 5803 | + "properties": { |
| 5804 | + "createTime": { |
| 5805 | + "description": "Output only. The timestamp when the relation was created.", |
| 5806 | + "format": "google-datetime", |
| 5807 | + "readOnly": true, |
| 5808 | + "type": "string" |
| 5809 | + }, |
| 5810 | + "dstAsset": { |
| 5811 | + "description": "Output only. The destination asset name in the relation.", |
| 5812 | + "readOnly": true, |
| 5813 | + "type": "string" |
| 5814 | + }, |
| 5815 | + "name": { |
| 5816 | + "description": "Output only. Identifier. The identifier of the relation.", |
| 5817 | + "readOnly": true, |
| 5818 | + "type": "string" |
| 5819 | + }, |
| 5820 | + "srcAsset": { |
| 5821 | + "description": "Output only. The source asset name in the relation.", |
| 5822 | + "readOnly": true, |
| 5823 | + "type": "string" |
| 5824 | + }, |
| 5825 | + "type": { |
| 5826 | + "description": "Optional. The type of the relation.", |
| 5827 | + "enum": [ |
| 5828 | + "TYPE_UNSPECIFIED", |
| 5829 | + "LOGICAL_DATABASE", |
| 5830 | + "DATABASE_DEPLOYMENT_HOSTING_SERVER" |
| 5831 | + ], |
| 5832 | + "enumDescriptions": [ |
| 5833 | + "Default value.", |
| 5834 | + "DBDeployment -\u003e Database", |
| 5835 | + "A relation between a machine/VM and the database deployment it hosts." |
| 5836 | + ], |
| 5837 | + "type": "string" |
| 5838 | + } |
| 5839 | + }, |
| 5840 | + "type": "object" |
| 5841 | + }, |
5707 | 5842 | "RemoveAssetsFromGroupRequest": {
|
5708 | 5843 | "description": "A request to remove assets from a group.",
|
5709 | 5844 | "id": "RemoveAssetsFromGroupRequest",
|
|
0 commit comments