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
System.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(Nullable<Boolean>)
ClientServiceRequest<Alert>.GenerateRequestUri()
ClientServiceRequest<Alert>.GetDefaultETagAction(String)
ClientServiceRequest<Alert>.ETagAction
ClientServiceRequest<Alert>.ModifyRequest
ClientServiceRequest<Alert>.ValidateParameters
ClientServiceRequest<Alert>.RequestParameters
ClientServiceRequest<Alert>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.AlertCenter.v1beta1
Assembly: Google.Apis.AlertCenter.v1beta1.dll
Syntax
public class 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
System.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
System.String

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.AlertCenter.v1beta1.Data.Alert>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.AlertCenter.v1beta1.Data.Alert>.MethodName

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.AlertCenter.v1beta1.Data.Alert>.RestPath

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
System.Object
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.AlertCenter.v1beta1.Data.Alert>.GetBody()

InitParameters()

Initializes Undelete parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.AlertCenter.v1beta1.AlertCenterBaseServiceRequest<Google.Apis.AlertCenter.v1beta1.Data.Alert>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In This Article
Back to top