Class ApiGatewayServiceGrpc.ApiGatewayServiceStub (2.42.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
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
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
Name Description
request CreateApiRequest
responseObserver io.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
Name Description
request CreateApiConfigRequest
responseObserver io.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
Name Description
request CreateGatewayRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteApi(DeleteApiRequest request, StreamObserver<Operation> responseObserver)

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

Deletes a single Api.

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

deleteApiConfig(DeleteApiConfigRequest request, StreamObserver<Operation> responseObserver)

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

Deletes a single ApiConfig.

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

deleteGateway(DeleteGatewayRequest request, StreamObserver<Operation> responseObserver)

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

Deletes a single Gateway.

Parameters
Name Description
request DeleteGatewayRequest
responseObserver io.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
Name Description
request GetApiRequest
responseObserver io.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
Name Description
request GetApiConfigRequest
responseObserver io.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
Name Description
request GetGatewayRequest
responseObserver io.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
Name Description
request ListApiConfigsRequest
responseObserver io.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
Name Description
request ListApisRequest
responseObserver io.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
Name Description
request ListGatewaysRequest
responseObserver io.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
Name Description
request UpdateApiRequest
responseObserver io.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
Name Description
request UpdateApiConfigRequest
responseObserver io.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
Name Description
request UpdateGatewayRequest
responseObserver io.grpc.stub.StreamObserver<Operation>