Show / Hide Table of Contents

Class AlertsResource.DeleteRequest

Marks the specified alert for deletion. An alert that has been marked for deletion is removed from Alert Center after 30 days. Marking an alert for deletion has no effect on an alert which has already been marked for deletion. Attempting to mark a nonexistent alert for deletion results in a NOT_FOUND error.

Inheritance
System.Object
ClientServiceRequest
ClientServiceRequest<Empty>
AlertCenterBaseServiceRequest<Empty>
AlertsResource.DeleteRequest
Implements
IClientServiceRequest<Empty>
IClientServiceRequest
Inherited Members
AlertCenterBaseServiceRequest<Empty>.Xgafv
AlertCenterBaseServiceRequest<Empty>.AccessToken
AlertCenterBaseServiceRequest<Empty>.Alt
AlertCenterBaseServiceRequest<Empty>.Callback
AlertCenterBaseServiceRequest<Empty>.Fields
AlertCenterBaseServiceRequest<Empty>.Key
AlertCenterBaseServiceRequest<Empty>.OauthToken
AlertCenterBaseServiceRequest<Empty>.PrettyPrint
AlertCenterBaseServiceRequest<Empty>.QuotaUser
AlertCenterBaseServiceRequest<Empty>.UploadType
AlertCenterBaseServiceRequest<Empty>.UploadProtocol
ClientServiceRequest<Empty>.Execute()
ClientServiceRequest<Empty>.ExecuteAsStream()
ClientServiceRequest<Empty>.ExecuteAsync()
ClientServiceRequest<Empty>.ExecuteAsync(CancellationToken)
ClientServiceRequest<Empty>.ExecuteAsStreamAsync()
ClientServiceRequest<Empty>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<Empty>.CreateRequest(Nullable<Boolean>)
ClientServiceRequest<Empty>.GenerateRequestUri()
ClientServiceRequest<Empty>.GetBody()
ClientServiceRequest<Empty>.GetDefaultETagAction(String)
ClientServiceRequest<Empty>.ETagAction
ClientServiceRequest<Empty>.ModifyRequest
ClientServiceRequest<Empty>.ValidateParameters
ClientServiceRequest<Empty>.RequestParameters
ClientServiceRequest<Empty>.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 DeleteRequest : AlertCenterBaseServiceRequest<Empty>, IClientServiceRequest<Empty>, IClientServiceRequest

Constructors

DeleteRequest(IClientService, String)

Constructs a new Delete request.

Declaration
public DeleteRequest(IClientService service, string alertId)
Parameters
Type Name Description
IClientService service
System.String alertId

Properties

AlertId

Required. The identifier of the alert to delete.

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

CustomerId

Optional. The unique identifier of the Google Workspace organization account of the customer the alert is associated with. Inferred from the caller identity if not provided.

Declaration
[RequestParameter("customerId", RequestParameterType.Query)]
public virtual string CustomerId { get; set; }
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.Empty>.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.Empty>.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.Empty>.RestPath

Methods

InitParameters()

Initializes Delete parameter list.

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

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In This Article
Back to top