Class PolicyBasedRoutingServiceGrpc.PolicyBasedRoutingServiceFutureStub (1.53.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
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
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
Name Description
request CreatePolicyBasedRouteRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deletePolicyBasedRoute(DeletePolicyBasedRouteRequest request)

public ListenableFuture<Operation> deletePolicyBasedRoute(DeletePolicyBasedRouteRequest request)

Deletes a single PolicyBasedRoute.

Parameter
Name Description
request DeletePolicyBasedRouteRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

getPolicyBasedRoute(GetPolicyBasedRouteRequest request)

public ListenableFuture<PolicyBasedRoute> getPolicyBasedRoute(GetPolicyBasedRouteRequest request)

Gets details of a single PolicyBasedRoute.

Parameter
Name Description
request GetPolicyBasedRouteRequest
Returns
Type Description
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
Name Description
request ListPolicyBasedRoutesRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListPolicyBasedRoutesResponse>