Stay organized with collections
Save and categorize content based on your preferences.
This page shows how to get started with the Cloud Client Libraries for the
Google Cloud Scheduler API. Read more about the client libraries for Cloud APIs in Client
libraries explained.
Install this library in a virtualenv using pip. virtualenv is a tool to create isolated Python environments. The basic problem it addresses is one of dependencies and versions, and indirectly permissions.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Cloud Scheduler client libraries\n\nThis page shows how to get started with the Cloud Client Libraries for the\nGoogle Cloud Scheduler API. Read more about the client libraries for Cloud APIs in [Client\nlibraries explained](/apis/docs/client-libraries-explained).\n\nInstalling the client library\n-----------------------------\n\n### C++\n\nFor more information, see [Setting Up a C++ Development Environment](/cpp/docs/setup).\n\n### C#\n\nFor more information, see [Setting Up a C# Development Environment](/dotnet/docs/setup). \n\n Install-Package Google.Cloud.Scheduler.V1\n\n### Go\n\nFor more information, see [Setting Up Your Development Environment](/go/docs/setup). \n\n go get cloud.google.com/go/scheduler/apiv1\n\n### Java\n\nFor more information, see [Setting Up a Java Development Environment](/java/docs/setup).\n| **Beta:** This is a beta release of the PHP client library for the Cloud Scheduler API. This library might be changed in backward-incompatible ways and is not subject to any SLA or deprecation policy.\n\nIf you are using [Maven](https://maven.apache.org/),\nadd the following to your `pom.xml` file: \n\n \u003cdependency\u003e\n \u003cgroupId\u003ecom.google.cloud\u003c/groupId\u003e\n \u003cartifactId\u003egoogle-cloud-scheduler\u003c/artifactId\u003e\n \u003cversion\u003e0.93.0-alpha\u003c/version\u003e\n \u003c/dependency\u003e\n\nIf you are using [Gradle](https://gradle.org/), add the following\nto your dependencies: \n\n compile 'com.google.cloud:google-cloud-scheduler:0.93.0-alpha'\n\nIf you are using [SBT](https://www.scala-sbt.org/), add the\nfollowing to your dependencies: \n\n libraryDependencies += \"com.google.cloud\" % \"google-cloud-scheduler\" % \"0.93.0-alpha\"\n\nIf you are using VS Code, IntelliJ or Eclipse, you can add client libraries\nto your project using the following IDE plugins:\n\n- [Cloud Code for VS Code](/code/docs/vscode/client-libraries)\n- [Cloud Code for IntelliJ](/code/docs/intellij/client-libraries)\n- [Cloud Tools for Eclipse](/eclipse/docs/libraries)\n\nThe plugins provide additional capabilities, such as key management for\nservice accounts. Refer to each plugin's documentation for details.\n| **Note:** Java client libraries don't support Android.\n\n### Node.js\n\nFor more information, see [Setting Up a Node.js Development Environment](/nodejs/docs/setup). \n\n npm install @google-cloud/scheduler\n\n### PHP\n\n composer require google/cloud-scheduler\n\n### Python\n\nFor more information, see [Setting Up a Python Development Environment](/python/docs/setup).\n\nInstall this library in a [virtualenv](https://virtualenv.pypa.io/en/latest/) using `pip`. `virtualenv` is a tool to create isolated Python environments. The basic problem it addresses is one of dependencies and versions, and indirectly permissions. \n\n### Mac or Linux\n\n pip install virtualenv\n virtualenv \u003cyour-env\u003e\n source \u003cyour-env\u003e/bin/activate\n \u003cyour-env\u003e/bin/pip install google-cloud-scheduler\n\n### Windows\n\n pip install virtualenv\n virtualenv \u003cyour-env\u003e\n \u003cyour-env\u003e\\Scripts\\activate\n \u003cyour-env\u003e\\Scripts\\pip.exe install google-cloud-scheduler\n\n### Ruby\n\nFor more information, see [Setting Up a Ruby Development Environment](/ruby/docs/setup).\n**Alpha:** This is an alpha release of the Ruby client library for the Cloud Scheduler API. This library might be changed in backward-incompatible ways and is not subject to any SLA or deprecation policy. \n\n gem install google-cloud-scheduler\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- [Client API reference documentation](/cpp/docs/reference/scheduler/latest)\n\n- [Client Source code](https://github.com/googleapis/google-cloud-cpp/)\n\n- [GitHub Issue Tracker](https://github.com/googleapis/google-cloud-cpp/issues)\n\n### C#\n\n- [Client API reference documentation](http://googleapis.github.io/google-cloud-dotnet/docs/Google.Cloud.Scheduler.V1)\n\n- [Client Source code](https://github.com/googleapis/google-cloud-dotnet/tree/master/apis/Google.Cloud.Scheduler.V1/Google.Cloud.Scheduler.V1)\n\n- [GitHub Issue Tracker](https://github.com/googleapis/google-cloud-dotnet/issues)\n\n### Go\n\n- [Client API reference documentation](https://godoc.org/cloud.google.com/go/scheduler/apiv1)\n\n- [Client Source code](https://github.com/googleapis/google-cloud-go/tree/master/scheduler/apiv1)\n\n- [GitHub Issue Tracker](https://github.com/googleapis/google-cloud-go/issues)\n\n### Java\n\n- [Client API reference documentation](https://cloud.google.com/java/docs/reference/google-cloud-scheduler/latest/com.google.cloud.scheduler.v1)\n\n- [Client Source code](https://github.com/googleapis/java-scheduler/tree/master/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1)\n\n- [GitHub Issue Tracker](https://github.com/googleapis/google-cloud-java/issues)\n\n### Node.js\n\n- [Client API reference documentation](https://googleapis.dev/nodejs/scheduler/latest/index.html)\n\n- [Client Source code](https://github.com/googleapis/nodejs-scheduler)\n\n- [GitHub Issue Tracker](https://github.com/googleapis/nodejs-scheduler/issues)\n\n### PHP\n\n- [Client API reference documentation](https://googleapis.github.io/google-cloud-php/#/docs/google-cloud/v0.102.0/scheduler/readme)\n\n- [Client Source code](https://github.com/googleapis/google-cloud-php/tree/master/Scheduler/src/V1)\n\n- [GitHub Issue Tracker](https://github.com/googleapis/google-cloud-php/issues)\n\n### Python\n\n- [Client API reference documentation](/python/docs/reference/cloudscheduler/latest)\n\n- [Client Source code](https://github.com/googleapis/python-scheduler)\n\n- [GitHub Issue Tracker](https://github.com/googleapis/google-cloud-python/issues)\n\n### Ruby\n\n- [Client API reference documentation](https://googleapis.dev/ruby/google-cloud-scheduler/latest/Google/Cloud/Scheduler/V1.html)\n\n- [Client Source code](https://github.com/googleapis/google-cloud-ruby/tree/master/google-cloud-scheduler)\n\n- [GitHub Issue Tracker](https://github.com/googleapis/google-cloud-ruby/issues)"]]