public sealed class BackendServicesClientImpl : BackendServicesClient
BackendServices client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Remarks
The BackendServices API.
Constructors
BackendServicesClientImpl(BackendServices.BackendServicesClient, BackendServicesSettings)
public BackendServicesClientImpl(BackendServices.BackendServicesClient grpcClient, BackendServicesSettings settings)
Constructs a client wrapper for the BackendServices service, with the specified gRPC client and settings.
Parameters | |
---|---|
Name | Description |
grpcClient | BackendServices.BackendServicesClient The underlying gRPC client. |
settings | BackendServicesSettings The base BackendServicesSettings used 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 |
BackendServices.BackendServicesClient |
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
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 |
Operation<Operation, Operation> | 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 |
Task<Operation<Operation, Operation>> | 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 |
PagedEnumerable<BackendServiceAggregatedList, KeyValuePair<String, BackendServicesScopedList>> | 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 |
PagedAsyncEnumerable<BackendServiceAggregatedList, KeyValuePair<String, BackendServicesScopedList>> | 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 |
Operation<Operation, Operation> | 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 |
Task<Operation<Operation, Operation>> | 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 |
Operation<Operation, Operation> | 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 |
Task<Operation<Operation, Operation>> | 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 |
Task<BackendService> | 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 |
Task<BackendServiceGroupHealth> | 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 |
Operation<Operation, Operation> | 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 |
Task<Operation<Operation, Operation>> | 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 |
PagedEnumerable<BackendServiceList, BackendService> | 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 |
PagedAsyncEnumerable<BackendServiceList, BackendService> | 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 |
Operation<Operation, Operation> | 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 |
Task<Operation<Operation, Operation>> | 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 |
Operation<Operation, Operation> | 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 |
Task<Operation<Operation, Operation>> | 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 |
Operation<Operation, Operation> | 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 |
Task<Operation<Operation, Operation>> | A Task containing the RPC response. |