Class ProjectsResource.LocationsResource.KeysResource.UndeleteRequest
Undeletes an API key which was deleted within 30 days. The key string of the API key isn't included
in the response and can only be retrieved through the GetKeyString method. NOTE: Key is a global
resource; hence the only supported value for location is global.
Inheritance
ProjectsResource.LocationsResource.KeysResource.UndeleteRequest
Inherited Members
Namespace: Google.Apis.ApiKeysService.v2
Assembly: Google.Apis.ApiKeysService.v2.dll
Syntax
public class ProjectsResource.LocationsResource.KeysResource.UndeleteRequest : ApiKeysServiceBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
UndeleteRequest(IClientService, V2UndeleteKeyRequest, string)
Constructs a new Undelete request.
Declaration
public UndeleteRequest(IClientService service, V2UndeleteKeyRequest body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| V2UndeleteKeyRequest | body | |
| string | name |
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
Name
Required. The resource name of the API key to be undeleted.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| object |
Overrides
InitParameters()
Initializes Undelete parameter list.
Declaration
protected override void InitParameters()