# Google Cloud Migration Center V1 Client - Class OpenFileDetails (1.2.3)

1.2.3 (latest) 1.2.2 1.1.2 1.0.3 0.4.5 0.3.1 0.2.0 0.1.0 Reference documentation and code samples for the Google Cloud Migration Center V1 Client class OpenFileDetails.

Open file Information.

Generated from protobuf message `google.cloud.migrationcenter.v1.OpenFileDetails`

## Namespace

Google \\ Cloud \\ MigrationCenter \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ command` | `string` Opened file command. |
| `↳ user` | `string` Opened file user. |
| `↳ file_type` | `string` Opened file file type. |
| `↳ file_path` | `string` Opened file file path. |

### getCommand

Opened file command.

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

### setCommand

Opened file command.

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

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

### getUser

Opened file user.

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

### setUser

Opened file user.

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

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

### getFileType

Opened file file type.

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

### setFileType

Opened file file type.

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

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

### getFilePath

Opened file file path.

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

### setFilePath

Opened file file path.

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

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