Interface RuleSetServiceGrpc.AsyncService (0.45.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
Name Description
request CreateRuleSetRequest
responseObserver io.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
Name Description
request DeleteRuleSetRequest
responseObserver io.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
Name Description
request GetRuleSetRequest
responseObserver io.grpc.stub.StreamObserver<RuleSet>

listRuleSets(ListRuleSetsRequest request, StreamObserver<ListRuleSetsResponse> responseObserver)

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

Lists rulesets.

Parameters
Name Description
request ListRuleSetsRequest
responseObserver io.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
Name Description
request UpdateRuleSetRequest
responseObserver io.grpc.stub.StreamObserver<RuleSet>