Class LicenseManagementServiceGrpc.LicenseManagementServiceBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<LicenseManagementServiceGrpc.LicenseManagementServiceBlockingV2Stub>
com.google.cloud.commerce.consumer.procurement.v1.LicenseManagementServiceGrpc.LicenseManagementServiceBlockingV2Stub
- Enclosing class:
- LicenseManagementServiceGrpc
public static final class LicenseManagementServiceGrpc.LicenseManagementServiceBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<LicenseManagementServiceGrpc.LicenseManagementServiceBlockingV2Stub>
A stub to allow clients to do synchronous rpc calls to service LicenseManagementService.
Service for managing licenses.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionassign(AssignRequest request) Assigns a license to a user.build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) Enumerates all users assigned a license.getLicensePool(GetLicensePoolRequest request) Gets the license pool.unassign(UnassignRequest request) Unassigns a license from a user.Updates the license pool if one exists for this Order.Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected LicenseManagementServiceGrpc.LicenseManagementServiceBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<LicenseManagementServiceGrpc.LicenseManagementServiceBlockingV2Stub>
-
getLicensePool
Gets the license pool.
- Throws:
io.grpc.StatusException
-
updateLicensePool
public LicensePool updateLicensePool(UpdateLicensePoolRequest request) throws io.grpc.StatusException Updates the license pool if one exists for this Order.
- Throws:
io.grpc.StatusException
-
assign
Assigns a license to a user.
- Throws:
io.grpc.StatusException
-
unassign
Unassigns a license from a user.
- Throws:
io.grpc.StatusException
-
enumerateLicensedUsers
public EnumerateLicensedUsersResponse enumerateLicensedUsers(EnumerateLicensedUsersRequest request) throws io.grpc.StatusException Enumerates all users assigned a license.
- Throws:
io.grpc.StatusException
-