# Google Cloud Migration Center V1 Client - Class UploadFileInfo (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 UploadFileInfo.

A resource that contains a URI to which a data file can be uploaded.

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

## Namespace

Google \\ Cloud \\ MigrationCenter \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ signed_uri` | `string` Output only. Upload URI for the file. |
| `↳ headers` | `array|https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` Output only. The headers that were used to sign the URI. |
| `↳ uri_expiration_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` Output only. Expiration time of the upload URI. |

### getSignedUri

Output only. Upload URI for the file.

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

### setSignedUri

Output only. Upload URI for the file.

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

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

### getHeaders

Output only. The headers that were used to sign the URI.

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

### setHeaders

Output only. The headers that were used to sign the URI.

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

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

### getUriExpirationTime

Output only. Expiration time of the upload URI.

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

### hasUriExpirationTime

### clearUriExpirationTime

### setUriExpirationTime

Output only. Expiration time of the upload URI.

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

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