Enables services that service consumers want to use on Google Cloud
Platform, lists the available or enabled services, or disables
services that service consumers no longer use.
SeeService Usage
API <https://cloud.google.com/service-usage/docs/overview>__
Enables services that service consumers want to use on Google Cloud
Platform, lists the available or enabled services, or disables
services that service consumers no longer use.
SeeService Usage
API <https://cloud.google.com/service-usage/docs/overview>__
A pager for iterating throughlist_servicesrequests.
This class thinly wraps an initialListServicesResponseobject, and
provides an__aiter__method to iterate through itsservicesfield.
If there are more pages, the__aiter__method will make additionalListServicesrequests and continue to iterate
through theservicesfield on the
corresponding responses.
All the usualListServicesResponseattributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.
A pager for iterating throughlist_servicesrequests.
This class thinly wraps an initialListServicesResponseobject, and
provides an__iter__method to iterate through itsservicesfield.
If there are more pages, the__iter__method will make additionalListServicesrequests and continue to iterate
through theservicesfield on the
corresponding responses.
All the usualListServicesResponseattributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.
Response message for theBatchEnableServicesmethod. This
response message is assigned to theresponsefield of the
returned Operation when that operation is done.
Response message for theDisableServicemethod. This response
message is assigned to theresponsefield of the returned
Operation when that operation is done.
Response message for theEnableServicemethod. This response
message is assigned to theresponsefield of the returned
Operation when that operation is done.
[[["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-09-04 UTC."],[],[],null,["# Package Classes (1.13.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.13.0 (latest)](/python/docs/reference/serviceusage/latest/summary_class)\n- [1.12.0](/python/docs/reference/serviceusage/1.12.0/summary_class)\n- [1.11.1](/python/docs/reference/serviceusage/1.11.1/summary_class)\n- [1.10.5](/python/docs/reference/serviceusage/1.10.5/summary_class)\n- [1.9.0](/python/docs/reference/serviceusage/1.9.0/summary_class)\n- [1.7.2](/python/docs/reference/serviceusage/1.7.2/summary_class)\n- [1.6.1](/python/docs/reference/serviceusage/1.6.1/summary_class)\n- [1.5.0](/python/docs/reference/serviceusage/1.5.0/summary_class)\n- [1.4.3](/python/docs/reference/serviceusage/1.4.3/summary_class)\n- [1.3.2](/python/docs/reference/serviceusage/1.3.2/summary_class)\n- [1.2.1](/python/docs/reference/serviceusage/1.2.1/summary_class)\n- [1.1.0](/python/docs/reference/serviceusage/1.1.0/summary_class)\n- [1.0.1](/python/docs/reference/serviceusage/1.0.1/summary_class)\n- [0.2.2](/python/docs/reference/serviceusage/0.2.2/summary_class)\n- [0.1.0](/python/docs/reference/serviceusage/0.1.0/summary_class) \nSummary of entries of Classes for serviceusage. \n\nClasses\n-------\n\n### [ServiceUsageAsyncClient](/python/docs/reference/serviceusage/latest/google.cloud.service_usage_v1.services.service_usage.ServiceUsageAsyncClient)\n\nEnables services that service consumers want to use on Google Cloud\nPlatform, lists the available or enabled services, or disables\nservices that service consumers no longer use.\n\nSee `Service Usage\nAPI \u003chttps://cloud.google.com/service-usage/docs/overview\u003e`__\n\n### [ServiceUsageClient](/python/docs/reference/serviceusage/latest/google.cloud.service_usage_v1.services.service_usage.ServiceUsageClient)\n\nEnables services that service consumers want to use on Google Cloud\nPlatform, lists the available or enabled services, or disables\nservices that service consumers no longer use.\n\nSee `Service Usage\nAPI \u003chttps://cloud.google.com/service-usage/docs/overview\u003e`__\n\n### [ListServicesAsyncPager](/python/docs/reference/serviceusage/latest/google.cloud.service_usage_v1.services.service_usage.pagers.ListServicesAsyncPager)\n\nA pager for iterating through `list_services` requests.\n\nThis class thinly wraps an initial\n[ListServicesResponse](/python/docs/reference/serviceusage/latest/google.cloud.service_usage_v1.types.ListServicesResponse) object, and\nprovides an `__aiter__` method to iterate through its\n`services` field.\n\nIf there are more pages, the `__aiter__` method will make additional\n`ListServices` requests and continue to iterate\nthrough the `services` field on the\ncorresponding responses.\n\nAll the usual [ListServicesResponse](/python/docs/reference/serviceusage/latest/google.cloud.service_usage_v1.types.ListServicesResponse)\nattributes are available on the pager. If multiple requests are made, only\nthe most recent response is retained, and thus used for attribute lookup.\n\n### [ListServicesPager](/python/docs/reference/serviceusage/latest/google.cloud.service_usage_v1.services.service_usage.pagers.ListServicesPager)\n\nA pager for iterating through `list_services` requests.\n\nThis class thinly wraps an initial\n[ListServicesResponse](/python/docs/reference/serviceusage/latest/google.cloud.service_usage_v1.types.ListServicesResponse) object, and\nprovides an `__iter__` method to iterate through its\n`services` field.\n\nIf there are more pages, the `__iter__` method will make additional\n`ListServices` requests and continue to iterate\nthrough the `services` field on the\ncorresponding responses.\n\nAll the usual [ListServicesResponse](/python/docs/reference/serviceusage/latest/google.cloud.service_usage_v1.types.ListServicesResponse)\nattributes are available on the pager. If multiple requests are made, only\nthe most recent response is retained, and thus used for attribute lookup.\n\n### [BatchEnableServicesRequest](/python/docs/reference/serviceusage/latest/google.cloud.service_usage_v1.types.BatchEnableServicesRequest)\n\nRequest message for the `BatchEnableServices` method.\n\n### [BatchEnableServicesResponse](/python/docs/reference/serviceusage/latest/google.cloud.service_usage_v1.types.BatchEnableServicesResponse)\n\nResponse message for the `BatchEnableServices` method. This\nresponse message is assigned to the `response` field of the\nreturned Operation when that operation is done.\n\n### [EnableFailure](/python/docs/reference/serviceusage/latest/google.cloud.service_usage_v1.types.BatchEnableServicesResponse.EnableFailure)\n\nProvides error messages for the failing services.\n\n### [BatchGetServicesRequest](/python/docs/reference/serviceusage/latest/google.cloud.service_usage_v1.types.BatchGetServicesRequest)\n\nRequest message for the `BatchGetServices` method.\n\n### [BatchGetServicesResponse](/python/docs/reference/serviceusage/latest/google.cloud.service_usage_v1.types.BatchGetServicesResponse)\n\nResponse message for the `BatchGetServices` method.\n\n### [DisableServiceRequest](/python/docs/reference/serviceusage/latest/google.cloud.service_usage_v1.types.DisableServiceRequest)\n\nRequest message for the `DisableService` method.\n\n### [CheckIfServiceHasUsage](/python/docs/reference/serviceusage/latest/google.cloud.service_usage_v1.types.DisableServiceRequest.CheckIfServiceHasUsage)\n\nEnum to determine if service usage should be checked when\ndisabling a service.\n\n### [DisableServiceResponse](/python/docs/reference/serviceusage/latest/google.cloud.service_usage_v1.types.DisableServiceResponse)\n\nResponse message for the `DisableService` method. This response\nmessage is assigned to the `response` field of the returned\nOperation when that operation is done.\n\n### [EnableServiceRequest](/python/docs/reference/serviceusage/latest/google.cloud.service_usage_v1.types.EnableServiceRequest)\n\nRequest message for the `EnableService` method.\n\n### [EnableServiceResponse](/python/docs/reference/serviceusage/latest/google.cloud.service_usage_v1.types.EnableServiceResponse)\n\nResponse message for the `EnableService` method. This response\nmessage is assigned to the `response` field of the returned\nOperation when that operation is done.\n\n### [GetServiceRequest](/python/docs/reference/serviceusage/latest/google.cloud.service_usage_v1.types.GetServiceRequest)\n\nRequest message for the `GetService` method.\n\n### [ListServicesRequest](/python/docs/reference/serviceusage/latest/google.cloud.service_usage_v1.types.ListServicesRequest)\n\nRequest message for the `ListServices` method.\n\n### [ListServicesResponse](/python/docs/reference/serviceusage/latest/google.cloud.service_usage_v1.types.ListServicesResponse)\n\nResponse message for the `ListServices` method.\n\n### [OperationMetadata](/python/docs/reference/serviceusage/latest/google.cloud.service_usage_v1.types.OperationMetadata)\n\nThe operation metadata returned for the batchend services\noperation.\n\n### [Service](/python/docs/reference/serviceusage/latest/google.cloud.service_usage_v1.types.Service)\n\nA service that is available for use by the consumer.\n\n### [ServiceConfig](/python/docs/reference/serviceusage/latest/google.cloud.service_usage_v1.types.ServiceConfig)\n\nThe configuration of the service.\n\n### [State](/python/docs/reference/serviceusage/latest/google.cloud.service_usage_v1.types.State)\n\nWhether or not a service has been enabled for use by a\nconsumer.\n\nModules\n-------\n\n### [pagers](/python/docs/reference/serviceusage/latest/google.cloud.service_usage_v1.services.service_usage.pagers)\n\nAPI documentation for `service_usage_v1.services.service_usage.pagers` module."]]