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
System.Object
Google.Apis.Requests.ClientServiceRequest
Google.Apis.Requests.ClientServiceRequest<GoogleCloudRecommenderV1Insight>
RecommenderBaseServiceRequest<GoogleCloudRecommenderV1Insight>
ProjectsResource.LocationsResource.InsightTypesResource.InsightsResource.MarkAcceptedRequest
Implements
Google.Apis.Requests.IClientServiceRequest<GoogleCloudRecommenderV1Insight>
Google.Apis.Requests.IClientServiceRequest
Inherited Members
RecommenderBaseServiceRequest<GoogleCloudRecommenderV1Insight>.Xgafv
RecommenderBaseServiceRequest<GoogleCloudRecommenderV1Insight>.AccessToken
RecommenderBaseServiceRequest<GoogleCloudRecommenderV1Insight>.Alt
RecommenderBaseServiceRequest<GoogleCloudRecommenderV1Insight>.Callback
RecommenderBaseServiceRequest<GoogleCloudRecommenderV1Insight>.Fields
RecommenderBaseServiceRequest<GoogleCloudRecommenderV1Insight>.Key
RecommenderBaseServiceRequest<GoogleCloudRecommenderV1Insight>.OauthToken
RecommenderBaseServiceRequest<GoogleCloudRecommenderV1Insight>.PrettyPrint
RecommenderBaseServiceRequest<GoogleCloudRecommenderV1Insight>.QuotaUser
RecommenderBaseServiceRequest<GoogleCloudRecommenderV1Insight>.UploadType
RecommenderBaseServiceRequest<GoogleCloudRecommenderV1Insight>.UploadProtocol
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Recommender.v1.Data.GoogleCloudRecommenderV1Insight>.Execute()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Recommender.v1.Data.GoogleCloudRecommenderV1Insight>.ExecuteAsStream()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Recommender.v1.Data.GoogleCloudRecommenderV1Insight>.ExecuteAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Recommender.v1.Data.GoogleCloudRecommenderV1Insight>.ExecuteAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Recommender.v1.Data.GoogleCloudRecommenderV1Insight>.ExecuteAsStreamAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Recommender.v1.Data.GoogleCloudRecommenderV1Insight>.ExecuteAsStreamAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Recommender.v1.Data.GoogleCloudRecommenderV1Insight>.CreateRequest(System.Nullable<System.Boolean>)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Recommender.v1.Data.GoogleCloudRecommenderV1Insight>.GenerateRequestUri()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Recommender.v1.Data.GoogleCloudRecommenderV1Insight>.GetDefaultETagAction(System.String)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Recommender.v1.Data.GoogleCloudRecommenderV1Insight>.ETagAction
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Recommender.v1.Data.GoogleCloudRecommenderV1Insight>.ModifyRequest
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Recommender.v1.Data.GoogleCloudRecommenderV1Insight>.ValidateParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Recommender.v1.Data.GoogleCloudRecommenderV1Insight>.RequestParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Recommender.v1.Data.GoogleCloudRecommenderV1Insight>.Service
Google.Apis.Requests.ClientServiceRequest._unsuccessfulResponseHandlers
Google.Apis.Requests.ClientServiceRequest._exceptionHandlers
Google.Apis.Requests.ClientServiceRequest._executeInterceptors
Google.Apis.Requests.ClientServiceRequest.AddUnsuccessfulResponseHandler(Google.Apis.Http.IHttpUnsuccessfulResponseHandler)
Google.Apis.Requests.ClientServiceRequest.AddExceptionHandler(Google.Apis.Http.IHttpExceptionHandler)
Google.Apis.Requests.ClientServiceRequest.AddExecuteInterceptor(Google.Apis.Http.IHttpExecuteInterceptor)
Google.Apis.Requests.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.Recommender.v1
Assembly: Google.Apis.Recommender.v1.dll
Syntax
public class MarkAcceptedRequest : RecommenderBaseServiceRequest<GoogleCloudRecommenderV1Insight>, IClientServiceRequest<GoogleCloudRecommenderV1Insight>, IClientServiceRequest

Constructors

MarkAcceptedRequest(IClientService, GoogleCloudRecommenderV1MarkInsightAcceptedRequest, String)

Constructs a new MarkAccepted request.

Declaration
public MarkAcceptedRequest(IClientService service, GoogleCloudRecommenderV1MarkInsightAcceptedRequest body, string name)
Parameters
Type Name Description
Google.Apis.Services.IClientService service
GoogleCloudRecommenderV1MarkInsightAcceptedRequest body
System.String name

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Recommender.v1.Data.GoogleCloudRecommenderV1Insight>.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.Recommender.v1.Data.GoogleCloudRecommenderV1Insight>.MethodName

Name

Required. Name of the insight.

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

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Recommender.v1.Data.GoogleCloudRecommenderV1Insight>.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.Recommender.v1.Data.GoogleCloudRecommenderV1Insight>.GetBody()

InitParameters()

Initializes MarkAccepted parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.Recommender.v1.RecommenderBaseServiceRequest<Google.Apis.Recommender.v1.Data.GoogleCloudRecommenderV1Insight>.InitParameters()

Implements

Google.Apis.Requests.IClientServiceRequest<TResponse>
Google.Apis.Requests.IClientServiceRequest
In This Article
Back to top