public class AlertCenter.Alerts extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
AlertCenter.Alerts.BatchDelete |
class |
AlertCenter.Alerts.BatchUndelete |
class |
AlertCenter.Alerts.Delete |
class |
AlertCenter.Alerts.Feedback
The "feedback" collection of methods.
|
class |
AlertCenter.Alerts.Get |
class |
AlertCenter.Alerts.GetMetadata |
class |
AlertCenter.Alerts.List |
class |
AlertCenter.Alerts.Undelete |
| Constructor and Description |
|---|
Alerts() |
| Modifier and Type | Method and Description |
|---|---|
AlertCenter.Alerts.BatchDelete |
batchDelete(BatchDeleteAlertsRequest content)
Performs batch delete operation on alerts.
|
AlertCenter.Alerts.BatchUndelete |
batchUndelete(BatchUndeleteAlertsRequest content)
Performs batch undelete operation on alerts.
|
AlertCenter.Alerts.Delete |
delete(String alertId)
Marks the specified alert for deletion.
|
AlertCenter.Alerts.Feedback |
feedback()
An accessor for creating requests from the Feedback collection.
|
AlertCenter.Alerts.Get |
get(String alertId)
Gets the specified alert.
|
AlertCenter.Alerts.GetMetadata |
getMetadata(String alertId)
Returns the metadata of an alert.
|
AlertCenter.Alerts.List |
list()
Lists the alerts.
|
AlertCenter.Alerts.Undelete |
undelete(String alertId,
UndeleteAlertRequest content)
Restores, or "undeletes", an alert that was marked for deletion within the past 30 days.
|
public AlertCenter.Alerts.BatchDelete batchDelete(BatchDeleteAlertsRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.content - the BatchDeleteAlertsRequestIOExceptionpublic AlertCenter.Alerts.BatchUndelete batchUndelete(BatchUndeleteAlertsRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.content - the BatchUndeleteAlertsRequestIOExceptionpublic AlertCenter.Alerts.Delete delete(String alertId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.alertId - Required. The identifier of the alert to delete.IOExceptionpublic AlertCenter.Alerts.Get get(String alertId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.alertId - Required. The identifier of the alert to retrieve.IOExceptionpublic AlertCenter.Alerts.GetMetadata getMetadata(String alertId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.alertId - Required. The identifier of the alert this metadata belongs to.IOExceptionpublic AlertCenter.Alerts.List list() throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.IOExceptionpublic AlertCenter.Alerts.Undelete undelete(String alertId, UndeleteAlertRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.alertId - Required. The identifier of the alert to undelete.content - the UndeleteAlertRequestIOExceptionpublic AlertCenter.Alerts.Feedback feedback()
The typical use is:
AlertCenter alertcenter = new AlertCenter(...);AlertCenter.Feedback.List request = alertcenter.feedback().list(parameters ...)
Copyright © 2011–2025 Google. All rights reserved.