Method: projects.locations.workspaces.optimizers.get

Gets an optimizer.

HTTP request

GET https://cloudoptimization.googleapis.com/v1/{name}

Path parameters

Parameters
name

string

Required. The name of the optimizer to retrieve. Format: "projects/{project}/locations/{location}/workspaces/{workspace}/optimizers/{optimizer}"

Request body

The request body must be empty.

Response body

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

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.