Show / Hide Table of Contents

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

Constructors

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
System.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
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.AlertFeedback>.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.AlertFeedback>.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.AlertFeedback>.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.AlertFeedback>.GetBody()

InitParameters()

Initializes Create parameter list.

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

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In This Article
Back to top