Class OrganizationsResource.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
OrganizationsResource.LocationsResource.RecommendersResource.RecommendationsResource.MarkSucceededRequest
Inherited Members
Namespace: Google.Apis.Recommender.v1
Assembly: Google.Apis.Recommender.v1.dll
Syntax
public class OrganizationsResource.LocationsResource.RecommendersResource.RecommendationsResource.MarkSucceededRequest : RecommenderBaseServiceRequest<GoogleCloudRecommenderV1Recommendation>, IClientServiceRequest<GoogleCloudRecommenderV1Recommendation>, IClientServiceRequest
Constructors
MarkSucceededRequest(IClientService, GoogleCloudRecommenderV1MarkRecommendationSucceededRequest, string)
Constructs a new MarkSucceeded request.
Declaration
public MarkSucceededRequest(IClientService service, GoogleCloudRecommenderV1MarkRecommendationSucceededRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudRecommenderV1MarkRecommendationSucceededRequest | body | |
string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Recommender.v1.Data.GoogleCloudRecommenderV1Recommendation>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Recommender.v1.Data.GoogleCloudRecommenderV1Recommendation>.MethodName
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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Recommender.v1.Data.GoogleCloudRecommenderV1Recommendation>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Recommender.v1.Data.GoogleCloudRecommenderV1Recommendation>.GetBody()
InitParameters()
Initializes MarkSucceeded parameter list.
Declaration
protected override void InitParameters()