# Google Cloud Commerce Consumer Procurement V1 Client - Class GetLicensePoolRequest (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 GetLicensePoolRequest.

Request message for getting a license pool.

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

## Namespace

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

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Required. The name of the license pool to get. Format: `billingAccounts/{billing_account}/orders/{order}/licensePool` |

### getName

Required. The name of the license pool to get.

Format: `billingAccounts/{billing_account}/orders/{order}/licensePool`

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

### setName

Required. The name of the license pool to get.

Format: `billingAccounts/{billing_account}/orders/{order}/licensePool`

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

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

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. The name of the license pool to get. Format: `billingAccounts/{billing_account}/orders/{order}/licensePool` |

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