public sealed class TargetTcpProxiesClientImpl : TargetTcpProxiesClientReference documentation and code samples for the Compute Engine v1 API class TargetTcpProxiesClientImpl.
TargetTcpProxies client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Compute.V1Assembly
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 |
TargetTcpProxiesTargetTcpProxiesClientThe underlying gRPC client. |
settings |
TargetTcpProxiesSettingsThe base TargetTcpProxiesSettings used within this client. |
logger |
ILoggerOptional 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 |
|
GrpcClient
public override TargetTcpProxies.TargetTcpProxiesClient GrpcClient { get; }The underlying gRPC TargetTcpProxies client
| Property Value | |
|---|---|
| Type | Description |
TargetTcpProxiesTargetTcpProxiesClient |
|
InsertOperationsClient
public override OperationsClient InsertOperationsClient { get; }The long-running operations client for Insert.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
SetBackendServiceOperationsClient
public override OperationsClient SetBackendServiceOperationsClient { get; }The long-running operations client for SetBackendService.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
SetProxyHeaderOperationsClient
public override OperationsClient SetProxyHeaderOperationsClient { get; }The long-running operations client for SetProxyHeader.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
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 |
AggregatedListTargetTcpProxiesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableTargetTcpProxyAggregatedListKeyValuePairstringTargetTcpProxiesScopedList |
A pageable sequence of KeyValuePair<TKey, TValue> resources. |
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 |
AggregatedListTargetTcpProxiesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableTargetTcpProxyAggregatedListKeyValuePairstringTargetTcpProxiesScopedList |
A pageable asynchronous sequence of KeyValuePair<TKey, TValue> resources. |
Delete(DeleteTargetTcpProxyRequest, CallSettings)
public override Operation<Operation, Operation> Delete(DeleteTargetTcpProxyRequest request, CallSettings callSettings = null)Deletes the specified TargetTcpProxy resource.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteTargetTcpProxyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationOperationOperation |
The RPC response. |
DeleteAsync(DeleteTargetTcpProxyRequest, CallSettings)
public override Task<Operation<Operation, Operation>> DeleteAsync(DeleteTargetTcpProxyRequest request, CallSettings callSettings = null)Deletes the specified TargetTcpProxy resource.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteTargetTcpProxyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationOperationOperation |
A Task containing the RPC response. |
Get(GetTargetTcpProxyRequest, CallSettings)
public override TargetTcpProxy Get(GetTargetTcpProxyRequest request, CallSettings callSettings = null)Returns the specified TargetTcpProxy resource.
| Parameters | |
|---|---|
| Name | Description |
request |
GetTargetTcpProxyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TargetTcpProxy |
The RPC response. |
GetAsync(GetTargetTcpProxyRequest, CallSettings)
public override Task<TargetTcpProxy> GetAsync(GetTargetTcpProxyRequest request, CallSettings callSettings = null)Returns the specified TargetTcpProxy resource.
| Parameters | |
|---|---|
| Name | Description |
request |
GetTargetTcpProxyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskTargetTcpProxy |
A Task containing the RPC response. |
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 |
InsertTargetTcpProxyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationOperationOperation |
The RPC response. |
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 |
InsertTargetTcpProxyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationOperationOperation |
A Task containing the RPC response. |
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 |
ListTargetTcpProxiesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableTargetTcpProxyListTargetTcpProxy |
A pageable sequence of TargetTcpProxy resources. |
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 |
ListTargetTcpProxiesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableTargetTcpProxyListTargetTcpProxy |
A pageable asynchronous sequence of TargetTcpProxy resources. |
SetBackendService(SetBackendServiceTargetTcpProxyRequest, CallSettings)
public override Operation<Operation, Operation> SetBackendService(SetBackendServiceTargetTcpProxyRequest request, CallSettings callSettings = null)Changes the BackendService for TargetTcpProxy.
| Parameters | |
|---|---|
| Name | Description |
request |
SetBackendServiceTargetTcpProxyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationOperationOperation |
The RPC response. |
SetBackendServiceAsync(SetBackendServiceTargetTcpProxyRequest, CallSettings)
public override Task<Operation<Operation, Operation>> SetBackendServiceAsync(SetBackendServiceTargetTcpProxyRequest request, CallSettings callSettings = null)Changes the BackendService for TargetTcpProxy.
| Parameters | |
|---|---|
| Name | Description |
request |
SetBackendServiceTargetTcpProxyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationOperationOperation |
A Task containing the RPC response. |
SetProxyHeader(SetProxyHeaderTargetTcpProxyRequest, CallSettings)
public override Operation<Operation, Operation> SetProxyHeader(SetProxyHeaderTargetTcpProxyRequest request, CallSettings callSettings = null)Changes the ProxyHeaderType for TargetTcpProxy.
| Parameters | |
|---|---|
| Name | Description |
request |
SetProxyHeaderTargetTcpProxyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationOperationOperation |
The RPC response. |
SetProxyHeaderAsync(SetProxyHeaderTargetTcpProxyRequest, CallSettings)
public override Task<Operation<Operation, Operation>> SetProxyHeaderAsync(SetProxyHeaderTargetTcpProxyRequest request, CallSettings callSettings = null)Changes the ProxyHeaderType for TargetTcpProxy.
| Parameters | |
|---|---|
| Name | Description |
request |
SetProxyHeaderTargetTcpProxyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationOperationOperation |
A Task containing the RPC response. |