Compute Engine v1 API - Class TargetTcpProxiesClientImpl (2.7.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

GoogleCloudGoogle.Cloud.ComputeV1

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

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

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.

Parameters
NameDescription
requestAggregatedListTargetTcpProxiesRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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.

Parameters
NameDescription
requestAggregatedListTargetTcpProxiesRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
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
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
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
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
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. 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
TaskOperationOperationOperation

A Task containing the RPC response.

Overrides