API Gateway v1 API - Class ApiGatewayService (2.1.0)

public static class ApiGatewayService

Reference documentation and code samples for the API Gateway v1 API class ApiGatewayService.

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

Inheritance

Object > ApiGatewayService

Namespace

Google.Cloud.ApiGateway.V1

Assembly

Google.Cloud.ApiGateway.V1.dll

Methods

BindService(ApiGatewayService.ApiGatewayServiceBase)

public static ServerServiceDefinition BindService(ApiGatewayService.ApiGatewayServiceBase serviceImpl)

Creates service definition that can be registered with a server

Parameter
NameDescription
serviceImplApiGatewayService.ApiGatewayServiceBase

An object implementing the server-side handling logic.

Returns
TypeDescription
ServerServiceDefinition

BindService(ServiceBinderBase, ApiGatewayService.ApiGatewayServiceBase)

public static void BindService(ServiceBinderBase serviceBinder, ApiGatewayService.ApiGatewayServiceBase serviceImpl)

Register service method with a service binder with or without implementation. Useful when customizing the service binding logic. Note: this method is part of an experimental API that can change or be removed without any prior notice.

Parameters
NameDescription
serviceBinderServiceBinderBase

Service methods will be bound by calling AddMethod on this object.

serviceImplApiGatewayService.ApiGatewayServiceBase

An object implementing the server-side handling logic.