Method: projects.locations.agents.testCases.patch

Updates the specified test case.

HTTP request

PATCH https://{endpoint}/v3/{*/locations/*/agents/*/testCases/*}

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

The URLs use gRPC Transcoding syntax.

Path parameters



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

Query parameters


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:


For more information, see the Authentication Overview.