Try the MCP server for Google Analytics. Install from
GitHub, and see the
announcement for more details.
Client Libraries
Stay organized with collections
Save and categorize content based on your preferences.
The Google APIs Client Libraries which are available in a number of popular programming languages, make it easy to use the API.
Client libraries by language
In the following tables, the first column shows each library's stage of development (note that
some are in early stages), and links to documentation for the library. The second column links to
available samples for each library.
These early-stage libraries are also available:
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-03-17 UTC.
[null,null,["Last updated 2025-03-17 UTC."],[[["\u003cp\u003eThis documentation page provides information about the \u003ccode\u003eInstanceOSPolicyAssignmentName\u003c/code\u003e class in Google Cloud OS Config v2.42.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eInstanceOSPolicyAssignmentName\u003c/code\u003e is a resource name class that implements the \u003ccode\u003eResourceName\u003c/code\u003e interface and inherits from the \u003ccode\u003eObject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThis class provides static methods for creating, formatting, parsing, and validating instance OS policy assignment names.\u003c/p\u003e\n"],["\u003cp\u003eThere are also instance methods for retrieving information from existing names and for creating modified copies.\u003c/p\u003e\n"],["\u003cp\u003eThe available version history for \u003ccode\u003eInstanceOSPolicyAssignmentName\u003c/code\u003e ranges from v2.3.2 to v2.54.0, with v2.54.0 being the latest.\u003c/p\u003e\n"]]],["Google offers API client libraries across various programming languages to simplify API usage. Documentation and samples are available for each language, including Java, JavaScript, .NET, Objective-C, PHP, and Python. Additionally, early-stage libraries, including Dart (beta), Go, Node.js, and Ruby (alpha), are also provided with their corresponding samples. Each library's documentation and sample links are readily accessible for developers.\n"],null,["# Client Libraries\n\nThe [Google APIs Client Libraries](/discovery/libraries) which are available in a number of popular programming languages, make it easy to use the API.\n\nClient libraries by language\n----------------------------\n\nIn the following tables, the first column shows each library's stage of development (note that\nsome are in early stages), and links to documentation for the library. The second column links to\navailable samples for each library.\n\n| Documentation | Samples |\n| [Google API Client Library for Java](https://developers.google.com/api-client-library/java/) | [Java samples](/api-client-library/java/apis) |\n| [Google API Client Library for JavaScript](/api-client-library/javascript/start/start-js) | [JavaScript samples](/api-client-library/javascript/samples/samples) |\n| [Google API Client Library for .NET](/api-client-library/dotnet/get_started) | [.NET samples](/api-client-library/dotnet/apis) |\n| [Google API Client Library for Objective-C for REST](https://github.com/google/google-api-objectivec-client-for-rest) | [Objective-C samples](https://github.com/google/google-api-objectivec-client-for-rest/tree/master/Examples) |\n| [Google API Client Library for PHP ()](/api-client-library/php) | [PHP samples](https://github.com/google/google-api-php-client/tree/master/examples) |\n| [Google API Client Library for Python (v1/v2)](/api-client-library/python) | [Python samples](https://github.com/google/google-api-python-client/tree/master/samples) |\n|-----------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------|\n\nThese early-stage libraries are also available:\n\n| Documentation | Samples |\n| [Google APIs Client Libraries for Dart (beta)](https://pub.dartlang.org/packages/googleapis) | [Dart samples](https://github.com/dart-lang/googleapis_examples) |\n| [Google API Client Library for Go ()](https://github.com/google/google-api-go-client) | [Go samples](https://github.com/google/google-api-go-client/tree/master/examples) |\n| [Google API Client Library for Node.js (alpha)](https://github.com/google/google-api-nodejs-client/) | [Node.js samples](https://github.com/google/google-api-nodejs-client/tree/master/samples) |\n| [Google API Client Library for Ruby (alpha)](/api-client-library/ruby/start/get_started) | [Ruby samples](https://github.com/google/google-api-ruby-client-samples) |\n|------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------|"]]