Class VpcAccessService.VpcAccessServiceClient (2.0.0)

public class VpcAccessServiceClient : ClientBase<VpcAccessService.VpcAccessServiceClient>

Client for VpcAccessService

Inheritance

Object > ClientBase > ClientBase<VpcAccessService.VpcAccessServiceClient> > VpcAccessService.VpcAccessServiceClient

Namespace

Google.Cloud.VpcAccess.V1

Assembly

Google.Cloud.VpcAccess.V1.dll

Constructors

VpcAccessServiceClient()

protected VpcAccessServiceClient()

Protected parameterless constructor to allow creation of test doubles.

VpcAccessServiceClient(CallInvoker)

public VpcAccessServiceClient(CallInvoker callInvoker)

Creates a new client for VpcAccessService that uses a custom CallInvoker.

Parameter
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

VpcAccessServiceClient(ChannelBase)

public VpcAccessServiceClient(ChannelBase channel)

Creates a new client for VpcAccessService

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

VpcAccessServiceClient(ClientBase.ClientBaseConfiguration)

protected VpcAccessServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration

The client configuration.

Methods

CreateConnector(CreateConnectorRequest, CallOptions)

public virtual Operation CreateConnector(CreateConnectorRequest request, CallOptions options)

Creates a Serverless VPC Access connector, returns an operation.

Parameters
NameDescription
requestCreateConnectorRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

CreateConnector(CreateConnectorRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Operation CreateConnector(CreateConnectorRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Creates a Serverless VPC Access connector, returns an operation.

Parameters
NameDescription
requestCreateConnectorRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

CreateConnectorAsync(CreateConnectorRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> CreateConnectorAsync(CreateConnectorRequest request, CallOptions options)

Creates a Serverless VPC Access connector, returns an operation.

Parameters
NameDescription
requestCreateConnectorRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

CreateConnectorAsync(CreateConnectorRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Operation> CreateConnectorAsync(CreateConnectorRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Creates a Serverless VPC Access connector, returns an operation.

Parameters
NameDescription
requestCreateConnectorRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

CreateOperationsClient()

public virtual Operations.OperationsClient CreateOperationsClient()

Creates a new instance of Operations.OperationsClient using the same call invoker as this client.

Returns
TypeDescription
Operations.OperationsClient

A new Operations client for the same target as this client.

DeleteConnector(DeleteConnectorRequest, CallOptions)

public virtual Operation DeleteConnector(DeleteConnectorRequest request, CallOptions options)

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

Parameters
NameDescription
requestDeleteConnectorRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

DeleteConnector(DeleteConnectorRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Operation DeleteConnector(DeleteConnectorRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

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

Parameters
NameDescription
requestDeleteConnectorRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

DeleteConnectorAsync(DeleteConnectorRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeleteConnectorAsync(DeleteConnectorRequest request, CallOptions options)

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

Parameters
NameDescription
requestDeleteConnectorRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

DeleteConnectorAsync(DeleteConnectorRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Operation> DeleteConnectorAsync(DeleteConnectorRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

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

Parameters
NameDescription
requestDeleteConnectorRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

GetConnector(GetConnectorRequest, CallOptions)

public virtual Connector GetConnector(GetConnectorRequest request, CallOptions options)

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

Parameters
NameDescription
requestGetConnectorRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Connector

The response received from the server.

GetConnector(GetConnectorRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Connector GetConnector(GetConnectorRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

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

Parameters
NameDescription
requestGetConnectorRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Connector

The response received from the server.

GetConnectorAsync(GetConnectorRequest, CallOptions)

public virtual AsyncUnaryCall<Connector> GetConnectorAsync(GetConnectorRequest request, CallOptions options)

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

Parameters
NameDescription
requestGetConnectorRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Connector>

The call object.

GetConnectorAsync(GetConnectorRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Connector> GetConnectorAsync(GetConnectorRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

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

Parameters
NameDescription
requestGetConnectorRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Connector>

The call object.

ListConnectors(ListConnectorsRequest, CallOptions)

public virtual ListConnectorsResponse ListConnectors(ListConnectorsRequest request, CallOptions options)

Lists Serverless VPC Access connectors.

Parameters
NameDescription
requestListConnectorsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListConnectorsResponse

The response received from the server.

ListConnectors(ListConnectorsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual ListConnectorsResponse ListConnectors(ListConnectorsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Lists Serverless VPC Access connectors.

Parameters
NameDescription
requestListConnectorsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ListConnectorsResponse

The response received from the server.

ListConnectorsAsync(ListConnectorsRequest, CallOptions)

public virtual AsyncUnaryCall<ListConnectorsResponse> ListConnectorsAsync(ListConnectorsRequest request, CallOptions options)

Lists Serverless VPC Access connectors.

Parameters
NameDescription
requestListConnectorsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<ListConnectorsResponse>

The call object.

ListConnectorsAsync(ListConnectorsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<ListConnectorsResponse> ListConnectorsAsync(ListConnectorsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))

Lists Serverless VPC Access connectors.

Parameters
NameDescription
requestListConnectorsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<ListConnectorsResponse>

The call object.

NewInstance(ClientBase.ClientBaseConfiguration)

protected override VpcAccessService.VpcAccessServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration
Returns
TypeDescription
VpcAccessService.VpcAccessServiceClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.VpcAccess.V1.VpcAccessService.VpcAccessServiceClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)