public sealed class RegionHealthSourcesClientImpl : RegionHealthSourcesClientReference documentation and code samples for the Compute Engine v1 API class RegionHealthSourcesClientImpl.
RegionHealthSources client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Remarks
The RegionHealthSources API.
Constructors
RegionHealthSourcesClientImpl(RegionHealthSourcesClient, RegionHealthSourcesSettings, ILogger)
public RegionHealthSourcesClientImpl(RegionHealthSources.RegionHealthSourcesClient grpcClient, RegionHealthSourcesSettings settings, ILogger logger)Constructs a client wrapper for the RegionHealthSources service, with the specified gRPC client and settings.
| Parameters | |
|---|---|
| Name | Description |
grpcClient |
RegionHealthSourcesRegionHealthSourcesClientThe underlying gRPC client. |
settings |
RegionHealthSourcesSettingsThe base RegionHealthSourcesSettings 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 RegionHealthSources.RegionHealthSourcesClient GrpcClient { get; }The underlying gRPC RegionHealthSources client
| Property Value | |
|---|---|
| Type | Description |
RegionHealthSourcesRegionHealthSourcesClient |
|
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 |
|
Methods
AggregatedList(AggregatedListRegionHealthSourcesRequest, CallSettings)
public override PagedEnumerable<HealthSourceAggregatedList, KeyValuePair<string, HealthSourcesScopedList>> AggregatedList(AggregatedListRegionHealthSourcesRequest request, CallSettings callSettings = null)Retrieves the list of all HealthSource resources (all regional) available to the specified project.
To prevent failure, Google recommends that you set the
returnPartialSuccess parameter to true.
| Parameters | |
|---|---|
| Name | Description |
request |
AggregatedListRegionHealthSourcesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableHealthSourceAggregatedListKeyValuePairstringHealthSourcesScopedList |
A pageable sequence of KeyValuePair<TKey, TValue> resources. |
AggregatedListAsync(AggregatedListRegionHealthSourcesRequest, CallSettings)
public override PagedAsyncEnumerable<HealthSourceAggregatedList, KeyValuePair<string, HealthSourcesScopedList>> AggregatedListAsync(AggregatedListRegionHealthSourcesRequest request, CallSettings callSettings = null)Retrieves the list of all HealthSource resources (all regional) available to the specified project.
To prevent failure, Google recommends that you set the
returnPartialSuccess parameter to true.
| Parameters | |
|---|---|
| Name | Description |
request |
AggregatedListRegionHealthSourcesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableHealthSourceAggregatedListKeyValuePairstringHealthSourcesScopedList |
A pageable asynchronous sequence of KeyValuePair<TKey, TValue> resources. |
Delete(DeleteRegionHealthSourceRequest, CallSettings)
public override Operation<Operation, Operation> Delete(DeleteRegionHealthSourceRequest request, CallSettings callSettings = null)Deletes the specified HealthSource in the given region
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteRegionHealthSourceRequestThe 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(DeleteRegionHealthSourceRequest, CallSettings)
public override Task<Operation<Operation, Operation>> DeleteAsync(DeleteRegionHealthSourceRequest request, CallSettings callSettings = null)Deletes the specified HealthSource in the given region
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteRegionHealthSourceRequestThe 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(GetRegionHealthSourceRequest, CallSettings)
public override HealthSource Get(GetRegionHealthSourceRequest request, CallSettings callSettings = null)Returns the specified HealthSource resource in the given region.
| Parameters | |
|---|---|
| Name | Description |
request |
GetRegionHealthSourceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
HealthSource |
The RPC response. |
GetAsync(GetRegionHealthSourceRequest, CallSettings)
public override Task<HealthSource> GetAsync(GetRegionHealthSourceRequest request, CallSettings callSettings = null)Returns the specified HealthSource resource in the given region.
| Parameters | |
|---|---|
| Name | Description |
request |
GetRegionHealthSourceRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskHealthSource |
A Task containing the RPC response. |
Insert(InsertRegionHealthSourceRequest, CallSettings)
public override Operation<Operation, Operation> Insert(InsertRegionHealthSourceRequest request, CallSettings callSettings = null)Create a HealthSource in the specified project in the given region using the parameters that are included in the request.
| Parameters | |
|---|---|
| Name | Description |
request |
InsertRegionHealthSourceRequestThe 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(InsertRegionHealthSourceRequest, CallSettings)
public override Task<Operation<Operation, Operation>> InsertAsync(InsertRegionHealthSourceRequest request, CallSettings callSettings = null)Create a HealthSource in the specified project in the given region using the parameters that are included in the request.
| Parameters | |
|---|---|
| Name | Description |
request |
InsertRegionHealthSourceRequestThe 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(ListRegionHealthSourcesRequest, CallSettings)
public override PagedEnumerable<HealthSourceList, HealthSource> List(ListRegionHealthSourcesRequest request, CallSettings callSettings = null)Lists the HealthSources for a project in the given region.
| Parameters | |
|---|---|
| Name | Description |
request |
ListRegionHealthSourcesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableHealthSourceListHealthSource |
A pageable sequence of HealthSource resources. |
ListAsync(ListRegionHealthSourcesRequest, CallSettings)
public override PagedAsyncEnumerable<HealthSourceList, HealthSource> ListAsync(ListRegionHealthSourcesRequest request, CallSettings callSettings = null)Lists the HealthSources for a project in the given region.
| Parameters | |
|---|---|
| Name | Description |
request |
ListRegionHealthSourcesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableHealthSourceListHealthSource |
A pageable asynchronous sequence of HealthSource resources. |
Patch(PatchRegionHealthSourceRequest, CallSettings)
public override Operation<Operation, Operation> Patch(PatchRegionHealthSourceRequest request, CallSettings callSettings = null)Updates the specified regional HealthSource resource with the data included in the request. This method supportsPATCH semantics and uses theJSON merge patch format and processing rules.
| Parameters | |
|---|---|
| Name | Description |
request |
PatchRegionHealthSourceRequestThe 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(PatchRegionHealthSourceRequest, CallSettings)
public override Task<Operation<Operation, Operation>> PatchAsync(PatchRegionHealthSourceRequest request, CallSettings callSettings = null)Updates the specified regional HealthSource resource with the data included in the request. This method supportsPATCH semantics and uses theJSON merge patch format and processing rules.
| Parameters | |
|---|---|
| Name | Description |
request |
PatchRegionHealthSourceRequestThe 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(TestIamPermissionsRegionHealthSourceRequest, CallSettings)
public override TestPermissionsResponse TestIamPermissions(TestIamPermissionsRegionHealthSourceRequest request, CallSettings callSettings = null)Returns permissions that a caller has on the specified resource.
| Parameters | |
|---|---|
| Name | Description |
request |
TestIamPermissionsRegionHealthSourceRequestThe 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(TestIamPermissionsRegionHealthSourceRequest, CallSettings)
public override Task<TestPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsRegionHealthSourceRequest request, CallSettings callSettings = null)Returns permissions that a caller has on the specified resource.
| Parameters | |
|---|---|
| Name | Description |
request |
TestIamPermissionsRegionHealthSourceRequestThe 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. |