Class: Google::Apis::ServiceusageV1::DisableServiceRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/serviceusage_v1/classes.rb,
generated/google/apis/serviceusage_v1/representations.rb,
generated/google/apis/serviceusage_v1/representations.rb

Overview

Request message for the DisableService method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ DisableServiceRequest

Returns a new instance of DisableServiceRequest.



917
918
919
# File 'generated/google/apis/serviceusage_v1/classes.rb', line 917

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#disable_dependent_servicesBoolean Also known as: disable_dependent_services?

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

Returns:

  • (Boolean)


914
915
916
# File 'generated/google/apis/serviceusage_v1/classes.rb', line 914

def disable_dependent_services
  @disable_dependent_services
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



922
923
924
# File 'generated/google/apis/serviceusage_v1/classes.rb', line 922

def update!(**args)
  @disable_dependent_services = args[:disable_dependent_services] if args.key?(:disable_dependent_services)
end