Class RegionTargetHttpProxies.RegionTargetHttpProxiesClient (1.1.0)

public class RegionTargetHttpProxiesClient : ClientBase<RegionTargetHttpProxies.RegionTargetHttpProxiesClient>

Client for RegionTargetHttpProxies

Inheritance

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

protected RegionTargetHttpProxiesClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration

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

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

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

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.

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

The call object.

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

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

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.

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

public virtual TargetHttpProxy Get(GetRegionTargetHttpProxyRequest request, CallOptions options)

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

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

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

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

Parameters
NameDescription
requestGetRegionTargetHttpProxyRequest

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

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

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

Parameters
NameDescription
requestGetRegionTargetHttpProxyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<TargetHttpProxy>

The call object.

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

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

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

Parameters
NameDescription
requestGetRegionTargetHttpProxyRequest

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

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

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.

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

The call object.

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

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

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.

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

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

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.

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

The call object.

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

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

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.

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 RegionTargetHttpProxies.RegionTargetHttpProxiesClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

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

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

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.

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

The call object.

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

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

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.

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.