public class RegionTargetTcpProxies.RegionTargetTcpProxiesClient : ClientBase<RegionTargetTcpProxies.RegionTargetTcpProxiesClient>
Reference documentation and code samples for the Compute Engine v1 API class RegionTargetTcpProxies.RegionTargetTcpProxiesClient.
Client for RegionTargetTcpProxies
Inheritance
object > ClientBase > ClientBaseRegionTargetTcpProxiesRegionTargetTcpProxiesClient > RegionTargetTcpProxies.RegionTargetTcpProxiesClientNamespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Constructors
RegionTargetTcpProxiesClient()
protected RegionTargetTcpProxiesClient()
Protected parameterless constructor to allow creation of test doubles.
RegionTargetTcpProxiesClient(CallInvoker)
public RegionTargetTcpProxiesClient(CallInvoker callInvoker)
Creates a new client for RegionTargetTcpProxies that uses a custom CallInvoker
.
Parameter | |
---|---|
Name | Description |
callInvoker |
CallInvoker The callInvoker to use to make remote calls. |
RegionTargetTcpProxiesClient(ChannelBase)
public RegionTargetTcpProxiesClient(ChannelBase channel)
Creates a new client for RegionTargetTcpProxies
Parameter | |
---|---|
Name | Description |
channel |
ChannelBase The channel to use to make remote calls. |
RegionTargetTcpProxiesClient(ClientBaseConfiguration)
protected RegionTargetTcpProxiesClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration |
ClientBaseClientBaseConfiguration The client configuration. |
Methods
CreateOperationsClientForRegionOperations()
public virtual Operations.OperationsClient CreateOperationsClientForRegionOperations()
Creates a new instance of Operations.OperationsClient using the same call invoker as this client, delegating to RegionOperations.
Returns | |
---|---|
Type | Description |
OperationsOperationsClient |
A new Operations client for the same target as this client. |
Delete(DeleteRegionTargetTcpProxyRequest, CallOptions)
public virtual Operation Delete(DeleteRegionTargetTcpProxyRequest request, CallOptions options)
Deletes the specified TargetTcpProxy resource.
Parameters | |
---|---|
Name | Description |
request |
DeleteRegionTargetTcpProxyRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
Delete(DeleteRegionTargetTcpProxyRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation Delete(DeleteRegionTargetTcpProxyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Deletes the specified TargetTcpProxy resource.
Parameters | |
---|---|
Name | Description |
request |
DeleteRegionTargetTcpProxyRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
DeleteAsync(DeleteRegionTargetTcpProxyRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteRegionTargetTcpProxyRequest request, CallOptions options)
Deletes the specified TargetTcpProxy resource.
Parameters | |
---|---|
Name | Description |
request |
DeleteRegionTargetTcpProxyRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
DeleteAsync(DeleteRegionTargetTcpProxyRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteRegionTargetTcpProxyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Deletes the specified TargetTcpProxy resource.
Parameters | |
---|---|
Name | Description |
request |
DeleteRegionTargetTcpProxyRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
Get(GetRegionTargetTcpProxyRequest, CallOptions)
public virtual TargetTcpProxy Get(GetRegionTargetTcpProxyRequest request, CallOptions options)
Returns the specified TargetTcpProxy resource.
Parameters | |
---|---|
Name | Description |
request |
GetRegionTargetTcpProxyRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
TargetTcpProxy |
The response received from the server. |
Get(GetRegionTargetTcpProxyRequest, Metadata, DateTime?, CancellationToken)
public virtual TargetTcpProxy Get(GetRegionTargetTcpProxyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Returns the specified TargetTcpProxy resource.
Parameters | |
---|---|
Name | Description |
request |
GetRegionTargetTcpProxyRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
TargetTcpProxy |
The response received from the server. |
GetAsync(GetRegionTargetTcpProxyRequest, CallOptions)
public virtual AsyncUnaryCall<TargetTcpProxy> GetAsync(GetRegionTargetTcpProxyRequest request, CallOptions options)
Returns the specified TargetTcpProxy resource.
Parameters | |
---|---|
Name | Description |
request |
GetRegionTargetTcpProxyRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallTargetTcpProxy |
The call object. |
GetAsync(GetRegionTargetTcpProxyRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<TargetTcpProxy> GetAsync(GetRegionTargetTcpProxyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Returns the specified TargetTcpProxy resource.
Parameters | |
---|---|
Name | Description |
request |
GetRegionTargetTcpProxyRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallTargetTcpProxy |
The call object. |
Insert(InsertRegionTargetTcpProxyRequest, CallOptions)
public virtual Operation Insert(InsertRegionTargetTcpProxyRequest request, CallOptions options)
Creates a TargetTcpProxy resource in the specified project and region using the data included in the request.
Parameters | |
---|---|
Name | Description |
request |
InsertRegionTargetTcpProxyRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
Insert(InsertRegionTargetTcpProxyRequest, Metadata, DateTime?, CancellationToken)
public virtual Operation Insert(InsertRegionTargetTcpProxyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Creates a TargetTcpProxy resource in the specified project and region using the data included in the request.
Parameters | |
---|---|
Name | Description |
request |
InsertRegionTargetTcpProxyRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation |
The response received from the server. |
InsertAsync(InsertRegionTargetTcpProxyRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> InsertAsync(InsertRegionTargetTcpProxyRequest request, CallOptions options)
Creates a TargetTcpProxy resource in the specified project and region using the data included in the request.
Parameters | |
---|---|
Name | Description |
request |
InsertRegionTargetTcpProxyRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
InsertAsync(InsertRegionTargetTcpProxyRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Operation> InsertAsync(InsertRegionTargetTcpProxyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Creates a TargetTcpProxy resource in the specified project and region using the data included in the request.
Parameters | |
---|---|
Name | Description |
request |
InsertRegionTargetTcpProxyRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallOperation |
The call object. |
List(ListRegionTargetTcpProxiesRequest, CallOptions)
public virtual TargetTcpProxyList List(ListRegionTargetTcpProxiesRequest request, CallOptions options)
Retrieves a list of TargetTcpProxy resources available to the specified project in a given region.
Parameters | |
---|---|
Name | Description |
request |
ListRegionTargetTcpProxiesRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
TargetTcpProxyList |
The response received from the server. |
List(ListRegionTargetTcpProxiesRequest, Metadata, DateTime?, CancellationToken)
public virtual TargetTcpProxyList List(ListRegionTargetTcpProxiesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Retrieves a list of TargetTcpProxy resources available to the specified project in a given region.
Parameters | |
---|---|
Name | Description |
request |
ListRegionTargetTcpProxiesRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
TargetTcpProxyList |
The response received from the server. |
ListAsync(ListRegionTargetTcpProxiesRequest, CallOptions)
public virtual AsyncUnaryCall<TargetTcpProxyList> ListAsync(ListRegionTargetTcpProxiesRequest request, CallOptions options)
Retrieves a list of TargetTcpProxy resources available to the specified project in a given region.
Parameters | |
---|---|
Name | Description |
request |
ListRegionTargetTcpProxiesRequest The request to send to the server. |
options |
CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallTargetTcpProxyList |
The call object. |
ListAsync(ListRegionTargetTcpProxiesRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<TargetTcpProxyList> ListAsync(ListRegionTargetTcpProxiesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Retrieves a list of TargetTcpProxy resources available to the specified project in a given region.
Parameters | |
---|---|
Name | Description |
request |
ListRegionTargetTcpProxiesRequest The request to send to the server. |
headers |
Metadata The initial metadata to send with the call. This parameter is optional. |
deadline |
DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken |
CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallTargetTcpProxyList |
The call object. |
NewInstance(ClientBaseConfiguration)
protected override RegionTargetTcpProxies.RegionTargetTcpProxiesClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameter | |
---|---|
Name | Description |
configuration |
ClientBaseClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
RegionTargetTcpProxiesRegionTargetTcpProxiesClient |