public sealed class DisableServiceRequest : IMessage<DisableServiceRequest>, IEquatable<DisableServiceRequest>, IDeepCloneable<DisableServiceRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Service Usage v1 API class DisableServiceRequest.
public bool DisableDependentServices { get; set; }
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"]],[["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-07 UTC."],[[["\u003cp\u003eThis document provides reference information for the \u003ccode\u003eDisableServiceRequest\u003c/code\u003e class within the Google Cloud Service Usage v1 API, specifically version 2.4.0, with links to other versions of the API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDisableServiceRequest\u003c/code\u003e class is used to form a request to disable a service, and it implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis class allows you to specify whether dependent services should also be disabled and to define the behavior for checking if the service is in use before disabling it.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eName\u003c/code\u003e property is required to define the consumer and the service that must be disabled, and the documentation specifies that the path format currently only supports projects.\u003c/p\u003e\n"],["\u003cp\u003eThe class contains two constructors, one empty and one taking another \u003ccode\u003eDisableServiceRequest\u003c/code\u003e object for deep cloning.\u003c/p\u003e\n"]]],[],null,[]]