# Google Cloud Dataform V1 Client - Class CommitLogEntry (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 CommitLogEntry.

Represents a single commit log.

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

## Namespace

Google \\ Cloud \\ Dataform \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ commit_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` Commit timestamp. |
| `↳ commit_sha` | `string` The commit SHA for this commit log entry. |
| `↳ author` | `https://docs.cloud.google.com/php/docs/reference/cloud-dataform/latest/V1.CommitAuthor` The commit author for this commit log entry. |
| `↳ commit_message` | `string` The commit message for this commit log entry. |

### getCommitTime

Commit timestamp.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp|null` |   |

### hasCommitTime

### clearCommitTime

### setCommitTime

Commit timestamp.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` |

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

### getCommitSha

The commit SHA for this commit log entry.

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

### setCommitSha

The commit SHA for this commit log entry.

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

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

### getAuthor

The commit author for this commit log entry.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-dataform/latest/V1.CommitAuthor|null` |   |

### hasAuthor

### clearAuthor

### setAuthor

The commit author for this commit log entry.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-dataform/latest/V1.CommitAuthor` |

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

### getCommitMessage

The commit message for this commit log entry.

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

### setCommitMessage

The commit message for this commit log entry.

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

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