Class SubscriptionsServiceGrpc.SubscriptionsServiceStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<SubscriptionsServiceGrpc.SubscriptionsServiceStub>
com.google.apps.events.subscriptions.v1.SubscriptionsServiceGrpc.SubscriptionsServiceStub
- Enclosing class:
- SubscriptionsServiceGrpc
public static final class SubscriptionsServiceGrpc.SubscriptionsServiceStub
extends io.grpc.stub.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.
-
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 TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) voidcreateSubscription(CreateSubscriptionRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Creates a Google Workspace subscription.voiddeleteSubscription(DeleteSubscriptionRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Deletes a Google Workspace subscription.voidgetSubscription(GetSubscriptionRequest request, io.grpc.stub.StreamObserver<Subscription> responseObserver) Gets details about a Google Workspace subscription.voidlistSubscriptions(ListSubscriptionsRequest request, io.grpc.stub.StreamObserver<ListSubscriptionsResponse> responseObserver) Lists Google Workspace subscriptions.voidreactivateSubscription(ReactivateSubscriptionRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Reactivates a suspended Google Workspace subscription.voidupdateSubscription(UpdateSubscriptionRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Updates or renews a Google Workspace subscription.Methods inherited from class io.grpc.stub.AbstractAsyncStub
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 SubscriptionsServiceGrpc.SubscriptionsServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<SubscriptionsServiceGrpc.SubscriptionsServiceStub>
-
createSubscription
public void createSubscription(CreateSubscriptionRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Creates a Google Workspace subscription. To learn how to use this method, see [Create a Google Workspace subscription](https://developers.google.com/workspace/events/guides/create-subscription).
-
deleteSubscription
public void deleteSubscription(DeleteSubscriptionRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Deletes a Google Workspace subscription. To learn how to use this method, see [Delete a Google Workspace subscription](https://developers.google.com/workspace/events/guides/delete-subscription).
-
getSubscription
public void getSubscription(GetSubscriptionRequest request, io.grpc.stub.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](https://developers.google.com/workspace/events/guides/get-subscription).
-
listSubscriptions
public void listSubscriptions(ListSubscriptionsRequest request, io.grpc.stub.StreamObserver<ListSubscriptionsResponse> responseObserver) Lists Google Workspace subscriptions. To learn how to use this method, see [List Google Workspace subscriptions](https://developers.google.com/workspace/events/guides/list-subscriptions).
-
updateSubscription
public void updateSubscription(UpdateSubscriptionRequest request, io.grpc.stub.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](https://developers.google.com/workspace/events/guides/update-subscription).
-
reactivateSubscription
public void reactivateSubscription(ReactivateSubscriptionRequest request, io.grpc.stub.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](https://developers.google.com/workspace/events/guides/reactivate-subscription).
-