Class ApiGatewayServiceGrpc.ApiGatewayServiceFutureStub (2.34.0)

public static final class ApiGatewayServiceGrpc.ApiGatewayServiceFutureStub extends AbstractFutureStub<ApiGatewayServiceGrpc.ApiGatewayServiceFutureStub>

A stub to allow clients to do ListenableFuture-style 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.AbstractFutureStub > ApiGatewayServiceGrpc.ApiGatewayServiceFutureStub

Methods

build(Channel channel, CallOptions callOptions)

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

createApi(CreateApiRequest request)

public ListenableFuture<Operation> createApi(CreateApiRequest request)

Creates a new Api in a given project and location.

Parameter
NameDescription
requestCreateApiRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

createApiConfig(CreateApiConfigRequest request)

public ListenableFuture<Operation> createApiConfig(CreateApiConfigRequest request)

Creates a new ApiConfig in a given project and location.

Parameter
NameDescription
requestCreateApiConfigRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

createGateway(CreateGatewayRequest request)

public ListenableFuture<Operation> createGateway(CreateGatewayRequest request)

Creates a new Gateway in a given project and location.

Parameter
NameDescription
requestCreateGatewayRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteApi(DeleteApiRequest request)

public ListenableFuture<Operation> deleteApi(DeleteApiRequest request)

Deletes a single Api.

Parameter
NameDescription
requestDeleteApiRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteApiConfig(DeleteApiConfigRequest request)

public ListenableFuture<Operation> deleteApiConfig(DeleteApiConfigRequest request)

Deletes a single ApiConfig.

Parameter
NameDescription
requestDeleteApiConfigRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteGateway(DeleteGatewayRequest request)

public ListenableFuture<Operation> deleteGateway(DeleteGatewayRequest request)

Deletes a single Gateway.

Parameter
NameDescription
requestDeleteGatewayRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

getApi(GetApiRequest request)

public ListenableFuture<Api> getApi(GetApiRequest request)

Gets details of a single Api.

Parameter
NameDescription
requestGetApiRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Api>

getApiConfig(GetApiConfigRequest request)

public ListenableFuture<ApiConfig> getApiConfig(GetApiConfigRequest request)

Gets details of a single ApiConfig.

Parameter
NameDescription
requestGetApiConfigRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ApiConfig>

getGateway(GetGatewayRequest request)

public ListenableFuture<Gateway> getGateway(GetGatewayRequest request)

Gets details of a single Gateway.

Parameter
NameDescription
requestGetGatewayRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Gateway>

listApiConfigs(ListApiConfigsRequest request)

public ListenableFuture<ListApiConfigsResponse> listApiConfigs(ListApiConfigsRequest request)

Lists ApiConfigs in a given project and location.

Parameter
NameDescription
requestListApiConfigsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListApiConfigsResponse>

listApis(ListApisRequest request)

public ListenableFuture<ListApisResponse> listApis(ListApisRequest request)

Lists Apis in a given project and location.

Parameter
NameDescription
requestListApisRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListApisResponse>

listGateways(ListGatewaysRequest request)

public ListenableFuture<ListGatewaysResponse> listGateways(ListGatewaysRequest request)

Lists Gateways in a given project and location.

Parameter
NameDescription
requestListGatewaysRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListGatewaysResponse>

updateApi(UpdateApiRequest request)

public ListenableFuture<Operation> updateApi(UpdateApiRequest request)

Updates the parameters of a single Api.

Parameter
NameDescription
requestUpdateApiRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

updateApiConfig(UpdateApiConfigRequest request)

public ListenableFuture<Operation> updateApiConfig(UpdateApiConfigRequest request)

Updates the parameters of a single ApiConfig.

Parameter
NameDescription
requestUpdateApiConfigRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

updateGateway(UpdateGatewayRequest request)

public ListenableFuture<Operation> updateGateway(UpdateGatewayRequest request)

Updates the parameters of a single Gateway.

Parameter
NameDescription
requestUpdateGatewayRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>