public sealed class LicenseConfigServiceClientImpl : LicenseConfigServiceClientReference documentation and code samples for the Discovery Engine v1beta API class LicenseConfigServiceClientImpl.
LicenseConfigService client wrapper implementation, for convenient use.
Namespace
Google.Cloud.DiscoveryEngine.V1BetaAssembly
Google.Cloud.DiscoveryEngine.V1Beta.dll
Remarks
Service for managing license config related resources.
Constructors
LicenseConfigServiceClientImpl(LicenseConfigServiceClient, LicenseConfigServiceSettings, ILogger)
public LicenseConfigServiceClientImpl(LicenseConfigService.LicenseConfigServiceClient grpcClient, LicenseConfigServiceSettings settings, ILogger logger)Constructs a client wrapper for the LicenseConfigService service, with the specified gRPC client and settings.
| Parameters | |
|---|---|
| Name | Description |
grpcClient |
LicenseConfigServiceLicenseConfigServiceClientThe underlying gRPC client. |
settings |
LicenseConfigServiceSettingsThe base LicenseConfigServiceSettings used within this client. |
logger |
ILoggerOptional ILogger to use within this client. |
Properties
GrpcClient
public override LicenseConfigService.LicenseConfigServiceClient GrpcClient { get; }The underlying gRPC LicenseConfigService client
| Property Value | |
|---|---|
| Type | Description |
LicenseConfigServiceLicenseConfigServiceClient |
|
LocationsClient
public override LocationsClient LocationsClient { get; }The LocationsClient associated with this client.
| Property Value | |
|---|---|
| Type | Description |
LocationsClient |
|
Methods
CreateLicenseConfig(CreateLicenseConfigRequest, CallSettings)
public override LicenseConfig CreateLicenseConfig(CreateLicenseConfigRequest request, CallSettings callSettings = null)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 object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
LicenseConfig |
The RPC response. |
CreateLicenseConfigAsync(CreateLicenseConfigRequest, CallSettings)
public override Task<LicenseConfig> CreateLicenseConfigAsync(CreateLicenseConfigRequest request, CallSettings callSettings = null)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 object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskLicenseConfig |
A Task containing the RPC response. |
DistributeLicenseConfig(DistributeLicenseConfigRequest, CallSettings)
public override DistributeLicenseConfigResponse DistributeLicenseConfig(DistributeLicenseConfigRequest request, CallSettings callSettings = null)Distributes a [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] from billing account level to project level.
| Parameters | |
|---|---|
| Name | Description |
request |
DistributeLicenseConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
DistributeLicenseConfigResponse |
The RPC response. |
DistributeLicenseConfigAsync(DistributeLicenseConfigRequest, CallSettings)
public override Task<DistributeLicenseConfigResponse> DistributeLicenseConfigAsync(DistributeLicenseConfigRequest request, CallSettings callSettings = null)Distributes a [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] from billing account level to project level.
| Parameters | |
|---|---|
| Name | Description |
request |
DistributeLicenseConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskDistributeLicenseConfigResponse |
A Task containing the RPC response. |
GetLicenseConfig(GetLicenseConfigRequest, CallSettings)
public override LicenseConfig GetLicenseConfig(GetLicenseConfigRequest request, CallSettings callSettings = null)Gets a [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig].
| Parameters | |
|---|---|
| Name | Description |
request |
GetLicenseConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
LicenseConfig |
The RPC response. |
GetLicenseConfigAsync(GetLicenseConfigRequest, CallSettings)
public override Task<LicenseConfig> GetLicenseConfigAsync(GetLicenseConfigRequest request, CallSettings callSettings = null)Gets a [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig].
| Parameters | |
|---|---|
| Name | Description |
request |
GetLicenseConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskLicenseConfig |
A Task containing the RPC response. |
ListLicenseConfigs(ListLicenseConfigsRequest, CallSettings)
public override PagedEnumerable<ListLicenseConfigsResponse, LicenseConfig> ListLicenseConfigs(ListLicenseConfigsRequest request, CallSettings callSettings = null)Lists all the [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig]s associated with the project.
| Parameters | |
|---|---|
| Name | Description |
request |
ListLicenseConfigsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListLicenseConfigsResponseLicenseConfig |
A pageable sequence of LicenseConfig resources. |
ListLicenseConfigsAsync(ListLicenseConfigsRequest, CallSettings)
public override PagedAsyncEnumerable<ListLicenseConfigsResponse, LicenseConfig> ListLicenseConfigsAsync(ListLicenseConfigsRequest request, CallSettings callSettings = null)Lists all the [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig]s associated with the project.
| Parameters | |
|---|---|
| Name | Description |
request |
ListLicenseConfigsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListLicenseConfigsResponseLicenseConfig |
A pageable asynchronous sequence of LicenseConfig resources. |
RetractLicenseConfig(RetractLicenseConfigRequest, CallSettings)
public override RetractLicenseConfigResponse RetractLicenseConfig(RetractLicenseConfigRequest request, CallSettings callSettings = null)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 object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
RetractLicenseConfigResponse |
The RPC response. |
RetractLicenseConfigAsync(RetractLicenseConfigRequest, CallSettings)
public override Task<RetractLicenseConfigResponse> RetractLicenseConfigAsync(RetractLicenseConfigRequest request, CallSettings callSettings = null)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 object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskRetractLicenseConfigResponse |
A Task containing the RPC response. |
UpdateLicenseConfig(UpdateLicenseConfigRequest, CallSettings)
public override LicenseConfig UpdateLicenseConfig(UpdateLicenseConfigRequest request, CallSettings callSettings = null)Updates the [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig]
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateLicenseConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
LicenseConfig |
The RPC response. |
UpdateLicenseConfigAsync(UpdateLicenseConfigRequest, CallSettings)
public override Task<LicenseConfig> UpdateLicenseConfigAsync(UpdateLicenseConfigRequest request, CallSettings callSettings = null)Updates the [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig]
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateLicenseConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskLicenseConfig |
A Task containing the RPC response. |