Interface RuleSetServiceGrpc.AsyncService (0.19.0)

public static interface RuleSetServiceGrpc.AsyncService

Service to manage customer specific RuleSets.

Methods

createRuleSet(CreateRuleSetRequest request, StreamObserver<RuleSet> responseObserver)

public default void createRuleSet(CreateRuleSetRequest request, StreamObserver<RuleSet> responseObserver)

Creates a ruleset.

Parameters
NameDescription
requestCreateRuleSetRequest
responseObserverio.grpc.stub.StreamObserver<RuleSet>

deleteRuleSet(DeleteRuleSetRequest request, StreamObserver<Empty> responseObserver)

public default void deleteRuleSet(DeleteRuleSetRequest request, StreamObserver<Empty> responseObserver)

Deletes a ruleset. Returns NOT_FOUND if the document does not exist.

Parameters
NameDescription
requestDeleteRuleSetRequest
responseObserverio.grpc.stub.StreamObserver<Empty>

getRuleSet(GetRuleSetRequest request, StreamObserver<RuleSet> responseObserver)

public default void getRuleSet(GetRuleSetRequest request, StreamObserver<RuleSet> responseObserver)

Gets a ruleset. Returns NOT_FOUND if the ruleset does not exist.

Parameters
NameDescription
requestGetRuleSetRequest
responseObserverio.grpc.stub.StreamObserver<RuleSet>

listRuleSets(ListRuleSetsRequest request, StreamObserver<ListRuleSetsResponse> responseObserver)

public default void listRuleSets(ListRuleSetsRequest request, StreamObserver<ListRuleSetsResponse> responseObserver)

Lists rulesets.

Parameters
NameDescription
requestListRuleSetsRequest
responseObserverio.grpc.stub.StreamObserver<ListRuleSetsResponse>

updateRuleSet(UpdateRuleSetRequest request, StreamObserver<RuleSet> responseObserver)

public default void updateRuleSet(UpdateRuleSetRequest request, StreamObserver<RuleSet> responseObserver)

Updates a ruleset. Returns INVALID_ARGUMENT if the name of the ruleset is non-empty and does not equal the existing name.

Parameters
NameDescription
requestUpdateRuleSetRequest
responseObserverio.grpc.stub.StreamObserver<RuleSet>