Interface LicenseConfigServiceGrpc.AsyncService (0.90.0)

public static interface LicenseConfigServiceGrpc.AsyncService

Service for managing license config related resources.

Methods

createLicenseConfig(CreateLicenseConfigRequest request, StreamObserver<LicenseConfig> responseObserver)

public default 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 default 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 default 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 default 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 default 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 default void updateLicenseConfig(UpdateLicenseConfigRequest request, StreamObserver<LicenseConfig> responseObserver)

Updates the LicenseConfig

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