Interface ApiGatewayServiceGrpc.AsyncService (2.21.0)

public static interface ApiGatewayServiceGrpc.AsyncService

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

Methods

createApi(CreateApiRequest request, StreamObserver<Operation> responseObserver)

public default 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 default 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 default 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 default 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 default 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 default 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 default 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 default 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 default 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 default 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 default 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 default 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 default 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 default 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 default void updateGateway(UpdateGatewayRequest request, StreamObserver<Operation> responseObserver)

Updates the parameters of a single Gateway.

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