Show / Hide Table of Contents

Class AlertsResource.UndeleteRequest

Restores, or "undeletes", an alert that was marked for deletion within the past 30 days. Attempting to undelete an alert which was marked for deletion over 30 days ago (which has been removed from the Alert Center database) or a nonexistent alert returns a NOT_FOUND error. Attempting to undelete an alert which has not been marked for deletion has no effect.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<Alert>
AlertCenterBaseServiceRequest<Alert>
AlertsResource.UndeleteRequest
Implements
IClientServiceRequest<Alert>
IClientServiceRequest
Inherited Members
AlertCenterBaseServiceRequest<Alert>.Xgafv
AlertCenterBaseServiceRequest<Alert>.AccessToken
AlertCenterBaseServiceRequest<Alert>.Alt
AlertCenterBaseServiceRequest<Alert>.Callback
AlertCenterBaseServiceRequest<Alert>.Fields
AlertCenterBaseServiceRequest<Alert>.Key
AlertCenterBaseServiceRequest<Alert>.OauthToken
AlertCenterBaseServiceRequest<Alert>.PrettyPrint
AlertCenterBaseServiceRequest<Alert>.QuotaUser
AlertCenterBaseServiceRequest<Alert>.UploadType
AlertCenterBaseServiceRequest<Alert>.UploadProtocol
ClientServiceRequest<Alert>.Execute()
ClientServiceRequest<Alert>.ExecuteAsStream()
ClientServiceRequest<Alert>.ExecuteAsync()
ClientServiceRequest<Alert>.ExecuteAsync(CancellationToken)
ClientServiceRequest<Alert>.ExecuteAsStreamAsync()
ClientServiceRequest<Alert>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<Alert>.CreateRequest(bool?)
ClientServiceRequest<Alert>.GenerateRequestUri()
ClientServiceRequest<Alert>.GetDefaultETagAction(string)
ClientServiceRequest<Alert>.ETagAction
ClientServiceRequest<Alert>.ModifyRequest
ClientServiceRequest<Alert>.ValidateParameters
ClientServiceRequest<Alert>.ApiVersion
ClientServiceRequest<Alert>.RequestParameters
ClientServiceRequest<Alert>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.AlertCenter.v1beta1
Assembly: Google.Apis.AlertCenter.v1beta1.dll
Syntax
public class AlertsResource.UndeleteRequest : AlertCenterBaseServiceRequest<Alert>, IClientServiceRequest<Alert>, IClientServiceRequest

Constructors

UndeleteRequest(IClientService, UndeleteAlertRequest, string)

Constructs a new Undelete request.

Declaration
public UndeleteRequest(IClientService service, UndeleteAlertRequest body, string alertId)
Parameters
Type Name Description
IClientService service
UndeleteAlertRequest body
string alertId

Properties

AlertId

Required. The identifier of the alert to undelete.

Declaration
[RequestParameter("alertId", RequestParameterType.Path)]
public virtual string AlertId { get; }
Property Value
Type Description
string

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<Alert>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<Alert>.MethodName

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<Alert>.RestPath

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
object
Overrides
ClientServiceRequest<Alert>.GetBody()

InitParameters()

Initializes Undelete parameter list.

Declaration
protected override void InitParameters()
Overrides
AlertCenterBaseServiceRequest<Alert>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX