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