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.TargetHttpProxiesClientNamespace
Google.Cloud.Compute.V1Assembly
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 | |
---|---|
Name | Description |
callInvoker | CallInvoker The callInvoker to use to make remote calls. |
TargetHttpProxiesClient(ChannelBase)
public TargetHttpProxiesClient(ChannelBase channel)
Creates a new client for TargetHttpProxies
Parameter | |
---|---|
Name | Description |
channel | ChannelBase The channel to use to make remote calls. |
TargetHttpProxiesClient(ClientBaseConfiguration)
protected TargetHttpProxiesClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration | ClientBaseClientBaseConfiguration 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. To prevent failure, Google recommends that you set the returnPartialSuccess
parameter to true
.
Parameters | |
---|---|
Name | Description |
request | AggregatedListTargetHttpProxiesRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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. To prevent failure, Google recommends that you set the returnPartialSuccess
parameter to true
.
Parameters | |
---|---|
Name | Description |
request | AggregatedListTargetHttpProxiesRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | 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 |
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. To prevent failure, Google recommends that you set the returnPartialSuccess
parameter to true
.
Parameters | |
---|---|
Name | Description |
request | AggregatedListTargetHttpProxiesRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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. To prevent failure, Google recommends that you set the returnPartialSuccess
parameter to true
.
Parameters | |
---|---|
Name | Description |
request | AggregatedListTargetHttpProxiesRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | 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 |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | DeleteTargetHttpProxyRequest 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(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 | |
---|---|
Name | Description |
request | DeleteTargetHttpProxyRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | 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(DeleteTargetHttpProxyRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteTargetHttpProxyRequest request, CallOptions options)
Deletes the specified TargetHttpProxy resource.
Parameters | |
---|---|
Name | Description |
request | DeleteTargetHttpProxyRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | DeleteTargetHttpProxyRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | 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(GetTargetHttpProxyRequest, CallOptions)
public virtual TargetHttpProxy Get(GetTargetHttpProxyRequest request, CallOptions options)
Returns the specified TargetHttpProxy resource.
Parameters | |
---|---|
Name | Description |
request | GetTargetHttpProxyRequest 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(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 | |
---|---|
Name | Description |
request | GetTargetHttpProxyRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | 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(GetTargetHttpProxyRequest, CallOptions)
public virtual AsyncUnaryCall<TargetHttpProxy> GetAsync(GetTargetHttpProxyRequest request, CallOptions options)
Returns the specified TargetHttpProxy resource.
Parameters | |
---|---|
Name | Description |
request | GetTargetHttpProxyRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | GetTargetHttpProxyRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | 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(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 | |
---|---|
Name | Description |
request | InsertTargetHttpProxyRequest 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(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 | |
---|---|
Name | Description |
request | InsertTargetHttpProxyRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | 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(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 | |
---|---|
Name | Description |
request | InsertTargetHttpProxyRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | InsertTargetHttpProxyRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | 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(ListTargetHttpProxiesRequest, CallOptions)
public virtual TargetHttpProxyList List(ListTargetHttpProxiesRequest request, CallOptions options)
Retrieves the list of TargetHttpProxy resources available to the specified project.
Parameters | |
---|---|
Name | Description |
request | ListTargetHttpProxiesRequest 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(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 | |
---|---|
Name | Description |
request | ListTargetHttpProxiesRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | 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(ListTargetHttpProxiesRequest, CallOptions)
public virtual AsyncUnaryCall<TargetHttpProxyList> ListAsync(ListTargetHttpProxiesRequest request, CallOptions options)
Retrieves the list of TargetHttpProxy resources available to the specified project.
Parameters | |
---|---|
Name | Description |
request | ListTargetHttpProxiesRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ListTargetHttpProxiesRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | 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 TargetHttpProxies.TargetHttpProxiesClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameter | |
---|---|
Name | Description |
configuration | ClientBaseClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
TargetHttpProxiesTargetHttpProxiesClient |
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 | |
---|---|
Name | Description |
request | PatchTargetHttpProxyRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | PatchTargetHttpProxyRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | 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. |
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 | |
---|---|
Name | Description |
request | PatchTargetHttpProxyRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | PatchTargetHttpProxyRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | 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. |
SetUrlMap(SetUrlMapTargetHttpProxyRequest, CallOptions)
public virtual Operation SetUrlMap(SetUrlMapTargetHttpProxyRequest request, CallOptions options)
Changes the URL map for TargetHttpProxy.
Parameters | |
---|---|
Name | Description |
request | SetUrlMapTargetHttpProxyRequest 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(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 | |
---|---|
Name | Description |
request | SetUrlMapTargetHttpProxyRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | 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(SetUrlMapTargetHttpProxyRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> SetUrlMapAsync(SetUrlMapTargetHttpProxyRequest request, CallOptions options)
Changes the URL map for TargetHttpProxy.
Parameters | |
---|---|
Name | Description |
request | SetUrlMapTargetHttpProxyRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | SetUrlMapTargetHttpProxyRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | 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. |