public sealed class TargetTcpProxiesClientImpl : TargetTcpProxiesClientTargetTcpProxies client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Compute.V1Assembly
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 | |
|---|---|
| Name | Description |
grpcClient |
TargetTcpProxies.TargetTcpProxiesClientThe 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 |
TargetTcpProxies.TargetTcpProxiesClient |
|
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
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 |
Operation<Operation, Operation> |
The RPC response. |
DeleteAsync(DeleteTargetTcpProxyRequest, CallSettings)
public override async 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 |
Task<Operation<Operation, Operation>> |
A Task containing the RPC response. |
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 | |
|---|---|
| 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. Gets a list of available target TCP proxies by making a list() request.
| 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 |
Task<TargetTcpProxy> |
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 |
Operation<Operation, Operation> |
The RPC response. |
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 | |
|---|---|
| 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 |
Task<Operation<Operation, Operation>> |
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 |
PagedEnumerable<TargetTcpProxyList, TargetTcpProxy> |
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 |
PagedAsyncEnumerable<TargetTcpProxyList, TargetTcpProxy> |
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 |
Operation<Operation, Operation> |
The RPC response. |
SetBackendServiceAsync(SetBackendServiceTargetTcpProxyRequest, CallSettings)
public override async 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 |
Task<Operation<Operation, Operation>> |
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 |
Operation<Operation, Operation> |
The RPC response. |
SetProxyHeaderAsync(SetProxyHeaderTargetTcpProxyRequest, CallSettings)
public override async 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 |
Task<Operation<Operation, Operation>> |
A Task containing the RPC response. |