projects

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.

post/v1/{+name}:markAccepted

Request

  • Base URL: https://recommender.googleapis.com
  • URL: https://recommender.googleapis.com/v1/{+name}:markAccepted
  • Auth: OAuth 2 (implicit, authorization URL https://accounts.google.com/o/oauth2/auth, scopes: https://www.googleapis.com/auth/cloud-platform) and OAuth 2 (authorization code, authorization URL https://accounts.google.com/o/oauth2/auth, token URL https://accounts.google.com/o/oauth2/token, scopes: https://www.googleapis.com/auth/cloud-platform)

Path parameters

namestring required

Required. Name of the insight.

Request body

etagstring

Required. Fingerprint of the Insight. Provides optimistic locking.

stateMetadataobject

Optional. State properties user wish to include with this state. Full replace of the current state_metadata.

Response

Successful response

Changes

    • breaking

      removed the request body

    • breaking

      removed the media type */* for the response with the status

    • info

      api operation id recommender.billingAccounts.locations.insightTypes.insights.markAccepted removed and replaced with recommender.projects.locations.insightTypes.insights.markAccepted

    • info

      api tag projects added

    • info

      api tag billingAccounts removed