Class PolicyBasedRoutingServiceGrpc.PolicyBasedRoutingServiceBlockingStub (1.29.0)

public static final class PolicyBasedRoutingServiceGrpc.PolicyBasedRoutingServiceBlockingStub extends AbstractBlockingStub<PolicyBasedRoutingServiceGrpc.PolicyBasedRoutingServiceBlockingStub>

A stub to allow clients to do synchronous 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.AbstractBlockingStub > PolicyBasedRoutingServiceGrpc.PolicyBasedRoutingServiceBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

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

createPolicyBasedRoute(CreatePolicyBasedRouteRequest request)

public Operation createPolicyBasedRoute(CreatePolicyBasedRouteRequest request)

Creates a new PolicyBasedRoute in a given project and location.

Parameter
NameDescription
requestCreatePolicyBasedRouteRequest
Returns
TypeDescription
Operation

deletePolicyBasedRoute(DeletePolicyBasedRouteRequest request)

public Operation deletePolicyBasedRoute(DeletePolicyBasedRouteRequest request)

Deletes a single PolicyBasedRoute.

Parameter
NameDescription
requestDeletePolicyBasedRouteRequest
Returns
TypeDescription
Operation

getPolicyBasedRoute(GetPolicyBasedRouteRequest request)

public PolicyBasedRoute getPolicyBasedRoute(GetPolicyBasedRouteRequest request)

Gets details of a single PolicyBasedRoute.

Parameter
NameDescription
requestGetPolicyBasedRouteRequest
Returns
TypeDescription
PolicyBasedRoute

listPolicyBasedRoutes(ListPolicyBasedRoutesRequest request)

public ListPolicyBasedRoutesResponse listPolicyBasedRoutes(ListPolicyBasedRoutesRequest request)

Lists PolicyBasedRoutes in a given project and location.

Parameter
NameDescription
requestListPolicyBasedRoutesRequest
Returns
TypeDescription
ListPolicyBasedRoutesResponse