Compute Engine v1 API - Class TargetTcpProxiesClientImpl (2.15.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(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
Name Description
grpcClient TargetTcpProxiesTargetTcpProxiesClient

The underlying gRPC client.

settings TargetTcpProxiesSettings

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

The underlying gRPC TargetTcpProxies client

Property Value
Type Description
TargetTcpProxiesTargetTcpProxiesClient
Overrides

InsertOperationsClient

public override OperationsClient InsertOperationsClient { get; }

The long-running operations client for Insert.

Property Value
Type Description
OperationsClient
Overrides

SetBackendServiceOperationsClient

public override OperationsClient SetBackendServiceOperationsClient { get; }

The long-running operations client for SetBackendService.

Property Value
Type Description
OperationsClient
Overrides

SetProxyHeaderOperationsClient

public override OperationsClient SetProxyHeaderOperationsClient { get; }

The long-running operations client for SetProxyHeader.

Property Value
Type Description
OperationsClient
Overrides

Methods

AggregatedList(AggregatedListTargetTcpProxiesRequest, CallSettings)

public override PagedEnumerable<TargetTcpProxyAggregatedList, KeyValuePair<string, TargetTcpProxiesScopedList>> AggregatedList(AggregatedListTargetTcpProxiesRequest request, CallSettings callSettings = null)

Retrieves the list of all TargetTcpProxy resources, regional and global, available to the specified project. To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true.

Parameters
Name Description
request AggregatedListTargetTcpProxiesRequest

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
PagedEnumerableTargetTcpProxyAggregatedListKeyValuePairstringTargetTcpProxiesScopedList

A pageable sequence of KeyValuePair<TKey, TValue> resources.

Overrides

AggregatedListAsync(AggregatedListTargetTcpProxiesRequest, CallSettings)

public override PagedAsyncEnumerable<TargetTcpProxyAggregatedList, KeyValuePair<string, TargetTcpProxiesScopedList>> AggregatedListAsync(AggregatedListTargetTcpProxiesRequest request, CallSettings callSettings = null)

Retrieves the list of all TargetTcpProxy resources, regional and global, available to the specified project. To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true.

Parameters
Name Description
request AggregatedListTargetTcpProxiesRequest

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
PagedAsyncEnumerableTargetTcpProxyAggregatedListKeyValuePairstringTargetTcpProxiesScopedList

A pageable asynchronous sequence of KeyValuePair<TKey, TValue> resources.

Overrides

Delete(DeleteTargetTcpProxyRequest, CallSettings)

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

Deletes the specified TargetTcpProxy resource.

Parameters
Name Description
request DeleteTargetTcpProxyRequest

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

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

Deletes the specified TargetTcpProxy resource.

Parameters
Name Description
request DeleteTargetTcpProxyRequest

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

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

Returns the specified TargetTcpProxy resource.

Parameters
Name Description
request GetTargetTcpProxyRequest

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

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

Returns the specified TargetTcpProxy resource.

Parameters
Name Description
request GetTargetTcpProxyRequest

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(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
Name Description
request InsertTargetTcpProxyRequest

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

public override 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
Name Description
request InsertTargetTcpProxyRequest

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(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
Name Description
request ListTargetTcpProxiesRequest

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(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
Name Description
request ListTargetTcpProxiesRequest

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

SetBackendService(SetBackendServiceTargetTcpProxyRequest, CallSettings)

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

Changes the BackendService for TargetTcpProxy.

Parameters
Name Description
request SetBackendServiceTargetTcpProxyRequest

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

SetBackendServiceAsync(SetBackendServiceTargetTcpProxyRequest, CallSettings)

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

Changes the BackendService for TargetTcpProxy.

Parameters
Name Description
request SetBackendServiceTargetTcpProxyRequest

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

SetProxyHeader(SetProxyHeaderTargetTcpProxyRequest, CallSettings)

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

Changes the ProxyHeaderType for TargetTcpProxy.

Parameters
Name Description
request SetProxyHeaderTargetTcpProxyRequest

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

SetProxyHeaderAsync(SetProxyHeaderTargetTcpProxyRequest, CallSettings)

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

Changes the ProxyHeaderType for TargetTcpProxy.

Parameters
Name Description
request SetProxyHeaderTargetTcpProxyRequest

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