0.13.0 (latest) 0.12.0 0.11.0 0.10.3 0.9.0 0.8.0 0.7.0 0.6.4 0.5.1 0.4.1 0.3.2 0.2.5 0.1.0 Reference documentation and code samples for the Google Cloud Redis Cluster V1 Client class BackupFile.

Backup is consisted of multiple backup files.

Generated from protobuf message `google.cloud.redis.cluster.v1.BackupFile`

## Namespace

Google \\ Cloud \\ Redis \\ Cluster \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ file_name` | `string` Output only. e.g: |
| `↳ size_bytes` | `int|string` Output only. Size of the backup file in bytes. |
| `↳ create_time` | `Google\Protobuf\Timestamp` Output only. The time when the backup file was created. |

### getFileName

Output only. e.g:


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

### setFileName

Output only. e.g:


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

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

### getSizeBytes

Output only. Size of the backup file in bytes.

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

### setSizeBytes

Output only. Size of the backup file in bytes.

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

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

### getCreateTime

Output only. The time when the backup file was created.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\Timestamp|null` |   |

### hasCreateTime

### clearCreateTime

### setCreateTime

Output only. The time when the backup file was created.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `Google\Protobuf\Timestamp` |

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