Method: estimateCostScenario

Estimate list prices using a CostScenario without a defined billingAccount.

HTTP request

POST https://cloudbilling.googleapis.com/v1beta:estimateCostScenario

The URL uses gRPC Transcoding syntax.

Request body

The request body contains data with the following structure:

JSON representation
{
  "costScenario": {
    object (CostScenario)
  }
}
Fields
costScenario

object (CostScenario)

The scenario to estimate costs for.

Response body

Response for v1beta.estimateCostScenario

If successful, the response body contains data with the following structure:

JSON representation
{
  "costEstimationResult": {
    object (CostEstimationResult)
  }
}
Fields
costEstimationResult

object (CostEstimationResult)

The result of the cost estimation.

Authorization scopes

Requires one of the following OAuth scopes:

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

For more information, see the Authentication Overview.