Class PolicyBasedRoutingServiceGrpc.PolicyBasedRoutingServiceBlockingStub (1.51.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
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
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
Name Description
request CreatePolicyBasedRouteRequest
Returns
Type Description
Operation

deletePolicyBasedRoute(DeletePolicyBasedRouteRequest request)

public Operation deletePolicyBasedRoute(DeletePolicyBasedRouteRequest request)

Deletes a single PolicyBasedRoute.

Parameter
Name Description
request DeletePolicyBasedRouteRequest
Returns
Type Description
Operation

getPolicyBasedRoute(GetPolicyBasedRouteRequest request)

public PolicyBasedRoute getPolicyBasedRoute(GetPolicyBasedRouteRequest request)

Gets details of a single PolicyBasedRoute.

Parameter
Name Description
request GetPolicyBasedRouteRequest
Returns
Type Description
PolicyBasedRoute

listPolicyBasedRoutes(ListPolicyBasedRoutesRequest request)

public ListPolicyBasedRoutesResponse listPolicyBasedRoutes(ListPolicyBasedRoutesRequest request)

Lists PolicyBasedRoutes in a given project and location.

Parameter
Name Description
request ListPolicyBasedRoutesRequest
Returns
Type Description
ListPolicyBasedRoutesResponse