Reference documentation and code samples for the Google Cloud App Hub V1 Client class DiscoveredService.
DiscoveredService is a network or API interface that exposes some
functionality to clients for consumption over the network. A discovered
service can be registered to a App Hub service.
Generated from protobuf messagegoogle.cloud.apphub.v1.DiscoveredService
Namespace
Google \ Cloud \ AppHub \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ name
string
Identifier. The resource name of the discovered service. Format:"projects/{host-project-id}/locations/{location}/discoveredServices/{uuid}"
[[["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 DiscoveredService (0.3.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.3.1 (latest)](/php/docs/reference/cloud-apphub/latest/V1.DiscoveredService)\n- [0.3.0](/php/docs/reference/cloud-apphub/0.3.0/V1.DiscoveredService)\n- [0.2.0](/php/docs/reference/cloud-apphub/0.2.0/V1.DiscoveredService)\n- [0.1.6](/php/docs/reference/cloud-apphub/0.1.6/V1.DiscoveredService) \nReference documentation and code samples for the Google Cloud App Hub V1 Client class DiscoveredService.\n\nDiscoveredService is a network or API interface that exposes some\nfunctionality to clients for consumption over the network. A discovered\nservice can be registered to a App Hub service.\n\nGenerated from protobuf message `google.cloud.apphub.v1.DiscoveredService`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ AppHub \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nIdentifier. The resource name of the discovered service. Format:\n`\"projects/{host-project-id}/locations/{location}/discoveredServices/{uuid}\"`\n\n### setName\n\nIdentifier. The resource name of the discovered service. Format:\n`\"projects/{host-project-id}/locations/{location}/discoveredServices/{uuid}\"`\n\n### getServiceReference\n\nOutput only. Reference to an underlying networking resource that can\ncomprise a Service. These are immutable.\n\n### hasServiceReference\n\n### clearServiceReference\n\n### setServiceReference\n\nOutput only. Reference to an underlying networking resource that can\ncomprise a Service. These are immutable.\n\n### getServiceProperties\n\nOutput only. Properties of an underlying compute resource that can comprise\na Service. These are immutable.\n\n### hasServiceProperties\n\n### clearServiceProperties\n\n### setServiceProperties\n\nOutput only. Properties of an underlying compute resource that can comprise\na Service. These are immutable."]]