BeyondCorp Client Gateways v1 API - Class ClientGatewaysServiceClientImpl (1.2.0)

public sealed class ClientGatewaysServiceClientImpl : ClientGatewaysServiceClient

Reference documentation and code samples for the BeyondCorp Client Gateways 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(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
Name Description
grpcClient ClientGatewaysServiceClientGatewaysServiceClient

The underlying gRPC client.

settings ClientGatewaysServiceSettings

The base ClientGatewaysServiceSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

CreateClientGatewayOperationsClient

public override OperationsClient CreateClientGatewayOperationsClient { get; }

The long-running operations client for CreateClientGateway.

Property Value
Type Description
OperationsClient
Overrides

DeleteClientGatewayOperationsClient

public override OperationsClient DeleteClientGatewayOperationsClient { get; }

The long-running operations client for DeleteClientGateway.

Property Value
Type Description
OperationsClient
Overrides

GrpcClient

public override ClientGatewaysService.ClientGatewaysServiceClient GrpcClient { get; }

The underlying gRPC ClientGatewaysService client

Property Value
Type Description
ClientGatewaysServiceClientGatewaysServiceClient
Overrides

IAMPolicyClient

public override IAMPolicyClient IAMPolicyClient { get; }

The IAMPolicyClient associated with this client.

Property Value
Type Description
IAMPolicyClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
Type Description
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
Name Description
request CreateClientGatewayRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationClientGatewayClientGatewayOperationMetadata

The RPC response.

Overrides

CreateClientGatewayAsync(CreateClientGatewayRequest, CallSettings)

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

Creates a new ClientGateway in a given project and location.

Parameters
Name Description
request CreateClientGatewayRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationClientGatewayClientGatewayOperationMetadata

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
Name Description
request DeleteClientGatewayRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationEmptyClientGatewayOperationMetadata

The RPC response.

Overrides

DeleteClientGatewayAsync(DeleteClientGatewayRequest, CallSettings)

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

Deletes a single ClientGateway.

Parameters
Name Description
request DeleteClientGatewayRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationEmptyClientGatewayOperationMetadata

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
Name Description
request GetClientGatewayRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
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
Name Description
request GetClientGatewayRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskClientGateway

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
Name Description
request ListClientGatewaysRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListClientGatewaysResponseClientGateway

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
Name Description
request ListClientGatewaysRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListClientGatewaysResponseClientGateway

A pageable asynchronous sequence of ClientGateway resources.

Overrides