Cloud Monitoring API

Manages your Cloud Monitoring data and configurations.

Service: monitoring.googleapis.com

The Service namemonitoring.googleapis.com is needed to create RPC client stubs.

google.longrunning.Operations

Methods
GetOperation Gets the latest state of a long-running operation.

google.monitoring.dashboard.v1.DashboardsService

Methods
CreateDashboard Creates a new custom dashboard.
DeleteDashboard Deletes an existing custom dashboard.
GetDashboard Fetches a specific dashboard.
ListDashboards Lists the existing dashboards.
UpdateDashboard Replaces an existing custom dashboard with a new definition.

google.monitoring.metricsscope.v1.MetricsScopes

Methods
CreateMonitoredProject Adds aMonitoredProject with the given project ID to the specifiedMetrics Scope.
DeleteMonitoredProject Deletes aMonitoredProject from the specifiedMetrics Scope.
GetMetricsScope Returns a specificMetrics Scope, including the list of projects monitored by the specifiedMetrics Scope.
ListMetricsScopesByMonitoredProject Returns a list of everyMetrics Scope that a specificMonitoredProject has been added to.

google.monitoring.prometheus.v1.PrometheusUpstream

Methods
LabelValues Lists possible values for a given label name.
ListMetricMetadata Lists metadata for metrics.
QueryExemplars Lists exemplars relevant to a given PromQL query,
QueryInstant Evaluate a PromQL query at a single point in time.
QueryLabels Lists labels for metrics.
QueryRange Evaluate a PromQL query with [start, end] time range.
QuerySeries Lists metadata for metrics.

google.monitoring.v3.AlertPolicyService

Methods
CreateAlertPolicy Creates a new alerting policy.
DeleteAlertPolicy Deletes an alerting policy.
GetAlertPolicy Gets a single alerting policy.
ListAlertPolicies Lists the existing alerting policies for the workspace.
UpdateAlertPolicy Updates an alerting policy.

google.monitoring.v3.AlertService

Methods
GetAlert Gets a single alert.
ListAlerts Lists the existing alerts for the metrics scope of the project.

google.monitoring.v3.GroupService

Methods
CreateGroup Creates a new group.
DeleteGroup Deletes an existing group.
GetGroup Gets a single group.
ListGroupMembers Lists the monitored resources that are members of a group.
ListGroups Lists the existing groups.
UpdateGroup Updates an existing group.

google.monitoring.v3.MetricService

Methods
CreateMetricDescriptor Creates a new metric descriptor.
CreateTimeSeries Creates or adds data to one or more time series.
DeleteMetricDescriptor Deletes a metric descriptor.
GetMetricDescriptor Gets a single metric descriptor.
GetMonitoredResourceDescriptor Gets a single monitored resource descriptor.
ListMetricDescriptors Lists metric descriptors that match a filter.
ListMonitoredResourceDescriptors Lists monitored resource descriptors that match a filter.
ListTimeSeries Lists time series that match a filter.

google.monitoring.v3.NotificationChannelService

Methods
CreateNotificationChannel Creates a new notification channel, representing a single notification endpoint such as an email address, SMS number, or PagerDuty service.
DeleteNotificationChannel Deletes a notification channel.
GetNotificationChannel Gets a single notification channel.
GetNotificationChannelDescriptor Gets a single channel descriptor.
GetNotificationChannelVerificationCode Requests a verification code for an already verified channel that can then be used in a call to VerifyNotificationChannel() on a different channel with an equivalent identity in the same or in a different project.
ListNotificationChannelDescriptors Lists the descriptors for supported channel types.
ListNotificationChannels Lists the notification channels that have been created for the project.
SendNotificationChannelVerificationCode Causes a verification code to be delivered to the channel.
UpdateNotificationChannel Updates a notification channel.
VerifyNotificationChannel Verifies aNotificationChannel by proving receipt of the code delivered to the channel as a result of callingSendNotificationChannelVerificationCode.

google.monitoring.v3.QueryService

Methods
QueryTimeSeries
(deprecated)
Queries time series by using Monitoring Query Language (MQL).

google.monitoring.v3.ServiceMonitoringService

Methods
CreateService Create aService.
CreateServiceLevelObjective Create aServiceLevelObjective for the givenService.
DeleteService Soft delete thisService.
DeleteServiceLevelObjective Delete the givenServiceLevelObjective.
GetService Get the namedService.
GetServiceLevelObjective Get aServiceLevelObjective by name.
ListServiceLevelObjectives List theServiceLevelObjectives for the givenService.
ListServices ListServices for this Metrics Scope.
UpdateService Update thisService.
UpdateServiceLevelObjective Update the givenServiceLevelObjective.

google.monitoring.v3.SnoozeService

Methods
CreateSnooze Creates aSnooze that will prevent alerts, which match the provided criteria, from being opened.
GetSnooze Retrieves aSnooze byname.
ListSnoozes Lists theSnoozes associated with a project.
UpdateSnooze Updates aSnooze, identified by itsname, with the parameters in the givenSnooze object.

google.monitoring.v3.UptimeCheckService

Methods
CreateUptimeCheckConfig Creates a new Uptime check configuration.
DeleteUptimeCheckConfig Deletes an Uptime check configuration.
GetUptimeCheckConfig Gets a single Uptime check configuration.
ListUptimeCheckConfigs Lists the existing valid Uptime check configurations for the project (leaving out any invalid configurations).
ListUptimeCheckIps Returns the list of IP addresses that checkers run from.
UpdateUptimeCheckConfig Updates an Uptime check configuration.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-10-23 UTC.