Compute Engine v1 API - Class RegionCompositeHealthChecksClientImpl (3.26.0)

public sealed class RegionCompositeHealthChecksClientImpl : RegionCompositeHealthChecksClient

Reference documentation and code samples for the Compute Engine v1 API class RegionCompositeHealthChecksClientImpl.

RegionCompositeHealthChecks client wrapper implementation, for convenient use.

Inheritance

object > RegionCompositeHealthChecksClient > RegionCompositeHealthChecksClientImpl

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Remarks

The RegionCompositeHealthChecks API.

Constructors

RegionCompositeHealthChecksClientImpl(RegionCompositeHealthChecksClient, RegionCompositeHealthChecksSettings, ILogger)

public RegionCompositeHealthChecksClientImpl(RegionCompositeHealthChecks.RegionCompositeHealthChecksClient grpcClient, RegionCompositeHealthChecksSettings settings, ILogger logger)

Constructs a client wrapper for the RegionCompositeHealthChecks service, with the specified gRPC client and settings.

Parameters
Name Description
grpcClient RegionCompositeHealthChecksRegionCompositeHealthChecksClient

The underlying gRPC client.

settings RegionCompositeHealthChecksSettings

The base RegionCompositeHealthChecksSettings 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
Overrides

GrpcClient

public override RegionCompositeHealthChecks.RegionCompositeHealthChecksClient GrpcClient { get; }

The underlying gRPC RegionCompositeHealthChecks client

Property Value
Type Description
RegionCompositeHealthChecksRegionCompositeHealthChecksClient
Overrides

InsertOperationsClient

public override OperationsClient InsertOperationsClient { get; }

The long-running operations client for Insert.

Property Value
Type Description
OperationsClient
Overrides

PatchOperationsClient

public override OperationsClient PatchOperationsClient { get; }

The long-running operations client for Patch.

Property Value
Type Description
OperationsClient
Overrides

Methods

AggregatedList(AggregatedListRegionCompositeHealthChecksRequest, CallSettings)

public override PagedEnumerable<CompositeHealthCheckAggregatedList, KeyValuePair<string, CompositeHealthChecksScopedList>> AggregatedList(AggregatedListRegionCompositeHealthChecksRequest request, CallSettings callSettings = null)

Retrieves the list of all CompositeHealthCheck resources (all regional) available to the specified project.

To prevent failure, it is recommended that you set the returnPartialSuccess parameter to true.

Parameters
Name Description
request AggregatedListRegionCompositeHealthChecksRequest

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
PagedEnumerableCompositeHealthCheckAggregatedListKeyValuePairstringCompositeHealthChecksScopedList

A pageable sequence of KeyValuePair<TKey, TValue> resources.

Overrides

AggregatedListAsync(AggregatedListRegionCompositeHealthChecksRequest, CallSettings)

public override PagedAsyncEnumerable<CompositeHealthCheckAggregatedList, KeyValuePair<string, CompositeHealthChecksScopedList>> AggregatedListAsync(AggregatedListRegionCompositeHealthChecksRequest request, CallSettings callSettings = null)

Retrieves the list of all CompositeHealthCheck resources (all regional) available to the specified project.

To prevent failure, it is recommended that you set the returnPartialSuccess parameter to true.

Parameters
Name Description
request AggregatedListRegionCompositeHealthChecksRequest

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
PagedAsyncEnumerableCompositeHealthCheckAggregatedListKeyValuePairstringCompositeHealthChecksScopedList

A pageable asynchronous sequence of KeyValuePair<TKey, TValue> resources.

Overrides

Delete(DeleteRegionCompositeHealthCheckRequest, CallSettings)

public override Operation<Operation, Operation> Delete(DeleteRegionCompositeHealthCheckRequest request, CallSettings callSettings = null)

Deletes the specified CompositeHealthCheck in the given region

Parameters
Name Description
request DeleteRegionCompositeHealthCheckRequest

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.

Overrides

DeleteAsync(DeleteRegionCompositeHealthCheckRequest, CallSettings)

public override Task<Operation<Operation, Operation>> DeleteAsync(DeleteRegionCompositeHealthCheckRequest request, CallSettings callSettings = null)

Deletes the specified CompositeHealthCheck in the given region

Parameters
Name Description
request DeleteRegionCompositeHealthCheckRequest

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.

Overrides

Get(GetRegionCompositeHealthCheckRequest, CallSettings)

public override CompositeHealthCheck Get(GetRegionCompositeHealthCheckRequest request, CallSettings callSettings = null)

Returns the specified CompositeHealthCheck resource in the given region.

Parameters
Name Description
request GetRegionCompositeHealthCheckRequest

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
CompositeHealthCheck

The RPC response.

Overrides

GetAsync(GetRegionCompositeHealthCheckRequest, CallSettings)

public override Task<CompositeHealthCheck> GetAsync(GetRegionCompositeHealthCheckRequest request, CallSettings callSettings = null)

Returns the specified CompositeHealthCheck resource in the given region.

Parameters
Name Description
request GetRegionCompositeHealthCheckRequest

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
TaskCompositeHealthCheck

A Task containing the RPC response.

Overrides

Insert(InsertRegionCompositeHealthCheckRequest, CallSettings)

public override Operation<Operation, Operation> Insert(InsertRegionCompositeHealthCheckRequest request, CallSettings callSettings = null)

Create a CompositeHealthCheck in the specified project in the given region using the parameters that are included in the request.

Parameters
Name Description
request InsertRegionCompositeHealthCheckRequest

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.

Overrides

InsertAsync(InsertRegionCompositeHealthCheckRequest, CallSettings)

public override Task<Operation<Operation, Operation>> InsertAsync(InsertRegionCompositeHealthCheckRequest request, CallSettings callSettings = null)

Create a CompositeHealthCheck in the specified project in the given region using the parameters that are included in the request.

Parameters
Name Description
request InsertRegionCompositeHealthCheckRequest

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.

Overrides

List(ListRegionCompositeHealthChecksRequest, CallSettings)

public override PagedEnumerable<CompositeHealthCheckList, CompositeHealthCheck> List(ListRegionCompositeHealthChecksRequest request, CallSettings callSettings = null)

Lists the CompositeHealthChecks for a project in the given region.

Parameters
Name Description
request ListRegionCompositeHealthChecksRequest

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
PagedEnumerableCompositeHealthCheckListCompositeHealthCheck

A pageable sequence of CompositeHealthCheck resources.

Overrides

ListAsync(ListRegionCompositeHealthChecksRequest, CallSettings)

public override PagedAsyncEnumerable<CompositeHealthCheckList, CompositeHealthCheck> ListAsync(ListRegionCompositeHealthChecksRequest request, CallSettings callSettings = null)

Lists the CompositeHealthChecks for a project in the given region.

Parameters
Name Description
request ListRegionCompositeHealthChecksRequest

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
PagedAsyncEnumerableCompositeHealthCheckListCompositeHealthCheck

A pageable asynchronous sequence of CompositeHealthCheck resources.

Overrides

Patch(PatchRegionCompositeHealthCheckRequest, CallSettings)

public override Operation<Operation, Operation> Patch(PatchRegionCompositeHealthCheckRequest request, CallSettings callSettings = null)

Updates the specified regional CompositeHealthCheck 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 PatchRegionCompositeHealthCheckRequest

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.

Overrides

PatchAsync(PatchRegionCompositeHealthCheckRequest, CallSettings)

public override Task<Operation<Operation, Operation>> PatchAsync(PatchRegionCompositeHealthCheckRequest request, CallSettings callSettings = null)

Updates the specified regional CompositeHealthCheck 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 PatchRegionCompositeHealthCheckRequest

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.

Overrides

TestIamPermissions(TestIamPermissionsRegionCompositeHealthCheckRequest, CallSettings)

public override TestPermissionsResponse TestIamPermissions(TestIamPermissionsRegionCompositeHealthCheckRequest request, CallSettings callSettings = null)

Returns permissions that a caller has on the specified resource.

Parameters
Name Description
request TestIamPermissionsRegionCompositeHealthCheckRequest

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.

Overrides

TestIamPermissionsAsync(TestIamPermissionsRegionCompositeHealthCheckRequest, CallSettings)

public override Task<TestPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsRegionCompositeHealthCheckRequest request, CallSettings callSettings = null)

Returns permissions that a caller has on the specified resource.

Parameters
Name Description
request TestIamPermissionsRegionCompositeHealthCheckRequest

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.

Overrides