# Google Cloud Commerce Consumer Procurement V1 Client - Class UpdateLicensePoolRequest (1.3.3)

1.3.3 (latest) 1.3.2 1.2.2 1.1.3 1.0.0 0.2.5 0.1.1 Reference documentation and code samples for the Google Cloud Commerce Consumer Procurement V1 Client class UpdateLicensePoolRequest.

Request message for updating a license pool.

Generated from protobuf message `google.cloud.commerce.consumer.procurement.v1.UpdateLicensePoolRequest`

## Namespace

Google \\ Cloud \\ Commerce \\ Consumer \\ Procurement \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ license_pool` | `https://docs.cloud.google.com/php/docs/reference/cloud-commerce-consumer-procurement/latest/V1.LicensePool` Required. The license pool to update. The license pool's name field is used to identify the license pool to update. Format: `billingAccounts/{billing_account}/orders/{order}/licensePool`. |
| `↳ update_mask` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask` Required. The list of fields to update. |

### getLicensePool

Required. The license pool to update.

The license pool's name field is used to identify the license pool to
update. Format:
`billingAccounts/{billing_account}/orders/{order}/licensePool`.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-commerce-consumer-procurement/latest/V1.LicensePool|null` |   |

### hasLicensePool

### clearLicensePool

### setLicensePool

Required. The license pool to update.

The license pool's name field is used to identify the license pool to
update. Format:
`billingAccounts/{billing_account}/orders/{order}/licensePool`.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-commerce-consumer-procurement/latest/V1.LicensePool` |

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

### getUpdateMask

Required. The list of fields to update.

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

### hasUpdateMask

### clearUpdateMask

### setUpdateMask

Required. The list of fields to update.

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

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

### static::build

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `licensePool` | `https://docs.cloud.google.com/php/docs/reference/cloud-commerce-consumer-procurement/latest/V1.LicensePool` Required. The license pool to update. The license pool's name field is used to identify the license pool to update. Format: `billingAccounts/{billing_account}/orders/{order}/licensePool`. |
| `updateMask` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask` Required. The list of fields to update. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-commerce-consumer-procurement/latest/V1.UpdateLicensePoolRequest` |   |