# Google Cloud Recommendation Engine V1beta1 Client - Class ImportMetadata (0.9.3)

0.9.3 (latest) 0.9.2 0.8.2 0.7.7 0.6.4 0.5.0 0.4.12

> [!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 Recommendation Engine V1beta1 Client class ImportMetadata.

Metadata related to the progress of the Import operation. This will be
returned by the google.longrunning.Operation.metadata field.

Generated from protobuf message `google.cloud.recommendationengine.v1beta1.ImportMetadata`

## Namespace

Google \\ Cloud \\ RecommendationEngine \\ V1beta1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ operation_name` | `string` Name of the operation. |
| `↳ request_id` | `string` Id of the request / operation. This is parroting back the requestId that was passed in the request. |
| `↳ create_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` Operation create time. |
| `↳ success_count` | `int|string` Count of entries that were processed successfully. |
| `↳ failure_count` | `int|string` Count of entries that encountered errors while processing. |
| `↳ update_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` Operation last update time. If the operation is done, this is also the finish time. |

### getOperationName

Name of the operation.

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

### setOperationName

Name of the operation.

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

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

### getRequestId

Id of the request / operation. This is parroting back the requestId that
was passed in the request.

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

### setRequestId

Id of the request / operation. This is parroting back the requestId that
was passed in the request.

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

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

### getCreateTime

Operation create time.

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

### hasCreateTime

### clearCreateTime

### setCreateTime

Operation create time.

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

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

### getSuccessCount

Count of entries that were processed successfully.

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

### setSuccessCount

Count of entries that were processed successfully.

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

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

### getFailureCount

Count of entries that encountered errors while processing.

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

### setFailureCount

Count of entries that encountered errors while processing.

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

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

### getUpdateTime

Operation last update time. If the operation is done, this is also the
finish time.

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

### hasUpdateTime

### clearUpdateTime

### setUpdateTime

Operation last update time. If the operation is done, this is also the
finish time.

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

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