0.18.0 (latest) 0.17.1 0.16.0 0.15.3 0.12.0 0.11.0 0.10.1 0.9.2 0.8.1 0.7.0 0.6.0 0.5.1 0.4.7 0.3.0 0.2.3 0.1.6 Reference documentation and code samples for the Google Cloud Dataform V1 Client class ReadRepositoryFileRequest.

`ReadRepositoryFile` request message.

Generated from protobuf message `google.cloud.dataform.v1.ReadRepositoryFileRequest`

## Namespace

Google \\ Cloud \\ Dataform \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Required. The repository's name. |
| `↳ commit_sha` | `string` Optional. The commit SHA for the commit to read from. If unset, the file will be read from HEAD. |
| `↳ path` | `string` Required. Full file path to read including filename, from repository root. |

### getName

Required. The repository's name.

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

### setName

Required. The repository's name.

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

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

### getCommitSha

Optional. The commit SHA for the commit to read from. If unset, the file
will be read from HEAD.

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

### setCommitSha

Optional. The commit SHA for the commit to read from. If unset, the file
will be read from HEAD.

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

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

### getPath

Required. Full file path to read including filename, from repository root.

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

### setPath

Required. Full file path to read including filename, from repository root.

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

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