Class AlertsResource.FeedbackResource
The "feedback" collection of methods.
Inherited Members
Namespace: Google.Apis.AlertCenter.v1beta1
Assembly: Google.Apis.AlertCenter.v1beta1.dll
Syntax
public class AlertsResource.FeedbackResource
Constructors
FeedbackResource(IClientService)
Constructs a new resource.
Declaration
public FeedbackResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(AlertFeedback, string)
Creates new feedback for an alert. Attempting to create a feedback for a non-existent alert returns
NOT_FOUND
error. Attempting to create a feedback for an alert that is marked for deletion returns
`FAILED_PRECONDITION' error.
Declaration
public virtual AlertsResource.FeedbackResource.CreateRequest Create(AlertFeedback body, string alertId)
Parameters
Type | Name | Description |
---|---|---|
AlertFeedback | body | The body of the request. |
string | alertId | Required. The identifier of the alert this feedback belongs to. |
Returns
Type | Description |
---|---|
AlertsResource.FeedbackResource.CreateRequest |
List(string)
Lists all the feedback for an alert. Attempting to list feedbacks for a non-existent alert returns
NOT_FOUND
error.
Declaration
public virtual AlertsResource.FeedbackResource.ListRequest List(string alertId)
Parameters
Type | Name | Description |
---|---|---|
string | alertId | Required. The alert identifier. The "-" wildcard could be used to represent all alerts. |
Returns
Type | Description |
---|---|
AlertsResource.FeedbackResource.ListRequest |