Class PolicyBasedRoutingServiceGrpc.PolicyBasedRoutingServiceFutureStub (1.28.0)

public static final class PolicyBasedRoutingServiceGrpc.PolicyBasedRoutingServiceFutureStub extends AbstractFutureStub<PolicyBasedRoutingServiceGrpc.PolicyBasedRoutingServiceFutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service PolicyBasedRoutingService.

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

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > PolicyBasedRoutingServiceGrpc.PolicyBasedRoutingServiceFutureStub

Methods

build(Channel channel, CallOptions callOptions)

protected PolicyBasedRoutingServiceGrpc.PolicyBasedRoutingServiceFutureStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
PolicyBasedRoutingServiceGrpc.PolicyBasedRoutingServiceFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createPolicyBasedRoute(CreatePolicyBasedRouteRequest request)

public ListenableFuture<Operation> createPolicyBasedRoute(CreatePolicyBasedRouteRequest request)

Creates a new PolicyBasedRoute in a given project and location.

Parameter
NameDescription
requestCreatePolicyBasedRouteRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

deletePolicyBasedRoute(DeletePolicyBasedRouteRequest request)

public ListenableFuture<Operation> deletePolicyBasedRoute(DeletePolicyBasedRouteRequest request)

Deletes a single PolicyBasedRoute.

Parameter
NameDescription
requestDeletePolicyBasedRouteRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

getPolicyBasedRoute(GetPolicyBasedRouteRequest request)

public ListenableFuture<PolicyBasedRoute> getPolicyBasedRoute(GetPolicyBasedRouteRequest request)

Gets details of a single PolicyBasedRoute.

Parameter
NameDescription
requestGetPolicyBasedRouteRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<PolicyBasedRoute>

listPolicyBasedRoutes(ListPolicyBasedRoutesRequest request)

public ListenableFuture<ListPolicyBasedRoutesResponse> listPolicyBasedRoutes(ListPolicyBasedRoutesRequest request)

Lists PolicyBasedRoutes in a given project and location.

Parameter
NameDescription
requestListPolicyBasedRoutesRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListPolicyBasedRoutesResponse>