Package com.google.api.serviceusage.v1
Interface DisableServiceRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DisableServiceRequest
,DisableServiceRequest.Builder
public interface DisableServiceRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DisableServiceRequest.CheckIfServiceHasUsage
getCheckIfServiceHasUsage()
Defines the behavior for checking service usage when disabling a service.int
getCheckIfServiceHasUsageValue()
Defines the behavior for checking service usage when disabling a service.boolean
getDisableDependentServices()
Indicates if services that are enabled and which depend on this service should also be disabled.String
getName()
Name of the consumer and service to disable the service on.com.google.protobuf.ByteString
getNameBytes()
Name of the consumer and service to disable the service on.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
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.
string name = 1;
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
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.
string name = 1;
- Returns:
- The bytes for name.
-
getDisableDependentServices
boolean getDisableDependentServices()
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.
bool disable_dependent_services = 2;
- Returns:
- The disableDependentServices.
-
getCheckIfServiceHasUsageValue
int getCheckIfServiceHasUsageValue()
Defines the behavior for checking service usage when disabling a service.
.google.api.serviceusage.v1.DisableServiceRequest.CheckIfServiceHasUsage check_if_service_has_usage = 3;
- Returns:
- The enum numeric value on the wire for checkIfServiceHasUsage.
-
getCheckIfServiceHasUsage
DisableServiceRequest.CheckIfServiceHasUsage getCheckIfServiceHasUsage()
Defines the behavior for checking service usage when disabling a service.
.google.api.serviceusage.v1.DisableServiceRequest.CheckIfServiceHasUsage check_if_service_has_usage = 3;
- Returns:
- The checkIfServiceHasUsage.
-
-