Class TargetHttpProxies.TargetHttpProxiesClient (1.2.0)

public class TargetHttpProxiesClient : ClientBase<TargetHttpProxies.TargetHttpProxiesClient>

Client for TargetHttpProxies

Inheritance

Object > ClientBase > ClientBase<TargetHttpProxies.TargetHttpProxiesClient> > TargetHttpProxies.TargetHttpProxiesClient

Namespace

Google.Cloud.Compute.V1

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

protected TargetHttpProxiesClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration

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, Nullable<DateTime>, CancellationToken)

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

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.

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

The call object.

AggregatedListAsync(AggregatedListTargetHttpProxiesRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

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<TargetHttpProxyAggregatedList>

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
Operations.OperationsClient

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, Nullable<DateTime>, CancellationToken)

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

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.

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

The call object.

DeleteAsync(DeleteTargetHttpProxyRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

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

public virtual TargetHttpProxy Get(GetTargetHttpProxyRequest request, CallOptions options)

Returns the specified TargetHttpProxy resource. Gets a list of available target HTTP proxies by making a list() request.

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, Nullable<DateTime>, CancellationToken)

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

Returns the specified TargetHttpProxy resource. Gets a list of available target HTTP proxies by making a list() request.

Parameters
NameDescription
requestGetTargetHttpProxyRequest

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
TargetHttpProxy

The response received from the server.

GetAsync(GetTargetHttpProxyRequest, CallOptions)

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

Returns the specified TargetHttpProxy resource. Gets a list of available target HTTP proxies by making a list() request.

Parameters
NameDescription
requestGetTargetHttpProxyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<TargetHttpProxy>

The call object.

GetAsync(GetTargetHttpProxyRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Returns the specified TargetHttpProxy resource. Gets a list of available target HTTP proxies by making a list() request.

Parameters
NameDescription
requestGetTargetHttpProxyRequest

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<TargetHttpProxy>

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, Nullable<DateTime>, CancellationToken)

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

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.

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

The call object.

InsertAsync(InsertTargetHttpProxyRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

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(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, Nullable<DateTime>, CancellationToken)

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

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.

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

The call object.

ListAsync(ListTargetHttpProxiesRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

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<TargetHttpProxyList>

The call object.

NewInstance(ClientBase.ClientBaseConfiguration)

protected override TargetHttpProxies.TargetHttpProxiesClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration
Returns
TypeDescription
TargetHttpProxies.TargetHttpProxiesClient
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, Nullable<DateTime>, CancellationToken)

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

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.

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.

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

The call object.

PatchAsync(PatchTargetHttpProxyRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

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.

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, Nullable<DateTime>, CancellationToken)

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

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.

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.

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

The call object.

SetUrlMapAsync(SetUrlMapTargetHttpProxyRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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.

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.