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

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.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(ClientBase.ClientBaseConfiguration)

protected RegionTargetTcpProxiesClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBase.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
TypeDescription
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
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, 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
NameDescription
requestDeleteRegionTargetTcpProxyRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
AsyncUnaryCall<Operation>

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, 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
NameDescription
requestGetRegionTargetTcpProxyRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
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
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, 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
NameDescription
requestInsertRegionTargetTcpProxyRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
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
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, 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
NameDescription
requestListRegionTargetTcpProxiesRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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
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
NameDescription
configurationClientBase.ClientBaseConfiguration
Returns
TypeDescription
RegionTargetTcpProxies.RegionTargetTcpProxiesClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.Compute.V1.RegionTargetTcpProxies.RegionTargetTcpProxiesClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)