Compute Engine v1 API - Class RegionTargetTcpProxiesClientImpl (2.4.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(RegionTargetTcpProxies.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
NameDescription
grpcClientRegionTargetTcpProxies.RegionTargetTcpProxiesClient

The underlying gRPC client.

settingsRegionTargetTcpProxiesSettings

The base RegionTargetTcpProxiesSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

DeleteOperationsClient

public override OperationsClient DeleteOperationsClient { get; }

The long-running operations client for Delete.

Property Value
TypeDescription
OperationsClient
Overrides

GrpcClient

public override RegionTargetTcpProxies.RegionTargetTcpProxiesClient GrpcClient { get; }

The underlying gRPC RegionTargetTcpProxies client

Property Value
TypeDescription
RegionTargetTcpProxies.RegionTargetTcpProxiesClient
Overrides

InsertOperationsClient

public override OperationsClient InsertOperationsClient { get; }

The long-running operations client for Insert.

Property Value
TypeDescription
OperationsClient
Overrides

Methods

Delete(DeleteRegionTargetTcpProxyRequest, CallSettings)

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

Deletes the specified TargetTcpProxy resource.

Parameters
NameDescription
requestDeleteRegionTargetTcpProxyRequest

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<Operation, Operation>

The RPC response.

Overrides

DeleteAsync(DeleteRegionTargetTcpProxyRequest, CallSettings)

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

Deletes the specified TargetTcpProxy resource.

Parameters
NameDescription
requestDeleteRegionTargetTcpProxyRequest

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<Operation, Operation>>

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

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TargetTcpProxy

The RPC response.

Overrides

GetAsync(GetRegionTargetTcpProxyRequest, CallSettings)

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

Returns the specified TargetTcpProxy resource.

Parameters
NameDescription
requestGetRegionTargetTcpProxyRequest

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

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

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<Operation, Operation>

The RPC response.

Overrides

InsertAsync(InsertRegionTargetTcpProxyRequest, CallSettings)

public override async 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
NameDescription
requestInsertRegionTargetTcpProxyRequest

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<Operation, Operation>>

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

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<TargetTcpProxyList, TargetTcpProxy>

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

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<TargetTcpProxyList, TargetTcpProxy>

A pageable asynchronous sequence of TargetTcpProxy resources.

Overrides