0.5.3 (latest) 0.4.4 0.3.0 0.2.1 0.1.4 Reference documentation and code samples for the Google Cloud Api Hub V1 Client class Path.

The path details derived from the spec.

Generated from protobuf message `google.cloud.apihub.v1.Path`

## Namespace

Google \\ Cloud \\ ApiHub \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ path` | `string` Optional. Complete path relative to server endpoint. Note: Even though this field is optional, it is required for [CreateApiOperation](https://docs.cloud.google.com/php/docs/reference/cloud-apihub/latest/V1.Client.ApiHubClient#_Google_Cloud_ApiHub_V1_Client_ApiHubClient__createApiOperation__) API and we will fail the request if not provided. |
| `↳ description` | `string` Optional. A short description for the path applicable to all operations. |

### getPath

Optional. Complete path relative to server endpoint.

Note: Even though this field is optional, it is required for
[CreateApiOperation](https://docs.cloud.google.com/php/docs/reference/cloud-apihub/latest/V1.Client.ApiHubClient#_Google_Cloud_ApiHub_V1_Client_ApiHubClient__createApiOperation__)
API and we will fail the request if not provided.

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

### setPath

Optional. Complete path relative to server endpoint.

Note: Even though this field is optional, it is required for
[CreateApiOperation](https://docs.cloud.google.com/php/docs/reference/cloud-apihub/latest/V1.Client.ApiHubClient#_Google_Cloud_ApiHub_V1_Client_ApiHubClient__createApiOperation__)
API and we will fail the request if not provided.

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

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

### getDescription

Optional. A short description for the path applicable to all operations.

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

### setDescription

Optional. A short description for the path applicable to all operations.

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

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