0.6.0 (latest) 0.5.3 0.4.5 0.3.1 0.2.0 0.1.6 Reference documentation and code samples for the Google Cloud App Hub V1 Client class LookupDiscoveredServiceRequest.

Request for LookupDiscoveredService.

Generated from protobuf message `google.cloud.apphub.v1.LookupDiscoveredServiceRequest`

## Namespace

Google \\ Cloud \\ AppHub \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ parent` | `string` Required. Host project ID and location to lookup Discovered Service in. Expected format: `projects/{project}/locations/{location}`. |
| `↳ uri` | `string` Required. Resource URI to find DiscoveredService for. Accepts both project number and project ID and does translation when needed. |

### getParent

Required. Host project ID and location to lookup Discovered Service in.

Expected format: `projects/{project}/locations/{location}`.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setParent

Required. Host project ID and location to lookup Discovered Service in.

Expected format: `projects/{project}/locations/{location}`.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getUri

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 see AppHubClient::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. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-apphub/latest/V1.LookupDiscoveredServiceRequest` |   |