Class ApiGatewayService.ApiGatewayServiceBase (2.0.0)

[BindServiceMethod(typeof(ApiGatewayService), "BindService")]
public abstract class ApiGatewayServiceBase

Base class for server-side implementations of ApiGatewayService

Inheritance

Object > ApiGatewayService.ApiGatewayServiceBase

Namespace

Google.Cloud.ApiGateway.V1

Assembly

Google.Cloud.ApiGateway.V1.dll

Methods

CreateApi(CreateApiRequest, ServerCallContext)

public virtual Task<Operation> CreateApi(CreateApiRequest request, ServerCallContext context)

Creates a new Api in a given project and location.

Parameters
NameDescription
requestCreateApiRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).

CreateApiConfig(CreateApiConfigRequest, ServerCallContext)

public virtual Task<Operation> CreateApiConfig(CreateApiConfigRequest request, ServerCallContext context)

Creates a new ApiConfig in a given project and location.

Parameters
NameDescription
requestCreateApiConfigRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).

CreateGateway(CreateGatewayRequest, ServerCallContext)

public virtual Task<Operation> CreateGateway(CreateGatewayRequest request, ServerCallContext context)

Creates a new Gateway in a given project and location.

Parameters
NameDescription
requestCreateGatewayRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).

DeleteApi(DeleteApiRequest, ServerCallContext)

public virtual Task<Operation> DeleteApi(DeleteApiRequest request, ServerCallContext context)

Deletes a single Api.

Parameters
NameDescription
requestDeleteApiRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).

DeleteApiConfig(DeleteApiConfigRequest, ServerCallContext)

public virtual Task<Operation> DeleteApiConfig(DeleteApiConfigRequest request, ServerCallContext context)

Deletes a single ApiConfig.

Parameters
NameDescription
requestDeleteApiConfigRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).

DeleteGateway(DeleteGatewayRequest, ServerCallContext)

public virtual Task<Operation> DeleteGateway(DeleteGatewayRequest request, ServerCallContext context)

Deletes a single Gateway.

Parameters
NameDescription
requestDeleteGatewayRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).

GetApi(GetApiRequest, ServerCallContext)

public virtual Task<Api> GetApi(GetApiRequest request, ServerCallContext context)

Gets details of a single Api.

Parameters
NameDescription
requestGetApiRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Api>

The response to send back to the client (wrapped by a task).

GetApiConfig(GetApiConfigRequest, ServerCallContext)

public virtual Task<ApiConfig> GetApiConfig(GetApiConfigRequest request, ServerCallContext context)

Gets details of a single ApiConfig.

Parameters
NameDescription
requestGetApiConfigRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<ApiConfig>

The response to send back to the client (wrapped by a task).

GetGateway(GetGatewayRequest, ServerCallContext)

public virtual Task<Gateway> GetGateway(GetGatewayRequest request, ServerCallContext context)

Gets details of a single Gateway.

Parameters
NameDescription
requestGetGatewayRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Gateway>

The response to send back to the client (wrapped by a task).

ListApiConfigs(ListApiConfigsRequest, ServerCallContext)

public virtual Task<ListApiConfigsResponse> ListApiConfigs(ListApiConfigsRequest request, ServerCallContext context)

Lists ApiConfigs in a given project and location.

Parameters
NameDescription
requestListApiConfigsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<ListApiConfigsResponse>

The response to send back to the client (wrapped by a task).

ListApis(ListApisRequest, ServerCallContext)

public virtual Task<ListApisResponse> ListApis(ListApisRequest request, ServerCallContext context)

Lists Apis in a given project and location.

Parameters
NameDescription
requestListApisRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<ListApisResponse>

The response to send back to the client (wrapped by a task).

ListGateways(ListGatewaysRequest, ServerCallContext)

public virtual Task<ListGatewaysResponse> ListGateways(ListGatewaysRequest request, ServerCallContext context)

Lists Gateways in a given project and location.

Parameters
NameDescription
requestListGatewaysRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<ListGatewaysResponse>

The response to send back to the client (wrapped by a task).

UpdateApi(UpdateApiRequest, ServerCallContext)

public virtual Task<Operation> UpdateApi(UpdateApiRequest request, ServerCallContext context)

Updates the parameters of a single Api.

Parameters
NameDescription
requestUpdateApiRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).

UpdateApiConfig(UpdateApiConfigRequest, ServerCallContext)

public virtual Task<Operation> UpdateApiConfig(UpdateApiConfigRequest request, ServerCallContext context)

Updates the parameters of a single ApiConfig.

Parameters
NameDescription
requestUpdateApiConfigRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).

UpdateGateway(UpdateGatewayRequest, ServerCallContext)

public virtual Task<Operation> UpdateGateway(UpdateGatewayRequest request, ServerCallContext context)

Updates the parameters of a single Gateway.

Parameters
NameDescription
requestUpdateGatewayRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).