Method: projects.locations.recommenders.recommendations.get

Gets the requested recommendation. Requires the recommender.*.get IAM permission for the specified recommender.

HTTP request

GET https://recommender.googleapis.com/v1beta1/{name=projects/*/locations/*/recommenders/*/recommendations/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Name of the recommendation.

Authorization requires one or more of the following Boogle IAM permissions on the specified resource name:

  • recommender.computeInstanceMachineTypeRecommendations.get
  • recommender.computeInstanceGroupManagerMachineTypeRecommendations.get
  • recommender.iamPolicyRecommendations.get

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of Recommendation.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires one of the following Cloud IAM permissions on the name resource, depending on the resource type:

  • recommender.iamPolicyRecommendations.get
  • recommender.computeInstanceMachineTypeRecommendations.get
  • recommender.computeInstanceGroupManagerMachineTypeRecommendations.get
  • recommender.googleapis.com/IamPolicyRecommendation.get
  • recommender.googleapis.com/ComputeInstanceMachineTypeRecommendation.get
  • recommender.googleapis.com/ComputeInstanceGroupManagerMachineTypeRecommendation.get

For more information, see the Cloud IAM Documentation.

Was this page helpful? Let us know how we did:

Send feedback about...

Recommender Documentation