Compute Engine v1 API - Class TargetHttpProxiesClientImpl (3.1.0)

public sealed class TargetHttpProxiesClientImpl : TargetHttpProxiesClient

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

TargetHttpProxies client wrapper implementation, for convenient use.

Inheritance

object > TargetHttpProxiesClient > TargetHttpProxiesClientImpl

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Remarks

The TargetHttpProxies API.

Constructors

TargetHttpProxiesClientImpl(TargetHttpProxiesClient, TargetHttpProxiesSettings, ILogger)

public TargetHttpProxiesClientImpl(TargetHttpProxies.TargetHttpProxiesClient grpcClient, TargetHttpProxiesSettings settings, ILogger logger)

Constructs a client wrapper for the TargetHttpProxies service, with the specified gRPC client and settings.

Parameters
Name Description
grpcClient TargetHttpProxiesTargetHttpProxiesClient

The underlying gRPC client.

settings TargetHttpProxiesSettings

The base TargetHttpProxiesSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

DeleteOperationsClient

public override OperationsClient DeleteOperationsClient { get; }

The long-running operations client for Delete.

Property Value
Type Description
OperationsClient
Overrides

GrpcClient

public override TargetHttpProxies.TargetHttpProxiesClient GrpcClient { get; }

The underlying gRPC TargetHttpProxies client

Property Value
Type Description
TargetHttpProxiesTargetHttpProxiesClient
Overrides

InsertOperationsClient

public override OperationsClient InsertOperationsClient { get; }

The long-running operations client for Insert.

Property Value
Type Description
OperationsClient
Overrides

PatchOperationsClient

public override OperationsClient PatchOperationsClient { get; }

The long-running operations client for Patch.

Property Value
Type Description
OperationsClient
Overrides

SetUrlMapOperationsClient

public override OperationsClient SetUrlMapOperationsClient { get; }

The long-running operations client for SetUrlMap.

Property Value
Type Description
OperationsClient
Overrides

Methods

AggregatedList(AggregatedListTargetHttpProxiesRequest, CallSettings)

public override PagedEnumerable<TargetHttpProxyAggregatedList, KeyValuePair<string, TargetHttpProxiesScopedList>> AggregatedList(AggregatedListTargetHttpProxiesRequest request, CallSettings callSettings = null)

Retrieves the list of all TargetHttpProxy resources, regional and global, available to the specified project. To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true.

Parameters
Name Description
request AggregatedListTargetHttpProxiesRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableTargetHttpProxyAggregatedListKeyValuePairstringTargetHttpProxiesScopedList

A pageable sequence of KeyValuePair<TKey, TValue> resources.

Overrides

AggregatedListAsync(AggregatedListTargetHttpProxiesRequest, CallSettings)

public override PagedAsyncEnumerable<TargetHttpProxyAggregatedList, KeyValuePair<string, TargetHttpProxiesScopedList>> AggregatedListAsync(AggregatedListTargetHttpProxiesRequest request, CallSettings callSettings = null)

Retrieves the list of all TargetHttpProxy resources, regional and global, available to the specified project. To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true.

Parameters
Name Description
request AggregatedListTargetHttpProxiesRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableTargetHttpProxyAggregatedListKeyValuePairstringTargetHttpProxiesScopedList

A pageable asynchronous sequence of KeyValuePair<TKey, TValue> resources.

Overrides

Delete(DeleteTargetHttpProxyRequest, CallSettings)

public override Operation<Operation, Operation> Delete(DeleteTargetHttpProxyRequest request, CallSettings callSettings = null)

Deletes the specified TargetHttpProxy resource.

Parameters
Name Description
request DeleteTargetHttpProxyRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationOperationOperation

The RPC response.

Overrides

DeleteAsync(DeleteTargetHttpProxyRequest, CallSettings)

public override Task<Operation<Operation, Operation>> DeleteAsync(DeleteTargetHttpProxyRequest request, CallSettings callSettings = null)

Deletes the specified TargetHttpProxy resource.

Parameters
Name Description
request DeleteTargetHttpProxyRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationOperationOperation

A Task containing the RPC response.

Overrides

Get(GetTargetHttpProxyRequest, CallSettings)

public override TargetHttpProxy Get(GetTargetHttpProxyRequest request, CallSettings callSettings = null)

Returns the specified TargetHttpProxy resource.

Parameters
Name Description
request GetTargetHttpProxyRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TargetHttpProxy

The RPC response.

Overrides

GetAsync(GetTargetHttpProxyRequest, CallSettings)

public override Task<TargetHttpProxy> GetAsync(GetTargetHttpProxyRequest request, CallSettings callSettings = null)

Returns the specified TargetHttpProxy resource.

Parameters
Name Description
request GetTargetHttpProxyRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskTargetHttpProxy

A Task containing the RPC response.

Overrides

Insert(InsertTargetHttpProxyRequest, CallSettings)

public override Operation<Operation, Operation> Insert(InsertTargetHttpProxyRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request InsertTargetHttpProxyRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationOperationOperation

The RPC response.

Overrides

InsertAsync(InsertTargetHttpProxyRequest, CallSettings)

public override Task<Operation<Operation, Operation>> InsertAsync(InsertTargetHttpProxyRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request InsertTargetHttpProxyRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationOperationOperation

A Task containing the RPC response.

Overrides

List(ListTargetHttpProxiesRequest, CallSettings)

public override PagedEnumerable<TargetHttpProxyList, TargetHttpProxy> List(ListTargetHttpProxiesRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request ListTargetHttpProxiesRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableTargetHttpProxyListTargetHttpProxy

A pageable sequence of TargetHttpProxy resources.

Overrides

ListAsync(ListTargetHttpProxiesRequest, CallSettings)

public override PagedAsyncEnumerable<TargetHttpProxyList, TargetHttpProxy> ListAsync(ListTargetHttpProxiesRequest request, CallSettings callSettings = null)

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

Parameters
Name Description
request ListTargetHttpProxiesRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableTargetHttpProxyListTargetHttpProxy

A pageable asynchronous sequence of TargetHttpProxy resources.

Overrides

Patch(PatchTargetHttpProxyRequest, CallSettings)

public override Operation<Operation, Operation> Patch(PatchTargetHttpProxyRequest request, CallSettings callSettings = null)

Patches the specified TargetHttpProxy resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules.

Parameters
Name Description
request PatchTargetHttpProxyRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationOperationOperation

The RPC response.

Overrides

PatchAsync(PatchTargetHttpProxyRequest, CallSettings)

public override Task<Operation<Operation, Operation>> PatchAsync(PatchTargetHttpProxyRequest request, CallSettings callSettings = null)

Patches the specified TargetHttpProxy resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules.

Parameters
Name Description
request PatchTargetHttpProxyRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationOperationOperation

A Task containing the RPC response.

Overrides

SetUrlMap(SetUrlMapTargetHttpProxyRequest, CallSettings)

public override Operation<Operation, Operation> SetUrlMap(SetUrlMapTargetHttpProxyRequest request, CallSettings callSettings = null)

Changes the URL map for TargetHttpProxy.

Parameters
Name Description
request SetUrlMapTargetHttpProxyRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationOperationOperation

The RPC response.

Overrides

SetUrlMapAsync(SetUrlMapTargetHttpProxyRequest, CallSettings)

public override Task<Operation<Operation, Operation>> SetUrlMapAsync(SetUrlMapTargetHttpProxyRequest request, CallSettings callSettings = null)

Changes the URL map for TargetHttpProxy.

Parameters
Name Description
request SetUrlMapTargetHttpProxyRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationOperationOperation

A Task containing the RPC response.

Overrides