public sealed class VpcAccessServiceClientImpl : VpcAccessServiceClient
VpcAccessService client wrapper implementation, for convenient use.
Namespace
Google.Cloud.VpcAccess.V1Assembly
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 | |
---|---|
Name | Description |
grpcClient | VpcAccessService.VpcAccessServiceClient The underlying gRPC client. |
settings | VpcAccessServiceSettings The base VpcAccessServiceSettings used within this client. |
Properties
CreateConnectorOperationsClient
public override OperationsClient CreateConnectorOperationsClient { get; }
The long-running operations client for CreateConnector
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
DeleteConnectorOperationsClient
public override OperationsClient DeleteConnectorOperationsClient { get; }
The long-running operations client for DeleteConnector
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
GrpcClient
public override VpcAccessService.VpcAccessServiceClient GrpcClient { get; }
The underlying gRPC VpcAccessService client
Property Value | |
---|---|
Type | Description |
VpcAccessService.VpcAccessServiceClient |
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 |
Operation<Connector, OperationMetadata> | The RPC response. |
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 |
Task<Operation<Connector, OperationMetadata>> | A Task containing the RPC response. |
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 |
Operation<Empty, OperationMetadata> | The RPC response. |
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 |
Task<Operation<Empty, OperationMetadata>> | A Task containing the RPC response. |
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. |
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 |
Task<Connector> | A Task containing the RPC response. |
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 |
PagedEnumerable<ListConnectorsResponse, Connector> | A pageable sequence of Connector resources. |
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 |
PagedAsyncEnumerable<ListConnectorsResponse, Connector> | A pageable asynchronous sequence of Connector resources. |