Method: projects.locations.agents.environments.patch

Updates the specified Environment.

HTTP request

PATCH https://dialogflow.googleapis.com/v3/{environment.name=projects/*/locations/*/agents/*/environments/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
environment.name

string

The name of the environment. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/environments/<Environment ID>.

Query parameters

Parameters
updateMask

string (FieldMask format)

Required. The mask to control which fields get updated.

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 Environment.

Response body

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

Authorization Scopes

Requires one of the following OAuth scopes:

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

For more information, see the Authentication Overview.