Class ClientGatewaysServiceGrpc.ClientGatewaysServiceStub (0.49.0)

public static final class ClientGatewaysServiceGrpc.ClientGatewaysServiceStub extends AbstractAsyncStub<ClientGatewaysServiceGrpc.ClientGatewaysServiceStub>

A stub to allow clients to do asynchronous rpc calls to service ClientGatewaysService.

API Overview: The beyondcorp.googleapis.com service implements the Google Cloud BeyondCorp API. Data Model: The ClientGatewaysService exposes the following resources:

  • Client Gateways, named as follows: projects/{project_id}/locations/{location_id}/clientGateways/{client_gateway_id}.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > ClientGatewaysServiceGrpc.ClientGatewaysServiceStub

Methods

build(Channel channel, CallOptions callOptions)

protected ClientGatewaysServiceGrpc.ClientGatewaysServiceStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
ClientGatewaysServiceGrpc.ClientGatewaysServiceStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createClientGateway(CreateClientGatewayRequest request, StreamObserver<Operation> responseObserver)

public void createClientGateway(CreateClientGatewayRequest request, StreamObserver<Operation> responseObserver)

Creates a new ClientGateway in a given project and location.

Parameters
Name Description
request CreateClientGatewayRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteClientGateway(DeleteClientGatewayRequest request, StreamObserver<Operation> responseObserver)

public void deleteClientGateway(DeleteClientGatewayRequest request, StreamObserver<Operation> responseObserver)

Deletes a single ClientGateway.

Parameters
Name Description
request DeleteClientGatewayRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

getClientGateway(GetClientGatewayRequest request, StreamObserver<ClientGateway> responseObserver)

public void getClientGateway(GetClientGatewayRequest request, StreamObserver<ClientGateway> responseObserver)

Gets details of a single ClientGateway.

Parameters
Name Description
request GetClientGatewayRequest
responseObserver io.grpc.stub.StreamObserver<ClientGateway>

listClientGateways(ListClientGatewaysRequest request, StreamObserver<ListClientGatewaysResponse> responseObserver)

public void listClientGateways(ListClientGatewaysRequest request, StreamObserver<ListClientGatewaysResponse> responseObserver)

Lists ClientGateways in a given project and location.

Parameters
Name Description
request ListClientGatewaysRequest
responseObserver io.grpc.stub.StreamObserver<ListClientGatewaysResponse>