Class LicenseConfigServiceGrpc.LicenseConfigServiceStub (0.90.0)

public static final class LicenseConfigServiceGrpc.LicenseConfigServiceStub extends AbstractAsyncStub<LicenseConfigServiceGrpc.LicenseConfigServiceStub>

A stub to allow clients to do asynchronous rpc calls to service LicenseConfigService.

Service for managing license config related resources.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > LicenseConfigServiceGrpc.LicenseConfigServiceStub

Methods

build(Channel channel, CallOptions callOptions)

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

createLicenseConfig(CreateLicenseConfigRequest request, StreamObserver<LicenseConfig> responseObserver)

public void createLicenseConfig(CreateLicenseConfigRequest request, StreamObserver<LicenseConfig> responseObserver)

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

Parameters
Name Description
request CreateLicenseConfigRequest
responseObserver io.grpc.stub.StreamObserver<LicenseConfig>

distributeLicenseConfig(DistributeLicenseConfigRequest request, StreamObserver<DistributeLicenseConfigResponse> responseObserver)

public void distributeLicenseConfig(DistributeLicenseConfigRequest request, StreamObserver<DistributeLicenseConfigResponse> responseObserver)

Distributes a LicenseConfig from billing account level to project level.

Parameters
Name Description
request DistributeLicenseConfigRequest
responseObserver io.grpc.stub.StreamObserver<DistributeLicenseConfigResponse>

getLicenseConfig(GetLicenseConfigRequest request, StreamObserver<LicenseConfig> responseObserver)

public void getLicenseConfig(GetLicenseConfigRequest request, StreamObserver<LicenseConfig> responseObserver)

Gets a LicenseConfig.

Parameters
Name Description
request GetLicenseConfigRequest
responseObserver io.grpc.stub.StreamObserver<LicenseConfig>

listLicenseConfigs(ListLicenseConfigsRequest request, StreamObserver<ListLicenseConfigsResponse> responseObserver)

public void listLicenseConfigs(ListLicenseConfigsRequest request, StreamObserver<ListLicenseConfigsResponse> responseObserver)

Lists all the LicenseConfigs associated with the project.

Parameters
Name Description
request ListLicenseConfigsRequest
responseObserver io.grpc.stub.StreamObserver<ListLicenseConfigsResponse>

retractLicenseConfig(RetractLicenseConfigRequest request, StreamObserver<RetractLicenseConfigResponse> responseObserver)

public void retractLicenseConfig(RetractLicenseConfigRequest request, StreamObserver<RetractLicenseConfigResponse> responseObserver)

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

Parameters
Name Description
request RetractLicenseConfigRequest
responseObserver io.grpc.stub.StreamObserver<RetractLicenseConfigResponse>

updateLicenseConfig(UpdateLicenseConfigRequest request, StreamObserver<LicenseConfig> responseObserver)

public void updateLicenseConfig(UpdateLicenseConfigRequest request, StreamObserver<LicenseConfig> responseObserver)

Updates the LicenseConfig

Parameters
Name Description
request UpdateLicenseConfigRequest
responseObserver io.grpc.stub.StreamObserver<LicenseConfig>