Class ClientGatewaysServiceGrpc.ClientGatewaysServiceStub (0.22.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
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
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
NameDescription
requestCreateClientGatewayRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteClientGateway(DeleteClientGatewayRequest request, StreamObserver<Operation> responseObserver)

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

Deletes a single ClientGateway.

Parameters
NameDescription
requestDeleteClientGatewayRequest
responseObserverio.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
NameDescription
requestGetClientGatewayRequest
responseObserverio.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
NameDescription
requestListClientGatewaysRequest
responseObserverio.grpc.stub.StreamObserver<ListClientGatewaysResponse>