class Google::Apis::ServiceusageV1::DisableServiceRequest
Request message for the `DisableService` method.
Attributes
Defines the behavior for checking service usage when disabling a service. Corresponds to the JSON property `checkIfServiceHasUsage` @return [String]
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. Corresponds to the JSON property `disableDependentServices` @return [Boolean]
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. Corresponds to the JSON property `disableDependentServices` @return [Boolean]
Public Class Methods
# File lib/google/apis/serviceusage_v1/classes.rb, line 884 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/serviceusage_v1/classes.rb, line 889 def update!(**args) @check_if_service_has_usage = args[:check_if_service_has_usage] if args.key?(:check_if_service_has_usage) @disable_dependent_services = args[:disable_dependent_services] if args.key?(:disable_dependent_services) end