# Google Cloud Dialogflow Cx V3 Client - Class GitDestination (0.11.1)

0.11.1 (latest) 0.11.0 0.10.2 0.9.2 0.8.1 0.7.2 0.6.0 0.5.2 0.4.1 0.3.4 0.2.1 0.1.1 Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class GitDestination.

Settings for exporting to a git branch.

Generated from protobuf message `google.cloud.dialogflow.cx.v3.ExportAgentRequest.GitDestination`

## Namespace

Google \\ Cloud \\ Dialogflow \\ Cx \\ V3 \\ ExportAgentRequest

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ tracking_branch` | `string` Tracking branch for the git push. |
| `↳ commit_message` | `string` Commit message for the git push. |

### getTrackingBranch

Tracking branch for the git push.

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

### setTrackingBranch

Tracking branch for the git push.

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

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

### getCommitMessage

Commit message for the git push.

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

### setCommitMessage

Commit message for the git push.

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

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