public class LicenseConfigService.LicenseConfigServiceClient : ClientBase<LicenseConfigService.LicenseConfigServiceClient>Reference documentation and code samples for the Discovery Engine v1beta API class LicenseConfigService.LicenseConfigServiceClient.
Client for LicenseConfigService
Inheritance
object > ClientBase > ClientBaseLicenseConfigServiceLicenseConfigServiceClient > LicenseConfigService.LicenseConfigServiceClientNamespace
Google.Cloud.DiscoveryEngine.V1BetaAssembly
Google.Cloud.DiscoveryEngine.V1Beta.dll
Constructors
LicenseConfigServiceClient()
protected LicenseConfigServiceClient()Protected parameterless constructor to allow creation of test doubles.
LicenseConfigServiceClient(CallInvoker)
public LicenseConfigServiceClient(CallInvoker callInvoker)Creates a new client for LicenseConfigService that uses a custom CallInvoker.
| Parameter | |
|---|---|
| Name | Description |
callInvoker |
CallInvokerThe callInvoker to use to make remote calls. |
LicenseConfigServiceClient(ChannelBase)
public LicenseConfigServiceClient(ChannelBase channel)Creates a new client for LicenseConfigService
| Parameter | |
|---|---|
| Name | Description |
channel |
ChannelBaseThe channel to use to make remote calls. |
LicenseConfigServiceClient(ClientBaseConfiguration)
protected LicenseConfigServiceClient(ClientBase.ClientBaseConfiguration configuration)Protected constructor to allow creation of configured clients.
| Parameter | |
|---|---|
| Name | Description |
configuration |
ClientBaseClientBaseConfigurationThe client configuration. |
Methods
CreateLicenseConfig(CreateLicenseConfigRequest, CallOptions)
public virtual LicenseConfig CreateLicenseConfig(CreateLicenseConfigRequest request, CallOptions options)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 to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
LicenseConfig |
The response received from the server. |
CreateLicenseConfig(CreateLicenseConfigRequest, Metadata, DateTime?, CancellationToken)
public virtual LicenseConfig CreateLicenseConfig(CreateLicenseConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)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 to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
LicenseConfig |
The response received from the server. |
CreateLicenseConfigAsync(CreateLicenseConfigRequest, CallOptions)
public virtual AsyncUnaryCall<LicenseConfig> CreateLicenseConfigAsync(CreateLicenseConfigRequest request, CallOptions options)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 to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallLicenseConfig |
The call object. |
CreateLicenseConfigAsync(CreateLicenseConfigRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<LicenseConfig> CreateLicenseConfigAsync(CreateLicenseConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)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 to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallLicenseConfig |
The call object. |
CreateLocationsClient()
public virtual Locations.LocationsClient CreateLocationsClient()Creates a new instance of Locations.LocationsClient using the same call invoker as this client.
| Returns | |
|---|---|
| Type | Description |
LocationsLocationsClient |
A new Locations.LocationsClient for the same target as this client. |
DistributeLicenseConfig(DistributeLicenseConfigRequest, CallOptions)
public virtual DistributeLicenseConfigResponse DistributeLicenseConfig(DistributeLicenseConfigRequest request, CallOptions options)Distributes a [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] from billing account level to project level.
| Parameters | |
|---|---|
| Name | Description |
request |
DistributeLicenseConfigRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
DistributeLicenseConfigResponse |
The response received from the server. |
DistributeLicenseConfig(DistributeLicenseConfigRequest, Metadata, DateTime?, CancellationToken)
public virtual DistributeLicenseConfigResponse DistributeLicenseConfig(DistributeLicenseConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Distributes a [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] from billing account level to project level.
| Parameters | |
|---|---|
| Name | Description |
request |
DistributeLicenseConfigRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
DistributeLicenseConfigResponse |
The response received from the server. |
DistributeLicenseConfigAsync(DistributeLicenseConfigRequest, CallOptions)
public virtual AsyncUnaryCall<DistributeLicenseConfigResponse> DistributeLicenseConfigAsync(DistributeLicenseConfigRequest request, CallOptions options)Distributes a [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] from billing account level to project level.
| Parameters | |
|---|---|
| Name | Description |
request |
DistributeLicenseConfigRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallDistributeLicenseConfigResponse |
The call object. |
DistributeLicenseConfigAsync(DistributeLicenseConfigRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<DistributeLicenseConfigResponse> DistributeLicenseConfigAsync(DistributeLicenseConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Distributes a [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig] from billing account level to project level.
| Parameters | |
|---|---|
| Name | Description |
request |
DistributeLicenseConfigRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallDistributeLicenseConfigResponse |
The call object. |
GetLicenseConfig(GetLicenseConfigRequest, CallOptions)
public virtual LicenseConfig GetLicenseConfig(GetLicenseConfigRequest request, CallOptions options)Gets a [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig].
| Parameters | |
|---|---|
| Name | Description |
request |
GetLicenseConfigRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
LicenseConfig |
The response received from the server. |
GetLicenseConfig(GetLicenseConfigRequest, Metadata, DateTime?, CancellationToken)
public virtual LicenseConfig GetLicenseConfig(GetLicenseConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Gets a [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig].
| Parameters | |
|---|---|
| Name | Description |
request |
GetLicenseConfigRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
LicenseConfig |
The response received from the server. |
GetLicenseConfigAsync(GetLicenseConfigRequest, CallOptions)
public virtual AsyncUnaryCall<LicenseConfig> GetLicenseConfigAsync(GetLicenseConfigRequest request, CallOptions options)Gets a [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig].
| Parameters | |
|---|---|
| Name | Description |
request |
GetLicenseConfigRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallLicenseConfig |
The call object. |
GetLicenseConfigAsync(GetLicenseConfigRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<LicenseConfig> GetLicenseConfigAsync(GetLicenseConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Gets a [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig].
| Parameters | |
|---|---|
| Name | Description |
request |
GetLicenseConfigRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallLicenseConfig |
The call object. |
ListLicenseConfigs(ListLicenseConfigsRequest, CallOptions)
public virtual ListLicenseConfigsResponse ListLicenseConfigs(ListLicenseConfigsRequest request, CallOptions options)Lists all the [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig]s associated with the project.
| Parameters | |
|---|---|
| Name | Description |
request |
ListLicenseConfigsRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
ListLicenseConfigsResponse |
The response received from the server. |
ListLicenseConfigs(ListLicenseConfigsRequest, Metadata, DateTime?, CancellationToken)
public virtual ListLicenseConfigsResponse ListLicenseConfigs(ListLicenseConfigsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Lists all the [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig]s associated with the project.
| Parameters | |
|---|---|
| Name | Description |
request |
ListLicenseConfigsRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
ListLicenseConfigsResponse |
The response received from the server. |
ListLicenseConfigsAsync(ListLicenseConfigsRequest, CallOptions)
public virtual AsyncUnaryCall<ListLicenseConfigsResponse> ListLicenseConfigsAsync(ListLicenseConfigsRequest request, CallOptions options)Lists all the [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig]s associated with the project.
| Parameters | |
|---|---|
| Name | Description |
request |
ListLicenseConfigsRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallListLicenseConfigsResponse |
The call object. |
ListLicenseConfigsAsync(ListLicenseConfigsRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<ListLicenseConfigsResponse> ListLicenseConfigsAsync(ListLicenseConfigsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Lists all the [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig]s associated with the project.
| Parameters | |
|---|---|
| Name | Description |
request |
ListLicenseConfigsRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallListLicenseConfigsResponse |
The call object. |
NewInstance(ClientBaseConfiguration)
protected override LicenseConfigService.LicenseConfigServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)Creates a new instance of client from given ClientBaseConfiguration.
| Parameter | |
|---|---|
| Name | Description |
configuration |
ClientBaseClientBaseConfiguration |
| Returns | |
|---|---|
| Type | Description |
LicenseConfigServiceLicenseConfigServiceClient |
|
RetractLicenseConfig(RetractLicenseConfigRequest, CallOptions)
public virtual RetractLicenseConfigResponse RetractLicenseConfig(RetractLicenseConfigRequest request, CallOptions options)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 to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
RetractLicenseConfigResponse |
The response received from the server. |
RetractLicenseConfig(RetractLicenseConfigRequest, Metadata, DateTime?, CancellationToken)
public virtual RetractLicenseConfigResponse RetractLicenseConfig(RetractLicenseConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)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 to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
RetractLicenseConfigResponse |
The response received from the server. |
RetractLicenseConfigAsync(RetractLicenseConfigRequest, CallOptions)
public virtual AsyncUnaryCall<RetractLicenseConfigResponse> RetractLicenseConfigAsync(RetractLicenseConfigRequest request, CallOptions options)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 to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallRetractLicenseConfigResponse |
The call object. |
RetractLicenseConfigAsync(RetractLicenseConfigRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<RetractLicenseConfigResponse> RetractLicenseConfigAsync(RetractLicenseConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)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 to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallRetractLicenseConfigResponse |
The call object. |
UpdateLicenseConfig(UpdateLicenseConfigRequest, CallOptions)
public virtual LicenseConfig UpdateLicenseConfig(UpdateLicenseConfigRequest request, CallOptions options)Updates the [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig]
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateLicenseConfigRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
LicenseConfig |
The response received from the server. |
UpdateLicenseConfig(UpdateLicenseConfigRequest, Metadata, DateTime?, CancellationToken)
public virtual LicenseConfig UpdateLicenseConfig(UpdateLicenseConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Updates the [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig]
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateLicenseConfigRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
LicenseConfig |
The response received from the server. |
UpdateLicenseConfigAsync(UpdateLicenseConfigRequest, CallOptions)
public virtual AsyncUnaryCall<LicenseConfig> UpdateLicenseConfigAsync(UpdateLicenseConfigRequest request, CallOptions options)Updates the [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig]
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateLicenseConfigRequestThe request to send to the server. |
options |
CallOptionsThe options for the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallLicenseConfig |
The call object. |
UpdateLicenseConfigAsync(UpdateLicenseConfigRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<LicenseConfig> UpdateLicenseConfigAsync(UpdateLicenseConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)Updates the [LicenseConfig][google.cloud.discoveryengine.v1beta.LicenseConfig]
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateLicenseConfigRequestThe request to send to the server. |
headers |
MetadataThe initial metadata to send with the call. This parameter is optional. |
deadline |
System.DateTimeAn optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationTokenAn optional token for canceling the call. |
| Returns | |
|---|---|
| Type | Description |
AsyncUnaryCallLicenseConfig |
The call object. |