Compute Engine v1 API - Class RegionTargetTcpProxies.RegionTargetTcpProxiesClient (2.10.0)

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.RegionTargetTcpProxiesClient

Namespace

Google.Cloud.Compute.V1

Assembly

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
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

RegionTargetTcpProxiesClient(ChannelBase)

public RegionTargetTcpProxiesClient(ChannelBase channel)

Creates a new client for RegionTargetTcpProxies

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

RegionTargetTcpProxiesClient(ClientBaseConfiguration)

protected RegionTargetTcpProxiesClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration

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
TypeDescription
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
NameDescription
requestDeleteRegionTargetTcpProxyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestDeleteRegionTargetTcpProxyRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestDeleteRegionTargetTcpProxyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestDeleteRegionTargetTcpProxyRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

Get(GetRegionTargetTcpProxyRequest, CallOptions)

public virtual TargetTcpProxy Get(GetRegionTargetTcpProxyRequest request, CallOptions options)

Returns the specified TargetTcpProxy resource.

Parameters
NameDescription
requestGetRegionTargetTcpProxyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestGetRegionTargetTcpProxyRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestGetRegionTargetTcpProxyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestGetRegionTargetTcpProxyRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestInsertRegionTargetTcpProxyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestInsertRegionTargetTcpProxyRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestInsertRegionTargetTcpProxyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestInsertRegionTargetTcpProxyRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestListRegionTargetTcpProxiesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestListRegionTargetTcpProxiesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
requestListRegionTargetTcpProxiesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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
NameDescription
requestListRegionTargetTcpProxiesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallTargetTcpProxyList

The call object.

NewInstance(ClientBaseConfiguration)

protected override RegionTargetTcpProxies.RegionTargetTcpProxiesClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration
Returns
TypeDescription
RegionTargetTcpProxiesRegionTargetTcpProxiesClient
Overrides