public sealed class RegionBackendServicesClientImpl : RegionBackendServicesClientReference documentation and code samples for the Compute Engine v1 API class RegionBackendServicesClientImpl.
RegionBackendServices client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Compute.V1Assembly
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 |
RegionBackendServicesRegionBackendServicesClientThe underlying gRPC client. |
settings |
RegionBackendServicesSettingsThe base RegionBackendServicesSettings used within this client. |
logger |
ILoggerOptional 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 |
|
GrpcClient
public override RegionBackendServices.RegionBackendServicesClient GrpcClient { get; }The underlying gRPC RegionBackendServices client
| Property Value | |
|---|---|
| Type | Description |
RegionBackendServicesRegionBackendServicesClient |
|
InsertOperationsClient
public override OperationsClient InsertOperationsClient { get; }The long-running operations client for Insert.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
PatchOperationsClient
public override OperationsClient PatchOperationsClient { get; }The long-running operations client for Patch.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
SetSecurityPolicyOperationsClient
public override OperationsClient SetSecurityPolicyOperationsClient { get; }The long-running operations client for SetSecurityPolicy.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
UpdateOperationsClient
public override OperationsClient UpdateOperationsClient { get; }The long-running operations client for Update.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
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 |
DeleteRegionBackendServiceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationOperationOperation |
The RPC response. |
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 |
DeleteRegionBackendServiceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationOperationOperation |
A Task containing the RPC response. |
Get(GetRegionBackendServiceRequest, CallSettings)
public override BackendService Get(GetRegionBackendServiceRequest request, CallSettings callSettings = null)Returns the specified regional BackendService resource.
| Parameters | |
|---|---|
| Name | Description |
request |
GetRegionBackendServiceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
BackendService |
The RPC response. |
GetAsync(GetRegionBackendServiceRequest, CallSettings)
public override Task<BackendService> GetAsync(GetRegionBackendServiceRequest request, CallSettings callSettings = null)Returns the specified regional BackendService resource.
| Parameters | |
|---|---|
| Name | Description |
request |
GetRegionBackendServiceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskBackendService |
A Task containing the RPC response. |
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 |
GetHealthRegionBackendServiceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
BackendServiceGroupHealth |
The RPC response. |
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 |
GetHealthRegionBackendServiceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskBackendServiceGroupHealth |
A Task containing the RPC response. |
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 |
GetIamPolicyRegionBackendServiceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Policy |
The RPC response. |
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 |
GetIamPolicyRegionBackendServiceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskPolicy |
A Task containing the RPC response. |
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 |
InsertRegionBackendServiceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationOperationOperation |
The RPC response. |
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 |
InsertRegionBackendServiceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationOperationOperation |
A Task containing the RPC response. |
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 |
ListRegionBackendServicesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableBackendServiceListBackendService |
A pageable sequence of BackendService resources. |
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 |
ListRegionBackendServicesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableBackendServiceListBackendService |
A pageable asynchronous sequence of BackendService resources. |
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 |
ListUsableRegionBackendServicesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableBackendServiceListUsableBackendService |
A pageable sequence of BackendService resources. |
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 |
ListUsableRegionBackendServicesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableBackendServiceListUsableBackendService |
A pageable asynchronous sequence of BackendService resources. |
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 |
PatchRegionBackendServiceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationOperationOperation |
The RPC response. |
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 |
PatchRegionBackendServiceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationOperationOperation |
A Task containing the RPC response. |
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 |
SetIamPolicyRegionBackendServiceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Policy |
The RPC response. |
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 |
SetIamPolicyRegionBackendServiceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskPolicy |
A Task containing the RPC response. |
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 |
SetSecurityPolicyRegionBackendServiceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationOperationOperation |
The RPC response. |
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 |
SetSecurityPolicyRegionBackendServiceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationOperationOperation |
A Task containing the RPC response. |
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 |
TestIamPermissionsRegionBackendServiceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TestPermissionsResponse |
The RPC response. |
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 |
TestIamPermissionsRegionBackendServiceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskTestPermissionsResponse |
A Task containing the RPC response. |
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 |
UpdateRegionBackendServiceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationOperationOperation |
The RPC response. |
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 |
UpdateRegionBackendServiceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationOperationOperation |
A Task containing the RPC response. |