# Google Cloud Parallelstore V1beta Client - Class TransferOperationMetadata (0.13.2)

0.13.2 (latest) 0.13.1 0.12.1 0.11.3 0.10.0 0.9.0 0.8.3 0.7.1 0.6.1 0.5.0 0.4.0 0.3.1 0.2.0 0.1.1

> [!WARNING]
> **Beta**
>
>
> This library is covered by the [Pre-GA Offerings Terms](https://docs.cloud.google.com/terms/service-terms#1)
> of the Terms of Service. Pre-GA libraries might have limited support,
> and changes to pre-GA libraries might not be compatible with other pre-GA versions.
> For more information, see the
> [launch stage descriptions](https://docs.cloud.google.com/products#product-launch-stages).

Reference documentation and code samples for the Google Cloud Parallelstore V1beta Client class TransferOperationMetadata.

Long-running operation metadata related to a data transfer.

Generated from protobuf message `google.cloud.parallelstore.v1beta.TransferOperationMetadata`

## Namespace

Google \\ Cloud \\ Parallelstore \\ V1beta

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ source_parallelstore` | `https://docs.cloud.google.com/php/docs/reference/cloud-parallelstore/latest/V1beta.SourceParallelstore` Output only. Parallelstore source. |
| `↳ source_gcs_bucket` | `https://docs.cloud.google.com/php/docs/reference/cloud-parallelstore/latest/V1beta.SourceGcsBucket` Output only. Cloud Storage source. |
| `↳ destination_gcs_bucket` | `https://docs.cloud.google.com/php/docs/reference/cloud-parallelstore/latest/V1beta.DestinationGcsBucket` Output only. Cloud Storage destination. |
| `↳ destination_parallelstore` | `https://docs.cloud.google.com/php/docs/reference/cloud-parallelstore/latest/V1beta.DestinationParallelstore` Output only. Parallelstore destination. |
| `↳ counters` | `https://docs.cloud.google.com/php/docs/reference/cloud-parallelstore/latest/V1beta.TransferCounters` Output only. The progress of the transfer operation. |
| `↳ transfer_type` | `int` Output only. The type of transfer occurring. |
| `↳ error_summary` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-parallelstore/latest/V1beta.TransferErrorSummary>` Output only. List of files that failed to be transferred. This list will have a maximum size of 5 elements. |

### getSourceParallelstore

Output only. Parallelstore source.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-parallelstore/latest/V1beta.SourceParallelstore|null` |   |

### hasSourceParallelstore

### setSourceParallelstore

Output only. Parallelstore source.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-parallelstore/latest/V1beta.SourceParallelstore` |

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

### getSourceGcsBucket

Output only. Cloud Storage source.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-parallelstore/latest/V1beta.SourceGcsBucket|null` |   |

### hasSourceGcsBucket

### setSourceGcsBucket

Output only. Cloud Storage source.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-parallelstore/latest/V1beta.SourceGcsBucket` |

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

### getDestinationGcsBucket

Output only. Cloud Storage destination.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-parallelstore/latest/V1beta.DestinationGcsBucket|null` |   |

### hasDestinationGcsBucket

### setDestinationGcsBucket

Output only. Cloud Storage destination.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-parallelstore/latest/V1beta.DestinationGcsBucket` |

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

### getDestinationParallelstore

Output only. Parallelstore destination.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-parallelstore/latest/V1beta.DestinationParallelstore|null` |   |

### hasDestinationParallelstore

### setDestinationParallelstore

Output only. Parallelstore destination.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-parallelstore/latest/V1beta.DestinationParallelstore` |

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

### getCounters

Output only. The progress of the transfer operation.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-parallelstore/latest/V1beta.TransferCounters|null` |   |

### hasCounters

### clearCounters

### setCounters

Output only. The progress of the transfer operation.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-parallelstore/latest/V1beta.TransferCounters` |

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

### getTransferType

Output only. The type of transfer occurring.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [TransferType](https://docs.cloud.google.com/php/docs/reference/cloud-parallelstore/latest/V1beta.TransferType). |

### setTransferType

Output only. The type of transfer occurring.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [TransferType](https://docs.cloud.google.com/php/docs/reference/cloud-parallelstore/latest/V1beta.TransferType). |

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

### getErrorSummary

Output only. List of files that failed to be transferred. This list will
have a maximum size of 5 elements.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-parallelstore/latest/V1beta.TransferErrorSummary>` |   |

### setErrorSummary

Output only. List of files that failed to be transferred. This list will
have a maximum size of 5 elements.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-parallelstore/latest/V1beta.TransferErrorSummary>` |

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

### getSource

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

### getDestination

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