3.14.0-rc 3.13.0 (latest) 3.12.0 3.11.0 3.10.0 3.9.0 3.8.0 3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.0 2.48.0-rc 2.47.1 2.46.0 2.45.0 2.44.0 2.43.0 2.42.0 2.41.0 2.40.0 2.39.0 2.38.0 2.37.0 2.36.0 2.35.0 2.34.0 2.33.0 2.32.0 2.31.0 2.30.0 2.29.0 2.28.0 2.27.0 2.26.0 2.25.1 2.24.0 2.23.0 2.22.1 2.21.0 2.20.0 2.19.0 2.18.0 2.17.0 2.16.0 2.15.1 2.14.0 2.13.0 2.12.0 2.11.0

## Classes

### [AlertPolicyServiceClient](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1AlertPolicyServiceClient)

The AlertPolicyService API is used to manage (list, create, delete, edit) alert policies in Cloud Monitoring.

### [AlertPolicyServiceConnection](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1AlertPolicyServiceConnection)

The [`AlertPolicyServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1AlertPolicyServiceConnection) object for [`AlertPolicyServiceClient`](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1AlertPolicyServiceClient).

### [AlertPolicyServiceConnectionIdempotencyPolicy](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1AlertPolicyServiceConnectionIdempotencyPolicy)

### [AlertPolicyServiceLimitedErrorCountRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1AlertPolicyServiceLimitedErrorCountRetryPolicy)

A retry policy for [`AlertPolicyServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1AlertPolicyServiceConnection) based on counting errors.

### [AlertPolicyServiceLimitedTimeRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1AlertPolicyServiceLimitedTimeRetryPolicy)

A retry policy for [`AlertPolicyServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1AlertPolicyServiceConnection) based on elapsed time.

### [AlertPolicyServiceRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1AlertPolicyServiceRetryPolicy)

The retry policy for [`AlertPolicyServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1AlertPolicyServiceConnection).

### [GroupServiceClient](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1GroupServiceClient)

The Group API lets you inspect and manage your [groups](https://github.com/googleapis/googleapis/blob/57aa4dbce5d23b2115b2732b10dcb7ddc8e8698d/google/monitoring/v3/group.proto#L55).

### [GroupServiceConnection](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1GroupServiceConnection)

The [`GroupServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1GroupServiceConnection) object for [`GroupServiceClient`](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1GroupServiceClient).

### [GroupServiceConnectionIdempotencyPolicy](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1GroupServiceConnectionIdempotencyPolicy)

### [GroupServiceLimitedErrorCountRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1GroupServiceLimitedErrorCountRetryPolicy)

A retry policy for [`GroupServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1GroupServiceConnection) based on counting errors.

### [GroupServiceLimitedTimeRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1GroupServiceLimitedTimeRetryPolicy)

A retry policy for [`GroupServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1GroupServiceConnection) based on elapsed time.

### [GroupServiceRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1GroupServiceRetryPolicy)

The retry policy for [`GroupServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1GroupServiceConnection).

### [MetricServiceClient](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1MetricServiceClient)

Manages metric descriptors, monitored resource descriptors, and time series data.

### [MetricServiceConnection](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1MetricServiceConnection)

The [`MetricServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1MetricServiceConnection) object for [`MetricServiceClient`](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1MetricServiceClient).

### [MetricServiceConnectionIdempotencyPolicy](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1MetricServiceConnectionIdempotencyPolicy)

### [MetricServiceLimitedErrorCountRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1MetricServiceLimitedErrorCountRetryPolicy)

A retry policy for [`MetricServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1MetricServiceConnection) based on counting errors.

### [MetricServiceLimitedTimeRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1MetricServiceLimitedTimeRetryPolicy)

A retry policy for [`MetricServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1MetricServiceConnection) based on elapsed time.

### [MetricServiceRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1MetricServiceRetryPolicy)

The retry policy for [`MetricServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1MetricServiceConnection).

### [NotificationChannelServiceClient](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1NotificationChannelServiceClient)

The Notification Channel API provides access to configuration that controls how messages related to incidents are sent.

### [NotificationChannelServiceConnection](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1NotificationChannelServiceConnection)

The [`NotificationChannelServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1NotificationChannelServiceConnection) object for [`NotificationChannelServiceClient`](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1NotificationChannelServiceClient).

### [NotificationChannelServiceConnectionIdempotencyPolicy](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1NotificationChannelServiceConnectionIdempotencyPolicy)

### [NotificationChannelServiceLimitedErrorCountRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1NotificationChannelServiceLimitedErrorCountRetryPolicy)

A retry policy for [`NotificationChannelServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1NotificationChannelServiceConnection) based on counting errors.

### [NotificationChannelServiceLimitedTimeRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1NotificationChannelServiceLimitedTimeRetryPolicy)

A retry policy for [`NotificationChannelServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1NotificationChannelServiceConnection) based on elapsed time.

### [NotificationChannelServiceRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1NotificationChannelServiceRetryPolicy)

The retry policy for [`NotificationChannelServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1NotificationChannelServiceConnection).

### [QueryServiceClient](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1QueryServiceClient)

The QueryService API is used to manage time series data in Cloud Monitoring.

### [QueryServiceConnection](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1QueryServiceConnection)

The [`QueryServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1QueryServiceConnection) object for [`QueryServiceClient`](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1QueryServiceClient).

### [QueryServiceConnectionIdempotencyPolicy](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1QueryServiceConnectionIdempotencyPolicy)

### [QueryServiceLimitedErrorCountRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1QueryServiceLimitedErrorCountRetryPolicy)

A retry policy for [`QueryServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1QueryServiceConnection) based on counting errors.

### [QueryServiceLimitedTimeRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1QueryServiceLimitedTimeRetryPolicy)

A retry policy for [`QueryServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1QueryServiceConnection) based on elapsed time.

### [QueryServiceRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1QueryServiceRetryPolicy)

The retry policy for [`QueryServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1QueryServiceConnection).

### [ServiceMonitoringServiceClient](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1ServiceMonitoringServiceClient)

The Cloud Monitoring Service-Oriented Monitoring API has endpoints for managing and querying aspects of a Metrics Scope's services.

### [ServiceMonitoringServiceConnection](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1ServiceMonitoringServiceConnection)

The [`ServiceMonitoringServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1ServiceMonitoringServiceConnection) object for [`ServiceMonitoringServiceClient`](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1ServiceMonitoringServiceClient).

### [ServiceMonitoringServiceConnectionIdempotencyPolicy](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1ServiceMonitoringServiceConnectionIdempotencyPolicy)

### [ServiceMonitoringServiceLimitedErrorCountRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1ServiceMonitoringServiceLimitedErrorCountRetryPolicy)

A retry policy for [`ServiceMonitoringServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1ServiceMonitoringServiceConnection) based on counting errors.

### [ServiceMonitoringServiceLimitedTimeRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1ServiceMonitoringServiceLimitedTimeRetryPolicy)

A retry policy for [`ServiceMonitoringServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1ServiceMonitoringServiceConnection) based on elapsed time.

### [ServiceMonitoringServiceRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1ServiceMonitoringServiceRetryPolicy)

The retry policy for [`ServiceMonitoringServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1ServiceMonitoringServiceConnection).

### [SnoozeServiceClient](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1SnoozeServiceClient)

The SnoozeService API is used to temporarily prevent an alert policy from generating alerts.

### [SnoozeServiceConnection](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1SnoozeServiceConnection)

The [`SnoozeServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1SnoozeServiceConnection) object for [`SnoozeServiceClient`](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1SnoozeServiceClient).

### [SnoozeServiceConnectionIdempotencyPolicy](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1SnoozeServiceConnectionIdempotencyPolicy)

### [SnoozeServiceLimitedErrorCountRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1SnoozeServiceLimitedErrorCountRetryPolicy)

A retry policy for [`SnoozeServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1SnoozeServiceConnection) based on counting errors.

### [SnoozeServiceLimitedTimeRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1SnoozeServiceLimitedTimeRetryPolicy)

A retry policy for [`SnoozeServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1SnoozeServiceConnection) based on elapsed time.

### [SnoozeServiceRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1SnoozeServiceRetryPolicy)

The retry policy for [`SnoozeServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1SnoozeServiceConnection).

### [UptimeCheckServiceClient](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1UptimeCheckServiceClient)

The UptimeCheckService API is used to manage (list, create, delete, edit) Uptime check configurations in the Cloud Monitoring product.

### [UptimeCheckServiceConnection](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1UptimeCheckServiceConnection)

The [`UptimeCheckServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1UptimeCheckServiceConnection) object for [`UptimeCheckServiceClient`](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1UptimeCheckServiceClient).

### [UptimeCheckServiceConnectionIdempotencyPolicy](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1UptimeCheckServiceConnectionIdempotencyPolicy)

### [UptimeCheckServiceLimitedErrorCountRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1UptimeCheckServiceLimitedErrorCountRetryPolicy)

A retry policy for [`UptimeCheckServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1UptimeCheckServiceConnection) based on counting errors.

### [UptimeCheckServiceLimitedTimeRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1UptimeCheckServiceLimitedTimeRetryPolicy)

A retry policy for [`UptimeCheckServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1UptimeCheckServiceConnection) based on elapsed time.

### [UptimeCheckServiceRetryPolicy](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1UptimeCheckServiceRetryPolicy)

The retry policy for [`UptimeCheckServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1UptimeCheckServiceConnection).

## Structs

### [AlertPolicyServiceBackoffPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/structgoogle_1_1cloud_1_1monitoring__v3_1_1AlertPolicyServiceBackoffPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure the backoff policy.

### [AlertPolicyServiceConnectionIdempotencyPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/structgoogle_1_1cloud_1_1monitoring__v3_1_1AlertPolicyServiceConnectionIdempotencyPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure which operations are retried.

### [AlertPolicyServiceRetryPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/structgoogle_1_1cloud_1_1monitoring__v3_1_1AlertPolicyServiceRetryPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure the retry policy.

### [GroupServiceBackoffPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/structgoogle_1_1cloud_1_1monitoring__v3_1_1GroupServiceBackoffPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure the backoff policy.

### [GroupServiceConnectionIdempotencyPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/structgoogle_1_1cloud_1_1monitoring__v3_1_1GroupServiceConnectionIdempotencyPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure which operations are retried.

### [GroupServiceRetryPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/structgoogle_1_1cloud_1_1monitoring__v3_1_1GroupServiceRetryPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure the retry policy.

### [MetricServiceBackoffPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/structgoogle_1_1cloud_1_1monitoring__v3_1_1MetricServiceBackoffPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure the backoff policy.

### [MetricServiceConnectionIdempotencyPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/structgoogle_1_1cloud_1_1monitoring__v3_1_1MetricServiceConnectionIdempotencyPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure which operations are retried.

### [MetricServiceRetryPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/structgoogle_1_1cloud_1_1monitoring__v3_1_1MetricServiceRetryPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure the retry policy.

### [NotificationChannelServiceBackoffPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/structgoogle_1_1cloud_1_1monitoring__v3_1_1NotificationChannelServiceBackoffPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure the backoff policy.

### [NotificationChannelServiceConnectionIdempotencyPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/structgoogle_1_1cloud_1_1monitoring__v3_1_1NotificationChannelServiceConnectionIdempotencyPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure which operations are retried.

### [NotificationChannelServiceRetryPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/structgoogle_1_1cloud_1_1monitoring__v3_1_1NotificationChannelServiceRetryPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure the retry policy.

### [QueryServiceBackoffPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/structgoogle_1_1cloud_1_1monitoring__v3_1_1QueryServiceBackoffPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure the backoff policy.

### [QueryServiceConnectionIdempotencyPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/structgoogle_1_1cloud_1_1monitoring__v3_1_1QueryServiceConnectionIdempotencyPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure which operations are retried.

### [QueryServiceRetryPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/structgoogle_1_1cloud_1_1monitoring__v3_1_1QueryServiceRetryPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure the retry policy.

### [ServiceMonitoringServiceBackoffPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/structgoogle_1_1cloud_1_1monitoring__v3_1_1ServiceMonitoringServiceBackoffPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure the backoff policy.

### [ServiceMonitoringServiceConnectionIdempotencyPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/structgoogle_1_1cloud_1_1monitoring__v3_1_1ServiceMonitoringServiceConnectionIdempotencyPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure which operations are retried.

### [ServiceMonitoringServiceRetryPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/structgoogle_1_1cloud_1_1monitoring__v3_1_1ServiceMonitoringServiceRetryPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure the retry policy.

### [SnoozeServiceBackoffPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/structgoogle_1_1cloud_1_1monitoring__v3_1_1SnoozeServiceBackoffPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure the backoff policy.

### [SnoozeServiceConnectionIdempotencyPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/structgoogle_1_1cloud_1_1monitoring__v3_1_1SnoozeServiceConnectionIdempotencyPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure which operations are retried.

### [SnoozeServiceRetryPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/structgoogle_1_1cloud_1_1monitoring__v3_1_1SnoozeServiceRetryPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure the retry policy.

### [UptimeCheckServiceBackoffPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/structgoogle_1_1cloud_1_1monitoring__v3_1_1UptimeCheckServiceBackoffPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure the backoff policy.

### [UptimeCheckServiceConnectionIdempotencyPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/structgoogle_1_1cloud_1_1monitoring__v3_1_1UptimeCheckServiceConnectionIdempotencyPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure which operations are retried.

### [UptimeCheckServiceRetryPolicyOption](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/structgoogle_1_1cloud_1_1monitoring__v3_1_1UptimeCheckServiceRetryPolicyOption)

Use with [`google::cloud::Options`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/classgoogle_1_1cloud_1_1Options.html) to configure the retry policy.

## Functions

### MakeAlertPolicyServiceConnection(Options)

A factory function to construct an object of type [`AlertPolicyServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1AlertPolicyServiceConnection).
The returned connection object should not be used directly; instead it should be passed as an argument to the constructor of [AlertPolicyServiceClient](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1AlertPolicyServiceClient).

The optional `options` argument may be used to configure aspects of the returned [`AlertPolicyServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1AlertPolicyServiceConnection). Expected options are any of the types in the following option lists:

- [`google::cloud::CommonOptionList`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::GrpcOptionList`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::UnifiedCredentialsOptionList`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::monitoring_v3::AlertPolicyServicePolicyOptionList`](about:invalid#zCSafez)

> [!NOTE]
> **Note:** Unexpected options will be ignored. To log unexpected options instead, set `GOOGLE_CLOUD_CPP_ENABLE_CLOG=yes` in the environment.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `options` | `Options` (optional) Configure the [`AlertPolicyServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1AlertPolicyServiceConnection) created by this function. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `std::shared_ptr< AlertPolicyServiceConnection >` |   |

### MakeDefaultAlertPolicyServiceConnectionIdempotencyPolicy()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `std::unique_ptr< AlertPolicyServiceConnectionIdempotencyPolicy >` |   |

### MakeGroupServiceConnection(Options)

A factory function to construct an object of type [`GroupServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1GroupServiceConnection).
The returned connection object should not be used directly; instead it should be passed as an argument to the constructor of [GroupServiceClient](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1GroupServiceClient).

The optional `options` argument may be used to configure aspects of the returned [`GroupServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1GroupServiceConnection). Expected options are any of the types in the following option lists:

- [`google::cloud::CommonOptionList`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::GrpcOptionList`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::UnifiedCredentialsOptionList`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::monitoring_v3::GroupServicePolicyOptionList`](about:invalid#zCSafez)

> [!NOTE]
> **Note:** Unexpected options will be ignored. To log unexpected options instead, set `GOOGLE_CLOUD_CPP_ENABLE_CLOG=yes` in the environment.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `options` | `Options` (optional) Configure the [`GroupServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1GroupServiceConnection) created by this function. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `std::shared_ptr< GroupServiceConnection >` |   |

### MakeDefaultGroupServiceConnectionIdempotencyPolicy()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `std::unique_ptr< GroupServiceConnectionIdempotencyPolicy >` |   |

### MakeMetricServiceConnection(Options)

A factory function to construct an object of type [`MetricServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1MetricServiceConnection).
The returned connection object should not be used directly; instead it should be passed as an argument to the constructor of [MetricServiceClient](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1MetricServiceClient).

The optional `options` argument may be used to configure aspects of the returned [`MetricServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1MetricServiceConnection). Expected options are any of the types in the following option lists:

- [`google::cloud::CommonOptionList`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::GrpcOptionList`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::UnifiedCredentialsOptionList`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::monitoring_v3::MetricServicePolicyOptionList`](about:invalid#zCSafez)

> [!NOTE]
> **Note:** Unexpected options will be ignored. To log unexpected options instead, set `GOOGLE_CLOUD_CPP_ENABLE_CLOG=yes` in the environment.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `options` | `Options` (optional) Configure the [`MetricServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1MetricServiceConnection) created by this function. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `std::shared_ptr< MetricServiceConnection >` |   |

### MakeDefaultMetricServiceConnectionIdempotencyPolicy()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `std::unique_ptr< MetricServiceConnectionIdempotencyPolicy >` |   |

### MakeNotificationChannelServiceConnection(Options)

A factory function to construct an object of type [`NotificationChannelServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1NotificationChannelServiceConnection).
The returned connection object should not be used directly; instead it should be passed as an argument to the constructor of [NotificationChannelServiceClient](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1NotificationChannelServiceClient).

The optional `options` argument may be used to configure aspects of the returned [`NotificationChannelServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1NotificationChannelServiceConnection). Expected options are any of the types in the following option lists:

- [`google::cloud::CommonOptionList`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::GrpcOptionList`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::UnifiedCredentialsOptionList`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::monitoring_v3::NotificationChannelServicePolicyOptionList`](about:invalid#zCSafez)

> [!NOTE]
> **Note:** Unexpected options will be ignored. To log unexpected options instead, set `GOOGLE_CLOUD_CPP_ENABLE_CLOG=yes` in the environment.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `options` | `Options` (optional) Configure the [`NotificationChannelServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1NotificationChannelServiceConnection) created by this function. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `std::shared_ptr< NotificationChannelServiceConnection >` |   |

### MakeDefaultNotificationChannelServiceConnectionIdempotencyPolicy()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `std::unique_ptr< NotificationChannelServiceConnectionIdempotencyPolicy >` |   |

### MakeQueryServiceConnection(Options)

A factory function to construct an object of type [`QueryServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1QueryServiceConnection).
The returned connection object should not be used directly; instead it should be passed as an argument to the constructor of [QueryServiceClient](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1QueryServiceClient).

The optional `options` argument may be used to configure aspects of the returned [`QueryServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1QueryServiceConnection). Expected options are any of the types in the following option lists:

- [`google::cloud::CommonOptionList`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::GrpcOptionList`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::UnifiedCredentialsOptionList`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::monitoring_v3::QueryServicePolicyOptionList`](about:invalid#zCSafez)

> [!NOTE]
> **Note:** Unexpected options will be ignored. To log unexpected options instead, set `GOOGLE_CLOUD_CPP_ENABLE_CLOG=yes` in the environment.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `options` | `Options` (optional) Configure the [`QueryServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1QueryServiceConnection) created by this function. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `std::shared_ptr< QueryServiceConnection >` |   |

### MakeDefaultQueryServiceConnectionIdempotencyPolicy()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `std::unique_ptr< QueryServiceConnectionIdempotencyPolicy >` |   |

### MakeServiceMonitoringServiceConnection(Options)

A factory function to construct an object of type [`ServiceMonitoringServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1ServiceMonitoringServiceConnection).
The returned connection object should not be used directly; instead it should be passed as an argument to the constructor of [ServiceMonitoringServiceClient](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1ServiceMonitoringServiceClient).

The optional `options` argument may be used to configure aspects of the returned [`ServiceMonitoringServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1ServiceMonitoringServiceConnection). Expected options are any of the types in the following option lists:

- [`google::cloud::CommonOptionList`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::GrpcOptionList`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::UnifiedCredentialsOptionList`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::monitoring_v3::ServiceMonitoringServicePolicyOptionList`](about:invalid#zCSafez)

> [!NOTE]
> **Note:** Unexpected options will be ignored. To log unexpected options instead, set `GOOGLE_CLOUD_CPP_ENABLE_CLOG=yes` in the environment.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `options` | `Options` (optional) Configure the [`ServiceMonitoringServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1ServiceMonitoringServiceConnection) created by this function. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `std::shared_ptr< ServiceMonitoringServiceConnection >` |   |

### MakeDefaultServiceMonitoringServiceConnectionIdempotencyPolicy()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `std::unique_ptr< ServiceMonitoringServiceConnectionIdempotencyPolicy >` |   |

### MakeSnoozeServiceConnection(Options)

A factory function to construct an object of type [`SnoozeServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1SnoozeServiceConnection).
The returned connection object should not be used directly; instead it should be passed as an argument to the constructor of [SnoozeServiceClient](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1SnoozeServiceClient).

The optional `options` argument may be used to configure aspects of the returned [`SnoozeServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1SnoozeServiceConnection). Expected options are any of the types in the following option lists:

- [`google::cloud::CommonOptionList`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::GrpcOptionList`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::UnifiedCredentialsOptionList`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::monitoring_v3::SnoozeServicePolicyOptionList`](about:invalid#zCSafez)

> [!NOTE]
> **Note:** Unexpected options will be ignored. To log unexpected options instead, set `GOOGLE_CLOUD_CPP_ENABLE_CLOG=yes` in the environment.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `options` | `Options` (optional) Configure the [`SnoozeServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1SnoozeServiceConnection) created by this function. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `std::shared_ptr< SnoozeServiceConnection >` |   |

### MakeDefaultSnoozeServiceConnectionIdempotencyPolicy()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `std::unique_ptr< SnoozeServiceConnectionIdempotencyPolicy >` |   |

### MakeUptimeCheckServiceConnection(Options)

A factory function to construct an object of type [`UptimeCheckServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1UptimeCheckServiceConnection).
The returned connection object should not be used directly; instead it should be passed as an argument to the constructor of [UptimeCheckServiceClient](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1UptimeCheckServiceClient).

The optional `options` argument may be used to configure aspects of the returned [`UptimeCheckServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1UptimeCheckServiceConnection). Expected options are any of the types in the following option lists:

- [`google::cloud::CommonOptionList`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::GrpcOptionList`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::UnifiedCredentialsOptionList`](https://docs.cloud.google.com/cpp/docs/reference/common/latest/namespacegoogle_1_1cloud.html)
- [`google::cloud::monitoring_v3::UptimeCheckServicePolicyOptionList`](about:invalid#zCSafez)

> [!NOTE]
> **Note:** Unexpected options will be ignored. To log unexpected options instead, set `GOOGLE_CLOUD_CPP_ENABLE_CLOG=yes` in the environment.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `options` | `Options` (optional) Configure the [`UptimeCheckServiceConnection`](https://docs.cloud.google.com/cpp/docs/reference/monitoring/latest/classgoogle_1_1cloud_1_1monitoring__v3_1_1UptimeCheckServiceConnection) created by this function. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `std::shared_ptr< UptimeCheckServiceConnection >` |   |

### MakeDefaultUptimeCheckServiceConnectionIdempotencyPolicy()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `std::unique_ptr< UptimeCheckServiceConnectionIdempotencyPolicy >` |   |