Class AlertsResource.FeedbackResource.CreateRequest
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.
Inheritance
AlertsResource.FeedbackResource.CreateRequest
  Inherited Members
Namespace: Google.Apis.AlertCenter.v1beta1
Assembly: Google.Apis.AlertCenter.v1beta1.dll
Syntax
public class AlertsResource.FeedbackResource.CreateRequest : AlertCenterBaseServiceRequest<AlertFeedback>, IClientServiceRequest<AlertFeedback>, IClientServiceRequestConstructors
CreateRequest(IClientService, AlertFeedback, string)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, AlertFeedback body, string alertId)Parameters
| Type | Name | Description | 
|---|---|---|
| IClientService | service | |
| AlertFeedback | body | |
| string | alertId | 
Properties
AlertId
Required. The identifier of the alert this feedback belongs to.
Declaration
[RequestParameter("alertId", RequestParameterType.Path)]
public virtual string AlertId { get; }Property Value
| Type | Description | 
|---|---|
| string | 
CustomerId
Optional. The unique identifier of the Google Workspace account of the customer the alert is
associated with. The customer_id must have the initial "C" stripped (for example, 046psxkn).
Inferred from the caller identity if not provided. Find your customer
ID.
Declaration
[RequestParameter("customerId", RequestParameterType.Query)]
public virtual string CustomerId { get; set; }Property Value
| Type | Description | 
|---|---|
| string | 
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }Property Value
| Type | Description | 
|---|---|
| string | 
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }Property Value
| Type | Description | 
|---|---|
| string | 
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }Property Value
| Type | Description | 
|---|---|
| string | 
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()Returns
| Type | Description | 
|---|---|
| object | 
Overrides
InitParameters()
Initializes Create parameter list.
Declaration
protected override void InitParameters()