Class ApiGatewayServiceGrpc.ApiGatewayServiceFutureStub (2.46.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
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
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
Name Description
request CreateApiRequest
Returns
Type Description
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
Name Description
request CreateApiConfigRequest
Returns
Type Description
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
Name Description
request CreateGatewayRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteApi(DeleteApiRequest request)

public ListenableFuture<Operation> deleteApi(DeleteApiRequest request)

Deletes a single Api.

Parameter
Name Description
request DeleteApiRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteApiConfig(DeleteApiConfigRequest request)

public ListenableFuture<Operation> deleteApiConfig(DeleteApiConfigRequest request)

Deletes a single ApiConfig.

Parameter
Name Description
request DeleteApiConfigRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteGateway(DeleteGatewayRequest request)

public ListenableFuture<Operation> deleteGateway(DeleteGatewayRequest request)

Deletes a single Gateway.

Parameter
Name Description
request DeleteGatewayRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

getApi(GetApiRequest request)

public ListenableFuture<Api> getApi(GetApiRequest request)

Gets details of a single Api.

Parameter
Name Description
request GetApiRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Api>

getApiConfig(GetApiConfigRequest request)

public ListenableFuture<ApiConfig> getApiConfig(GetApiConfigRequest request)

Gets details of a single ApiConfig.

Parameter
Name Description
request GetApiConfigRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ApiConfig>

getGateway(GetGatewayRequest request)

public ListenableFuture<Gateway> getGateway(GetGatewayRequest request)

Gets details of a single Gateway.

Parameter
Name Description
request GetGatewayRequest
Returns
Type Description
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
Name Description
request ListApiConfigsRequest
Returns
Type Description
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
Name Description
request ListApisRequest
Returns
Type Description
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
Name Description
request ListGatewaysRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListGatewaysResponse>

updateApi(UpdateApiRequest request)

public ListenableFuture<Operation> updateApi(UpdateApiRequest request)

Updates the parameters of a single Api.

Parameter
Name Description
request UpdateApiRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

updateApiConfig(UpdateApiConfigRequest request)

public ListenableFuture<Operation> updateApiConfig(UpdateApiConfigRequest request)

Updates the parameters of a single ApiConfig.

Parameter
Name Description
request UpdateApiConfigRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

updateGateway(UpdateGatewayRequest request)

public ListenableFuture<Operation> updateGateway(UpdateGatewayRequest request)

Updates the parameters of a single Gateway.

Parameter
Name Description
request UpdateGatewayRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>