public sealed class RegionTargetTcpProxiesClientImpl : RegionTargetTcpProxiesClient
Reference documentation and code samples for the Compute Engine v1 API class RegionTargetTcpProxiesClientImpl.
RegionTargetTcpProxies client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Remarks
The RegionTargetTcpProxies API.
Constructors
RegionTargetTcpProxiesClientImpl(RegionTargetTcpProxies.RegionTargetTcpProxiesClient, RegionTargetTcpProxiesSettings, ILogger)
public RegionTargetTcpProxiesClientImpl(RegionTargetTcpProxies.RegionTargetTcpProxiesClient grpcClient, RegionTargetTcpProxiesSettings settings, ILogger logger)
Constructs a client wrapper for the RegionTargetTcpProxies service, with the specified gRPC client and settings.
Parameters | |
---|---|
Name | Description |
grpcClient | RegionTargetTcpProxies.RegionTargetTcpProxiesClient The underlying gRPC client. |
settings | RegionTargetTcpProxiesSettings The base RegionTargetTcpProxiesSettings 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 |
GrpcClient
public override RegionTargetTcpProxies.RegionTargetTcpProxiesClient GrpcClient { get; }
The underlying gRPC RegionTargetTcpProxies client
Property Value | |
---|---|
Type | Description |
RegionTargetTcpProxies.RegionTargetTcpProxiesClient |
InsertOperationsClient
public override OperationsClient InsertOperationsClient { get; }
The long-running operations client for Insert
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
Methods
Delete(DeleteRegionTargetTcpProxyRequest, CallSettings)
public override Operation<Operation, Operation> Delete(DeleteRegionTargetTcpProxyRequest request, CallSettings callSettings = null)
Deletes the specified TargetTcpProxy resource.
Parameters | |
---|---|
Name | Description |
request | DeleteRegionTargetTcpProxyRequest 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 |
Operation<Operation, Operation> | The RPC response. |
DeleteAsync(DeleteRegionTargetTcpProxyRequest, CallSettings)
public override async Task<Operation<Operation, Operation>> DeleteAsync(DeleteRegionTargetTcpProxyRequest request, CallSettings callSettings = null)
Deletes the specified TargetTcpProxy resource.
Parameters | |
---|---|
Name | Description |
request | DeleteRegionTargetTcpProxyRequest 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 |
Task<Operation<Operation, Operation>> | A Task containing the RPC response. |
Get(GetRegionTargetTcpProxyRequest, CallSettings)
public override TargetTcpProxy Get(GetRegionTargetTcpProxyRequest request, CallSettings callSettings = null)
Returns the specified TargetTcpProxy resource.
Parameters | |
---|---|
Name | Description |
request | GetRegionTargetTcpProxyRequest 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. |
GetAsync(GetRegionTargetTcpProxyRequest, CallSettings)
public override Task<TargetTcpProxy> GetAsync(GetRegionTargetTcpProxyRequest request, CallSettings callSettings = null)
Returns the specified TargetTcpProxy resource.
Parameters | |
---|---|
Name | Description |
request | GetRegionTargetTcpProxyRequest 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 |
Task<TargetTcpProxy> | A Task containing the RPC response. |
Insert(InsertRegionTargetTcpProxyRequest, CallSettings)
public override Operation<Operation, Operation> Insert(InsertRegionTargetTcpProxyRequest request, CallSettings callSettings = null)
Creates a TargetTcpProxy resource in the specified project and region using the data included in the request.
Parameters | |
---|---|
Name | Description |
request | InsertRegionTargetTcpProxyRequest 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 |
Operation<Operation, Operation> | The RPC response. |
InsertAsync(InsertRegionTargetTcpProxyRequest, CallSettings)
public override async Task<Operation<Operation, Operation>> InsertAsync(InsertRegionTargetTcpProxyRequest request, CallSettings callSettings = null)
Creates a TargetTcpProxy resource in the specified project and region using the data included in the request.
Parameters | |
---|---|
Name | Description |
request | InsertRegionTargetTcpProxyRequest 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 |
Task<Operation<Operation, Operation>> | A Task containing the RPC response. |
List(ListRegionTargetTcpProxiesRequest, CallSettings)
public override PagedEnumerable<TargetTcpProxyList, TargetTcpProxy> List(ListRegionTargetTcpProxiesRequest request, CallSettings callSettings = null)
Retrieves a list of TargetTcpProxy resources available to the specified project in a given region.
Parameters | |
---|---|
Name | Description |
request | ListRegionTargetTcpProxiesRequest 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 |
PagedEnumerable<TargetTcpProxyList, TargetTcpProxy> | A pageable sequence of TargetTcpProxy resources. |
ListAsync(ListRegionTargetTcpProxiesRequest, CallSettings)
public override PagedAsyncEnumerable<TargetTcpProxyList, TargetTcpProxy> ListAsync(ListRegionTargetTcpProxiesRequest request, CallSettings callSettings = null)
Retrieves a list of TargetTcpProxy resources available to the specified project in a given region.
Parameters | |
---|---|
Name | Description |
request | ListRegionTargetTcpProxiesRequest 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 |
PagedAsyncEnumerable<TargetTcpProxyList, TargetTcpProxy> | A pageable asynchronous sequence of TargetTcpProxy resources. |