[BindServiceMethod(typeof(LicenseConfigService), "BindService")]
public abstract class LicenseConfigService.LicenseConfigServiceBaseReference documentation and code samples for the Discovery Engine v1beta API class LicenseConfigService.LicenseConfigServiceBase.
Base class for server-side implementations of LicenseConfigService
Namespace
Google.Cloud.DiscoveryEngine.V1BetaAssembly
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 |
CreateLicenseConfigRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskLicenseConfig |
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 |
DistributeLicenseConfigRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskDistributeLicenseConfigResponse |
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 |
GetLicenseConfigRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskLicenseConfig |
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 |
ListLicenseConfigsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListLicenseConfigsResponse |
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 |
RetractLicenseConfigRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskRetractLicenseConfigResponse |
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 |
UpdateLicenseConfigRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskLicenseConfig |
The response to send back to the client (wrapped by a task). |