Discovery Engine v1beta API - Class LicenseConfigService.LicenseConfigServiceBase (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 > LicenseConfigService.LicenseConfigServiceBase

Namespace

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 CreateLicenseConfigRequest

The request received from the client.

context ServerCallContext

The 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 DistributeLicenseConfigRequest

The request received from the client.

context ServerCallContext

The 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 GetLicenseConfigRequest

The request received from the client.

context ServerCallContext

The 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 ListLicenseConfigsRequest

The request received from the client.

context ServerCallContext

The 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 RetractLicenseConfigRequest

The request received from the client.

context ServerCallContext

The 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 UpdateLicenseConfigRequest

The request received from the client.

context ServerCallContext

The 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).