Class ServicesResource.DeleteRequest
Deletes a managed service. This method will change the service to the Soft-Delete
state for 30 days.
Within this period, service producers may call UndeleteService to restore the service. After 30 days, the
service will be permanently deleted. Operation
Inheritance
ServicesResource.DeleteRequest
Inherited Members
Namespace: Google.Apis.ServiceManagement.v1
Assembly: Google.Apis.ServiceManagement.v1.dll
Syntax
public class ServicesResource.DeleteRequest : ServiceManagementBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
DeleteRequest(IClientService, string)
Constructs a new Delete request.
Declaration
public DeleteRequest(IClientService service, string serviceName)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | serviceName |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
ServiceName
Required. The name of the service. See the
overview for naming requirements. For example:
example.googleapis.com
.
Declaration
[RequestParameter("serviceName", RequestParameterType.Path)]
public virtual string ServiceName { get; }
Property Value
Type | Description |
---|---|
string |
Methods
InitParameters()
Initializes Delete parameter list.
Declaration
protected override void InitParameters()