Class LicenseConfigServiceGrpc.LicenseConfigServiceFutureStub (0.90.0)

public static final class LicenseConfigServiceGrpc.LicenseConfigServiceFutureStub extends AbstractFutureStub<LicenseConfigServiceGrpc.LicenseConfigServiceFutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service LicenseConfigService.

Service for managing license config related resources.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > LicenseConfigServiceGrpc.LicenseConfigServiceFutureStub

Methods

build(Channel channel, CallOptions callOptions)

protected LicenseConfigServiceGrpc.LicenseConfigServiceFutureStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
LicenseConfigServiceGrpc.LicenseConfigServiceFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createLicenseConfig(CreateLicenseConfigRequest request)

public ListenableFuture<LicenseConfig> createLicenseConfig(CreateLicenseConfigRequest request)

Creates a LicenseConfig This method should only be used for creating NotebookLm licenses or Gemini Enterprise free trial licenses.

Parameter
Name Description
request CreateLicenseConfigRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<LicenseConfig>

distributeLicenseConfig(DistributeLicenseConfigRequest request)

public ListenableFuture<DistributeLicenseConfigResponse> distributeLicenseConfig(DistributeLicenseConfigRequest request)

Distributes a LicenseConfig from billing account level to project level.

Parameter
Name Description
request DistributeLicenseConfigRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<DistributeLicenseConfigResponse>

getLicenseConfig(GetLicenseConfigRequest request)

public ListenableFuture<LicenseConfig> getLicenseConfig(GetLicenseConfigRequest request)

Gets a LicenseConfig.

Parameter
Name Description
request GetLicenseConfigRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<LicenseConfig>

listLicenseConfigs(ListLicenseConfigsRequest request)

public ListenableFuture<ListLicenseConfigsResponse> listLicenseConfigs(ListLicenseConfigsRequest request)

Lists all the LicenseConfigs associated with the project.

Parameter
Name Description
request ListLicenseConfigsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListLicenseConfigsResponse>

retractLicenseConfig(RetractLicenseConfigRequest request)

public ListenableFuture<RetractLicenseConfigResponse> retractLicenseConfig(RetractLicenseConfigRequest request)

This method is called from the billing account side to retract the LicenseConfig from the given project back to the billing account.

Parameter
Name Description
request RetractLicenseConfigRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<RetractLicenseConfigResponse>

updateLicenseConfig(UpdateLicenseConfigRequest request)

public ListenableFuture<LicenseConfig> updateLicenseConfig(UpdateLicenseConfigRequest request)

Updates the LicenseConfig

Parameter
Name Description
request UpdateLicenseConfigRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<LicenseConfig>