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
- (::Google::Cloud::ServiceUsage::V1::DisableServiceRequest::CheckIfServiceHasUsage) — Defines the behavior for checking service usage when disabling a service.
#check_if_service_has_usage=
def check_if_service_has_usage=(value) -> ::Google::Cloud::ServiceUsage::V1::DisableServiceRequest::CheckIfServiceHasUsage
- value (::Google::Cloud::ServiceUsage::V1::DisableServiceRequest::CheckIfServiceHasUsage) — Defines the behavior for checking service usage when disabling a service.
- (::Google::Cloud::ServiceUsage::V1::DisableServiceRequest::CheckIfServiceHasUsage) — Defines the behavior for checking service usage when disabling a service.
#disable_dependent_services
def disable_dependent_services() -> ::Boolean
- (::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
- 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.
- (::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
-
(::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
where123
is the project number.
#name=
def name=(value) -> ::String
-
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
where123
is the project number.
-
(::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
where123
is the project number.