# Google Cloud License Manager V1 Client - Class QueryConfigurationLicenseUsageRequest (0.3.0)

0.3.0 (latest) 0.2.2 0.1.0 Reference documentation and code samples for the Google Cloud License Manager V1 Client class QueryConfigurationLicenseUsageRequest.

Message for requesting license usage per configuration.

Generated from protobuf message `google.cloud.licensemanager.v1.QueryConfigurationLicenseUsageRequest`

## Namespace

Google \\ Cloud \\ LicenseManager \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Required. The resource path of the Configuration. |
| `↳ start_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` Required. The start time for retrieving the usage. If not specified, we will use the first day of the current billing period. |
| `↳ end_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` Required. The end time for retrieving the usage. If not specified, we will use the last day of the current billing period. |

### getName

Required. The resource path of the Configuration.

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

### setName

Required. The resource path of the Configuration.

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

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

### getStartTime

Required. The start time for retrieving the usage. If not specified, we
will use the first day of the current billing period.

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

### hasStartTime

### clearStartTime

### setStartTime

Required. The start time for retrieving the usage. If not specified, we
will use the first day of the current billing period.

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

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

### getEndTime

Required. The end time for retrieving the usage. If not specified, we will
use the last day of the current billing period.

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

### hasEndTime

### clearEndTime

### setEndTime

Required. The end time for retrieving the usage. If not specified, we will
use the last day of the current billing period.

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

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

### static::build

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. The resource path of the Configuration. Please see LicenseManagerClient::configurationName() for help formatting this field. |
| `startTime` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` Required. The start time for retrieving the usage. If not specified, we will use the first day of the current billing period. |
| `endTime` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` Required. The end time for retrieving the usage. If not specified, we will use the last day of the current billing period. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-licensemanager/latest/V1.QueryConfigurationLicenseUsageRequest` |   |