|
937 | 937 | "scopes": [ |
938 | 938 | "https://www.googleapis.com/auth/cloud-platform" |
939 | 939 | ] |
| 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 | + ] |
940 | 970 | } |
941 | 971 | } |
942 | 972 | }, |
|
1012 | 1042 | "scopes": [ |
1013 | 1043 | "https://www.googleapis.com/auth/cloud-platform" |
1014 | 1044 | ] |
| 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 | + ] |
1015 | 1075 | } |
1016 | 1076 | } |
1017 | 1077 | }, |
|
1286 | 1346 | } |
1287 | 1347 | } |
1288 | 1348 | }, |
1289 | | - "revision": "20240217", |
| 1349 | + "revision": "20240301", |
1290 | 1350 | "rootUrl": "https://apphub.googleapis.com/", |
1291 | 1351 | "schemas": { |
1292 | 1352 | "Application": { |
|
1830 | 1890 | }, |
1831 | 1891 | "type": "object" |
1832 | 1892 | }, |
| 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 | + }, |
1833 | 1915 | "LookupServiceProjectAttachmentResponse": { |
1834 | 1916 | "description": "Response for LookupServiceProjectAttachment.", |
1835 | 1917 | "id": "LookupServiceProjectAttachmentResponse", |
|
0 commit comments