1.0.0-beta25 (latest) 1.0.0-beta24

    [BindServiceMethod(typeof(LicenseConfigService), "BindService")]
    public abstract class LicenseConfigService.LicenseConfigServiceBase

Reference documentation and code samples for the Discovery Engine v1beta API class LicenseConfigService.LicenseConfigServiceBase.

Base class for server-side implementations of LicenseConfigService

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> LicenseConfigService.LicenseConfigServiceBase

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.DiscoveryEngine.V1Beta](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta)

## Assembly

Google.Cloud.DiscoveryEngine.V1Beta.dll

## Methods

### CreateLicenseConfig(CreateLicenseConfigRequest, ServerCallContext)

    public virtual Task<LicenseConfig> CreateLicenseConfig(CreateLicenseConfigRequest request, ServerCallContext context)

Creates a
\[LicenseConfig\]\[google.cloud.discoveryengine.v1beta.LicenseConfig\] This
method should only be used for creating NotebookLm licenses or Gemini
Enterprise free trial licenses.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.CreateLicenseConfigRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfig` | The response to send back to the client (wrapped by a task). |

### DistributeLicenseConfig(DistributeLicenseConfigRequest, ServerCallContext)

    public virtual Task<DistributeLicenseConfigResponse> DistributeLicenseConfig(DistributeLicenseConfigRequest request, ServerCallContext context)

Distributes a
\[LicenseConfig\]\[google.cloud.discoveryengine.v1beta.LicenseConfig\] from
billing account level to project level.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.DistributeLicenseConfigRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.DistributeLicenseConfigResponse` | The response to send back to the client (wrapped by a task). |

### GetLicenseConfig(GetLicenseConfigRequest, ServerCallContext)

    public virtual Task<LicenseConfig> GetLicenseConfig(GetLicenseConfigRequest request, ServerCallContext context)

Gets a \[LicenseConfig\]\[google.cloud.discoveryengine.v1beta.LicenseConfig\].

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.GetLicenseConfigRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfig` | The response to send back to the client (wrapped by a task). |

### ListLicenseConfigs(ListLicenseConfigsRequest, ServerCallContext)

    public virtual Task<ListLicenseConfigsResponse> ListLicenseConfigs(ListLicenseConfigsRequest request, ServerCallContext context)

Lists all the
\[LicenseConfig\]\[google.cloud.discoveryengine.v1beta.LicenseConfig\]s
associated with the project.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ListLicenseConfigsRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ListLicenseConfigsResponse` | The response to send back to the client (wrapped by a task). |

### RetractLicenseConfig(RetractLicenseConfigRequest, ServerCallContext)

    public virtual Task<RetractLicenseConfigResponse> RetractLicenseConfig(RetractLicenseConfigRequest request, ServerCallContext context)

This method is called from the billing account side to retract the
\[LicenseConfig\]\[google.cloud.discoveryengine.v1beta.LicenseConfig\] from the
given project back to the billing account.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.RetractLicenseConfigRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.RetractLicenseConfigResponse` | The response to send back to the client (wrapped by a task). |

### UpdateLicenseConfig(UpdateLicenseConfigRequest, ServerCallContext)

    public virtual Task<LicenseConfig> UpdateLicenseConfig(UpdateLicenseConfigRequest request, ServerCallContext context)

Updates the
\[LicenseConfig\]\[google.cloud.discoveryengine.v1beta.LicenseConfig\]

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.UpdateLicenseConfigRequest` The request received from the client. |
| `context` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ServerCallContext.html` The context of the server-side call handler being invoked. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.LicenseConfig` | The response to send back to the client (wrapped by a task). |