Interface DisableServiceRequestOrBuilder (2.51.0)

public interface DisableServiceRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCheckIfServiceHasUsage()

public abstract 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
Type Description
DisableServiceRequest.CheckIfServiceHasUsage

The checkIfServiceHasUsage.

getCheckIfServiceHasUsageValue()

public abstract 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
Type Description
int

The enum numeric value on the wire for checkIfServiceHasUsage.

getDisableDependentServices()

public abstract 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
Type Description
boolean

The disableDependentServices.

getName()

public abstract 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
Type Description
String

The name.

getNameBytes()

public abstract 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
Type Description
ByteString

The bytes for name.