Interface PolicyBasedRoutingServiceGrpc.AsyncService (1.54.0)

public static interface PolicyBasedRoutingServiceGrpc.AsyncService

Policy-Based Routing allows GCP customers to specify flexibile routing policies for Layer 4 traffic traversing through the connected service.

Methods

createPolicyBasedRoute(CreatePolicyBasedRouteRequest request, StreamObserver<Operation> responseObserver)

public default void createPolicyBasedRoute(CreatePolicyBasedRouteRequest request, StreamObserver<Operation> responseObserver)

Creates a new PolicyBasedRoute in a given project and location.

Parameters
Name Description
request CreatePolicyBasedRouteRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deletePolicyBasedRoute(DeletePolicyBasedRouteRequest request, StreamObserver<Operation> responseObserver)

public default void deletePolicyBasedRoute(DeletePolicyBasedRouteRequest request, StreamObserver<Operation> responseObserver)

Deletes a single PolicyBasedRoute.

Parameters
Name Description
request DeletePolicyBasedRouteRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

getPolicyBasedRoute(GetPolicyBasedRouteRequest request, StreamObserver<PolicyBasedRoute> responseObserver)

public default void getPolicyBasedRoute(GetPolicyBasedRouteRequest request, StreamObserver<PolicyBasedRoute> responseObserver)

Gets details of a single PolicyBasedRoute.

Parameters
Name Description
request GetPolicyBasedRouteRequest
responseObserver io.grpc.stub.StreamObserver<PolicyBasedRoute>

listPolicyBasedRoutes(ListPolicyBasedRoutesRequest request, StreamObserver<ListPolicyBasedRoutesResponse> responseObserver)

public default void listPolicyBasedRoutes(ListPolicyBasedRoutesRequest request, StreamObserver<ListPolicyBasedRoutesResponse> responseObserver)

Lists PolicyBasedRoutes in a given project and location.

Parameters
Name Description
request ListPolicyBasedRoutesRequest
responseObserver io.grpc.stub.StreamObserver<ListPolicyBasedRoutesResponse>