Class ServicesResource.UndeleteRequest
Revives a previously deleted managed service. The method restores the service using the configuration at the time the service was deleted. The target service must exist and must have been deleted within the last 30 days. Operation
Inheritance
ServicesResource.UndeleteRequest
Inherited Members
Namespace: Google.Apis.ServiceManagement.v1
Assembly: Google.Apis.ServiceManagement.v1.dll
Syntax
public class ServicesResource.UndeleteRequest : ServiceManagementBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
UndeleteRequest(IClientService, string)
Constructs a new Undelete request.
Declaration
public UndeleteRequest(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 Undelete parameter list.
Declaration
protected override void InitParameters()