Note:
This documentation is for version 3.5.0 of the library.
Some samples may not work with other versions.
Installation
Install the Google.Cloud.Monitoring.V3 package from NuGet. Add it to
your project in the normal way (for example by right-clicking on the
project in Visual Studio and choosing "Manage NuGet Packages...").
Authentication
When running on Google Cloud, no action needs to be taken to authenticate.
Otherwise, the simplest way of authenticating your API calls is to
set up Application Default Credentials.
The credentials will automatically be used to authenticate. See
Set up Application Default Credentials for more details.
Getting started
All operations are performed through the following client classes:
Create a client instance by calling the static Create or CreateAsync methods. Alternatively,
use the builder class associated with each client class (e.g. AlertPolicyServiceClientBuilder for AlertPolicyServiceClient)
as an easy way of specifying custom credentials, settings, or a custom endpoint. Clients are thread-safe,
and we recommend using a single instance across your entire application unless you have a particular need
to configure multiple client objects separately.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eGoogle.Cloud.Monitoring.V3\u003c/code\u003e library is a .NET client for the Google Cloud Monitoring API, designed for version 3.5.0, and it's important to note that some code samples provided may not function with other versions.\u003c/p\u003e\n"],["\u003cp\u003eThe library provides a range of client classes for different aspects of the Monitoring API, including \u003ccode\u003eAlertPolicyServiceClient\u003c/code\u003e, \u003ccode\u003eGroupServiceClient\u003c/code\u003e, \u003ccode\u003eMetricServiceClient\u003c/code\u003e, \u003ccode\u003eNotificationChannelServiceClient\u003c/code\u003e, \u003ccode\u003eQueryServiceClient\u003c/code\u003e, \u003ccode\u003eServiceMonitoringServiceClient\u003c/code\u003e, \u003ccode\u003eSnoozeServiceClient\u003c/code\u003e, and \u003ccode\u003eUptimeCheckServiceClient\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eAuthentication for API calls is simplified when running on Google Cloud, but for other environments, you can use Application Default Credentials as explained in the documentation.\u003c/p\u003e\n"],["\u003cp\u003eThe library supports the installation using NuGet, enabling easy integration into .NET projects, with client instances created through static \u003ccode\u003eCreate\u003c/code\u003e or \u003ccode\u003eCreateAsync\u003c/code\u003e methods, or using the associated builder classes.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the library is 3.15.0 and the webpage shows all the versions down to 2.3.0.\u003c/p\u003e\n"]]],[],null,[]]