Reference documentation and code samples for the Google Cloud Design Center V1 Client class DeveloperConnectExportConfig.

Through Developer Connect, defines a location where content such as
Infrastructure as Code (IaC) is stored.

Generated from protobuf message `google.cloud.designcenter.v1.DeveloperConnectExportConfig`

## Namespace

Google \\ Cloud \\ DesignCenter \\ V1

## Methods

### __construct

Constructor.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `data` | `mixed` |

### getDeveloperConnectRepoUri

Required. The Developer Connect Git repository link, formatted as
`projects/*/locations/*/connections/*/gitRepositoryLinks/*`.

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

### setDeveloperConnectRepoUri

Required. The Developer Connect Git repository link, formatted as
`projects/*/locations/*/connections/*/gitRepositoryLinks/*`.

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

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

### getBranch

Optional. The branch in repo to which the content such as Infrastructure as
Code (IaC) should be written to. If empty, Application Design Center will
create a branch and push the changes.

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

### setBranch

Optional. The branch in repo to which the content such as Infrastructure as
Code (IaC) should be written to. If empty, Application Design Center will
create a branch and push the changes.

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

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

### getDir

Required. Directory, relative to the source repo, where content such as
Infrastructure as Code (IaC) will be stored.

This must be a relative path.To specify the root directory, use '/'.
If the path or any subdirectories do not exist, they will be created.

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

### setDir

Required. Directory, relative to the source repo, where content such as
Infrastructure as Code (IaC) will be stored.

This must be a relative path.To specify the root directory, use '/'.
If the path or any subdirectories do not exist, they will be created.

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

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

### getCommitSha

Output only. The SHA of the Git commit that contains the exported content
such as Infrastructure as Code (IaC).

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

### setCommitSha

Output only. The SHA of the Git commit that contains the exported content
such as Infrastructure as Code (IaC).

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

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