# Google Cloud Discovery Engine V1 Client - Class BatchUpdateUserLicensesMetadata (1.11.1)

1.11.1 (latest) 1.11.0 1.10.1 1.9.1 1.8.0 1.7.0 1.6.1 1.5.1 1.4.0 1.3.3 1.2.0 1.1.0 1.0.0 0.11.3 0.8.0 0.7.1 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.1 Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class BatchUpdateUserLicensesMetadata.

Metadata related to the progress of the
[UserLicenseService.BatchUpdateUserLicenses](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.Client.UserLicenseServiceClient#_Google_Cloud_DiscoveryEngine_V1_Client_UserLicenseServiceClient__batchUpdateUserLicenses__)
operation. This will be returned by the google.longrunning.Operation.metadata
field.

Generated from protobuf message `google.cloud.discoveryengine.v1.BatchUpdateUserLicensesMetadata`

## Namespace

Google \\ Cloud \\ DiscoveryEngine \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ create_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` Operation create time. |
| `↳ 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. |
| `↳ success_count` | `int|string` Count of user licenses successfully updated. |
| `↳ failure_count` | `int|string` Count of user licenses that failed to be updated. |

### 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` |   |

### 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` |   |

### getSuccessCount

Count of user licenses successfully updated.

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

### setSuccessCount

Count of user licenses successfully updated.

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

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

### getFailureCount

Count of user licenses that failed to be updated.

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

### setFailureCount

Count of user licenses that failed to be updated.

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

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