Compute Engine v1 API - Class RegionBackendServicesClientImpl (3.0.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
Name Description
grpcClient RegionBackendServicesRegionBackendServicesClient

The underlying gRPC client.

settings RegionBackendServicesSettings

The base RegionBackendServicesSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

DeleteOperationsClient

public override OperationsClient DeleteOperationsClient { get; }

The long-running operations client for Delete.

Property Value
Type Description
OperationsClient
Overrides

GrpcClient

public override RegionBackendServices.RegionBackendServicesClient GrpcClient { get; }

The underlying gRPC RegionBackendServices client

Property Value
Type Description
RegionBackendServicesRegionBackendServicesClient
Overrides

InsertOperationsClient

public override OperationsClient InsertOperationsClient { get; }

The long-running operations client for Insert.

Property Value
Type Description
OperationsClient
Overrides

PatchOperationsClient

public override OperationsClient PatchOperationsClient { get; }

The long-running operations client for Patch.

Property Value
Type Description
OperationsClient
Overrides

SetSecurityPolicyOperationsClient

public override OperationsClient SetSecurityPolicyOperationsClient { get; }

The long-running operations client for SetSecurityPolicy.

Property Value
Type Description
OperationsClient
Overrides

UpdateOperationsClient

public override OperationsClient UpdateOperationsClient { get; }

The long-running operations client for Update.

Property Value
Type Description
OperationsClient
Overrides

Methods

Delete(DeleteRegionBackendServiceRequest, CallSettings)

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

Deletes the specified regional BackendService resource.

Parameters
Name Description
request DeleteRegionBackendServiceRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
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
Name Description
request DeleteRegionBackendServiceRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
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
Name Description
request GetRegionBackendServiceRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
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
Name Description
request GetRegionBackendServiceRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
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
Name Description
request GetHealthRegionBackendServiceRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
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
Name Description
request GetHealthRegionBackendServiceRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
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
Name Description
request GetIamPolicyRegionBackendServiceRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
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
Name Description
request GetIamPolicyRegionBackendServiceRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
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
Name Description
request InsertRegionBackendServiceRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
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
Name Description
request InsertRegionBackendServiceRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
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
Name Description
request ListRegionBackendServicesRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
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
Name Description
request ListRegionBackendServicesRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableBackendServiceListBackendService

A pageable asynchronous sequence of BackendService resources.

Overrides

ListUsable(ListUsableRegionBackendServicesRequest, CallSettings)

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

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

Parameters
Name Description
request ListUsableRegionBackendServicesRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableBackendServiceListUsableBackendService

A pageable sequence of BackendService resources.

Overrides

ListUsableAsync(ListUsableRegionBackendServicesRequest, CallSettings)

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

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

Parameters
Name Description
request ListUsableRegionBackendServicesRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
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
Name Description
request PatchRegionBackendServiceRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
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
Name Description
request PatchRegionBackendServiceRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
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
Name Description
request SetIamPolicyRegionBackendServiceRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
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
Name Description
request SetIamPolicyRegionBackendServiceRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
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
Name Description
request SetSecurityPolicyRegionBackendServiceRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
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
Name Description
request SetSecurityPolicyRegionBackendServiceRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
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
Name Description
request TestIamPermissionsRegionBackendServiceRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
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
Name Description
request TestIamPermissionsRegionBackendServiceRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
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
Name Description
request UpdateRegionBackendServiceRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
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
Name Description
request UpdateRegionBackendServiceRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationOperationOperation

A Task containing the RPC response.

Overrides