Organízate con las colecciones
Guarda y clasifica el contenido según tus preferencias.
En esta página se explica cómo instalar bibliotecas de cliente para la API Memorystore para Memcached, de forma que puedas conectarte a la API con el lenguaje que elijas.
Instala el paquete Google.Cloud.Memcache.V1 en Visual Studio. Consulta la documentación de instalación de Memcached para.NET para obtener más información. Google Cloud
Go
go get cloud.google.com/go/memcache/apiv1
Java
Si usas Maven con BOM, añade esto a tu archivo pom.xml
[[["Es fácil de entender","easyToUnderstand","thumb-up"],["Me ofreció una solución al problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Es difícil de entender","hardToUnderstand","thumb-down"],["La información o el código de muestra no son correctos","incorrectInformationOrSampleCode","thumb-down"],["Me faltan las muestras o la información que necesito","missingTheInformationSamplesINeed","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 2025-09-10 (UTC)."],[],[],null,["# Setting up client libraries\n\n\u003cbr /\u003e\n\nThis page shows how to install client libraries for the Memorystore for Memcached API\nso you can connect to the API with the language of your choice.\n\nInstalling the client library\n-----------------------------\n\n### C++\n\nSee [Setting up a C++ development environment](/cpp/docs/setup)\nfor details about this client library's requirements and install dependencies.\n\n### C#\n\nInstall the `Google.Cloud.Memcache.V1` package in Visual Studio. See the Google Cloud .NET Memcached [Installation](https://googleapis.github.io/google-cloud-dotnet/docs/Google.Cloud.Memcache.V1/index.html#installation) documentation for more details.\n\n### Go\n\n```sh\ngo get cloud.google.com/go/memcache/apiv1\n```\n\n### Java\n\nIf you are using Maven with BOM, add this to your pom.xml file \n\n```java\n\u003cdependencyManagement\u003e\n \u003cdependencies\u003e\n \u003cdependency\u003e\n \u003cgroupId\u003ecom.google.cloud\u003c/groupId\u003e\n \u003cartifactId\u003elibraries-bom\u003c/artifactId\u003e\n \u003cversion\u003e20.8.0\u003c/version\u003e\n \u003ctype\u003epom\u003c/type\u003e\n \u003cscope\u003eimport\u003c/scope\u003e\n \u003c/dependency\u003e\n \u003c/dependencies\u003e\n\u003c/dependencyManagement\u003e\n \n\u003cdependencies\u003e\n \u003cdependency\u003e\n \u003cgroupId\u003ecom.google.cloud\u003c/groupId\u003e\n \u003cartifactId\u003egoogle-cloud-memcache\u003c/artifactId\u003e\n \u003c/dependency\u003e\n```\n\nIf you are using Maven without BOM, add this to your dependencies: \n\n```java\n\u003cdependency\u003e\n \u003cgroupId\u003ecom.google.cloud\u003c/groupId\u003e\n \u003cartifactId\u003egoogle-cloud-memcache\u003c/artifactId\u003e\n \u003cversion\u003e0.2.1\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\nIf you are using Gradle, add this to your dependencies: \n\n```java\n compile 'com.google.cloud:google-cloud-memcache:0.2.1'\n```\n\nIf you are using SBT, add this to your dependencies: \n\n```java\n libraryDependencies += \"com.google.cloud\" % \"google-cloud-memcache\" % \"0.2.1\"\n```\n\n### Node.js\n\n```sh\nnpm install @google-cloud/memcache\n```\n\n### Python\n\nFor more on setting up your Python development environment, refer to [Python Development Environment Setup Guide](/python/docs/setup). \n\nMac/Linux \n\n```python\npip install virtualenv\nvirtualenv \u003cyour-env\u003e\nsource \u003cyour-env\u003e/bin/activate\n\u003cyour-env\u003e/bin/pip install google-cloud-memcache\n```\nWindows \n\n```python\npip install virtualenv\nvirtualenv \u003cyour-env\u003e\n\u003cyour-env\u003e\\Scripts\\activate\n\u003cyour-env\u003e\\Scripts\\pip.exe install google-cloud-memcache\n```\n\n\u003cbr /\u003e\n\nSetting up authentication\n-------------------------\n\n1.\n [Install](/sdk/docs/install) the Google Cloud CLI.\n\n After installation,\n [initialize](/sdk/docs/initializing) the Google Cloud CLI by running the following command:\n\n ```bash\n gcloud init\n ```\n\n\n If you're using an external identity provider (IdP), you must first\n [sign in to the gcloud CLI with your federated identity](/iam/docs/workforce-log-in-gcloud).\n2.\n\n If you're using a local shell, then create local authentication credentials for your user\n account:\n\n ```bash\n gcloud auth application-default login\n ```\n\n You don't need to do this if you're using Cloud Shell.\n\n\n If an authentication error is returned, and you are using an external identity provider\n (IdP), confirm that you have\n [signed in to the gcloud CLI with your federated identity](/iam/docs/workforce-log-in-gcloud).\n\n\n A sign-in screen appears. After you sign in, your credentials are stored in the\n [local credential file used by ADC](/docs/authentication/application-default-credentials#personal).\n\nAdditional Resources\n--------------------\n\n### C++\n\n- [API Reference Documentation](/cpp/docs/reference/memcache/latest)\n- [Source Code](https://github.com/googleapis/google-cloud-cpp)\n- [GitHub Issue Tracker](https://github.com/googleapis/google-cloud-cpp/issues)\n- [Stack Overflow](https://stackoverflow.com/search?q=%5Bgoogle-cloud-memorystore%5D%5Bc%2B%2B%5D)\n\n### C#\n\n- [API Reference Documentation](https://googleapis.github.io/google-cloud-dotnet/docs/Google.Cloud.Memcache.V1/index.html)\n- [Source Code](https://github.com/googleapis/google-cloud-dotnet/tree/master/apis/Google.Cloud.Memcache.V1)\n- [GitHub Issue Tracker](https://github.com/googleapis/google-cloud-dotnet/issues)\n- [Stack Overflow](http://stackoverflow.com/search?q=%5Bgoogle-cloud-memorystore%5D+%5Bc%23%5D)\n\n### Go\n\n- [API Reference Documentation](https://pkg.go.dev/cloud.google.com/go/memcache/apiv1?tab=doc)\n- [Source Code](https://github.com/googleapis/google-cloud-go/tree/master/memcache/apiv1)\n- [GitHub Issue Tracker](https://github.com/GoogleCloudPlatform/google-cloud-go/issues)\n- [Stack Overflow](http://stackoverflow.com/search?q=%5Bgoogle-cloud-memorystore%5D+%5Bgo%5D)\n\n### Java\n\n- [API Reference Documentation](https://cloud.google.com/java/docs/reference/google-cloud-memcache/latest/overview)\n- [Source Code](https://github.com/googleapis/java-memcache)\n- [GitHub Issue Tracker](https://github.com/googleapis/google-cloud-java/issues)\n- [Stack Overflow](http://stackoverflow.com/search?q=%5Bgoogle-cloud-memorystore%5D+%5Bjava%5D)\n\n### Node.js\n\n- [API Reference Documentation](https://googleapis.dev/nodejs/memcache/latest/index.html)\n- [Source Code](https://github.com/googleapis/nodejs-memcache)\n- [GitHub Issue Tracker](https://github.com/googleapis/nodejs-memcache/issues)\n- [Stack Overflow](http://stackoverflow.com/search?q=%5Bgoogle-cloud-memorystore%5D+%5Bnode.js%5D)\n\n### Python\n\n- [API Reference Documentation](https://pypi.org/project/google-cloud-memcache/)\n- [Source Code](https://github.com/googleapis/python-memcache/)\n- [GitHub Issue Tracker](https://github.com/GoogleCloudPlatform/google-cloud-python/issues)\n- [Stack Overflow](http://stackoverflow.com/search?q=%5Bgoogle-cloud-memorystore%5D+%5Bpython%5D)\n\n\u003cbr /\u003e"]]