# Google Cloud License Manager V1 Client - Class Configuration (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 Configuration.

Configuration for a Google SPLA product

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

## Namespace

Google \\ Cloud \\ LicenseManager \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Identifier. name of resource |
| `↳ display_name` | `string` Required. User given name. |
| `↳ product` | `string` Required. Name field (with URL) of the Product offered for SPLA. |
| `↳ license_type` | `int` Required. LicenseType to be applied for billing |
| `↳ current_billing_info` | `https://docs.cloud.google.com/php/docs/reference/cloud-licensemanager/latest/V1.BillingInfo` Required. Billing information applicable till end of the current month. |
| `↳ next_billing_info` | `https://docs.cloud.google.com/php/docs/reference/cloud-licensemanager/latest/V1.BillingInfo` Required. Billing information applicable for next month. |
| `↳ create_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` Output only. \[Output only\] Create time stamp |
| `↳ update_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` Output only. \[Output only\] Update time stamp |
| `↳ labels` | `array|https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` Optional. Labels as key value pairs |
| `↳ state` | `int` Output only. State of the configuration. |

### getName

Identifier. name of resource

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

### setName

Identifier. name of resource

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

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

### getDisplayName

Required. User given name.

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

### setDisplayName

Required. User given name.

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

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

### getProduct

Required. Name field (with URL) of the Product offered for SPLA.

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

### setProduct

Required. Name field (with URL) of the Product offered for SPLA.

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

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

### getLicenseType

Required. LicenseType to be applied for billing

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [LicenseType](https://docs.cloud.google.com/php/docs/reference/cloud-licensemanager/latest/V1.LicenseType). |

### setLicenseType

Required. LicenseType to be applied for billing

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [LicenseType](https://docs.cloud.google.com/php/docs/reference/cloud-licensemanager/latest/V1.LicenseType). |

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

### getCurrentBillingInfo

Required. Billing information applicable till end of the current month.

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

### hasCurrentBillingInfo

### clearCurrentBillingInfo

### setCurrentBillingInfo

Required. Billing information applicable till end of the current month.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-licensemanager/latest/V1.BillingInfo` |

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

### getNextBillingInfo

Required. Billing information applicable for next month.

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

### hasNextBillingInfo

### clearNextBillingInfo

### setNextBillingInfo

Required. Billing information applicable for next month.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-licensemanager/latest/V1.BillingInfo` |

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

### getCreateTime

Output only. \[Output only\] Create time stamp

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

### hasCreateTime

### clearCreateTime

### setCreateTime

Output only. \[Output only\] Create time stamp

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

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

### getUpdateTime

Output only. \[Output only\] Update time stamp

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

### hasUpdateTime

### clearUpdateTime

### setUpdateTime

Output only. \[Output only\] Update time stamp

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

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

### getLabels

Optional. Labels as key value pairs

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

### setLabels

Optional. Labels as key value pairs

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

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

### getState

Output only. State of the configuration.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [State](https://docs.cloud.google.com/php/docs/reference/cloud-licensemanager/latest/V1.Configuration.State). |

### setState

Output only. State of the configuration.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [State](https://docs.cloud.google.com/php/docs/reference/cloud-licensemanager/latest/V1.Configuration.State). |

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