Service Control: Service Infrastructure is a foundational platform for
creating, managing, securing, and consuming APIs and services across
organizations. It is used by Google APIs, Cloud APIs, Cloud Endpoints, and API
Gateway. Service Infrastructure provides a wide range of features to service
consumers and service producers, including authentication, authorization,
auditing, rate limiting, analytics, billing, logging, and monitoring.
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.
With virtualenv, it’s possible to install this library without needing system
install permissions, and without clashing with the installed system
dependencies.
[[["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-28 UTC."],[],[],null,["Version latestkeyboard_arrow_down\n\n- [1.16.0 (latest)](/python/docs/reference/servicecontrol/latest)\n- [1.15.0](/python/docs/reference/servicecontrol/1.15.0)\n- [1.14.0](/python/docs/reference/servicecontrol/1.14.0)\n- [1.13.1](/python/docs/reference/servicecontrol/1.13.1)\n- [1.12.3](/python/docs/reference/servicecontrol/1.12.3)\n- [1.11.1](/python/docs/reference/servicecontrol/1.11.1)\n- [1.10.0](/python/docs/reference/servicecontrol/1.10.0)\n- [1.9.1](/python/docs/reference/servicecontrol/1.9.1)\n- [1.8.1](/python/docs/reference/servicecontrol/1.8.1)\n- [1.7.1](/python/docs/reference/servicecontrol/1.7.1)\n- [1.6.0](/python/docs/reference/servicecontrol/1.6.0)\n- [1.5.3](/python/docs/reference/servicecontrol/1.5.3)\n- [1.4.2](/python/docs/reference/servicecontrol/1.4.2)\n- [1.3.1](/python/docs/reference/servicecontrol/1.3.1)\n- [1.2.1](/python/docs/reference/servicecontrol/1.2.1)\n- [1.1.0](/python/docs/reference/servicecontrol/1.1.0)\n- [1.0.3](/python/docs/reference/servicecontrol/1.0.3)\n- [0.3.0](/python/docs/reference/servicecontrol/0.3.0)\n- [0.2.0](/python/docs/reference/servicecontrol/0.2.0)\n- [0.1.0](/python/docs/reference/servicecontrol/0.1.0) \n\nPython Client for Service Control\n=================================\n\n[](https://github.com/googleapis/google-cloud-python/blob/master/README.rst#beta-support) [](https://pypi.org/project/google-cloud-service-control/) [](https://pypi.org/project/google-cloud-service-control/)\n\n[Service Control](https://cloud.google.com/service-infrastructure/docs/overview/): Service Infrastructure is a foundational platform for\ncreating, managing, securing, and consuming APIs and services across\norganizations. It is used by Google APIs, Cloud APIs, Cloud Endpoints, and API\nGateway. Service Infrastructure provides a wide range of features to service\nconsumers and service producers, including authentication, authorization,\nauditing, rate limiting, analytics, billing, logging, and monitoring.\n\n- [Client Library Documentation](https://googleapis.dev/python/servicecontrol/latest)\n\n- [Product Documentation](https://cloud.google.com/service-infrastructure/docs/overview/)\n\nQuick Start\n-----------\n\nIn order to use this library, you first need to go through the following steps:\n\n1. [Select or create a Cloud Platform project.](https://console.cloud.google.com/project)\n\n2. [Enable billing for your project.](https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project)\n\n3. [Enable the Service Control API.](https://cloud.google.com/service-infrastructure/docs/service-control/getting-starteds)\n\n4. [Setup Authentication.](https://googleapis.dev/python/google-api-core/latest/auth.html)\n\n### Installation\n\nInstall this library in a [virtualenv](https://virtualenv.pypa.io/en/latest/) using pip. [virtualenv](https://virtualenv.pypa.io/en/latest/) is a tool to\ncreate isolated Python environments. The basic problem it addresses is one of\ndependencies and versions, and indirectly permissions.\n\nWith [virtualenv](https://virtualenv.pypa.io/en/latest/), it's possible to install this library without needing system\ninstall permissions, and without clashing with the installed system\ndependencies.\n\n#### Mac/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-service-control\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-service-control\n\n### Next Steps\n\n- Read the [Client Library Documentation](https://googleapis.dev/python/servicecontrol/latest) for Service Control\n to see other available methods on the client.\n\n- Read the [Service Control Product documentation](https://cloud.google.com/service-infrastructure/docs/service-control/getting-started) to learn\n more about the product and see How-to Guides.\n\n- View this [README](https://github.com/googleapis/google-cloud-python/blob/master/README.rst) to see the full list of Cloud\n APIs that we cover."]]