str
Name of the consumer and service to disable the service on.
The enable and disable methods currently only support
projects.
An example name would be:
projects/123/services/serviceusage.googleapis.com where
123 is the project number.
disable_dependent_services
bool
Indicates if services that are enabled and
which depend on this service should also be
disabled. If not set, an error will be generated
if any enabled services depend on the service to
be disabled. When set, the service, and any
enabled services that depend on it, will be
disabled together.
[[["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-07 UTC."],[],[],null,["# Class DisableServiceRequest (1.13.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.13.0 (latest)](/python/docs/reference/serviceusage/latest/google.cloud.service_usage_v1.types.DisableServiceRequest)\n- [1.12.0](/python/docs/reference/serviceusage/1.12.0/google.cloud.service_usage_v1.types.DisableServiceRequest)\n- [1.11.1](/python/docs/reference/serviceusage/1.11.1/google.cloud.service_usage_v1.types.DisableServiceRequest)\n- [1.10.5](/python/docs/reference/serviceusage/1.10.5/google.cloud.service_usage_v1.types.DisableServiceRequest)\n- [1.9.0](/python/docs/reference/serviceusage/1.9.0/google.cloud.service_usage_v1.types.DisableServiceRequest)\n- [1.7.2](/python/docs/reference/serviceusage/1.7.2/google.cloud.service_usage_v1.types.DisableServiceRequest)\n- [1.6.1](/python/docs/reference/serviceusage/1.6.1/google.cloud.service_usage_v1.types.DisableServiceRequest)\n- [1.5.0](/python/docs/reference/serviceusage/1.5.0/google.cloud.service_usage_v1.types.DisableServiceRequest)\n- [1.4.3](/python/docs/reference/serviceusage/1.4.3/google.cloud.service_usage_v1.types.DisableServiceRequest)\n- [1.3.2](/python/docs/reference/serviceusage/1.3.2/google.cloud.service_usage_v1.types.DisableServiceRequest)\n- [1.2.1](/python/docs/reference/serviceusage/1.2.1/google.cloud.service_usage_v1.types.DisableServiceRequest)\n- [1.1.0](/python/docs/reference/serviceusage/1.1.0/google.cloud.service_usage_v1.types.DisableServiceRequest)\n- [1.0.1](/python/docs/reference/serviceusage/1.0.1/google.cloud.service_usage_v1.types.DisableServiceRequest)\n- [0.2.2](/python/docs/reference/serviceusage/0.2.2/google.cloud.service_usage_v1.types.DisableServiceRequest)\n- [0.1.0](/python/docs/reference/serviceusage/0.1.0/google.cloud.service_usage_v1.types.DisableServiceRequest) \n\n DisableServiceRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nRequest message for the `DisableService` method.\n\nClasses\n-------\n\n### CheckIfServiceHasUsage\n\n CheckIfServiceHasUsage(value)\n\nEnum to determine if service usage should be checked when\ndisabling a service."]]