public class TargetHttpProxiesClient : ClientBase<TargetHttpProxies.TargetHttpProxiesClient>
Client for TargetHttpProxies
Inheritance
Object > ClientBase > ClientBase<TargetHttpProxies.TargetHttpProxiesClient> > 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(ClientBase.ClientBaseConfiguration)
protected TargetHttpProxiesClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.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 | |
---|---|
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, 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 | |
---|---|
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 | Nullable<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.
Parameters | |
---|---|
Name | Description |
request | AggregatedListTargetHttpProxiesRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
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 | Nullable<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 |
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 | |
---|---|
Type | Description |
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 | |
---|---|
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, 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 | |
---|---|
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 | Nullable<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 |
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 | |
---|---|
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 | Nullable<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 |
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 | |
---|---|
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, 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 | |
---|---|
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 | Nullable<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. Gets a list of available target HTTP proxies by making a list() request.
Parameters | |
---|---|
Name | Description |
request | GetTargetHttpProxyRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
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 | Nullable<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 |
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 | |
---|---|
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, 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 | |
---|---|
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 | Nullable<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 |
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 | |
---|---|
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 | Nullable<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 |
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 | |
---|---|
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, 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 | |
---|---|
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 | Nullable<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 |
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 | |
---|---|
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 | Nullable<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 |
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 | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
TargetHttpProxies.TargetHttpProxiesClient |
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, 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 | |
---|---|
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 | Nullable<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 |
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 | |
---|---|
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 | Nullable<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 |
AsyncUnaryCall<Operation> | 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, 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 | |
---|---|
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 | Nullable<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 |
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 | |
---|---|
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 | Nullable<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 |
AsyncUnaryCall<Operation> | The call object. |