public class RegionTargetHttpProxiesClient : ClientBase<RegionTargetHttpProxies.RegionTargetHttpProxiesClient>
Client for RegionTargetHttpProxies
Inheritance
Object > ClientBase > ClientBase<RegionTargetHttpProxies.RegionTargetHttpProxiesClient> > RegionTargetHttpProxies.RegionTargetHttpProxiesClientNamespace
Google.Cloud.Compute.V1Assembly
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 | |
---|---|
Name | Description |
callInvoker | CallInvoker The callInvoker to use to make remote calls. |
RegionTargetHttpProxiesClient(ChannelBase)
public RegionTargetHttpProxiesClient(ChannelBase channel)
Creates a new client for RegionTargetHttpProxies
Parameter | |
---|---|
Name | Description |
channel | ChannelBase 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 | |
---|---|
Name | Description |
configuration | ClientBase.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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | DeleteRegionTargetHttpProxyRequest 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(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 | |
---|---|
Name | Description |
request | DeleteRegionTargetHttpProxyRequest 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(DeleteRegionTargetHttpProxyRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteRegionTargetHttpProxyRequest request, CallOptions options)
Deletes the specified TargetHttpProxy resource.
Parameters | |
---|---|
Name | Description |
request | DeleteRegionTargetHttpProxyRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | DeleteRegionTargetHttpProxyRequest 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(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 | |
---|---|
Name | Description |
request | GetRegionTargetHttpProxyRequest 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(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 | |
---|---|
Name | Description |
request | GetRegionTargetHttpProxyRequest 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(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 | |
---|---|
Name | Description |
request | GetRegionTargetHttpProxyRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | GetRegionTargetHttpProxyRequest 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(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 | |
---|---|
Name | Description |
request | InsertRegionTargetHttpProxyRequest 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(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 | |
---|---|
Name | Description |
request | InsertRegionTargetHttpProxyRequest 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(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 | |
---|---|
Name | Description |
request | InsertRegionTargetHttpProxyRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | InsertRegionTargetHttpProxyRequest 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(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 | |
---|---|
Name | Description |
request | ListRegionTargetHttpProxiesRequest 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(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 | |
---|---|
Name | Description |
request | ListRegionTargetHttpProxiesRequest 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(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 | |
---|---|
Name | Description |
request | ListRegionTargetHttpProxiesRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | ListRegionTargetHttpProxiesRequest 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 RegionTargetHttpProxies.RegionTargetHttpProxiesClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
RegionTargetHttpProxies.RegionTargetHttpProxiesClient |
SetUrlMap(SetUrlMapRegionTargetHttpProxyRequest, CallOptions)
public virtual Operation SetUrlMap(SetUrlMapRegionTargetHttpProxyRequest request, CallOptions options)
Changes the URL map for TargetHttpProxy.
Parameters | |
---|---|
Name | Description |
request | SetUrlMapRegionTargetHttpProxyRequest 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(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 | |
---|---|
Name | Description |
request | SetUrlMapRegionTargetHttpProxyRequest 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(SetUrlMapRegionTargetHttpProxyRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> SetUrlMapAsync(SetUrlMapRegionTargetHttpProxyRequest request, CallOptions options)
Changes the URL map for TargetHttpProxy.
Parameters | |
---|---|
Name | Description |
request | SetUrlMapRegionTargetHttpProxyRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | SetUrlMapRegionTargetHttpProxyRequest 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. |