public sealed class BackendServicesClientImpl : BackendServicesClient
Reference documentation and code samples for the Compute Engine v1 API class BackendServicesClientImpl.
BackendServices client wrapper implementation, for convenient use.
Namespace
GoogleCloudGoogle.Cloud.ComputeV1Assembly
Google.Cloud.Compute.V1.dll
Remarks
The BackendServices API.
Constructors
BackendServicesClientImpl(BackendServicesClient, BackendServicesSettings, ILogger)
public BackendServicesClientImpl(BackendServices.BackendServicesClient grpcClient, BackendServicesSettings settings, ILogger logger)
Constructs a client wrapper for the BackendServices service, with the specified gRPC client and settings.
Parameters | |
---|---|
Name | Description |
grpcClient | BackendServicesBackendServicesClient The underlying gRPC client. |
settings | BackendServicesSettings The base BackendServicesSettings used within this client. |
logger | ILogger Optional ILogger to use within this client. |
Properties
AddSignedUrlKeyOperationsClient
public override OperationsClient AddSignedUrlKeyOperationsClient { get; }
The long-running operations client for AddSignedUrlKey
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
DeleteOperationsClient
public override OperationsClient DeleteOperationsClient { get; }
The long-running operations client for Delete
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
DeleteSignedUrlKeyOperationsClient
public override OperationsClient DeleteSignedUrlKeyOperationsClient { get; }
The long-running operations client for DeleteSignedUrlKey
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
GrpcClient
public override BackendServices.BackendServicesClient GrpcClient { get; }
The underlying gRPC BackendServices client
Property Value | |
---|---|
Type | Description |
BackendServicesBackendServicesClient |
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 |
SetEdgeSecurityPolicyOperationsClient
public override OperationsClient SetEdgeSecurityPolicyOperationsClient { get; }
The long-running operations client for SetEdgeSecurityPolicy
.
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
AddSignedUrlKey(AddSignedUrlKeyBackendServiceRequest, CallSettings)
public override Operation<Operation, Operation> AddSignedUrlKey(AddSignedUrlKeyBackendServiceRequest request, CallSettings callSettings = null)
Adds a key for validating requests with signed URLs for this backend service.
Parameters | |
---|---|
Name | Description |
request | AddSignedUrlKeyBackendServiceRequest 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. |
AddSignedUrlKeyAsync(AddSignedUrlKeyBackendServiceRequest, CallSettings)
public override Task<Operation<Operation, Operation>> AddSignedUrlKeyAsync(AddSignedUrlKeyBackendServiceRequest request, CallSettings callSettings = null)
Adds a key for validating requests with signed URLs for this backend service.
Parameters | |
---|---|
Name | Description |
request | AddSignedUrlKeyBackendServiceRequest 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. |
AggregatedList(AggregatedListBackendServicesRequest, CallSettings)
public override PagedEnumerable<BackendServiceAggregatedList, KeyValuePair<string, BackendServicesScopedList>> AggregatedList(AggregatedListBackendServicesRequest request, CallSettings callSettings = null)
Retrieves the list of all BackendService resources, regional and global, available to the specified project.
Parameters | |
---|---|
Name | Description |
request | AggregatedListBackendServicesRequest 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 |
PagedEnumerableBackendServiceAggregatedListKeyValuePairstringBackendServicesScopedList | A pageable sequence of KeyValuePair<TKey,TValue> resources. |
AggregatedListAsync(AggregatedListBackendServicesRequest, CallSettings)
public override PagedAsyncEnumerable<BackendServiceAggregatedList, KeyValuePair<string, BackendServicesScopedList>> AggregatedListAsync(AggregatedListBackendServicesRequest request, CallSettings callSettings = null)
Retrieves the list of all BackendService resources, regional and global, available to the specified project.
Parameters | |
---|---|
Name | Description |
request | AggregatedListBackendServicesRequest 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 |
PagedAsyncEnumerableBackendServiceAggregatedListKeyValuePairstringBackendServicesScopedList | A pageable asynchronous sequence of KeyValuePair<TKey,TValue> resources. |
Delete(DeleteBackendServiceRequest, CallSettings)
public override Operation<Operation, Operation> Delete(DeleteBackendServiceRequest request, CallSettings callSettings = null)
Deletes the specified BackendService resource.
Parameters | |
---|---|
Name | Description |
request | DeleteBackendServiceRequest 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(DeleteBackendServiceRequest, CallSettings)
public override Task<Operation<Operation, Operation>> DeleteAsync(DeleteBackendServiceRequest request, CallSettings callSettings = null)
Deletes the specified BackendService resource.
Parameters | |
---|---|
Name | Description |
request | DeleteBackendServiceRequest 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. |
DeleteSignedUrlKey(DeleteSignedUrlKeyBackendServiceRequest, CallSettings)
public override Operation<Operation, Operation> DeleteSignedUrlKey(DeleteSignedUrlKeyBackendServiceRequest request, CallSettings callSettings = null)
Deletes a key for validating requests with signed URLs for this backend service.
Parameters | |
---|---|
Name | Description |
request | DeleteSignedUrlKeyBackendServiceRequest 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. |
DeleteSignedUrlKeyAsync(DeleteSignedUrlKeyBackendServiceRequest, CallSettings)
public override Task<Operation<Operation, Operation>> DeleteSignedUrlKeyAsync(DeleteSignedUrlKeyBackendServiceRequest request, CallSettings callSettings = null)
Deletes a key for validating requests with signed URLs for this backend service.
Parameters | |
---|---|
Name | Description |
request | DeleteSignedUrlKeyBackendServiceRequest 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(GetBackendServiceRequest, CallSettings)
public override BackendService Get(GetBackendServiceRequest request, CallSettings callSettings = null)
Returns the specified BackendService resource. Gets a list of available backend services.
Parameters | |
---|---|
Name | Description |
request | GetBackendServiceRequest 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(GetBackendServiceRequest, CallSettings)
public override Task<BackendService> GetAsync(GetBackendServiceRequest request, CallSettings callSettings = null)
Returns the specified BackendService resource. Gets a list of available backend services.
Parameters | |
---|---|
Name | Description |
request | GetBackendServiceRequest 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(GetHealthBackendServiceRequest, CallSettings)
public override BackendServiceGroupHealth GetHealth(GetHealthBackendServiceRequest request, CallSettings callSettings = null)
Gets the most recent health check results for this BackendService. Example request body: { "group": "/zones/us-east1-b/instanceGroups/lb-backend-example" }
Parameters | |
---|---|
Name | Description |
request | GetHealthBackendServiceRequest 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(GetHealthBackendServiceRequest, CallSettings)
public override Task<BackendServiceGroupHealth> GetHealthAsync(GetHealthBackendServiceRequest request, CallSettings callSettings = null)
Gets the most recent health check results for this BackendService. Example request body: { "group": "/zones/us-east1-b/instanceGroups/lb-backend-example" }
Parameters | |
---|---|
Name | Description |
request | GetHealthBackendServiceRequest 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(GetIamPolicyBackendServiceRequest, CallSettings)
public override Policy GetIamPolicy(GetIamPolicyBackendServiceRequest 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 | GetIamPolicyBackendServiceRequest 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(GetIamPolicyBackendServiceRequest, CallSettings)
public override Task<Policy> GetIamPolicyAsync(GetIamPolicyBackendServiceRequest 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 | GetIamPolicyBackendServiceRequest 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(InsertBackendServiceRequest, CallSettings)
public override Operation<Operation, Operation> Insert(InsertBackendServiceRequest request, CallSettings callSettings = null)
Creates a BackendService resource in the specified project using the data included in the request. For more information, see Backend services overview .
Parameters | |
---|---|
Name | Description |
request | InsertBackendServiceRequest 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(InsertBackendServiceRequest, CallSettings)
public override Task<Operation<Operation, Operation>> InsertAsync(InsertBackendServiceRequest request, CallSettings callSettings = null)
Creates a BackendService resource in the specified project using the data included in the request. For more information, see Backend services overview .
Parameters | |
---|---|
Name | Description |
request | InsertBackendServiceRequest 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(ListBackendServicesRequest, CallSettings)
public override PagedEnumerable<BackendServiceList, BackendService> List(ListBackendServicesRequest request, CallSettings callSettings = null)
Retrieves the list of BackendService resources available to the specified project.
Parameters | |
---|---|
Name | Description |
request | ListBackendServicesRequest 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(ListBackendServicesRequest, CallSettings)
public override PagedAsyncEnumerable<BackendServiceList, BackendService> ListAsync(ListBackendServicesRequest request, CallSettings callSettings = null)
Retrieves the list of BackendService resources available to the specified project.
Parameters | |
---|---|
Name | Description |
request | ListBackendServicesRequest 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. |
Patch(PatchBackendServiceRequest, CallSettings)
public override Operation<Operation, Operation> Patch(PatchBackendServiceRequest request, CallSettings callSettings = null)
Patches the specified BackendService resource with the data included in the request. For more information, see Backend services overview. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.
Parameters | |
---|---|
Name | Description |
request | PatchBackendServiceRequest 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(PatchBackendServiceRequest, CallSettings)
public override Task<Operation<Operation, Operation>> PatchAsync(PatchBackendServiceRequest request, CallSettings callSettings = null)
Patches the specified BackendService resource with the data included in the request. For more information, see Backend services overview. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.
Parameters | |
---|---|
Name | Description |
request | PatchBackendServiceRequest 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. |
SetEdgeSecurityPolicy(SetEdgeSecurityPolicyBackendServiceRequest, CallSettings)
public override Operation<Operation, Operation> SetEdgeSecurityPolicy(SetEdgeSecurityPolicyBackendServiceRequest request, CallSettings callSettings = null)
Sets the edge security policy for the specified backend service.
Parameters | |
---|---|
Name | Description |
request | SetEdgeSecurityPolicyBackendServiceRequest 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. |
SetEdgeSecurityPolicyAsync(SetEdgeSecurityPolicyBackendServiceRequest, CallSettings)
public override Task<Operation<Operation, Operation>> SetEdgeSecurityPolicyAsync(SetEdgeSecurityPolicyBackendServiceRequest request, CallSettings callSettings = null)
Sets the edge security policy for the specified backend service.
Parameters | |
---|---|
Name | Description |
request | SetEdgeSecurityPolicyBackendServiceRequest 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(SetIamPolicyBackendServiceRequest, CallSettings)
public override Policy SetIamPolicy(SetIamPolicyBackendServiceRequest request, CallSettings callSettings = null)
Sets the access control policy on the specified resource. Replaces any existing policy.
Parameters | |
---|---|
Name | Description |
request | SetIamPolicyBackendServiceRequest 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(SetIamPolicyBackendServiceRequest, CallSettings)
public override Task<Policy> SetIamPolicyAsync(SetIamPolicyBackendServiceRequest request, CallSettings callSettings = null)
Sets the access control policy on the specified resource. Replaces any existing policy.
Parameters | |
---|---|
Name | Description |
request | SetIamPolicyBackendServiceRequest 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(SetSecurityPolicyBackendServiceRequest, CallSettings)
public override Operation<Operation, Operation> SetSecurityPolicy(SetSecurityPolicyBackendServiceRequest 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 | SetSecurityPolicyBackendServiceRequest 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(SetSecurityPolicyBackendServiceRequest, CallSettings)
public override Task<Operation<Operation, Operation>> SetSecurityPolicyAsync(SetSecurityPolicyBackendServiceRequest 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 | SetSecurityPolicyBackendServiceRequest 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. |
Update(UpdateBackendServiceRequest, CallSettings)
public override Operation<Operation, Operation> Update(UpdateBackendServiceRequest request, CallSettings callSettings = null)
Updates the specified BackendService resource with the data included in the request. For more information, see Backend services overview.
Parameters | |
---|---|
Name | Description |
request | UpdateBackendServiceRequest 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(UpdateBackendServiceRequest, CallSettings)
public override Task<Operation<Operation, Operation>> UpdateAsync(UpdateBackendServiceRequest request, CallSettings callSettings = null)
Updates the specified BackendService resource with the data included in the request. For more information, see Backend services overview.
Parameters | |
---|---|
Name | Description |
request | UpdateBackendServiceRequest 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. |