Compute Engine v1 API - Class RegionTargetTcpProxiesClientImpl (3.1.0)

public sealed class RegionTargetTcpProxiesClientImpl : RegionTargetTcpProxiesClient

Reference documentation and code samples for the Compute Engine v1 API class RegionTargetTcpProxiesClientImpl.

RegionTargetTcpProxies client wrapper implementation, for convenient use.

Inheritance

object > RegionTargetTcpProxiesClient > RegionTargetTcpProxiesClientImpl

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Remarks

The RegionTargetTcpProxies API.

Constructors

RegionTargetTcpProxiesClientImpl(RegionTargetTcpProxiesClient, RegionTargetTcpProxiesSettings, ILogger)

public RegionTargetTcpProxiesClientImpl(RegionTargetTcpProxies.RegionTargetTcpProxiesClient grpcClient, RegionTargetTcpProxiesSettings settings, ILogger logger)

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

Parameters
Name Description
grpcClient RegionTargetTcpProxiesRegionTargetTcpProxiesClient

The underlying gRPC client.

settings RegionTargetTcpProxiesSettings

The base RegionTargetTcpProxiesSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

DeleteOperationsClient

public override OperationsClient DeleteOperationsClient { get; }

The long-running operations client for Delete.

Property Value
Type Description
OperationsClient
Overrides

GrpcClient

public override RegionTargetTcpProxies.RegionTargetTcpProxiesClient GrpcClient { get; }

The underlying gRPC RegionTargetTcpProxies client

Property Value
Type Description
RegionTargetTcpProxiesRegionTargetTcpProxiesClient
Overrides

InsertOperationsClient

public override OperationsClient InsertOperationsClient { get; }

The long-running operations client for Insert.

Property Value
Type Description
OperationsClient
Overrides

Methods

Delete(DeleteRegionTargetTcpProxyRequest, CallSettings)

public override Operation<Operation, Operation> Delete(DeleteRegionTargetTcpProxyRequest request, CallSettings callSettings = null)

Deletes the specified TargetTcpProxy resource.

Parameters
Name Description
request DeleteRegionTargetTcpProxyRequest

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
OperationOperationOperation

The RPC response.

Overrides

DeleteAsync(DeleteRegionTargetTcpProxyRequest, CallSettings)

public override Task<Operation<Operation, Operation>> DeleteAsync(DeleteRegionTargetTcpProxyRequest request, CallSettings callSettings = null)

Deletes the specified TargetTcpProxy resource.

Parameters
Name Description
request DeleteRegionTargetTcpProxyRequest

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
TaskOperationOperationOperation

A Task containing the RPC response.

Overrides

Get(GetRegionTargetTcpProxyRequest, CallSettings)

public override TargetTcpProxy Get(GetRegionTargetTcpProxyRequest request, CallSettings callSettings = null)

Returns the specified TargetTcpProxy resource.

Parameters
Name Description
request GetRegionTargetTcpProxyRequest

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
TargetTcpProxy

The RPC response.

Overrides

GetAsync(GetRegionTargetTcpProxyRequest, CallSettings)

public override Task<TargetTcpProxy> GetAsync(GetRegionTargetTcpProxyRequest request, CallSettings callSettings = null)

Returns the specified TargetTcpProxy resource.

Parameters
Name Description
request GetRegionTargetTcpProxyRequest

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
TaskTargetTcpProxy

A Task containing the RPC response.

Overrides

Insert(InsertRegionTargetTcpProxyRequest, CallSettings)

public override Operation<Operation, Operation> Insert(InsertRegionTargetTcpProxyRequest request, CallSettings callSettings = null)

Creates a TargetTcpProxy resource in the specified project and region using the data included in the request.

Parameters
Name Description
request InsertRegionTargetTcpProxyRequest

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
OperationOperationOperation

The RPC response.

Overrides

InsertAsync(InsertRegionTargetTcpProxyRequest, CallSettings)

public override Task<Operation<Operation, Operation>> InsertAsync(InsertRegionTargetTcpProxyRequest request, CallSettings callSettings = null)

Creates a TargetTcpProxy resource in the specified project and region using the data included in the request.

Parameters
Name Description
request InsertRegionTargetTcpProxyRequest

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
TaskOperationOperationOperation

A Task containing the RPC response.

Overrides

List(ListRegionTargetTcpProxiesRequest, CallSettings)

public override PagedEnumerable<TargetTcpProxyList, TargetTcpProxy> List(ListRegionTargetTcpProxiesRequest request, CallSettings callSettings = null)

Retrieves a list of TargetTcpProxy resources available to the specified project in a given region.

Parameters
Name Description
request ListRegionTargetTcpProxiesRequest

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
PagedEnumerableTargetTcpProxyListTargetTcpProxy

A pageable sequence of TargetTcpProxy resources.

Overrides

ListAsync(ListRegionTargetTcpProxiesRequest, CallSettings)

public override PagedAsyncEnumerable<TargetTcpProxyList, TargetTcpProxy> ListAsync(ListRegionTargetTcpProxiesRequest request, CallSettings callSettings = null)

Retrieves a list of TargetTcpProxy resources available to the specified project in a given region.

Parameters
Name Description
request ListRegionTargetTcpProxiesRequest

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
PagedAsyncEnumerableTargetTcpProxyListTargetTcpProxy

A pageable asynchronous sequence of TargetTcpProxy resources.

Overrides