3.8.0-rc 3.7.0 (latest) 3.6.0 3.5.0 3.4.0 3.3.0 3.2.0 2.48.0-rc 2.47.1 2.46.0 2.45.0 2.44.0 2.43.0 2.42.0 2.41.0 2.40.0 2.39.0 2.38.0 2.37.0 2.36.0 2.35.0 2.34.0 2.33.0 2.32.0 2.31.0 2.30.0 2.29.0 2.28.0 2.27.0 2.26.0 2.25.1 2.24.0 2.23.0 2.22.1 2.21.0 2.20.0 2.19.0 2.18.0 2.17.0 2.16.0 2.15.1 The [`LicensesConnection`](https://docs.cloud.google.com/cpp/docs/reference/compute/latest/classgoogle_1_1cloud_1_1compute__licenses__v1_1_1LicensesConnection) object for [`LicensesClient`](https://docs.cloud.google.com/cpp/docs/reference/compute/latest/classgoogle_1_1cloud_1_1compute__licenses__v1_1_1LicensesClient).
This interface defines virtual methods for each of the user-facing overload sets in [`LicensesClient`](https://docs.cloud.google.com/cpp/docs/reference/compute/latest/classgoogle_1_1cloud_1_1compute__licenses__v1_1_1LicensesClient). This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type [`LicensesClient`](https://docs.cloud.google.com/cpp/docs/reference/compute/latest/classgoogle_1_1cloud_1_1compute__licenses__v1_1_1LicensesClient).

To create a concrete instance, see `MakeLicensesConnection()`.

For mocking, see [`compute_licenses_v1_mocks::MockLicensesConnection`](https://docs.cloud.google.com/cpp/docs/reference/compute/latest/classgoogle_1_1cloud_1_1compute__licenses__v1__mocks_1_1MockLicensesConnection).

## Functions

### virtual options()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Options` |   |

### virtual DeleteLicense(google::cloud::cpp::compute::licenses::v1::DeleteLicenseRequest const \&)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::cpp::compute::licenses::v1::DeleteLicenseRequest const &` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::cpp::compute::v1::Operation > >` |   |

### virtual DeleteLicense(NoAwaitTag, google::cloud::cpp::compute::licenses::v1::DeleteLicenseRequest const \&)

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `request` | `google::cloud::cpp::compute::licenses::v1::DeleteLicenseRequest const &` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::cloud::cpp::compute::v1::Operation >` |   |

### virtual DeleteLicense(google::cloud::cpp::compute::v1::Operation const \&)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `operation` | `google::cloud::cpp::compute::v1::Operation const &` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::cpp::compute::v1::Operation > >` |   |

### virtual GetLicense(google::cloud::cpp::compute::licenses::v1::GetLicenseRequest const \&)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::cpp::compute::licenses::v1::GetLicenseRequest const &` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::cloud::cpp::compute::v1::License >` |   |

### virtual GetIamPolicy(google::cloud::cpp::compute::licenses::v1::GetIamPolicyRequest const \&)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::cpp::compute::licenses::v1::GetIamPolicyRequest const &` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::cloud::cpp::compute::v1::Policy >` |   |

### virtual InsertLicense(google::cloud::cpp::compute::licenses::v1::InsertLicenseRequest const \&)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::cpp::compute::licenses::v1::InsertLicenseRequest const &` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::cpp::compute::v1::Operation > >` |   |

### virtual InsertLicense(NoAwaitTag, google::cloud::cpp::compute::licenses::v1::InsertLicenseRequest const \&)

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `request` | `google::cloud::cpp::compute::licenses::v1::InsertLicenseRequest const &` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::cloud::cpp::compute::v1::Operation >` |   |

### virtual InsertLicense(google::cloud::cpp::compute::v1::Operation const \&)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `operation` | `google::cloud::cpp::compute::v1::Operation const &` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::cpp::compute::v1::Operation > >` |   |

### virtual ListLicenses(google::cloud::cpp::compute::licenses::v1::ListLicensesRequest)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::cpp::compute::licenses::v1::ListLicensesRequest` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StreamRange< google::cloud::cpp::compute::v1::License >` |   |

### virtual SetIamPolicy(google::cloud::cpp::compute::licenses::v1::SetIamPolicyRequest const \&)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::cpp::compute::licenses::v1::SetIamPolicyRequest const &` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::cloud::cpp::compute::v1::Policy >` |   |

### virtual TestIamPermissions(google::cloud::cpp::compute::licenses::v1::TestIamPermissionsRequest const \&)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::cpp::compute::licenses::v1::TestIamPermissionsRequest const &` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::cloud::cpp::compute::v1::TestPermissionsResponse >` |   |

### virtual UpdateLicense(google::cloud::cpp::compute::licenses::v1::UpdateLicenseRequest const \&)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `request` | `google::cloud::cpp::compute::licenses::v1::UpdateLicenseRequest const &` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::cpp::compute::v1::Operation > >` |   |

### virtual UpdateLicense(NoAwaitTag, google::cloud::cpp::compute::licenses::v1::UpdateLicenseRequest const \&)

| **Parameters** ||
|---|---|
| **Name** | **Description** |
|   | `NoAwaitTag` |
| `request` | `google::cloud::cpp::compute::licenses::v1::UpdateLicenseRequest const &` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `StatusOr< google::cloud::cpp::compute::v1::Operation >` |   |

### virtual UpdateLicense(google::cloud::cpp::compute::v1::Operation const \&)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `operation` | `google::cloud::cpp::compute::v1::Operation const &` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `future< StatusOr< google::cloud::cpp::compute::v1::Operation > >` |   |