public class RegionBackendServicesClient : ClientBase<RegionBackendServices.RegionBackendServicesClient>
Client for RegionBackendServices
Inheritance
Object > ClientBase > ClientBase<RegionBackendServices.RegionBackendServicesClient> > RegionBackendServices.RegionBackendServicesClientNamespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Constructors
RegionBackendServicesClient()
protected RegionBackendServicesClient()
Protected parameterless constructor to allow creation of test doubles.
RegionBackendServicesClient(CallInvoker)
public RegionBackendServicesClient(CallInvoker callInvoker)
Creates a new client for RegionBackendServices that uses a custom CallInvoker
.
Parameter | |
---|---|
Name | Description |
callInvoker | CallInvoker The callInvoker to use to make remote calls. |
RegionBackendServicesClient(ChannelBase)
public RegionBackendServicesClient(ChannelBase channel)
Creates a new client for RegionBackendServices
Parameter | |
---|---|
Name | Description |
channel | ChannelBase The channel to use to make remote calls. |
RegionBackendServicesClient(ClientBase.ClientBaseConfiguration)
protected RegionBackendServicesClient(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(DeleteRegionBackendServiceRequest, CallOptions)
public virtual Operation Delete(DeleteRegionBackendServiceRequest request, CallOptions options)
Deletes the specified regional BackendService resource.
Parameters | |
---|---|
Name | Description |
request | DeleteRegionBackendServiceRequest 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(DeleteRegionBackendServiceRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation Delete(DeleteRegionBackendServiceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Deletes the specified regional BackendService resource.
Parameters | |
---|---|
Name | Description |
request | DeleteRegionBackendServiceRequest 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(DeleteRegionBackendServiceRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteRegionBackendServiceRequest request, CallOptions options)
Deletes the specified regional BackendService resource.
Parameters | |
---|---|
Name | Description |
request | DeleteRegionBackendServiceRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
DeleteAsync(DeleteRegionBackendServiceRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> DeleteAsync(DeleteRegionBackendServiceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Deletes the specified regional BackendService resource.
Parameters | |
---|---|
Name | Description |
request | DeleteRegionBackendServiceRequest 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(GetRegionBackendServiceRequest, CallOptions)
public virtual BackendService Get(GetRegionBackendServiceRequest request, CallOptions options)
Returns the specified regional BackendService resource.
Parameters | |
---|---|
Name | Description |
request | GetRegionBackendServiceRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
BackendService | The response received from the server. |
Get(GetRegionBackendServiceRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual BackendService Get(GetRegionBackendServiceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Returns the specified regional BackendService resource.
Parameters | |
---|---|
Name | Description |
request | GetRegionBackendServiceRequest 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 |
BackendService | The response received from the server. |
GetAsync(GetRegionBackendServiceRequest, CallOptions)
public virtual AsyncUnaryCall<BackendService> GetAsync(GetRegionBackendServiceRequest request, CallOptions options)
Returns the specified regional BackendService resource.
Parameters | |
---|---|
Name | Description |
request | GetRegionBackendServiceRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<BackendService> | The call object. |
GetAsync(GetRegionBackendServiceRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<BackendService> GetAsync(GetRegionBackendServiceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Returns the specified regional BackendService resource.
Parameters | |
---|---|
Name | Description |
request | GetRegionBackendServiceRequest 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<BackendService> | The call object. |
GetHealth(GetHealthRegionBackendServiceRequest, CallOptions)
public virtual BackendServiceGroupHealth GetHealth(GetHealthRegionBackendServiceRequest request, CallOptions options)
Gets the most recent health check results for this regional BackendService.
Parameters | |
---|---|
Name | Description |
request | GetHealthRegionBackendServiceRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
BackendServiceGroupHealth | The response received from the server. |
GetHealth(GetHealthRegionBackendServiceRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual BackendServiceGroupHealth GetHealth(GetHealthRegionBackendServiceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Gets the most recent health check results for this regional BackendService.
Parameters | |
---|---|
Name | Description |
request | GetHealthRegionBackendServiceRequest 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 |
BackendServiceGroupHealth | The response received from the server. |
GetHealthAsync(GetHealthRegionBackendServiceRequest, CallOptions)
public virtual AsyncUnaryCall<BackendServiceGroupHealth> GetHealthAsync(GetHealthRegionBackendServiceRequest request, CallOptions options)
Gets the most recent health check results for this regional BackendService.
Parameters | |
---|---|
Name | Description |
request | GetHealthRegionBackendServiceRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<BackendServiceGroupHealth> | The call object. |
GetHealthAsync(GetHealthRegionBackendServiceRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<BackendServiceGroupHealth> GetHealthAsync(GetHealthRegionBackendServiceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Gets the most recent health check results for this regional BackendService.
Parameters | |
---|---|
Name | Description |
request | GetHealthRegionBackendServiceRequest 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<BackendServiceGroupHealth> | The call object. |
Insert(InsertRegionBackendServiceRequest, CallOptions)
public virtual Operation Insert(InsertRegionBackendServiceRequest request, CallOptions options)
Creates a regional BackendService resource in the specified project using the data included in the request. For more information, see Backend services overview.
Parameters | |
---|---|
Name | Description |
request | InsertRegionBackendServiceRequest 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(InsertRegionBackendServiceRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation Insert(InsertRegionBackendServiceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Creates a regional BackendService resource in the specified project using the data included in the request. For more information, see Backend services overview.
Parameters | |
---|---|
Name | Description |
request | InsertRegionBackendServiceRequest 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(InsertRegionBackendServiceRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> InsertAsync(InsertRegionBackendServiceRequest request, CallOptions options)
Creates a regional BackendService resource in the specified project using the data included in the request. For more information, see Backend services overview.
Parameters | |
---|---|
Name | Description |
request | InsertRegionBackendServiceRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
InsertAsync(InsertRegionBackendServiceRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> InsertAsync(InsertRegionBackendServiceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Creates a regional BackendService resource in the specified project using the data included in the request. For more information, see Backend services overview.
Parameters | |
---|---|
Name | Description |
request | InsertRegionBackendServiceRequest 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(ListRegionBackendServicesRequest, CallOptions)
public virtual BackendServiceList List(ListRegionBackendServicesRequest request, CallOptions options)
Retrieves the list of regional BackendService resources available to the specified project in the given region.
Parameters | |
---|---|
Name | Description |
request | ListRegionBackendServicesRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
BackendServiceList | The response received from the server. |
List(ListRegionBackendServicesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual BackendServiceList List(ListRegionBackendServicesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Retrieves the list of regional BackendService resources available to the specified project in the given region.
Parameters | |
---|---|
Name | Description |
request | ListRegionBackendServicesRequest 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 |
BackendServiceList | The response received from the server. |
ListAsync(ListRegionBackendServicesRequest, CallOptions)
public virtual AsyncUnaryCall<BackendServiceList> ListAsync(ListRegionBackendServicesRequest request, CallOptions options)
Retrieves the list of regional BackendService resources available to the specified project in the given region.
Parameters | |
---|---|
Name | Description |
request | ListRegionBackendServicesRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<BackendServiceList> | The call object. |
ListAsync(ListRegionBackendServicesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<BackendServiceList> ListAsync(ListRegionBackendServicesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Retrieves the list of regional BackendService resources available to the specified project in the given region.
Parameters | |
---|---|
Name | Description |
request | ListRegionBackendServicesRequest 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<BackendServiceList> | The call object. |
NewInstance(ClientBase.ClientBaseConfiguration)
protected override RegionBackendServices.RegionBackendServicesClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
RegionBackendServices.RegionBackendServicesClient |
Patch(PatchRegionBackendServiceRequest, CallOptions)
public virtual Operation Patch(PatchRegionBackendServiceRequest request, CallOptions options)
Updates the specified regional BackendService resource with the data included in the request. For more information, see Understanding backend services This method supports PATCH semantics and uses the JSON merge patch format and processing rules.
Parameters | |
---|---|
Name | Description |
request | PatchRegionBackendServiceRequest 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(PatchRegionBackendServiceRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation Patch(PatchRegionBackendServiceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Updates the specified regional BackendService resource with the data included in the request. For more information, see Understanding backend services This method supports PATCH semantics and uses the JSON merge patch format and processing rules.
Parameters | |
---|---|
Name | Description |
request | PatchRegionBackendServiceRequest 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(PatchRegionBackendServiceRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> PatchAsync(PatchRegionBackendServiceRequest request, CallOptions options)
Updates the specified regional BackendService resource with the data included in the request. For more information, see Understanding backend services This method supports PATCH semantics and uses the JSON merge patch format and processing rules.
Parameters | |
---|---|
Name | Description |
request | PatchRegionBackendServiceRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
PatchAsync(PatchRegionBackendServiceRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> PatchAsync(PatchRegionBackendServiceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Updates the specified regional BackendService resource with the data included in the request. For more information, see Understanding backend services This method supports PATCH semantics and uses the JSON merge patch format and processing rules.
Parameters | |
---|---|
Name | Description |
request | PatchRegionBackendServiceRequest 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. |
Update(UpdateRegionBackendServiceRequest, CallOptions)
public virtual Operation Update(UpdateRegionBackendServiceRequest request, CallOptions options)
Updates the specified regional BackendService resource with the data included in the request. For more information, see Backend services overview .
Parameters | |
---|---|
Name | Description |
request | UpdateRegionBackendServiceRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
Update(UpdateRegionBackendServiceRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation Update(UpdateRegionBackendServiceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Updates the specified regional BackendService resource with the data included in the request. For more information, see Backend services overview .
Parameters | |
---|---|
Name | Description |
request | UpdateRegionBackendServiceRequest 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. |
UpdateAsync(UpdateRegionBackendServiceRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> UpdateAsync(UpdateRegionBackendServiceRequest request, CallOptions options)
Updates the specified regional BackendService resource with the data included in the request. For more information, see Backend services overview .
Parameters | |
---|---|
Name | Description |
request | UpdateRegionBackendServiceRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
UpdateAsync(UpdateRegionBackendServiceRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> UpdateAsync(UpdateRegionBackendServiceRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Updates the specified regional BackendService resource with the data included in the request. For more information, see Backend services overview .
Parameters | |
---|---|
Name | Description |
request | UpdateRegionBackendServiceRequest 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. |