Interface PolicyBasedRoutingServiceGrpc.AsyncService (1.33.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
NameDescription
requestCreatePolicyBasedRouteRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deletePolicyBasedRoute(DeletePolicyBasedRouteRequest request, StreamObserver<Operation> responseObserver)

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

Deletes a single PolicyBasedRoute.

Parameters
NameDescription
requestDeletePolicyBasedRouteRequest
responseObserverio.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
NameDescription
requestGetPolicyBasedRouteRequest
responseObserverio.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
NameDescription
requestListPolicyBasedRoutesRequest
responseObserverio.grpc.stub.StreamObserver<ListPolicyBasedRoutesResponse>