Class FoldersResource.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 or ACTIVE state. Requires the recommender.*.update IAM permission for the specified recommender.
Inheritance
FoldersResource.LocationsResource.RecommendersResource.RecommendationsResource.MarkClaimedRequest
Inherited Members
Namespace: Google.Apis.Recommender.v1beta1
Assembly: Google.Apis.Recommender.v1beta1.dll
Syntax
public class FoldersResource.LocationsResource.RecommendersResource.RecommendationsResource.MarkClaimedRequest : RecommenderBaseServiceRequest<GoogleCloudRecommenderV1beta1Recommendation>, IClientServiceRequest<GoogleCloudRecommenderV1beta1Recommendation>, IClientServiceRequest
Constructors
MarkClaimedRequest(IClientService, GoogleCloudRecommenderV1beta1MarkRecommendationClaimedRequest, string)
Constructs a new MarkClaimed request.
Declaration
public MarkClaimedRequest(IClientService service, GoogleCloudRecommenderV1beta1MarkRecommendationClaimedRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudRecommenderV1beta1MarkRecommendationClaimedRequest | 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()