Method: organizations.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=organizations/*/locations/*/recommenders/*/recommendations/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. Name of the recommendation.

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 IAM permissions on the name resource, depending on the resource type:

  • recommender.usageCommitmentRecommendations.get
  • recommender.computeAddressIdleResourceRecommendations.get
  • recommender.computeDiskIdleResourceRecommendations.get
  • recommender.computeImageIdleResourceRecommendations.get
  • recommender.computeInstanceGroupManagerMachineTypeRecommendations.get
  • recommender.computeInstanceIdleResourceRecommendations.get
  • recommender.computeInstanceMachineTypeRecommendations.get
  • recommender.iamPolicyRecommendations.get
  • recommender.resourcemanagerProjectUtilizationRecommendations.get

For more information, see the IAM documentation.