Compute Engine v1 API - Class RegionTargetHttpProxies.RegionTargetHttpProxiesClient (2.17.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
Name Description
callInvoker CallInvoker

The callInvoker to use to make remote calls.

RegionTargetHttpProxiesClient(ChannelBase)

public RegionTargetHttpProxiesClient(ChannelBase channel)

Creates a new client for RegionTargetHttpProxies

Parameter
Name Description
channel ChannelBase

The channel to use to make remote calls.

RegionTargetHttpProxiesClient(ClientBaseConfiguration)

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

public virtual Operation Delete(DeleteRegionTargetHttpProxyRequest request, CallOptions options)

Deletes the specified TargetHttpProxy resource.

Parameters
Name Description
request DeleteRegionTargetHttpProxyRequest

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(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
Name Description
request DeleteRegionTargetHttpProxyRequest

The request to send to the server.

headers Metadata

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

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

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

Deletes the specified TargetHttpProxy resource.

Parameters
Name Description
request DeleteRegionTargetHttpProxyRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request DeleteRegionTargetHttpProxyRequest

The request to send to the server.

headers Metadata

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

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

public virtual TargetHttpProxy Get(GetRegionTargetHttpProxyRequest request, CallOptions options)

Returns the specified TargetHttpProxy resource in the specified region.

Parameters
Name Description
request GetRegionTargetHttpProxyRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request GetRegionTargetHttpProxyRequest

The request to send to the server.

headers Metadata

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

deadline System.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
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
Name Description
request GetRegionTargetHttpProxyRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request GetRegionTargetHttpProxyRequest

The request to send to the server.

headers Metadata

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

deadline System.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
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
Name Description
request InsertRegionTargetHttpProxyRequest

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(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
Name Description
request InsertRegionTargetHttpProxyRequest

The request to send to the server.

headers Metadata

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

deadline System.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(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
Name Description
request InsertRegionTargetHttpProxyRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request InsertRegionTargetHttpProxyRequest

The request to send to the server.

headers Metadata

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

deadline System.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(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
Name Description
request ListRegionTargetHttpProxiesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request ListRegionTargetHttpProxiesRequest

The request to send to the server.

headers Metadata

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

deadline System.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
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
Name Description
request ListRegionTargetHttpProxiesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request ListRegionTargetHttpProxiesRequest

The request to send to the server.

headers Metadata

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

deadline System.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
AsyncUnaryCallTargetHttpProxyList

The call object.

NewInstance(ClientBaseConfiguration)

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

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration
Returns
Type Description
RegionTargetHttpProxiesRegionTargetHttpProxiesClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.Compute.V1.RegionTargetHttpProxies.RegionTargetHttpProxiesClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

SetUrlMap(SetUrlMapRegionTargetHttpProxyRequest, CallOptions)

public virtual Operation SetUrlMap(SetUrlMapRegionTargetHttpProxyRequest request, CallOptions options)

Changes the URL map for TargetHttpProxy.

Parameters
Name Description
request SetUrlMapRegionTargetHttpProxyRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request SetUrlMapRegionTargetHttpProxyRequest

The request to send to the server.

headers Metadata

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

deadline System.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.

SetUrlMapAsync(SetUrlMapRegionTargetHttpProxyRequest, CallOptions)

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

Changes the URL map for TargetHttpProxy.

Parameters
Name Description
request SetUrlMapRegionTargetHttpProxyRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
Name Description
request SetUrlMapRegionTargetHttpProxyRequest

The request to send to the server.

headers Metadata

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

deadline System.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.