# Google Cloud Storage Transfer V1 Client - Class HdfsData (2.4.0)

2.4.0 (latest) 2.3.2 2.2.1 2.1.1 2.0.2 1.5.0 1.4.5 1.3.1 1.2.0 1.1.1 1.0.6 Reference documentation and code samples for the Google Cloud Storage Transfer V1 Client class HdfsData.

An HdfsData resource specifies a path within an HDFS entity (e.g. a cluster).

All cluster-specific settings, such as namenodes and ports, are configured on
the transfer agents servicing requests, so HdfsData only contains the root
path to the data in our transfer.

Generated from protobuf message `google.storagetransfer.v1.HdfsData`

## Namespace

Google \\ Cloud \\ StorageTransfer \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ path` | `string` Root path to transfer files. |

### getPath

Root path to transfer files.

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

### setPath

Root path to transfer files.

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

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