Method: projects.locations.workspaces.optimizers.patch

Updates an optimizer.

HTTP request

PATCH https://cloudoptimization.googleapis.com/v1/{optimizer.name}

Path parameters

Parameters
optimizer.name

string

The resource name of the optimizer. Format: projects/{project}/locations/{location}/workspaces/{workspace}/Optimizers/{optimizer}

Query parameters

Parameters
updateMask

string (FieldMask format)

The list of fields to update.

This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".

Request body

The request body contains an instance of Optimizer.

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.