public static final class SubscriptionsServiceGrpc.SubscriptionsServiceStub extends AbstractAsyncStub<SubscriptionsServiceGrpc.SubscriptionsServiceStub>
A stub to allow clients to do asynchronous rpc calls to service SubscriptionsService.
A service that manages subscriptions to Google Workspace events.
Inheritance
java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > SubscriptionsServiceGrpc.SubscriptionsServiceStubMethods
build(Channel channel, CallOptions callOptions)
protected SubscriptionsServiceGrpc.SubscriptionsServiceStub build(Channel channel, CallOptions callOptions)
Parameters | |
---|---|
Name | Description |
channel |
io.grpc.Channel |
callOptions |
io.grpc.CallOptions |
Returns | |
---|---|
Type | Description |
SubscriptionsServiceGrpc.SubscriptionsServiceStub |
createSubscription(CreateSubscriptionRequest request, StreamObserver<Operation> responseObserver)
public void createSubscription(CreateSubscriptionRequest request, StreamObserver<Operation> responseObserver)
Creates a Google Workspace subscription. To learn how to use this method, see Create a Google Workspace subscription.
Parameters | |
---|---|
Name | Description |
request |
CreateSubscriptionRequest |
responseObserver |
io.grpc.stub.StreamObserver<Operation> |
deleteSubscription(DeleteSubscriptionRequest request, StreamObserver<Operation> responseObserver)
public void deleteSubscription(DeleteSubscriptionRequest request, StreamObserver<Operation> responseObserver)
Deletes a Google Workspace subscription. To learn how to use this method, see Delete a Google Workspace subscription.
Parameters | |
---|---|
Name | Description |
request |
DeleteSubscriptionRequest |
responseObserver |
io.grpc.stub.StreamObserver<Operation> |
getSubscription(GetSubscriptionRequest request, StreamObserver<Subscription> responseObserver)
public void getSubscription(GetSubscriptionRequest request, StreamObserver<Subscription> responseObserver)
Gets details about a Google Workspace subscription. To learn how to use this method, see Get details about a Google Workspace subscription.
Parameters | |
---|---|
Name | Description |
request |
GetSubscriptionRequest |
responseObserver |
io.grpc.stub.StreamObserver<Subscription> |
listSubscriptions(ListSubscriptionsRequest request, StreamObserver<ListSubscriptionsResponse> responseObserver)
public void listSubscriptions(ListSubscriptionsRequest request, StreamObserver<ListSubscriptionsResponse> responseObserver)
Lists Google Workspace subscriptions. To learn how to use this method, see List Google Workspace subscriptions.
Parameters | |
---|---|
Name | Description |
request |
ListSubscriptionsRequest |
responseObserver |
io.grpc.stub.StreamObserver<ListSubscriptionsResponse> |
reactivateSubscription(ReactivateSubscriptionRequest request, StreamObserver<Operation> responseObserver)
public void reactivateSubscription(ReactivateSubscriptionRequest request, StreamObserver<Operation> responseObserver)
Reactivates a suspended Google Workspace subscription.
This method resets your subscription's State
field to ACTIVE
. Before
you use this method, you must fix the error that suspended the
subscription. To learn how to use this method, see Reactivate a Google
Workspace
subscription.
Parameters | |
---|---|
Name | Description |
request |
ReactivateSubscriptionRequest |
responseObserver |
io.grpc.stub.StreamObserver<Operation> |
updateSubscription(UpdateSubscriptionRequest request, StreamObserver<Operation> responseObserver)
public void updateSubscription(UpdateSubscriptionRequest request, StreamObserver<Operation> responseObserver)
Updates or renews a Google Workspace subscription. To learn how to use this method, see Update or renew a Google Workspace subscription.
Parameters | |
---|---|
Name | Description |
request |
UpdateSubscriptionRequest |
responseObserver |
io.grpc.stub.StreamObserver<Operation> |