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