# Google Cloud Dataform V1 Client - Class CommitAuthor (0.11.0)

0.11.0 (latest) 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 CommitAuthor.

Represents the author of a Git commit.

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

## Namespace

Google \\ Cloud \\ Dataform \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Required. The commit author's name. |
| `↳ email_address` | `string` Required. The commit author's email address. |

### getName

Required. The commit author's name.

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

### setName

Required. The commit author's name.

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

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

### getEmailAddress

Required. The commit author's email address.

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

### setEmailAddress

Required. The commit author's email address.

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

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