Method: projects.locations.agents.testCases.patch

Updates the specified test case.

HTTP request

PATCH https://{endpoint}/v3beta1/{testCase.name=projects/*/locations/*/agents/*/testCases/*}

Where {endpoint} is one of the supported service endpoints.

The URLs use gRPC Transcoding syntax.

Path parameters

Parameters
testCase.name

string

The unique identifier of the test case. TestCases.CreateTestCase will populate the name automatically. Otherwise use format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/testCases/<TestCaseID>.

Query parameters

Parameters
updateMask

string (FieldMask format)

Required. The mask to specify which fields should be updated. The creationTime and lastTestResult cannot be 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 TestCase.

Response body

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

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.