Class OrganizationsResource.LocationsResource.InsightTypesResource.InsightsResource.MarkAcceptedRequest
Marks the Insight State as Accepted. Users can use this method to indicate to the Recommender API that they have applied some action based on the insight. This stops the insight content from being updated. MarkInsightAccepted can be applied to insights in ACTIVE state. Requires the recommender.*.update IAM permission for the specified insight.
Inheritance
OrganizationsResource.LocationsResource.InsightTypesResource.InsightsResource.MarkAcceptedRequest
Inherited Members
Namespace: Google.Apis.Recommender.v1
Assembly: Google.Apis.Recommender.v1.dll
Syntax
public class OrganizationsResource.LocationsResource.InsightTypesResource.InsightsResource.MarkAcceptedRequest : RecommenderBaseServiceRequest<GoogleCloudRecommenderV1Insight>, IClientServiceRequest<GoogleCloudRecommenderV1Insight>, IClientServiceRequest
Constructors
MarkAcceptedRequest(IClientService, GoogleCloudRecommenderV1MarkInsightAcceptedRequest, string)
Constructs a new MarkAccepted request.
Declaration
public MarkAcceptedRequest(IClientService service, GoogleCloudRecommenderV1MarkInsightAcceptedRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudRecommenderV1MarkInsightAcceptedRequest | 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 insight.
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 MarkAccepted parameter list.
Declaration
protected override void InitParameters()