Compute Engine v1 API - Class RegionTargetHttpProxies.RegionTargetHttpProxiesClient (2.14.0)

public class RegionTargetHttpProxies.RegionTargetHttpProxiesClient : ClientBase<RegionTargetHttpProxies.RegionTargetHttpProxiesClient>

Reference documentation and code samples for the Compute Engine v1 API class RegionTargetHttpProxies.RegionTargetHttpProxiesClient.

Client for RegionTargetHttpProxies

Inheritance

object > ClientBase > ClientBaseRegionTargetHttpProxiesRegionTargetHttpProxiesClient > RegionTargetHttpProxies.RegionTargetHttpProxiesClient

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

RegionTargetHttpProxiesClient()

protected RegionTargetHttpProxiesClient()

Protected parameterless constructor to allow creation of test doubles.

RegionTargetHttpProxiesClient(CallInvoker)

public RegionTargetHttpProxiesClient(CallInvoker callInvoker)

Creates a new client for RegionTargetHttpProxies that uses a custom CallInvoker.

Parameter
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

RegionTargetHttpProxiesClient(ChannelBase)

public RegionTargetHttpProxiesClient(ChannelBase channel)

Creates a new client for RegionTargetHttpProxies

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

RegionTargetHttpProxiesClient(ClientBaseConfiguration)

protected RegionTargetHttpProxiesClient(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(DeleteRegionTargetHttpProxyRequest, CallOptions)

public virtual Operation Delete(DeleteRegionTargetHttpProxyRequest request, CallOptions options)

Deletes the specified TargetHttpProxy resource.

Parameters
NameDescription
requestDeleteRegionTargetHttpProxyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

Delete(DeleteRegionTargetHttpProxyRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation Delete(DeleteRegionTargetHttpProxyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes the specified TargetHttpProxy resource.

Parameters
NameDescription
requestDeleteRegionTargetHttpProxyRequest

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(DeleteRegionTargetHttpProxyRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteRegionTargetHttpProxyRequest request, CallOptions options)

Deletes the specified TargetHttpProxy resource.

Parameters
NameDescription
requestDeleteRegionTargetHttpProxyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

DeleteAsync(DeleteRegionTargetHttpProxyRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteRegionTargetHttpProxyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes the specified TargetHttpProxy resource.

Parameters
NameDescription
requestDeleteRegionTargetHttpProxyRequest

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(GetRegionTargetHttpProxyRequest, CallOptions)

public virtual TargetHttpProxy Get(GetRegionTargetHttpProxyRequest request, CallOptions options)

Returns the specified TargetHttpProxy resource in the specified region.

Parameters
NameDescription
requestGetRegionTargetHttpProxyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
TargetHttpProxy

The response received from the server.

Get(GetRegionTargetHttpProxyRequest, Metadata, DateTime?, CancellationToken)

public virtual TargetHttpProxy Get(GetRegionTargetHttpProxyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns the specified TargetHttpProxy resource in the specified region.

Parameters
NameDescription
requestGetRegionTargetHttpProxyRequest

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
TargetHttpProxy

The response received from the server.

GetAsync(GetRegionTargetHttpProxyRequest, CallOptions)

public virtual AsyncUnaryCall<TargetHttpProxy> GetAsync(GetRegionTargetHttpProxyRequest request, CallOptions options)

Returns the specified TargetHttpProxy resource in the specified region.

Parameters
NameDescription
requestGetRegionTargetHttpProxyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallTargetHttpProxy

The call object.

GetAsync(GetRegionTargetHttpProxyRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<TargetHttpProxy> GetAsync(GetRegionTargetHttpProxyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns the specified TargetHttpProxy resource in the specified region.

Parameters
NameDescription
requestGetRegionTargetHttpProxyRequest

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
AsyncUnaryCallTargetHttpProxy

The call object.

Insert(InsertRegionTargetHttpProxyRequest, CallOptions)

public virtual Operation Insert(InsertRegionTargetHttpProxyRequest request, CallOptions options)

Creates a TargetHttpProxy resource in the specified project and region using the data included in the request.

Parameters
NameDescription
requestInsertRegionTargetHttpProxyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

Insert(InsertRegionTargetHttpProxyRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation Insert(InsertRegionTargetHttpProxyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a TargetHttpProxy resource in the specified project and region using the data included in the request.

Parameters
NameDescription
requestInsertRegionTargetHttpProxyRequest

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(InsertRegionTargetHttpProxyRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> InsertAsync(InsertRegionTargetHttpProxyRequest request, CallOptions options)

Creates a TargetHttpProxy resource in the specified project and region using the data included in the request.

Parameters
NameDescription
requestInsertRegionTargetHttpProxyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

InsertAsync(InsertRegionTargetHttpProxyRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> InsertAsync(InsertRegionTargetHttpProxyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a TargetHttpProxy resource in the specified project and region using the data included in the request.

Parameters
NameDescription
requestInsertRegionTargetHttpProxyRequest

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(ListRegionTargetHttpProxiesRequest, CallOptions)

public virtual TargetHttpProxyList List(ListRegionTargetHttpProxiesRequest request, CallOptions options)

Retrieves the list of TargetHttpProxy resources available to the specified project in the specified region.

Parameters
NameDescription
requestListRegionTargetHttpProxiesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
TargetHttpProxyList

The response received from the server.

List(ListRegionTargetHttpProxiesRequest, Metadata, DateTime?, CancellationToken)

public virtual TargetHttpProxyList List(ListRegionTargetHttpProxiesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Retrieves the list of TargetHttpProxy resources available to the specified project in the specified region.

Parameters
NameDescription
requestListRegionTargetHttpProxiesRequest

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
TargetHttpProxyList

The response received from the server.

ListAsync(ListRegionTargetHttpProxiesRequest, CallOptions)

public virtual AsyncUnaryCall<TargetHttpProxyList> ListAsync(ListRegionTargetHttpProxiesRequest request, CallOptions options)

Retrieves the list of TargetHttpProxy resources available to the specified project in the specified region.

Parameters
NameDescription
requestListRegionTargetHttpProxiesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallTargetHttpProxyList

The call object.

ListAsync(ListRegionTargetHttpProxiesRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<TargetHttpProxyList> ListAsync(ListRegionTargetHttpProxiesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Retrieves the list of TargetHttpProxy resources available to the specified project in the specified region.

Parameters
NameDescription
requestListRegionTargetHttpProxiesRequest

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
AsyncUnaryCallTargetHttpProxyList

The call object.

NewInstance(ClientBaseConfiguration)

protected override RegionTargetHttpProxies.RegionTargetHttpProxiesClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration
Returns
TypeDescription
RegionTargetHttpProxiesRegionTargetHttpProxiesClient
Overrides

SetUrlMap(SetUrlMapRegionTargetHttpProxyRequest, CallOptions)

public virtual Operation SetUrlMap(SetUrlMapRegionTargetHttpProxyRequest request, CallOptions options)

Changes the URL map for TargetHttpProxy.

Parameters
NameDescription
requestSetUrlMapRegionTargetHttpProxyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

SetUrlMap(SetUrlMapRegionTargetHttpProxyRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation SetUrlMap(SetUrlMapRegionTargetHttpProxyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Changes the URL map for TargetHttpProxy.

Parameters
NameDescription
requestSetUrlMapRegionTargetHttpProxyRequest

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.

SetUrlMapAsync(SetUrlMapRegionTargetHttpProxyRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> SetUrlMapAsync(SetUrlMapRegionTargetHttpProxyRequest request, CallOptions options)

Changes the URL map for TargetHttpProxy.

Parameters
NameDescription
requestSetUrlMapRegionTargetHttpProxyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

SetUrlMapAsync(SetUrlMapRegionTargetHttpProxyRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> SetUrlMapAsync(SetUrlMapRegionTargetHttpProxyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Changes the URL map for TargetHttpProxy.

Parameters
NameDescription
requestSetUrlMapRegionTargetHttpProxyRequest

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.