BeyondCorp Client Connector Services v1 API - Class ClientGatewaysServiceClientImpl (1.0.0)

public sealed class ClientGatewaysServiceClientImpl : ClientGatewaysServiceClient

Reference documentation and code samples for the BeyondCorp Client Connector Services v1 API class ClientGatewaysServiceClientImpl.

ClientGatewaysService client wrapper implementation, for convenient use.

Inheritance

Object > ClientGatewaysServiceClient > ClientGatewaysServiceClientImpl

Namespace

Google.Cloud.BeyondCorp.ClientGateways.V1

Assembly

Google.Cloud.BeyondCorp.ClientGateways.V1.dll

Remarks

API Overview

The beyondcorp.googleapis.com service implements the Google Cloud BeyondCorp API.

Data Model

The ClientGatewaysService exposes the following resources:

  • Client Gateways, named as follows: projects/{project_id}/locations/{location_id}/clientGateways/{client_gateway_id}.

Constructors

ClientGatewaysServiceClientImpl(ClientGatewaysService.ClientGatewaysServiceClient, ClientGatewaysServiceSettings, ILogger)

public ClientGatewaysServiceClientImpl(ClientGatewaysService.ClientGatewaysServiceClient grpcClient, ClientGatewaysServiceSettings settings, ILogger logger)

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

Parameters
NameDescription
grpcClientClientGatewaysService.ClientGatewaysServiceClient

The underlying gRPC client.

settingsClientGatewaysServiceSettings

The base ClientGatewaysServiceSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

CreateClientGatewayOperationsClient

public override OperationsClient CreateClientGatewayOperationsClient { get; }

The long-running operations client for CreateClientGateway.

Property Value
TypeDescription
OperationsClient
Overrides

DeleteClientGatewayOperationsClient

public override OperationsClient DeleteClientGatewayOperationsClient { get; }

The long-running operations client for DeleteClientGateway.

Property Value
TypeDescription
OperationsClient
Overrides

GrpcClient

public override ClientGatewaysService.ClientGatewaysServiceClient GrpcClient { get; }

The underlying gRPC ClientGatewaysService client

Property Value
TypeDescription
ClientGatewaysService.ClientGatewaysServiceClient
Overrides

IAMPolicyClient

public override IAMPolicyClient IAMPolicyClient { get; }

The IAMPolicyClient associated with this client.

Property Value
TypeDescription
IAMPolicyClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
TypeDescription
LocationsClient
Overrides

Methods

CreateClientGateway(CreateClientGatewayRequest, CallSettings)

public override Operation<ClientGateway, ClientGatewayOperationMetadata> CreateClientGateway(CreateClientGatewayRequest request, CallSettings callSettings = null)

Creates a new ClientGateway in a given project and location.

Parameters
NameDescription
requestCreateClientGatewayRequest

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<ClientGateway, ClientGatewayOperationMetadata>

The RPC response.

Overrides

CreateClientGatewayAsync(CreateClientGatewayRequest, CallSettings)

public override async Task<Operation<ClientGateway, ClientGatewayOperationMetadata>> CreateClientGatewayAsync(CreateClientGatewayRequest request, CallSettings callSettings = null)

Creates a new ClientGateway in a given project and location.

Parameters
NameDescription
requestCreateClientGatewayRequest

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<ClientGateway, ClientGatewayOperationMetadata>>

A Task containing the RPC response.

Overrides

DeleteClientGateway(DeleteClientGatewayRequest, CallSettings)

public override Operation<Empty, ClientGatewayOperationMetadata> DeleteClientGateway(DeleteClientGatewayRequest request, CallSettings callSettings = null)

Deletes a single ClientGateway.

Parameters
NameDescription
requestDeleteClientGatewayRequest

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, ClientGatewayOperationMetadata>

The RPC response.

Overrides

DeleteClientGatewayAsync(DeleteClientGatewayRequest, CallSettings)

public override async Task<Operation<Empty, ClientGatewayOperationMetadata>> DeleteClientGatewayAsync(DeleteClientGatewayRequest request, CallSettings callSettings = null)

Deletes a single ClientGateway.

Parameters
NameDescription
requestDeleteClientGatewayRequest

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, ClientGatewayOperationMetadata>>

A Task containing the RPC response.

Overrides

GetClientGateway(GetClientGatewayRequest, CallSettings)

public override ClientGateway GetClientGateway(GetClientGatewayRequest request, CallSettings callSettings = null)

Gets details of a single ClientGateway.

Parameters
NameDescription
requestGetClientGatewayRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
ClientGateway

The RPC response.

Overrides

GetClientGatewayAsync(GetClientGatewayRequest, CallSettings)

public override Task<ClientGateway> GetClientGatewayAsync(GetClientGatewayRequest request, CallSettings callSettings = null)

Gets details of a single ClientGateway.

Parameters
NameDescription
requestGetClientGatewayRequest

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<ClientGateway>

A Task containing the RPC response.

Overrides

ListClientGateways(ListClientGatewaysRequest, CallSettings)

public override PagedEnumerable<ListClientGatewaysResponse, ClientGateway> ListClientGateways(ListClientGatewaysRequest request, CallSettings callSettings = null)

Lists ClientGateways in a given project and location.

Parameters
NameDescription
requestListClientGatewaysRequest

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<ListClientGatewaysResponse, ClientGateway>

A pageable sequence of ClientGateway resources.

Overrides

ListClientGatewaysAsync(ListClientGatewaysRequest, CallSettings)

public override PagedAsyncEnumerable<ListClientGatewaysResponse, ClientGateway> ListClientGatewaysAsync(ListClientGatewaysRequest request, CallSettings callSettings = null)

Lists ClientGateways in a given project and location.

Parameters
NameDescription
requestListClientGatewaysRequest

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<ListClientGatewaysResponse, ClientGateway>

A pageable asynchronous sequence of ClientGateway resources.

Overrides