Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(all): auto-regenerate discovery clients #2450

Merged
merged 1 commit into from
Mar 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
84 changes: 83 additions & 1 deletion apphub/v1/apphub-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -937,6 +937,36 @@
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"lookup": {
"description": "Looks up a discovered service in a host project and location and with a given resource URI.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/discoveredServices:lookup",
"httpMethod": "GET",
"id": "apphub.projects.locations.discoveredServices.lookup",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "Required. Value for parent.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
},
"uri": {
"description": "Required. Resource URI to find service for. Accepts both project number and project id and does translation when needed.",
"location": "query",
"type": "string"
}
},
"path": "v1/{+parent}/discoveredServices:lookup",
"response": {
"$ref": "LookupDiscoveredServiceResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
},
Expand Down Expand Up @@ -1012,6 +1042,36 @@
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"lookup": {
"description": "Looks up a discovered Workload in a host project and location and with a given resource URI.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/discoveredWorkloads:lookup",
"httpMethod": "GET",
"id": "apphub.projects.locations.discoveredWorkloads.lookup",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "Required. Value for parent.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
},
"uri": {
"description": "Required. Resource URI to find workload for. Accepts both project number and project id and does translation when needed.",
"location": "query",
"type": "string"
}
},
"path": "v1/{+parent}/discoveredWorkloads:lookup",
"response": {
"$ref": "LookupDiscoveredWorkloadResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
},
Expand Down Expand Up @@ -1286,7 +1346,7 @@
}
}
},
"revision": "20240217",
"revision": "20240301",
"rootUrl": "https://apphub.googleapis.com/",
"schemas": {
"Application": {
Expand Down Expand Up @@ -1830,6 +1890,28 @@
},
"type": "object"
},
"LookupDiscoveredServiceResponse": {
"description": "Response for LookupDiscoveredService.",
"id": "LookupDiscoveredServiceResponse",
"properties": {
"discoveredService": {
"$ref": "DiscoveredService",
"description": "Discovered service if exists, empty otherwise."
}
},
"type": "object"
},
"LookupDiscoveredWorkloadResponse": {
"description": "Response for LookupDiscoveredWorkload.",
"id": "LookupDiscoveredWorkloadResponse",
"properties": {
"discoveredWorkload": {
"$ref": "DiscoveredWorkload",
"description": "Discovered workload if exists, empty otherwise."
}
},
"type": "object"
},
"LookupServiceProjectAttachmentResponse": {
"description": "Response for LookupServiceProjectAttachment.",
"id": "LookupServiceProjectAttachmentResponse",
Expand Down