Class ApiGatewayServiceClientImpl (2.0.0)

public sealed class ApiGatewayServiceClientImpl : ApiGatewayServiceClient

ApiGatewayService client wrapper implementation, for convenient use.

Inheritance

Object > ApiGatewayServiceClient > ApiGatewayServiceClientImpl

Namespace

Google.Cloud.ApiGateway.V1

Assembly

Google.Cloud.ApiGateway.V1.dll

Remarks

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

Constructors

ApiGatewayServiceClientImpl(ApiGatewayService.ApiGatewayServiceClient, ApiGatewayServiceSettings, ILogger)

public ApiGatewayServiceClientImpl(ApiGatewayService.ApiGatewayServiceClient grpcClient, ApiGatewayServiceSettings settings, ILogger logger)

Constructs a client wrapper for the ApiGatewayService service, with the specified gRPC client and settings.

Parameters
NameDescription
grpcClientApiGatewayService.ApiGatewayServiceClient

The underlying gRPC client.

settingsApiGatewayServiceSettings

The base ApiGatewayServiceSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

CreateApiConfigOperationsClient

public override OperationsClient CreateApiConfigOperationsClient { get; }

The long-running operations client for CreateApiConfig.

Property Value
TypeDescription
OperationsClient
Overrides

CreateApiOperationsClient

public override OperationsClient CreateApiOperationsClient { get; }

The long-running operations client for CreateApi.

Property Value
TypeDescription
OperationsClient
Overrides

CreateGatewayOperationsClient

public override OperationsClient CreateGatewayOperationsClient { get; }

The long-running operations client for CreateGateway.

Property Value
TypeDescription
OperationsClient
Overrides

DeleteApiConfigOperationsClient

public override OperationsClient DeleteApiConfigOperationsClient { get; }

The long-running operations client for DeleteApiConfig.

Property Value
TypeDescription
OperationsClient
Overrides

DeleteApiOperationsClient

public override OperationsClient DeleteApiOperationsClient { get; }

The long-running operations client for DeleteApi.

Property Value
TypeDescription
OperationsClient
Overrides

DeleteGatewayOperationsClient

public override OperationsClient DeleteGatewayOperationsClient { get; }

The long-running operations client for DeleteGateway.

Property Value
TypeDescription
OperationsClient
Overrides

GrpcClient

public override ApiGatewayService.ApiGatewayServiceClient GrpcClient { get; }

The underlying gRPC ApiGatewayService client

Property Value
TypeDescription
ApiGatewayService.ApiGatewayServiceClient
Overrides

UpdateApiConfigOperationsClient

public override OperationsClient UpdateApiConfigOperationsClient { get; }

The long-running operations client for UpdateApiConfig.

Property Value
TypeDescription
OperationsClient
Overrides

UpdateApiOperationsClient

public override OperationsClient UpdateApiOperationsClient { get; }

The long-running operations client for UpdateApi.

Property Value
TypeDescription
OperationsClient
Overrides

UpdateGatewayOperationsClient

public override OperationsClient UpdateGatewayOperationsClient { get; }

The long-running operations client for UpdateGateway.

Property Value
TypeDescription
OperationsClient
Overrides

Methods

CreateApi(CreateApiRequest, CallSettings)

public override Operation<Api, OperationMetadata> CreateApi(CreateApiRequest request, CallSettings callSettings = null)

Creates a new Api in a given project and location.

Parameters
NameDescription
requestCreateApiRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Api, OperationMetadata>

The RPC response.

Overrides

CreateApiAsync(CreateApiRequest, CallSettings)

public override async Task<Operation<Api, OperationMetadata>> CreateApiAsync(CreateApiRequest request, CallSettings callSettings = null)

Creates a new Api in a given project and location.

Parameters
NameDescription
requestCreateApiRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Api, OperationMetadata>>

A Task containing the RPC response.

Overrides

CreateApiConfig(CreateApiConfigRequest, CallSettings)

public override Operation<ApiConfig, OperationMetadata> CreateApiConfig(CreateApiConfigRequest request, CallSettings callSettings = null)

Creates a new ApiConfig in a given project and location.

Parameters
NameDescription
requestCreateApiConfigRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<ApiConfig, OperationMetadata>

The RPC response.

Overrides

CreateApiConfigAsync(CreateApiConfigRequest, CallSettings)

public override async Task<Operation<ApiConfig, OperationMetadata>> CreateApiConfigAsync(CreateApiConfigRequest request, CallSettings callSettings = null)

Creates a new ApiConfig in a given project and location.

Parameters
NameDescription
requestCreateApiConfigRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<ApiConfig, OperationMetadata>>

A Task containing the RPC response.

Overrides

CreateGateway(CreateGatewayRequest, CallSettings)

public override Operation<Gateway, OperationMetadata> CreateGateway(CreateGatewayRequest request, CallSettings callSettings = null)

Creates a new Gateway in a given project and location.

Parameters
NameDescription
requestCreateGatewayRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Gateway, OperationMetadata>

The RPC response.

Overrides

CreateGatewayAsync(CreateGatewayRequest, CallSettings)

public override async Task<Operation<Gateway, OperationMetadata>> CreateGatewayAsync(CreateGatewayRequest request, CallSettings callSettings = null)

Creates a new Gateway in a given project and location.

Parameters
NameDescription
requestCreateGatewayRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Gateway, OperationMetadata>>

A Task containing the RPC response.

Overrides

DeleteApi(DeleteApiRequest, CallSettings)

public override Operation<Empty, OperationMetadata> DeleteApi(DeleteApiRequest request, CallSettings callSettings = null)

Deletes a single Api.

Parameters
NameDescription
requestDeleteApiRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Empty, OperationMetadata>

The RPC response.

Overrides

DeleteApiAsync(DeleteApiRequest, CallSettings)

public override async Task<Operation<Empty, OperationMetadata>> DeleteApiAsync(DeleteApiRequest request, CallSettings callSettings = null)

Deletes a single Api.

Parameters
NameDescription
requestDeleteApiRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Empty, OperationMetadata>>

A Task containing the RPC response.

Overrides

DeleteApiConfig(DeleteApiConfigRequest, CallSettings)

public override Operation<Empty, OperationMetadata> DeleteApiConfig(DeleteApiConfigRequest request, CallSettings callSettings = null)

Deletes a single ApiConfig.

Parameters
NameDescription
requestDeleteApiConfigRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Empty, OperationMetadata>

The RPC response.

Overrides

DeleteApiConfigAsync(DeleteApiConfigRequest, CallSettings)

public override async Task<Operation<Empty, OperationMetadata>> DeleteApiConfigAsync(DeleteApiConfigRequest request, CallSettings callSettings = null)

Deletes a single ApiConfig.

Parameters
NameDescription
requestDeleteApiConfigRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Empty, OperationMetadata>>

A Task containing the RPC response.

Overrides

DeleteGateway(DeleteGatewayRequest, CallSettings)

public override Operation<Empty, OperationMetadata> DeleteGateway(DeleteGatewayRequest request, CallSettings callSettings = null)

Deletes a single Gateway.

Parameters
NameDescription
requestDeleteGatewayRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Empty, OperationMetadata>

The RPC response.

Overrides

DeleteGatewayAsync(DeleteGatewayRequest, CallSettings)

public override async Task<Operation<Empty, OperationMetadata>> DeleteGatewayAsync(DeleteGatewayRequest request, CallSettings callSettings = null)

Deletes a single Gateway.

Parameters
NameDescription
requestDeleteGatewayRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Empty, OperationMetadata>>

A Task containing the RPC response.

Overrides

GetApi(GetApiRequest, CallSettings)

public override Api GetApi(GetApiRequest request, CallSettings callSettings = null)

Gets details of a single Api.

Parameters
NameDescription
requestGetApiRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Api

The RPC response.

Overrides

GetApiAsync(GetApiRequest, CallSettings)

public override Task<Api> GetApiAsync(GetApiRequest request, CallSettings callSettings = null)

Gets details of a single Api.

Parameters
NameDescription
requestGetApiRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Api>

A Task containing the RPC response.

Overrides

GetApiConfig(GetApiConfigRequest, CallSettings)

public override ApiConfig GetApiConfig(GetApiConfigRequest request, CallSettings callSettings = null)

Gets details of a single ApiConfig.

Parameters
NameDescription
requestGetApiConfigRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
ApiConfig

The RPC response.

Overrides

GetApiConfigAsync(GetApiConfigRequest, CallSettings)

public override Task<ApiConfig> GetApiConfigAsync(GetApiConfigRequest request, CallSettings callSettings = null)

Gets details of a single ApiConfig.

Parameters
NameDescription
requestGetApiConfigRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<ApiConfig>

A Task containing the RPC response.

Overrides

GetGateway(GetGatewayRequest, CallSettings)

public override Gateway GetGateway(GetGatewayRequest request, CallSettings callSettings = null)

Gets details of a single Gateway.

Parameters
NameDescription
requestGetGatewayRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Gateway

The RPC response.

Overrides

GetGatewayAsync(GetGatewayRequest, CallSettings)

public override Task<Gateway> GetGatewayAsync(GetGatewayRequest request, CallSettings callSettings = null)

Gets details of a single Gateway.

Parameters
NameDescription
requestGetGatewayRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Gateway>

A Task containing the RPC response.

Overrides

ListApiConfigs(ListApiConfigsRequest, CallSettings)

public override PagedEnumerable<ListApiConfigsResponse, ApiConfig> ListApiConfigs(ListApiConfigsRequest request, CallSettings callSettings = null)

Lists ApiConfigs in a given project and location.

Parameters
NameDescription
requestListApiConfigsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<ListApiConfigsResponse, ApiConfig>

A pageable sequence of ApiConfig resources.

Overrides

ListApiConfigsAsync(ListApiConfigsRequest, CallSettings)

public override PagedAsyncEnumerable<ListApiConfigsResponse, ApiConfig> ListApiConfigsAsync(ListApiConfigsRequest request, CallSettings callSettings = null)

Lists ApiConfigs in a given project and location.

Parameters
NameDescription
requestListApiConfigsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<ListApiConfigsResponse, ApiConfig>

A pageable asynchronous sequence of ApiConfig resources.

Overrides

ListApis(ListApisRequest, CallSettings)

public override PagedEnumerable<ListApisResponse, Api> ListApis(ListApisRequest request, CallSettings callSettings = null)

Lists Apis in a given project and location.

Parameters
NameDescription
requestListApisRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<ListApisResponse, Api>

A pageable sequence of Api resources.

Overrides

ListApisAsync(ListApisRequest, CallSettings)

public override PagedAsyncEnumerable<ListApisResponse, Api> ListApisAsync(ListApisRequest request, CallSettings callSettings = null)

Lists Apis in a given project and location.

Parameters
NameDescription
requestListApisRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<ListApisResponse, Api>

A pageable asynchronous sequence of Api resources.

Overrides

ListGateways(ListGatewaysRequest, CallSettings)

public override PagedEnumerable<ListGatewaysResponse, Gateway> ListGateways(ListGatewaysRequest request, CallSettings callSettings = null)

Lists Gateways in a given project and location.

Parameters
NameDescription
requestListGatewaysRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<ListGatewaysResponse, Gateway>

A pageable sequence of Gateway resources.

Overrides

ListGatewaysAsync(ListGatewaysRequest, CallSettings)

public override PagedAsyncEnumerable<ListGatewaysResponse, Gateway> ListGatewaysAsync(ListGatewaysRequest request, CallSettings callSettings = null)

Lists Gateways in a given project and location.

Parameters
NameDescription
requestListGatewaysRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<ListGatewaysResponse, Gateway>

A pageable asynchronous sequence of Gateway resources.

Overrides

UpdateApi(UpdateApiRequest, CallSettings)

public override Operation<Api, OperationMetadata> UpdateApi(UpdateApiRequest request, CallSettings callSettings = null)

Updates the parameters of a single Api.

Parameters
NameDescription
requestUpdateApiRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Api, OperationMetadata>

The RPC response.

Overrides

UpdateApiAsync(UpdateApiRequest, CallSettings)

public override async Task<Operation<Api, OperationMetadata>> UpdateApiAsync(UpdateApiRequest request, CallSettings callSettings = null)

Updates the parameters of a single Api.

Parameters
NameDescription
requestUpdateApiRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Api, OperationMetadata>>

A Task containing the RPC response.

Overrides

UpdateApiConfig(UpdateApiConfigRequest, CallSettings)

public override Operation<ApiConfig, OperationMetadata> UpdateApiConfig(UpdateApiConfigRequest request, CallSettings callSettings = null)

Updates the parameters of a single ApiConfig.

Parameters
NameDescription
requestUpdateApiConfigRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<ApiConfig, OperationMetadata>

The RPC response.

Overrides

UpdateApiConfigAsync(UpdateApiConfigRequest, CallSettings)

public override async Task<Operation<ApiConfig, OperationMetadata>> UpdateApiConfigAsync(UpdateApiConfigRequest request, CallSettings callSettings = null)

Updates the parameters of a single ApiConfig.

Parameters
NameDescription
requestUpdateApiConfigRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<ApiConfig, OperationMetadata>>

A Task containing the RPC response.

Overrides

UpdateGateway(UpdateGatewayRequest, CallSettings)

public override Operation<Gateway, OperationMetadata> UpdateGateway(UpdateGatewayRequest request, CallSettings callSettings = null)

Updates the parameters of a single Gateway.

Parameters
NameDescription
requestUpdateGatewayRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Gateway, OperationMetadata>

The RPC response.

Overrides

UpdateGatewayAsync(UpdateGatewayRequest, CallSettings)

public override async Task<Operation<Gateway, OperationMetadata>> UpdateGatewayAsync(UpdateGatewayRequest request, CallSettings callSettings = null)

Updates the parameters of a single Gateway.

Parameters
NameDescription
requestUpdateGatewayRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Gateway, OperationMetadata>>

A Task containing the RPC response.

Overrides