Class OrganizationsResource.LocationsResource.RecommendersResource.RecommendationsResource.MarkDismissedRequest
Mark the Recommendation State as Dismissed. Users can use this method to indicate to the Recommender API that an ACTIVE recommendation has to be marked back as DISMISSED. MarkRecommendationDismissed can be applied to recommendations in ACTIVE state. Requires the recommender.*.update IAM permission for the specified recommender.
Inheritance
OrganizationsResource.LocationsResource.RecommendersResource.RecommendationsResource.MarkDismissedRequest
Inherited Members
Namespace: Google.Apis.Recommender.v1beta1
Assembly: Google.Apis.Recommender.v1beta1.dll
Syntax
public class OrganizationsResource.LocationsResource.RecommendersResource.RecommendationsResource.MarkDismissedRequest : RecommenderBaseServiceRequest<GoogleCloudRecommenderV1beta1Recommendation>, IClientServiceRequest<GoogleCloudRecommenderV1beta1Recommendation>, IClientServiceRequest
Constructors
MarkDismissedRequest(IClientService, GoogleCloudRecommenderV1beta1MarkRecommendationDismissedRequest, string)
Constructs a new MarkDismissed request.
Declaration
public MarkDismissedRequest(IClientService service, GoogleCloudRecommenderV1beta1MarkRecommendationDismissedRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudRecommenderV1beta1MarkRecommendationDismissedRequest | 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 MarkDismissed parameter list.
Declaration
protected override void InitParameters()