Class SubscriptionsServiceGrpc.SubscriptionsServiceFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<SubscriptionsServiceGrpc.SubscriptionsServiceFutureStub>
com.google.apps.events.subscriptions.v1.SubscriptionsServiceGrpc.SubscriptionsServiceFutureStub
- Enclosing class:
- SubscriptionsServiceGrpc
public static final class SubscriptionsServiceGrpc.SubscriptionsServiceFutureStub
extends io.grpc.stub.AbstractFutureStub<SubscriptionsServiceGrpc.SubscriptionsServiceFutureStub>
A stub to allow clients to do ListenableFuture-style 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) com.google.common.util.concurrent.ListenableFuture<Operation>Creates a Google Workspace subscription.com.google.common.util.concurrent.ListenableFuture<Operation>Deletes a Google Workspace subscription.com.google.common.util.concurrent.ListenableFuture<Subscription>getSubscription(GetSubscriptionRequest request) Gets details about a Google Workspace subscription.com.google.common.util.concurrent.ListenableFuture<ListSubscriptionsResponse>Lists Google Workspace subscriptions.com.google.common.util.concurrent.ListenableFuture<Operation>Reactivates a suspended Google Workspace subscription.com.google.common.util.concurrent.ListenableFuture<Operation>Updates or renews a Google Workspace subscription.Methods inherited from class io.grpc.stub.AbstractFutureStub
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.SubscriptionsServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<SubscriptionsServiceGrpc.SubscriptionsServiceFutureStub>
-
createSubscription
public com.google.common.util.concurrent.ListenableFuture<Operation> createSubscription(CreateSubscriptionRequest request) 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 com.google.common.util.concurrent.ListenableFuture<Operation> deleteSubscription(DeleteSubscriptionRequest request) 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 com.google.common.util.concurrent.ListenableFuture<Subscription> getSubscription(GetSubscriptionRequest request) 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 com.google.common.util.concurrent.ListenableFuture<ListSubscriptionsResponse> listSubscriptions(ListSubscriptionsRequest request) 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 com.google.common.util.concurrent.ListenableFuture<Operation> updateSubscription(UpdateSubscriptionRequest request) 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 com.google.common.util.concurrent.ListenableFuture<Operation> reactivateSubscription(ReactivateSubscriptionRequest request) 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).
-