Compute Engine v1 API - Class RegionBackendServicesClientImpl (2.15.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(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
grpcClientRegionBackendServicesRegionBackendServicesClient

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
RegionBackendServicesRegionBackendServicesClient
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

SetSecurityPolicyOperationsClient

public override OperationsClient SetSecurityPolicyOperationsClient { get; }

The long-running operations client for SetSecurityPolicy.

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
OperationOperationOperation

The RPC response.

Overrides

DeleteAsync(DeleteRegionBackendServiceRequest, CallSettings)

public override 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
TaskOperationOperationOperation

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
TaskBackendService

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
TaskBackendServiceGroupHealth

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
TaskPolicy

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
OperationOperationOperation

The RPC response.

Overrides

InsertAsync(InsertRegionBackendServiceRequest, CallSettings)

public override 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
TaskOperationOperationOperation

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
PagedEnumerableBackendServiceListBackendService

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
PagedAsyncEnumerableBackendServiceListBackendService

A pageable asynchronous sequence of BackendService resources.

Overrides

ListUsable(ListUsableRegionBackendServicesRequest, CallSettings)

public override PagedEnumerable<BackendServiceListUsable, BackendService> ListUsable(ListUsableRegionBackendServicesRequest request, CallSettings callSettings = null)

Retrieves an aggregated list of all usable backend services in the specified project in the given region.

Parameters
NameDescription
requestListUsableRegionBackendServicesRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerableBackendServiceListUsableBackendService

A pageable sequence of BackendService resources.

Overrides

ListUsableAsync(ListUsableRegionBackendServicesRequest, CallSettings)

public override PagedAsyncEnumerable<BackendServiceListUsable, BackendService> ListUsableAsync(ListUsableRegionBackendServicesRequest request, CallSettings callSettings = null)

Retrieves an aggregated list of all usable backend services in the specified project in the given region.

Parameters
NameDescription
requestListUsableRegionBackendServicesRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerableBackendServiceListUsableBackendService

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
OperationOperationOperation

The RPC response.

Overrides

PatchAsync(PatchRegionBackendServiceRequest, CallSettings)

public override 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
TaskOperationOperationOperation

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
TaskPolicy

A Task containing the RPC response.

Overrides

SetSecurityPolicy(SetSecurityPolicyRegionBackendServiceRequest, CallSettings)

public override Operation<Operation, Operation> SetSecurityPolicy(SetSecurityPolicyRegionBackendServiceRequest request, CallSettings callSettings = null)

Sets the Google Cloud Armor security policy for the specified backend service. For more information, see Google Cloud Armor Overview

Parameters
NameDescription
requestSetSecurityPolicyRegionBackendServiceRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
OperationOperationOperation

The RPC response.

Overrides

SetSecurityPolicyAsync(SetSecurityPolicyRegionBackendServiceRequest, CallSettings)

public override Task<Operation<Operation, Operation>> SetSecurityPolicyAsync(SetSecurityPolicyRegionBackendServiceRequest request, CallSettings callSettings = null)

Sets the Google Cloud Armor security policy for the specified backend service. For more information, see Google Cloud Armor Overview

Parameters
NameDescription
requestSetSecurityPolicyRegionBackendServiceRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskOperationOperationOperation

A Task containing the RPC response.

Overrides

TestIamPermissions(TestIamPermissionsRegionBackendServiceRequest, CallSettings)

public override TestPermissionsResponse TestIamPermissions(TestIamPermissionsRegionBackendServiceRequest request, CallSettings callSettings = null)

Returns permissions that a caller has on the specified resource.

Parameters
NameDescription
requestTestIamPermissionsRegionBackendServiceRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TestPermissionsResponse

The RPC response.

Overrides

TestIamPermissionsAsync(TestIamPermissionsRegionBackendServiceRequest, CallSettings)

public override Task<TestPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsRegionBackendServiceRequest request, CallSettings callSettings = null)

Returns permissions that a caller has on the specified resource.

Parameters
NameDescription
requestTestIamPermissionsRegionBackendServiceRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskTestPermissionsResponse

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
OperationOperationOperation

The RPC response.

Overrides

UpdateAsync(UpdateRegionBackendServiceRequest, CallSettings)

public override 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
TaskOperationOperationOperation

A Task containing the RPC response.

Overrides