Discovery Engine v1beta API - Class LicenseConfigServiceClientImpl (1.0.0-beta24)

public sealed class LicenseConfigServiceClientImpl : LicenseConfigServiceClient

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

LicenseConfigService client wrapper implementation, for convenient use.

Inheritance

object > LicenseConfigServiceClient > LicenseConfigServiceClientImpl

Namespace

Google.Cloud.DiscoveryEngine.V1Beta

Assembly

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 LicenseConfigServiceLicenseConfigServiceClient

The underlying gRPC client.

settings LicenseConfigServiceSettings

The base LicenseConfigServiceSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override LicenseConfigService.LicenseConfigServiceClient GrpcClient { get; }

The underlying gRPC LicenseConfigService client

Property Value
Type Description
LicenseConfigServiceLicenseConfigServiceClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
Type Description
LocationsClient
Overrides

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 CreateLicenseConfigRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
LicenseConfig

The RPC response.

Overrides

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 CreateLicenseConfigRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskLicenseConfig

A Task containing the RPC response.

Overrides

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 DistributeLicenseConfigRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
DistributeLicenseConfigResponse

The RPC response.

Overrides

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 DistributeLicenseConfigRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskDistributeLicenseConfigResponse

A Task containing the RPC response.

Overrides

GetLicenseConfig(GetLicenseConfigRequest, CallSettings)

public override LicenseConfig GetLicenseConfig(GetLicenseConfigRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request GetLicenseConfigRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
LicenseConfig

The RPC response.

Overrides

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 GetLicenseConfigRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskLicenseConfig

A Task containing the RPC response.

Overrides

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 ListLicenseConfigsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListLicenseConfigsResponseLicenseConfig

A pageable sequence of LicenseConfig resources.

Overrides

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 ListLicenseConfigsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListLicenseConfigsResponseLicenseConfig

A pageable asynchronous sequence of LicenseConfig resources.

Overrides

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 RetractLicenseConfigRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
RetractLicenseConfigResponse

The RPC response.

Overrides

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 RetractLicenseConfigRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskRetractLicenseConfigResponse

A Task containing the RPC response.

Overrides

UpdateLicenseConfig(UpdateLicenseConfigRequest, CallSettings)

public override LicenseConfig UpdateLicenseConfig(UpdateLicenseConfigRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request UpdateLicenseConfigRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
LicenseConfig

The RPC response.

Overrides

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 UpdateLicenseConfigRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskLicenseConfig

A Task containing the RPC response.

Overrides