Class ProjectsResource.LocationsResource.RecommendersResource.RecommendationsResource.MarkClaimedRequest
Marks the Recommendation State as Claimed. Users can use this method to indicate to the Recommender API that they are starting to apply the recommendation themselves. This stops the recommendation content from being updated. Associated insights are frozen and placed in the ACCEPTED state. MarkRecommendationClaimed can be applied to recommendations in CLAIMED, SUCCEEDED, FAILED, or ACTIVE state. Requires the recommender.*.update IAM permission for the specified recommender.
Inheritance
ProjectsResource.LocationsResource.RecommendersResource.RecommendationsResource.MarkClaimedRequest
Inherited Members
Namespace: Google.Apis.Recommender.v1
Assembly: Google.Apis.Recommender.v1.dll
Syntax
public class ProjectsResource.LocationsResource.RecommendersResource.RecommendationsResource.MarkClaimedRequest : RecommenderBaseServiceRequest<GoogleCloudRecommenderV1Recommendation>, IClientServiceRequest<GoogleCloudRecommenderV1Recommendation>, IClientServiceRequest
Constructors
MarkClaimedRequest(IClientService, GoogleCloudRecommenderV1MarkRecommendationClaimedRequest, string)
Constructs a new MarkClaimed request.
Declaration
public MarkClaimedRequest(IClientService service, GoogleCloudRecommenderV1MarkRecommendationClaimedRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudRecommenderV1MarkRecommendationClaimedRequest | 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 MarkClaimed parameter list.
Declaration
protected override void InitParameters()