Class PolicyBasedRoutingServiceGrpc.PolicyBasedRoutingServiceImplBase (1.6.0)

public abstract static class PolicyBasedRoutingServiceGrpc.PolicyBasedRoutingServiceImplBase implements BindableService

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

Inheritance

java.lang.Object > PolicyBasedRoutingServiceGrpc.PolicyBasedRoutingServiceImplBase

Implements

io.grpc.BindableService

Constructors

PolicyBasedRoutingServiceImplBase()

public PolicyBasedRoutingServiceImplBase()

Methods

bindService()

public final ServerServiceDefinition bindService()
Returns
TypeDescription
io.grpc.ServerServiceDefinition

createPolicyBasedRoute(CreatePolicyBasedRouteRequest request, StreamObserver<Operation> responseObserver)

public 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 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 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 void listPolicyBasedRoutes(ListPolicyBasedRoutesRequest request, StreamObserver<ListPolicyBasedRoutesResponse> responseObserver)

Lists PolicyBasedRoutes in a given project and location.

Parameters
NameDescription
requestListPolicyBasedRoutesRequest
responseObserverio.grpc.stub.StreamObserver<ListPolicyBasedRoutesResponse>