public class RegionTargetTcpProxiesClient : ClientBase<RegionTargetTcpProxies.RegionTargetTcpProxiesClient>
Reference documentation and code samples for the Compute Engine v1 API class RegionTargetTcpProxies.RegionTargetTcpProxiesClient.
Client for RegionTargetTcpProxies
Inheritance
Object > ClientBase > ClientBase<RegionTargetTcpProxies.RegionTargetTcpProxiesClient> > 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(ClientBase.ClientBaseConfiguration)
protected RegionTargetTcpProxiesClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration 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 |
Operations.OperationsClient | 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, Nullable<DateTime>, CancellationToken)
public virtual Operation Delete(DeleteRegionTargetTcpProxyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Operation> | The call object. |
DeleteAsync(DeleteRegionTargetTcpProxyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteRegionTargetTcpProxyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Operation> | 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, Nullable<DateTime>, CancellationToken)
public virtual TargetTcpProxy Get(GetRegionTargetTcpProxyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<TargetTcpProxy> | The call object. |
GetAsync(GetRegionTargetTcpProxyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<TargetTcpProxy> GetAsync(GetRegionTargetTcpProxyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<TargetTcpProxy> | 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, Nullable<DateTime>, CancellationToken)
public virtual Operation Insert(InsertRegionTargetTcpProxyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Operation> | The call object. |
InsertAsync(InsertRegionTargetTcpProxyRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> InsertAsync(InsertRegionTargetTcpProxyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<Operation> | 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, Nullable<DateTime>, CancellationToken)
public virtual TargetTcpProxyList List(ListRegionTargetTcpProxiesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<TargetTcpProxyList> | The call object. |
ListAsync(ListRegionTargetTcpProxiesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<TargetTcpProxyList> ListAsync(ListRegionTargetTcpProxiesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | Nullable<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 |
AsyncUnaryCall<TargetTcpProxyList> | The call object. |
NewInstance(ClientBase.ClientBaseConfiguration)
protected override RegionTargetTcpProxies.RegionTargetTcpProxiesClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
RegionTargetTcpProxies.RegionTargetTcpProxiesClient |