public static final class LicenseConfigServiceGrpc.LicenseConfigServiceBlockingV2Stub extends AbstractBlockingStub<LicenseConfigServiceGrpc.LicenseConfigServiceBlockingV2Stub>A stub to allow clients to do synchronous rpc calls to service LicenseConfigService.
Service for managing license config related resources.
Inheritance
java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > LicenseConfigServiceGrpc.LicenseConfigServiceBlockingV2StubMethods
build(Channel channel, CallOptions callOptions)
protected LicenseConfigServiceGrpc.LicenseConfigServiceBlockingV2Stub build(Channel channel, CallOptions callOptions)| Parameters | |
|---|---|
| Name | Description |
channel |
io.grpc.Channel |
callOptions |
io.grpc.CallOptions |
| Returns | |
|---|---|
| Type | Description |
LicenseConfigServiceGrpc.LicenseConfigServiceBlockingV2Stub |
|
createLicenseConfig(CreateLicenseConfigRequest request)
public 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 |
LicenseConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
io.grpc.StatusException |
|
distributeLicenseConfig(DistributeLicenseConfigRequest request)
public DistributeLicenseConfigResponse distributeLicenseConfig(DistributeLicenseConfigRequest request)Distributes a LicenseConfig from billing account level to project level.
| Parameter | |
|---|---|
| Name | Description |
request |
DistributeLicenseConfigRequest |
| Returns | |
|---|---|
| Type | Description |
DistributeLicenseConfigResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
io.grpc.StatusException |
|
getLicenseConfig(GetLicenseConfigRequest request)
public LicenseConfig getLicenseConfig(GetLicenseConfigRequest request)Gets a LicenseConfig.
| Parameter | |
|---|---|
| Name | Description |
request |
GetLicenseConfigRequest |
| Returns | |
|---|---|
| Type | Description |
LicenseConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
io.grpc.StatusException |
|
listLicenseConfigs(ListLicenseConfigsRequest request)
public ListLicenseConfigsResponse listLicenseConfigs(ListLicenseConfigsRequest request)Lists all the LicenseConfigs associated with the project.
| Parameter | |
|---|---|
| Name | Description |
request |
ListLicenseConfigsRequest |
| Returns | |
|---|---|
| Type | Description |
ListLicenseConfigsResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
io.grpc.StatusException |
|
retractLicenseConfig(RetractLicenseConfigRequest request)
public 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 |
RetractLicenseConfigResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
io.grpc.StatusException |
|
updateLicenseConfig(UpdateLicenseConfigRequest request)
public LicenseConfig updateLicenseConfig(UpdateLicenseConfigRequest request)Updates the LicenseConfig
| Parameter | |
|---|---|
| Name | Description |
request |
UpdateLicenseConfigRequest |
| Returns | |
|---|---|
| Type | Description |
LicenseConfig |
|
| Exceptions | |
|---|---|
| Type | Description |
io.grpc.StatusException |
|