Service Usage V1 API - Class Google::Cloud::ServiceUsage::V1::DisableServiceRequest (v1.0.0)

Reference documentation and code samples for the Service Usage V1 API class Google::Cloud::ServiceUsage::V1::DisableServiceRequest.

Request message for the DisableService method.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#check_if_service_has_usage

def check_if_service_has_usage() -> ::Google::Cloud::ServiceUsage::V1::DisableServiceRequest::CheckIfServiceHasUsage
Returns

#check_if_service_has_usage=

def check_if_service_has_usage=(value) -> ::Google::Cloud::ServiceUsage::V1::DisableServiceRequest::CheckIfServiceHasUsage
Parameter
Returns

#disable_dependent_services

def disable_dependent_services() -> ::Boolean
Returns
  • (::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.

#disable_dependent_services=

def disable_dependent_services=(value) -> ::Boolean
Parameter
  • value (::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.
Returns
  • (::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.

#name

def name() -> ::String
Returns
  • (::String) — 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.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — 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.

Returns
  • (::String) — 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.