Interface SubscriptionsServiceGrpc.AsyncService (0.10.0)

public static interface SubscriptionsServiceGrpc.AsyncService

A service that manages subscriptions to Google Workspace events.

Methods

createSubscription(CreateSubscriptionRequest request, StreamObserver<Operation> responseObserver)

public default 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 default 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 default 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 default 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 default 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 default 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>