Interface SubscriptionsServiceGrpc.AsyncService (0.5.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
NameDescription
requestCreateSubscriptionRequest
responseObserverio.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
NameDescription
requestDeleteSubscriptionRequest
responseObserverio.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
NameDescription
requestGetSubscriptionRequest
responseObserverio.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
NameDescription
requestListSubscriptionsRequest
responseObserverio.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
NameDescription
requestReactivateSubscriptionRequest
responseObserverio.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
NameDescription
requestUpdateSubscriptionRequest
responseObserverio.grpc.stub.StreamObserver<Operation>