Class UserLicenseServiceGrpc.UserLicenseServiceBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<UserLicenseServiceGrpc.UserLicenseServiceBlockingV2Stub>
com.google.cloud.discoveryengine.v1.UserLicenseServiceGrpc.UserLicenseServiceBlockingV2Stub
- Enclosing class:
- UserLicenseServiceGrpc
public static final class UserLicenseServiceGrpc.UserLicenseServiceBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<UserLicenseServiceGrpc.UserLicenseServiceBlockingV2Stub>
A stub to allow clients to do synchronous rpc calls to service UserLicenseService.
Service for managing User 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 TypeMethodDescriptionUpdates the User License.build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) listUserLicenses(ListUserLicensesRequest request) Lists the User Licenses.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 UserLicenseServiceGrpc.UserLicenseServiceBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<UserLicenseServiceGrpc.UserLicenseServiceBlockingV2Stub>
-
listUserLicenses
public ListUserLicensesResponse listUserLicenses(ListUserLicensesRequest request) throws io.grpc.StatusException Lists the User Licenses.
- Throws:
io.grpc.StatusException
-
batchUpdateUserLicenses
public Operation batchUpdateUserLicenses(BatchUpdateUserLicensesRequest request) throws io.grpc.StatusException Updates the User License. This method is used for batch assign/unassign licenses to users.
- Throws:
io.grpc.StatusException
-