Skip to content

Commit d22da18

Browse files
feat(all): auto-regenerate discovery clients (#2450)
1 parent e84ba36 commit d22da18

26 files changed

Lines changed: 2035 additions & 62 deletions

apphub/v1/apphub-api.json

Lines changed: 83 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -937,6 +937,36 @@
937937
"scopes": [
938938
"https://www.googleapis.com/auth/cloud-platform"
939939
]
940+
},
941+
"lookup": {
942+
"description": "Looks up a discovered service in a host project and location and with a given resource URI.",
943+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/discoveredServices:lookup",
944+
"httpMethod": "GET",
945+
"id": "apphub.projects.locations.discoveredServices.lookup",
946+
"parameterOrder": [
947+
"parent"
948+
],
949+
"parameters": {
950+
"parent": {
951+
"description": "Required. Value for parent.",
952+
"location": "path",
953+
"pattern": "^projects/[^/]+/locations/[^/]+$",
954+
"required": true,
955+
"type": "string"
956+
},
957+
"uri": {
958+
"description": "Required. Resource URI to find service for. Accepts both project number and project id and does translation when needed.",
959+
"location": "query",
960+
"type": "string"
961+
}
962+
},
963+
"path": "v1/{+parent}/discoveredServices:lookup",
964+
"response": {
965+
"$ref": "LookupDiscoveredServiceResponse"
966+
},
967+
"scopes": [
968+
"https://www.googleapis.com/auth/cloud-platform"
969+
]
940970
}
941971
}
942972
},
@@ -1012,6 +1042,36 @@
10121042
"scopes": [
10131043
"https://www.googleapis.com/auth/cloud-platform"
10141044
]
1045+
},
1046+
"lookup": {
1047+
"description": "Looks up a discovered Workload in a host project and location and with a given resource URI.",
1048+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/discoveredWorkloads:lookup",
1049+
"httpMethod": "GET",
1050+
"id": "apphub.projects.locations.discoveredWorkloads.lookup",
1051+
"parameterOrder": [
1052+
"parent"
1053+
],
1054+
"parameters": {
1055+
"parent": {
1056+
"description": "Required. Value for parent.",
1057+
"location": "path",
1058+
"pattern": "^projects/[^/]+/locations/[^/]+$",
1059+
"required": true,
1060+
"type": "string"
1061+
},
1062+
"uri": {
1063+
"description": "Required. Resource URI to find workload for. Accepts both project number and project id and does translation when needed.",
1064+
"location": "query",
1065+
"type": "string"
1066+
}
1067+
},
1068+
"path": "v1/{+parent}/discoveredWorkloads:lookup",
1069+
"response": {
1070+
"$ref": "LookupDiscoveredWorkloadResponse"
1071+
},
1072+
"scopes": [
1073+
"https://www.googleapis.com/auth/cloud-platform"
1074+
]
10151075
}
10161076
}
10171077
},
@@ -1286,7 +1346,7 @@
12861346
}
12871347
}
12881348
},
1289-
"revision": "20240217",
1349+
"revision": "20240301",
12901350
"rootUrl": "https://apphub.googleapis.com/",
12911351
"schemas": {
12921352
"Application": {
@@ -1830,6 +1890,28 @@
18301890
},
18311891
"type": "object"
18321892
},
1893+
"LookupDiscoveredServiceResponse": {
1894+
"description": "Response for LookupDiscoveredService.",
1895+
"id": "LookupDiscoveredServiceResponse",
1896+
"properties": {
1897+
"discoveredService": {
1898+
"$ref": "DiscoveredService",
1899+
"description": "Discovered service if exists, empty otherwise."
1900+
}
1901+
},
1902+
"type": "object"
1903+
},
1904+
"LookupDiscoveredWorkloadResponse": {
1905+
"description": "Response for LookupDiscoveredWorkload.",
1906+
"id": "LookupDiscoveredWorkloadResponse",
1907+
"properties": {
1908+
"discoveredWorkload": {
1909+
"$ref": "DiscoveredWorkload",
1910+
"description": "Discovered workload if exists, empty otherwise."
1911+
}
1912+
},
1913+
"type": "object"
1914+
},
18331915
"LookupServiceProjectAttachmentResponse": {
18341916
"description": "Response for LookupServiceProjectAttachment.",
18351917
"id": "LookupServiceProjectAttachmentResponse",

0 commit comments

Comments
 (0)