Compute Engine v1 API - Class TargetTcpProxiesClientImpl (2.3.0)

public sealed class TargetTcpProxiesClientImpl : TargetTcpProxiesClient

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

TargetTcpProxies client wrapper implementation, for convenient use.

Inheritance

Object > TargetTcpProxiesClient > TargetTcpProxiesClientImpl

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Remarks

The TargetTcpProxies API.

Constructors

TargetTcpProxiesClientImpl(TargetTcpProxies.TargetTcpProxiesClient, TargetTcpProxiesSettings, ILogger)

public TargetTcpProxiesClientImpl(TargetTcpProxies.TargetTcpProxiesClient grpcClient, TargetTcpProxiesSettings settings, ILogger logger)

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

Parameters
NameDescription
grpcClientTargetTcpProxies.TargetTcpProxiesClient

The underlying gRPC client.

settingsTargetTcpProxiesSettings

The base TargetTcpProxiesSettings 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 TargetTcpProxies.TargetTcpProxiesClient GrpcClient { get; }

The underlying gRPC TargetTcpProxies client

Property Value
TypeDescription
TargetTcpProxies.TargetTcpProxiesClient
Overrides

InsertOperationsClient

public override OperationsClient InsertOperationsClient { get; }

The long-running operations client for Insert.

Property Value
TypeDescription
OperationsClient
Overrides

SetBackendServiceOperationsClient

public override OperationsClient SetBackendServiceOperationsClient { get; }

The long-running operations client for SetBackendService.

Property Value
TypeDescription
OperationsClient
Overrides

SetProxyHeaderOperationsClient

public override OperationsClient SetProxyHeaderOperationsClient { get; }

The long-running operations client for SetProxyHeader.

Property Value
TypeDescription
OperationsClient
Overrides

Methods

Delete(DeleteTargetTcpProxyRequest, CallSettings)

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

Deletes the specified TargetTcpProxy resource.

Parameters
NameDescription
requestDeleteTargetTcpProxyRequest

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(DeleteTargetTcpProxyRequest, CallSettings)

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

Deletes the specified TargetTcpProxy resource.

Parameters
NameDescription
requestDeleteTargetTcpProxyRequest

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(GetTargetTcpProxyRequest, CallSettings)

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

Returns the specified TargetTcpProxy resource. Gets a list of available target TCP proxies by making a list() request.

Parameters
NameDescription
requestGetTargetTcpProxyRequest

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(GetTargetTcpProxyRequest, CallSettings)

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

Returns the specified TargetTcpProxy resource. Gets a list of available target TCP proxies by making a list() request.

Parameters
NameDescription
requestGetTargetTcpProxyRequest

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(InsertTargetTcpProxyRequest, CallSettings)

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

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

Parameters
NameDescription
requestInsertTargetTcpProxyRequest

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(InsertTargetTcpProxyRequest, CallSettings)

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

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

Parameters
NameDescription
requestInsertTargetTcpProxyRequest

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(ListTargetTcpProxiesRequest, CallSettings)

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

Retrieves the list of TargetTcpProxy resources available to the specified project.

Parameters
NameDescription
requestListTargetTcpProxiesRequest

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(ListTargetTcpProxiesRequest, CallSettings)

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

Retrieves the list of TargetTcpProxy resources available to the specified project.

Parameters
NameDescription
requestListTargetTcpProxiesRequest

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

SetBackendService(SetBackendServiceTargetTcpProxyRequest, CallSettings)

public override Operation<Operation, Operation> SetBackendService(SetBackendServiceTargetTcpProxyRequest request, CallSettings callSettings = null)

Changes the BackendService for TargetTcpProxy.

Parameters
NameDescription
requestSetBackendServiceTargetTcpProxyRequest

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

SetBackendServiceAsync(SetBackendServiceTargetTcpProxyRequest, CallSettings)

public override async Task<Operation<Operation, Operation>> SetBackendServiceAsync(SetBackendServiceTargetTcpProxyRequest request, CallSettings callSettings = null)

Changes the BackendService for TargetTcpProxy.

Parameters
NameDescription
requestSetBackendServiceTargetTcpProxyRequest

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

SetProxyHeader(SetProxyHeaderTargetTcpProxyRequest, CallSettings)

public override Operation<Operation, Operation> SetProxyHeader(SetProxyHeaderTargetTcpProxyRequest request, CallSettings callSettings = null)

Changes the ProxyHeaderType for TargetTcpProxy.

Parameters
NameDescription
requestSetProxyHeaderTargetTcpProxyRequest

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

SetProxyHeaderAsync(SetProxyHeaderTargetTcpProxyRequest, CallSettings)

public override async Task<Operation<Operation, Operation>> SetProxyHeaderAsync(SetProxyHeaderTargetTcpProxyRequest request, CallSettings callSettings = null)

Changes the ProxyHeaderType for TargetTcpProxy.

Parameters
NameDescription
requestSetProxyHeaderTargetTcpProxyRequest

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