Serverless VPC Access v1 API - Class VpcAccessServiceClientImpl (2.4.0)

public sealed class VpcAccessServiceClientImpl : VpcAccessServiceClient

Reference documentation and code samples for the Serverless VPC Access v1 API class VpcAccessServiceClientImpl.

VpcAccessService client wrapper implementation, for convenient use.

Inheritance

object > VpcAccessServiceClient > VpcAccessServiceClientImpl

Namespace

Google.Cloud.VpcAccess.V1

Assembly

Google.Cloud.VpcAccess.V1.dll

Remarks

Serverless VPC Access API allows users to create and manage connectors for App Engine, Cloud Functions and Cloud Run to have internal connections to Virtual Private Cloud networks.

Constructors

VpcAccessServiceClientImpl(VpcAccessServiceClient, VpcAccessServiceSettings, ILogger)

public VpcAccessServiceClientImpl(VpcAccessService.VpcAccessServiceClient grpcClient, VpcAccessServiceSettings settings, ILogger logger)

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

Parameters
Name Description
grpcClient VpcAccessServiceVpcAccessServiceClient

The underlying gRPC client.

settings VpcAccessServiceSettings

The base VpcAccessServiceSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

CreateConnectorOperationsClient

public override OperationsClient CreateConnectorOperationsClient { get; }

The long-running operations client for CreateConnector.

Property Value
Type Description
OperationsClient
Overrides

DeleteConnectorOperationsClient

public override OperationsClient DeleteConnectorOperationsClient { get; }

The long-running operations client for DeleteConnector.

Property Value
Type Description
OperationsClient
Overrides

GrpcClient

public override VpcAccessService.VpcAccessServiceClient GrpcClient { get; }

The underlying gRPC VpcAccessService client

Property Value
Type Description
VpcAccessServiceVpcAccessServiceClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
Type Description
LocationsClient
Overrides

Methods

CreateConnector(CreateConnectorRequest, CallSettings)

public override Operation<Connector, OperationMetadata> CreateConnector(CreateConnectorRequest request, CallSettings callSettings = null)

Creates a Serverless VPC Access connector, returns an operation.

Parameters
Name Description
request CreateConnectorRequest

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
OperationConnectorOperationMetadata

The RPC response.

Overrides

CreateConnectorAsync(CreateConnectorRequest, CallSettings)

public override Task<Operation<Connector, OperationMetadata>> CreateConnectorAsync(CreateConnectorRequest request, CallSettings callSettings = null)

Creates a Serverless VPC Access connector, returns an operation.

Parameters
Name Description
request CreateConnectorRequest

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
TaskOperationConnectorOperationMetadata

A Task containing the RPC response.

Overrides

DeleteConnector(DeleteConnectorRequest, CallSettings)

public override Operation<Empty, OperationMetadata> DeleteConnector(DeleteConnectorRequest request, CallSettings callSettings = null)

Deletes a Serverless VPC Access connector. Returns NOT_FOUND if the resource does not exist.

Parameters
Name Description
request DeleteConnectorRequest

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
OperationEmptyOperationMetadata

The RPC response.

Overrides

DeleteConnectorAsync(DeleteConnectorRequest, CallSettings)

public override Task<Operation<Empty, OperationMetadata>> DeleteConnectorAsync(DeleteConnectorRequest request, CallSettings callSettings = null)

Deletes a Serverless VPC Access connector. Returns NOT_FOUND if the resource does not exist.

Parameters
Name Description
request DeleteConnectorRequest

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
TaskOperationEmptyOperationMetadata

A Task containing the RPC response.

Overrides

GetConnector(GetConnectorRequest, CallSettings)

public override Connector GetConnector(GetConnectorRequest request, CallSettings callSettings = null)

Gets a Serverless VPC Access connector. Returns NOT_FOUND if the resource does not exist.

Parameters
Name Description
request GetConnectorRequest

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
Connector

The RPC response.

Overrides

GetConnectorAsync(GetConnectorRequest, CallSettings)

public override Task<Connector> GetConnectorAsync(GetConnectorRequest request, CallSettings callSettings = null)

Gets a Serverless VPC Access connector. Returns NOT_FOUND if the resource does not exist.

Parameters
Name Description
request GetConnectorRequest

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
TaskConnector

A Task containing the RPC response.

Overrides

ListConnectors(ListConnectorsRequest, CallSettings)

public override PagedEnumerable<ListConnectorsResponse, Connector> ListConnectors(ListConnectorsRequest request, CallSettings callSettings = null)

Lists Serverless VPC Access connectors.

Parameters
Name Description
request ListConnectorsRequest

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
PagedEnumerableListConnectorsResponseConnector

A pageable sequence of Connector resources.

Overrides

ListConnectorsAsync(ListConnectorsRequest, CallSettings)

public override PagedAsyncEnumerable<ListConnectorsResponse, Connector> ListConnectorsAsync(ListConnectorsRequest request, CallSettings callSettings = null)

Lists Serverless VPC Access connectors.

Parameters
Name Description
request ListConnectorsRequest

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
PagedAsyncEnumerableListConnectorsResponseConnector

A pageable asynchronous sequence of Connector resources.

Overrides