Class ProjectsResource.LocationsResource.RecommendersResource.RecommendationsResource.MarkSucceededRequest
Marks the Recommendation State as Succeeded. Users can use this method to indicate to the Recommender API that they have applied the recommendation themselves, and the operation was successful. This stops the recommendation content from being updated. Associated insights are frozen and placed in the ACCEPTED state. MarkRecommendationSucceeded can be applied to recommendations in ACTIVE, CLAIMED, SUCCEEDED, or FAILED state. Requires the recommender.*.update IAM permission for the specified recommender.
Inheritance
ProjectsResource.LocationsResource.RecommendersResource.RecommendationsResource.MarkSucceededRequest
Inherited Members
Namespace: Google.Apis.Recommender.v1beta1
Assembly: Google.Apis.Recommender.v1beta1.dll
Syntax
public class ProjectsResource.LocationsResource.RecommendersResource.RecommendationsResource.MarkSucceededRequest : RecommenderBaseServiceRequest<GoogleCloudRecommenderV1beta1Recommendation>, IClientServiceRequest<GoogleCloudRecommenderV1beta1Recommendation>, IClientServiceRequest
Constructors
MarkSucceededRequest(IClientService, GoogleCloudRecommenderV1beta1MarkRecommendationSucceededRequest, string)
Constructs a new MarkSucceeded request.
Declaration
public MarkSucceededRequest(IClientService service, GoogleCloudRecommenderV1beta1MarkRecommendationSucceededRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudRecommenderV1beta1MarkRecommendationSucceededRequest | body | |
string | name |
Properties
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
Name
Required. Name of the recommendation.
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
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes MarkSucceeded parameter list.
Declaration
protected override void InitParameters()