Class ApiGatewayServiceGrpc.ApiGatewayServiceStub (2.27.0)

public static final class ApiGatewayServiceGrpc.ApiGatewayServiceStub extends AbstractAsyncStub<ApiGatewayServiceGrpc.ApiGatewayServiceStub>

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

The API Gateway Service is the interface for managing API Gateways.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > ApiGatewayServiceGrpc.ApiGatewayServiceStub

Methods

build(Channel channel, CallOptions callOptions)

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

createApi(CreateApiRequest request, StreamObserver<Operation> responseObserver)

public void createApi(CreateApiRequest request, StreamObserver<Operation> responseObserver)

Creates a new Api in a given project and location.

Parameters
NameDescription
requestCreateApiRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

createApiConfig(CreateApiConfigRequest request, StreamObserver<Operation> responseObserver)

public void createApiConfig(CreateApiConfigRequest request, StreamObserver<Operation> responseObserver)

Creates a new ApiConfig in a given project and location.

Parameters
NameDescription
requestCreateApiConfigRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

createGateway(CreateGatewayRequest request, StreamObserver<Operation> responseObserver)

public void createGateway(CreateGatewayRequest request, StreamObserver<Operation> responseObserver)

Creates a new Gateway in a given project and location.

Parameters
NameDescription
requestCreateGatewayRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteApi(DeleteApiRequest request, StreamObserver<Operation> responseObserver)

public void deleteApi(DeleteApiRequest request, StreamObserver<Operation> responseObserver)

Deletes a single Api.

Parameters
NameDescription
requestDeleteApiRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteApiConfig(DeleteApiConfigRequest request, StreamObserver<Operation> responseObserver)

public void deleteApiConfig(DeleteApiConfigRequest request, StreamObserver<Operation> responseObserver)

Deletes a single ApiConfig.

Parameters
NameDescription
requestDeleteApiConfigRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteGateway(DeleteGatewayRequest request, StreamObserver<Operation> responseObserver)

public void deleteGateway(DeleteGatewayRequest request, StreamObserver<Operation> responseObserver)

Deletes a single Gateway.

Parameters
NameDescription
requestDeleteGatewayRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

getApi(GetApiRequest request, StreamObserver<Api> responseObserver)

public void getApi(GetApiRequest request, StreamObserver<Api> responseObserver)

Gets details of a single Api.

Parameters
NameDescription
requestGetApiRequest
responseObserverio.grpc.stub.StreamObserver<Api>

getApiConfig(GetApiConfigRequest request, StreamObserver<ApiConfig> responseObserver)

public void getApiConfig(GetApiConfigRequest request, StreamObserver<ApiConfig> responseObserver)

Gets details of a single ApiConfig.

Parameters
NameDescription
requestGetApiConfigRequest
responseObserverio.grpc.stub.StreamObserver<ApiConfig>

getGateway(GetGatewayRequest request, StreamObserver<Gateway> responseObserver)

public void getGateway(GetGatewayRequest request, StreamObserver<Gateway> responseObserver)

Gets details of a single Gateway.

Parameters
NameDescription
requestGetGatewayRequest
responseObserverio.grpc.stub.StreamObserver<Gateway>

listApiConfigs(ListApiConfigsRequest request, StreamObserver<ListApiConfigsResponse> responseObserver)

public void listApiConfigs(ListApiConfigsRequest request, StreamObserver<ListApiConfigsResponse> responseObserver)

Lists ApiConfigs in a given project and location.

Parameters
NameDescription
requestListApiConfigsRequest
responseObserverio.grpc.stub.StreamObserver<ListApiConfigsResponse>

listApis(ListApisRequest request, StreamObserver<ListApisResponse> responseObserver)

public void listApis(ListApisRequest request, StreamObserver<ListApisResponse> responseObserver)

Lists Apis in a given project and location.

Parameters
NameDescription
requestListApisRequest
responseObserverio.grpc.stub.StreamObserver<ListApisResponse>

listGateways(ListGatewaysRequest request, StreamObserver<ListGatewaysResponse> responseObserver)

public void listGateways(ListGatewaysRequest request, StreamObserver<ListGatewaysResponse> responseObserver)

Lists Gateways in a given project and location.

Parameters
NameDescription
requestListGatewaysRequest
responseObserverio.grpc.stub.StreamObserver<ListGatewaysResponse>

updateApi(UpdateApiRequest request, StreamObserver<Operation> responseObserver)

public void updateApi(UpdateApiRequest request, StreamObserver<Operation> responseObserver)

Updates the parameters of a single Api.

Parameters
NameDescription
requestUpdateApiRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

updateApiConfig(UpdateApiConfigRequest request, StreamObserver<Operation> responseObserver)

public void updateApiConfig(UpdateApiConfigRequest request, StreamObserver<Operation> responseObserver)

Updates the parameters of a single ApiConfig.

Parameters
NameDescription
requestUpdateApiConfigRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

updateGateway(UpdateGatewayRequest request, StreamObserver<Operation> responseObserver)

public void updateGateway(UpdateGatewayRequest request, StreamObserver<Operation> responseObserver)

Updates the parameters of a single Gateway.

Parameters
NameDescription
requestUpdateGatewayRequest
responseObserverio.grpc.stub.StreamObserver<Operation>