Compute Engine v1 API - Class RegionBackendServicesClientImpl (2.5.0)

public sealed class RegionBackendServicesClientImpl : RegionBackendServicesClient

Reference documentation and code samples for the Compute Engine v1 API class RegionBackendServicesClientImpl.

RegionBackendServices client wrapper implementation, for convenient use.

Inheritance

Object > RegionBackendServicesClient > RegionBackendServicesClientImpl

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Remarks

The RegionBackendServices API.

Constructors

RegionBackendServicesClientImpl(RegionBackendServices.RegionBackendServicesClient, RegionBackendServicesSettings, ILogger)

public RegionBackendServicesClientImpl(RegionBackendServices.RegionBackendServicesClient grpcClient, RegionBackendServicesSettings settings, ILogger logger)

Constructs a client wrapper for the RegionBackendServices service, with the specified gRPC client and settings.

Parameters
NameDescription
grpcClientRegionBackendServices.RegionBackendServicesClient

The underlying gRPC client.

settingsRegionBackendServicesSettings

The base RegionBackendServicesSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

DeleteOperationsClient

public override OperationsClient DeleteOperationsClient { get; }

The long-running operations client for Delete.

Property Value
TypeDescription
OperationsClient
Overrides

GrpcClient

public override RegionBackendServices.RegionBackendServicesClient GrpcClient { get; }

The underlying gRPC RegionBackendServices client

Property Value
TypeDescription
RegionBackendServices.RegionBackendServicesClient
Overrides

InsertOperationsClient

public override OperationsClient InsertOperationsClient { get; }

The long-running operations client for Insert.

Property Value
TypeDescription
OperationsClient
Overrides

PatchOperationsClient

public override OperationsClient PatchOperationsClient { get; }

The long-running operations client for Patch.

Property Value
TypeDescription
OperationsClient
Overrides

UpdateOperationsClient

public override OperationsClient UpdateOperationsClient { get; }

The long-running operations client for Update.

Property Value
TypeDescription
OperationsClient
Overrides

Methods

Delete(DeleteRegionBackendServiceRequest, CallSettings)

public override Operation<Operation, Operation> Delete(DeleteRegionBackendServiceRequest request, CallSettings callSettings = null)

Deletes the specified regional BackendService resource.

Parameters
NameDescription
requestDeleteRegionBackendServiceRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Operation, Operation>

The RPC response.

Overrides

DeleteAsync(DeleteRegionBackendServiceRequest, CallSettings)

public override async Task<Operation<Operation, Operation>> DeleteAsync(DeleteRegionBackendServiceRequest request, CallSettings callSettings = null)

Deletes the specified regional BackendService resource.

Parameters
NameDescription
requestDeleteRegionBackendServiceRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Operation, Operation>>

A Task containing the RPC response.

Overrides

Get(GetRegionBackendServiceRequest, CallSettings)

public override BackendService Get(GetRegionBackendServiceRequest request, CallSettings callSettings = null)

Returns the specified regional BackendService resource.

Parameters
NameDescription
requestGetRegionBackendServiceRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
BackendService

The RPC response.

Overrides

GetAsync(GetRegionBackendServiceRequest, CallSettings)

public override Task<BackendService> GetAsync(GetRegionBackendServiceRequest request, CallSettings callSettings = null)

Returns the specified regional BackendService resource.

Parameters
NameDescription
requestGetRegionBackendServiceRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<BackendService>

A Task containing the RPC response.

Overrides

GetHealth(GetHealthRegionBackendServiceRequest, CallSettings)

public override BackendServiceGroupHealth GetHealth(GetHealthRegionBackendServiceRequest request, CallSettings callSettings = null)

Gets the most recent health check results for this regional BackendService.

Parameters
NameDescription
requestGetHealthRegionBackendServiceRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
BackendServiceGroupHealth

The RPC response.

Overrides

GetHealthAsync(GetHealthRegionBackendServiceRequest, CallSettings)

public override Task<BackendServiceGroupHealth> GetHealthAsync(GetHealthRegionBackendServiceRequest request, CallSettings callSettings = null)

Gets the most recent health check results for this regional BackendService.

Parameters
NameDescription
requestGetHealthRegionBackendServiceRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<BackendServiceGroupHealth>

A Task containing the RPC response.

Overrides

GetIamPolicy(GetIamPolicyRegionBackendServiceRequest, CallSettings)

public override Policy GetIamPolicy(GetIamPolicyRegionBackendServiceRequest request, CallSettings callSettings = null)

Gets the access control policy for a resource. May be empty if no such policy or resource exists.

Parameters
NameDescription
requestGetIamPolicyRegionBackendServiceRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Policy

The RPC response.

Overrides

GetIamPolicyAsync(GetIamPolicyRegionBackendServiceRequest, CallSettings)

public override Task<Policy> GetIamPolicyAsync(GetIamPolicyRegionBackendServiceRequest request, CallSettings callSettings = null)

Gets the access control policy for a resource. May be empty if no such policy or resource exists.

Parameters
NameDescription
requestGetIamPolicyRegionBackendServiceRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Policy>

A Task containing the RPC response.

Overrides

Insert(InsertRegionBackendServiceRequest, CallSettings)

public override Operation<Operation, Operation> Insert(InsertRegionBackendServiceRequest request, CallSettings callSettings = null)

Creates a regional BackendService resource in the specified project using the data included in the request. For more information, see Backend services overview.

Parameters
NameDescription
requestInsertRegionBackendServiceRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Operation, Operation>

The RPC response.

Overrides

InsertAsync(InsertRegionBackendServiceRequest, CallSettings)

public override async Task<Operation<Operation, Operation>> InsertAsync(InsertRegionBackendServiceRequest request, CallSettings callSettings = null)

Creates a regional BackendService resource in the specified project using the data included in the request. For more information, see Backend services overview.

Parameters
NameDescription
requestInsertRegionBackendServiceRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Operation, Operation>>

A Task containing the RPC response.

Overrides

List(ListRegionBackendServicesRequest, CallSettings)

public override PagedEnumerable<BackendServiceList, BackendService> List(ListRegionBackendServicesRequest request, CallSettings callSettings = null)

Retrieves the list of regional BackendService resources available to the specified project in the given region.

Parameters
NameDescription
requestListRegionBackendServicesRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<BackendServiceList, BackendService>

A pageable sequence of BackendService resources.

Overrides

ListAsync(ListRegionBackendServicesRequest, CallSettings)

public override PagedAsyncEnumerable<BackendServiceList, BackendService> ListAsync(ListRegionBackendServicesRequest request, CallSettings callSettings = null)

Retrieves the list of regional BackendService resources available to the specified project in the given region.

Parameters
NameDescription
requestListRegionBackendServicesRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<BackendServiceList, BackendService>

A pageable asynchronous sequence of BackendService resources.

Overrides

Patch(PatchRegionBackendServiceRequest, CallSettings)

public override Operation<Operation, Operation> Patch(PatchRegionBackendServiceRequest request, CallSettings callSettings = null)

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
NameDescription
requestPatchRegionBackendServiceRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Operation, Operation>

The RPC response.

Overrides

PatchAsync(PatchRegionBackendServiceRequest, CallSettings)

public override async Task<Operation<Operation, Operation>> PatchAsync(PatchRegionBackendServiceRequest request, CallSettings callSettings = null)

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
NameDescription
requestPatchRegionBackendServiceRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Operation, Operation>>

A Task containing the RPC response.

Overrides

SetIamPolicy(SetIamPolicyRegionBackendServiceRequest, CallSettings)

public override Policy SetIamPolicy(SetIamPolicyRegionBackendServiceRequest request, CallSettings callSettings = null)

Sets the access control policy on the specified resource. Replaces any existing policy.

Parameters
NameDescription
requestSetIamPolicyRegionBackendServiceRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Policy

The RPC response.

Overrides

SetIamPolicyAsync(SetIamPolicyRegionBackendServiceRequest, CallSettings)

public override Task<Policy> SetIamPolicyAsync(SetIamPolicyRegionBackendServiceRequest request, CallSettings callSettings = null)

Sets the access control policy on the specified resource. Replaces any existing policy.

Parameters
NameDescription
requestSetIamPolicyRegionBackendServiceRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Policy>

A Task containing the RPC response.

Overrides

Update(UpdateRegionBackendServiceRequest, CallSettings)

public override Operation<Operation, Operation> Update(UpdateRegionBackendServiceRequest request, CallSettings callSettings = null)

Updates the specified regional BackendService resource with the data included in the request. For more information, see Backend services overview .

Parameters
NameDescription
requestUpdateRegionBackendServiceRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Operation, Operation>

The RPC response.

Overrides

UpdateAsync(UpdateRegionBackendServiceRequest, CallSettings)

public override async Task<Operation<Operation, Operation>> UpdateAsync(UpdateRegionBackendServiceRequest request, CallSettings callSettings = null)

Updates the specified regional BackendService resource with the data included in the request. For more information, see Backend services overview .

Parameters
NameDescription
requestUpdateRegionBackendServiceRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Operation, Operation>>

A Task containing the RPC response.

Overrides