public sealed class DisableServiceRequest : IMessage<DisableServiceRequest>, IEquatable<DisableServiceRequest>, IDeepCloneable<DisableServiceRequest>, IBufferMessage, IMessage
Request message for the DisableService
method.
Implements
IMessage<DisableServiceRequest>, IEquatable<DisableServiceRequest>, IDeepCloneable<DisableServiceRequest>, IBufferMessage, IMessageNamespace
Google.Cloud.ServiceUsage.V1Assembly
Google.Cloud.ServiceUsage.V1.dll
Constructors
DisableServiceRequest()
public DisableServiceRequest()
DisableServiceRequest(DisableServiceRequest)
public DisableServiceRequest(DisableServiceRequest other)
Parameter | |
---|---|
Name | Description |
other | DisableServiceRequest |
Properties
CheckIfServiceHasUsage
public DisableServiceRequest.Types.CheckIfServiceHasUsage CheckIfServiceHasUsage { get; set; }
Defines the behavior for checking service usage when disabling a service.
Property Value | |
---|---|
Type | Description |
DisableServiceRequest.Types.CheckIfServiceHasUsage |
DisableDependentServices
public bool DisableDependentServices { get; set; }
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.
Property Value | |
---|---|
Type | Description |
Boolean |
Name
public string Name { get; set; }
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.
Property Value | |
---|---|
Type | Description |
String |