Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.InsightTypesResource.InsightsResource.MarkAcceptedRequest

Marks the Insight State as Accepted. Users can use this method to indicate to the Recommender API that they have applied some action based on the insight. This stops the insight content from being updated. MarkInsightAccepted can be applied to insights in ACTIVE state. Requires the recommender.*.update IAM permission for the specified insight.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<GoogleCloudRecommenderV1beta1Insight>
RecommenderBaseServiceRequest<GoogleCloudRecommenderV1beta1Insight>
ProjectsResource.LocationsResource.InsightTypesResource.InsightsResource.MarkAcceptedRequest
Implements
IClientServiceRequest<GoogleCloudRecommenderV1beta1Insight>
IClientServiceRequest
Inherited Members
RecommenderBaseServiceRequest<GoogleCloudRecommenderV1beta1Insight>.Xgafv
RecommenderBaseServiceRequest<GoogleCloudRecommenderV1beta1Insight>.AccessToken
RecommenderBaseServiceRequest<GoogleCloudRecommenderV1beta1Insight>.Alt
RecommenderBaseServiceRequest<GoogleCloudRecommenderV1beta1Insight>.Callback
RecommenderBaseServiceRequest<GoogleCloudRecommenderV1beta1Insight>.Fields
RecommenderBaseServiceRequest<GoogleCloudRecommenderV1beta1Insight>.Key
RecommenderBaseServiceRequest<GoogleCloudRecommenderV1beta1Insight>.OauthToken
RecommenderBaseServiceRequest<GoogleCloudRecommenderV1beta1Insight>.PrettyPrint
RecommenderBaseServiceRequest<GoogleCloudRecommenderV1beta1Insight>.QuotaUser
RecommenderBaseServiceRequest<GoogleCloudRecommenderV1beta1Insight>.UploadType
RecommenderBaseServiceRequest<GoogleCloudRecommenderV1beta1Insight>.UploadProtocol
ClientServiceRequest<GoogleCloudRecommenderV1beta1Insight>.Execute()
ClientServiceRequest<GoogleCloudRecommenderV1beta1Insight>.ExecuteAsStream()
ClientServiceRequest<GoogleCloudRecommenderV1beta1Insight>.ExecuteAsync()
ClientServiceRequest<GoogleCloudRecommenderV1beta1Insight>.ExecuteAsync(CancellationToken)
ClientServiceRequest<GoogleCloudRecommenderV1beta1Insight>.ExecuteAsStreamAsync()
ClientServiceRequest<GoogleCloudRecommenderV1beta1Insight>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<GoogleCloudRecommenderV1beta1Insight>.CreateRequest(bool?)
ClientServiceRequest<GoogleCloudRecommenderV1beta1Insight>.GenerateRequestUri()
ClientServiceRequest<GoogleCloudRecommenderV1beta1Insight>.GetDefaultETagAction(string)
ClientServiceRequest<GoogleCloudRecommenderV1beta1Insight>.ETagAction
ClientServiceRequest<GoogleCloudRecommenderV1beta1Insight>.ModifyRequest
ClientServiceRequest<GoogleCloudRecommenderV1beta1Insight>.ValidateParameters
ClientServiceRequest<GoogleCloudRecommenderV1beta1Insight>.ApiVersion
ClientServiceRequest<GoogleCloudRecommenderV1beta1Insight>.RequestParameters
ClientServiceRequest<GoogleCloudRecommenderV1beta1Insight>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Recommender.v1beta1
Assembly: Google.Apis.Recommender.v1beta1.dll
Syntax
public class ProjectsResource.LocationsResource.InsightTypesResource.InsightsResource.MarkAcceptedRequest : RecommenderBaseServiceRequest<GoogleCloudRecommenderV1beta1Insight>, IClientServiceRequest<GoogleCloudRecommenderV1beta1Insight>, IClientServiceRequest

Constructors

MarkAcceptedRequest(IClientService, GoogleCloudRecommenderV1beta1MarkInsightAcceptedRequest, string)

Constructs a new MarkAccepted request.

Declaration
public MarkAcceptedRequest(IClientService service, GoogleCloudRecommenderV1beta1MarkInsightAcceptedRequest body, string name)
Parameters
Type Name Description
IClientService service
GoogleCloudRecommenderV1beta1MarkInsightAcceptedRequest body
string name

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<GoogleCloudRecommenderV1beta1Insight>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<GoogleCloudRecommenderV1beta1Insight>.MethodName

Name

Required. Name of the insight.

Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type Description
string

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<GoogleCloudRecommenderV1beta1Insight>.RestPath

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
object
Overrides
ClientServiceRequest<GoogleCloudRecommenderV1beta1Insight>.GetBody()

InitParameters()

Initializes MarkAccepted parameter list.

Declaration
protected override void InitParameters()
Overrides
RecommenderBaseServiceRequest<GoogleCloudRecommenderV1beta1Insight>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX