Method: projects.updateConfig

  • Updates the configuration settings of a specified Earth Engine project using an HTTP PATCH request.

  • Requires providing the project config name and a field mask indicating the specific fields to be updated within the request.

  • The request body must contain the updated ProjectConfig object, and a successful response will return the updated ProjectConfig.

  • Authorization is required with specific OAuth scopes like earthengine or cloud-platform for making this request.

Updates the config state of a project.

HTTP request

PATCH https://earthengine.googleapis.com/v1alpha/{projectConfig.name=projects/*/config}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
projectConfig.name

string

Required. The project config name, of the format "projects/*/config".

Query parameters

Parameters
updateMask

string (FieldMask format)

Required. 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 ProjectConfig.

Response body

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

Authorization scopes

Requires one of the following OAuth scopes:

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

For more information, see the OAuth 2.0 Overview.