Class UptimeCheckServiceClientImpl (2.6.0)

public sealed class UptimeCheckServiceClientImpl : UptimeCheckServiceClient

UptimeCheckService client wrapper implementation, for convenient use.

Inheritance

Object > UptimeCheckServiceClient > UptimeCheckServiceClientImpl

Namespace

Google.Cloud.Monitoring.V3

Assembly

Google.Cloud.Monitoring.V3.dll

Remarks

The UptimeCheckService API is used to manage (list, create, delete, edit) Uptime check configurations in the Stackdriver Monitoring product. An Uptime check is a piece of configuration that determines which resources and services to monitor for availability. These configurations can also be configured interactively by navigating to the Cloud Console, selecting the appropriate project, clicking on "Monitoring" on the left-hand side to navigate to Stackdriver, and then clicking on "Uptime".

Constructors

UptimeCheckServiceClientImpl(UptimeCheckService.UptimeCheckServiceClient, UptimeCheckServiceSettings)

public UptimeCheckServiceClientImpl(UptimeCheckService.UptimeCheckServiceClient grpcClient, UptimeCheckServiceSettings settings)

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

Parameters
NameDescription
grpcClientUptimeCheckService.UptimeCheckServiceClient

The underlying gRPC client.

settingsUptimeCheckServiceSettings

The base UptimeCheckServiceSettings used within this client.

Properties

GrpcClient

public override UptimeCheckService.UptimeCheckServiceClient GrpcClient { get; }

The underlying gRPC UptimeCheckService client

Property Value
TypeDescription
UptimeCheckService.UptimeCheckServiceClient
Overrides

Methods

CreateUptimeCheckConfig(CreateUptimeCheckConfigRequest, CallSettings)

public override UptimeCheckConfig CreateUptimeCheckConfig(CreateUptimeCheckConfigRequest request, CallSettings callSettings = null)

Creates a new Uptime check configuration.

Parameters
NameDescription
requestCreateUptimeCheckConfigRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
UptimeCheckConfig

The RPC response.

Overrides

CreateUptimeCheckConfigAsync(CreateUptimeCheckConfigRequest, CallSettings)

public override Task<UptimeCheckConfig> CreateUptimeCheckConfigAsync(CreateUptimeCheckConfigRequest request, CallSettings callSettings = null)

Creates a new Uptime check configuration.

Parameters
NameDescription
requestCreateUptimeCheckConfigRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<UptimeCheckConfig>

A Task containing the RPC response.

Overrides

DeleteUptimeCheckConfig(DeleteUptimeCheckConfigRequest, CallSettings)

public override void DeleteUptimeCheckConfig(DeleteUptimeCheckConfigRequest request, CallSettings callSettings = null)

Deletes an Uptime check configuration. Note that this method will fail if the Uptime check configuration is referenced by an alert policy or other dependent configs that would be rendered invalid by the deletion.

Parameters
NameDescription
requestDeleteUptimeCheckConfigRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Overrides

DeleteUptimeCheckConfigAsync(DeleteUptimeCheckConfigRequest, CallSettings)

public override Task DeleteUptimeCheckConfigAsync(DeleteUptimeCheckConfigRequest request, CallSettings callSettings = null)

Deletes an Uptime check configuration. Note that this method will fail if the Uptime check configuration is referenced by an alert policy or other dependent configs that would be rendered invalid by the deletion.

Parameters
NameDescription
requestDeleteUptimeCheckConfigRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task

A Task containing the RPC response.

Overrides

GetUptimeCheckConfig(GetUptimeCheckConfigRequest, CallSettings)

public override UptimeCheckConfig GetUptimeCheckConfig(GetUptimeCheckConfigRequest request, CallSettings callSettings = null)

Gets a single Uptime check configuration.

Parameters
NameDescription
requestGetUptimeCheckConfigRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
UptimeCheckConfig

The RPC response.

Overrides

GetUptimeCheckConfigAsync(GetUptimeCheckConfigRequest, CallSettings)

public override Task<UptimeCheckConfig> GetUptimeCheckConfigAsync(GetUptimeCheckConfigRequest request, CallSettings callSettings = null)

Gets a single Uptime check configuration.

Parameters
NameDescription
requestGetUptimeCheckConfigRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<UptimeCheckConfig>

A Task containing the RPC response.

Overrides

ListUptimeCheckConfigs(ListUptimeCheckConfigsRequest, CallSettings)

public override PagedEnumerable<ListUptimeCheckConfigsResponse, UptimeCheckConfig> ListUptimeCheckConfigs(ListUptimeCheckConfigsRequest request, CallSettings callSettings = null)

Lists the existing valid Uptime check configurations for the project (leaving out any invalid configurations).

Parameters
NameDescription
requestListUptimeCheckConfigsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<ListUptimeCheckConfigsResponse, UptimeCheckConfig>

A pageable sequence of UptimeCheckConfig resources.

Overrides

ListUptimeCheckConfigsAsync(ListUptimeCheckConfigsRequest, CallSettings)

public override PagedAsyncEnumerable<ListUptimeCheckConfigsResponse, UptimeCheckConfig> ListUptimeCheckConfigsAsync(ListUptimeCheckConfigsRequest request, CallSettings callSettings = null)

Lists the existing valid Uptime check configurations for the project (leaving out any invalid configurations).

Parameters
NameDescription
requestListUptimeCheckConfigsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<ListUptimeCheckConfigsResponse, UptimeCheckConfig>

A pageable asynchronous sequence of UptimeCheckConfig resources.

Overrides

ListUptimeCheckIps(ListUptimeCheckIpsRequest, CallSettings)

public override PagedEnumerable<ListUptimeCheckIpsResponse, UptimeCheckIp> ListUptimeCheckIps(ListUptimeCheckIpsRequest request, CallSettings callSettings = null)

Returns the list of IP addresses that checkers run from

Parameters
NameDescription
requestListUptimeCheckIpsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<ListUptimeCheckIpsResponse, UptimeCheckIp>

A pageable sequence of UptimeCheckIp resources.

Overrides

ListUptimeCheckIpsAsync(ListUptimeCheckIpsRequest, CallSettings)

public override PagedAsyncEnumerable<ListUptimeCheckIpsResponse, UptimeCheckIp> ListUptimeCheckIpsAsync(ListUptimeCheckIpsRequest request, CallSettings callSettings = null)

Returns the list of IP addresses that checkers run from

Parameters
NameDescription
requestListUptimeCheckIpsRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<ListUptimeCheckIpsResponse, UptimeCheckIp>

A pageable asynchronous sequence of UptimeCheckIp resources.

Overrides

UpdateUptimeCheckConfig(UpdateUptimeCheckConfigRequest, CallSettings)

public override UptimeCheckConfig UpdateUptimeCheckConfig(UpdateUptimeCheckConfigRequest request, CallSettings callSettings = null)

Updates an Uptime check configuration. You can either replace the entire configuration with a new one or replace only certain fields in the current configuration by specifying the fields to be updated via updateMask. Returns the updated configuration.

Parameters
NameDescription
requestUpdateUptimeCheckConfigRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
UptimeCheckConfig

The RPC response.

Overrides

UpdateUptimeCheckConfigAsync(UpdateUptimeCheckConfigRequest, CallSettings)

public override Task<UptimeCheckConfig> UpdateUptimeCheckConfigAsync(UpdateUptimeCheckConfigRequest request, CallSettings callSettings = null)

Updates an Uptime check configuration. You can either replace the entire configuration with a new one or replace only certain fields in the current configuration by specifying the fields to be updated via updateMask. Returns the updated configuration.

Parameters
NameDescription
requestUpdateUptimeCheckConfigRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<UptimeCheckConfig>

A Task containing the RPC response.

Overrides