Required. Resource URI to find DiscoveredService for.
Accepts both project number and project ID and does translation when
needed.
Returns
Type
Description
string
setUri
Required. Resource URI to find DiscoveredService for.
Accepts both project number and project ID and does translation when
needed.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
static::build
Parameters
Name
Description
parent
string
Required. Host project ID and location to lookup Discovered Service in.
Expected format:projects/{project}/locations/{location}. Please seeAppHubClient::locationName()for help formatting this field.
uri
string
Required. Resource URI to find DiscoveredService for.
Accepts both project number and project ID and does translation when
needed.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud App Hub V1 Client - Class LookupDiscoveredServiceRequest (0.3.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.3.1 (latest)](/php/docs/reference/cloud-apphub/latest/V1.LookupDiscoveredServiceRequest)\n- [0.3.0](/php/docs/reference/cloud-apphub/0.3.0/V1.LookupDiscoveredServiceRequest)\n- [0.2.0](/php/docs/reference/cloud-apphub/0.2.0/V1.LookupDiscoveredServiceRequest)\n- [0.1.6](/php/docs/reference/cloud-apphub/0.1.6/V1.LookupDiscoveredServiceRequest) \nReference documentation and code samples for the Google Cloud App Hub V1 Client class LookupDiscoveredServiceRequest.\n\nRequest for LookupDiscoveredService.\n\nGenerated from protobuf message `google.cloud.apphub.v1.LookupDiscoveredServiceRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ AppHub \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getParent\n\nRequired. Host project ID and location to lookup Discovered Service in.\n\nExpected format: `projects/{project}/locations/{location}`.\n\n### setParent\n\nRequired. Host project ID and location to lookup Discovered Service in.\n\nExpected format: `projects/{project}/locations/{location}`.\n\n### getUri\n\nRequired. Resource URI to find DiscoveredService for.\n\nAccepts both project number and project ID and does translation when\nneeded.\n\n### setUri\n\nRequired. Resource URI to find DiscoveredService for.\n\nAccepts both project number and project ID and does translation when\nneeded.\n\n### static::build"]]