Compute Engine v1 API - Class TargetHttpProxies.TargetHttpProxiesClient (2.9.0)

public class TargetHttpProxies.TargetHttpProxiesClient : ClientBase<TargetHttpProxies.TargetHttpProxiesClient>

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

Client for TargetHttpProxies

Inheritance

object > ClientBase > ClientBaseTargetHttpProxiesTargetHttpProxiesClient > TargetHttpProxies.TargetHttpProxiesClient

Namespace

GoogleCloudGoogle.Cloud.ComputeV1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

TargetHttpProxiesClient()

protected TargetHttpProxiesClient()

Protected parameterless constructor to allow creation of test doubles.

TargetHttpProxiesClient(CallInvoker)

public TargetHttpProxiesClient(CallInvoker callInvoker)

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

Parameter
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

TargetHttpProxiesClient(ChannelBase)

public TargetHttpProxiesClient(ChannelBase channel)

Creates a new client for TargetHttpProxies

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

TargetHttpProxiesClient(ClientBaseConfiguration)

protected TargetHttpProxiesClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration

The client configuration.

Methods

AggregatedList(AggregatedListTargetHttpProxiesRequest, CallOptions)

public virtual TargetHttpProxyAggregatedList AggregatedList(AggregatedListTargetHttpProxiesRequest request, CallOptions options)

Retrieves the list of all TargetHttpProxy resources, regional and global, available to the specified project.

Parameters
NameDescription
requestAggregatedListTargetHttpProxiesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
TargetHttpProxyAggregatedList

The response received from the server.

AggregatedList(AggregatedListTargetHttpProxiesRequest, Metadata, DateTime?, CancellationToken)

public virtual TargetHttpProxyAggregatedList AggregatedList(AggregatedListTargetHttpProxiesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Retrieves the list of all TargetHttpProxy resources, regional and global, available to the specified project.

Parameters
NameDescription
requestAggregatedListTargetHttpProxiesRequest

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
TargetHttpProxyAggregatedList

The response received from the server.

AggregatedListAsync(AggregatedListTargetHttpProxiesRequest, CallOptions)

public virtual AsyncUnaryCall<TargetHttpProxyAggregatedList> AggregatedListAsync(AggregatedListTargetHttpProxiesRequest request, CallOptions options)

Retrieves the list of all TargetHttpProxy resources, regional and global, available to the specified project.

Parameters
NameDescription
requestAggregatedListTargetHttpProxiesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallTargetHttpProxyAggregatedList

The call object.

AggregatedListAsync(AggregatedListTargetHttpProxiesRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<TargetHttpProxyAggregatedList> AggregatedListAsync(AggregatedListTargetHttpProxiesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Retrieves the list of all TargetHttpProxy resources, regional and global, available to the specified project.

Parameters
NameDescription
requestAggregatedListTargetHttpProxiesRequest

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
AsyncUnaryCallTargetHttpProxyAggregatedList

The call object.

CreateOperationsClientForGlobalOperations()

public virtual Operations.OperationsClient CreateOperationsClientForGlobalOperations()

Creates a new instance of Operations.OperationsClient using the same call invoker as this client, delegating to GlobalOperations.

Returns
TypeDescription
OperationsOperationsClient

A new Operations client for the same target as this client.

Delete(DeleteTargetHttpProxyRequest, CallOptions)

public virtual Operation Delete(DeleteTargetHttpProxyRequest request, CallOptions options)

Deletes the specified TargetHttpProxy resource.

Parameters
NameDescription
requestDeleteTargetHttpProxyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

Delete(DeleteTargetHttpProxyRequest, Metadata, DateTime?, CancellationToken)

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

Deletes the specified TargetHttpProxy resource.

Parameters
NameDescription
requestDeleteTargetHttpProxyRequest

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

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

Deletes the specified TargetHttpProxy resource.

Parameters
NameDescription
requestDeleteTargetHttpProxyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

DeleteAsync(DeleteTargetHttpProxyRequest, Metadata, DateTime?, CancellationToken)

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

Deletes the specified TargetHttpProxy resource.

Parameters
NameDescription
requestDeleteTargetHttpProxyRequest

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

public virtual TargetHttpProxy Get(GetTargetHttpProxyRequest request, CallOptions options)

Returns the specified TargetHttpProxy resource.

Parameters
NameDescription
requestGetTargetHttpProxyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
TargetHttpProxy

The response received from the server.

Get(GetTargetHttpProxyRequest, Metadata, DateTime?, CancellationToken)

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

Returns the specified TargetHttpProxy resource.

Parameters
NameDescription
requestGetTargetHttpProxyRequest

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

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

Returns the specified TargetHttpProxy resource.

Parameters
NameDescription
requestGetTargetHttpProxyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallTargetHttpProxy

The call object.

GetAsync(GetTargetHttpProxyRequest, Metadata, DateTime?, CancellationToken)

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

Returns the specified TargetHttpProxy resource.

Parameters
NameDescription
requestGetTargetHttpProxyRequest

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

public virtual Operation Insert(InsertTargetHttpProxyRequest request, CallOptions options)

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

Parameters
NameDescription
requestInsertTargetHttpProxyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

Insert(InsertTargetHttpProxyRequest, Metadata, DateTime?, CancellationToken)

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

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

Parameters
NameDescription
requestInsertTargetHttpProxyRequest

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

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

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

Parameters
NameDescription
requestInsertTargetHttpProxyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

InsertAsync(InsertTargetHttpProxyRequest, Metadata, DateTime?, CancellationToken)

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

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

Parameters
NameDescription
requestInsertTargetHttpProxyRequest

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

public virtual TargetHttpProxyList List(ListTargetHttpProxiesRequest request, CallOptions options)

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

Parameters
NameDescription
requestListTargetHttpProxiesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
TargetHttpProxyList

The response received from the server.

List(ListTargetHttpProxiesRequest, Metadata, DateTime?, CancellationToken)

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

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

Parameters
NameDescription
requestListTargetHttpProxiesRequest

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

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

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

Parameters
NameDescription
requestListTargetHttpProxiesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallTargetHttpProxyList

The call object.

ListAsync(ListTargetHttpProxiesRequest, Metadata, DateTime?, CancellationToken)

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

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

Parameters
NameDescription
requestListTargetHttpProxiesRequest

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 TargetHttpProxies.TargetHttpProxiesClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration
Returns
TypeDescription
TargetHttpProxiesTargetHttpProxiesClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.Compute.V1.TargetHttpProxies.TargetHttpProxiesClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

Patch(PatchTargetHttpProxyRequest, CallOptions)

public virtual Operation Patch(PatchTargetHttpProxyRequest request, CallOptions options)

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

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

Patch(PatchTargetHttpProxyRequest, Metadata, DateTime?, CancellationToken)

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

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

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.

PatchAsync(PatchTargetHttpProxyRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> PatchAsync(PatchTargetHttpProxyRequest request, CallOptions options)

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

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

PatchAsync(PatchTargetHttpProxyRequest, Metadata, DateTime?, CancellationToken)

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

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

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.

SetUrlMap(SetUrlMapTargetHttpProxyRequest, CallOptions)

public virtual Operation SetUrlMap(SetUrlMapTargetHttpProxyRequest request, CallOptions options)

Changes the URL map for TargetHttpProxy.

Parameters
NameDescription
requestSetUrlMapTargetHttpProxyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

SetUrlMap(SetUrlMapTargetHttpProxyRequest, Metadata, DateTime?, CancellationToken)

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

Changes the URL map for TargetHttpProxy.

Parameters
NameDescription
requestSetUrlMapTargetHttpProxyRequest

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

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

Changes the URL map for TargetHttpProxy.

Parameters
NameDescription
requestSetUrlMapTargetHttpProxyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

SetUrlMapAsync(SetUrlMapTargetHttpProxyRequest, Metadata, DateTime?, CancellationToken)

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

Changes the URL map for TargetHttpProxy.

Parameters
NameDescription
requestSetUrlMapTargetHttpProxyRequest

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.