Class VpcAccessServiceClientImpl (1.0.0)

public sealed class VpcAccessServiceClientImpl : VpcAccessServiceClient

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(VpcAccessService.VpcAccessServiceClient, VpcAccessServiceSettings)

public VpcAccessServiceClientImpl(VpcAccessService.VpcAccessServiceClient grpcClient, VpcAccessServiceSettings settings)

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

Parameters
NameDescription
grpcClientVpcAccessService.VpcAccessServiceClient

The underlying gRPC client.

settingsVpcAccessServiceSettings

The base VpcAccessServiceSettings used within this client.

Properties

CreateConnectorOperationsClient

public override OperationsClient CreateConnectorOperationsClient { get; }

The long-running operations client for CreateConnector.

Property Value
TypeDescription
OperationsClient
Overrides

DeleteConnectorOperationsClient

public override OperationsClient DeleteConnectorOperationsClient { get; }

The long-running operations client for DeleteConnector.

Property Value
TypeDescription
OperationsClient
Overrides

GrpcClient

public override VpcAccessService.VpcAccessServiceClient GrpcClient { get; }

The underlying gRPC VpcAccessService client

Property Value
TypeDescription
VpcAccessService.VpcAccessServiceClient
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
NameDescription
requestCreateConnectorRequest

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<Connector, OperationMetadata>

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
NameDescription
requestCreateConnectorRequest

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<Connector, OperationMetadata>>

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
NameDescription
requestDeleteConnectorRequest

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

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
NameDescription
requestDeleteConnectorRequest

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

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
NameDescription
requestGetConnectorRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
NameDescription
requestGetConnectorRequest

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

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
NameDescription
requestListConnectorsRequest

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<ListConnectorsResponse, Connector>

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
NameDescription
requestListConnectorsRequest

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<ListConnectorsResponse, Connector>

A pageable asynchronous sequence of Connector resources.

Overrides