Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#2450)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation committed Mar 5, 2024
1 parent e84ba36 commit d22da18
Show file tree
Hide file tree
Showing 26 changed files with 2,035 additions and 62 deletions.
84 changes: 83 additions & 1 deletion apphub/v1/apphub-api.json
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

0 comments on commit d22da18

Please sign in to comment.