Skip to content

Commit 0f4ee9d

Browse files
authoredJan 20, 2025··
feat(all): auto-regenerate discovery clients (#2972)
1 parent 607d371 commit 0f4ee9d

8 files changed

+802
-18
lines changed
 

‎migrationcenter/v1/migrationcenter-api.json

+136-1
Original file line numberDiff line numberDiff line change
@@ -1698,6 +1698,81 @@
16981698
}
16991699
}
17001700
},
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+
},
17011776
"reportConfigs": {
17021777
"methods": {
17031778
"create": {
@@ -2309,7 +2384,7 @@
23092384
}
23102385
}
23112386
},
2312-
"revision": "20241205",
2387+
"revision": "20250115",
23132388
"rootUrl": "https://migrationcenter.googleapis.com/",
23142389
"schemas": {
23152390
"AddAssetsToGroupRequest": {
@@ -4622,6 +4697,24 @@
46224697
},
46234698
"type": "object"
46244699
},
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+
},
46254718
"ListReportConfigsResponse": {
46264719
"description": "Response message for listing report configs.",
46274720
"id": "ListReportConfigsResponse",
@@ -5704,6 +5797,48 @@
57045797
},
57055798
"type": "object"
57065799
},
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+
},
57075842
"RemoveAssetsFromGroupRequest": {
57085843
"description": "A request to remove assets from a group.",
57095844
"id": "RemoveAssetsFromGroupRequest",

0 commit comments

Comments
 (0)
Please sign in to comment.