Send feedback
Method: projects.locations.agents.testCases.patch
Stay organized with collections
Save and categorize content based on your preferences.
Updates the specified test case.
HTTP request
PATCH https://{endpoint}/v3/{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/<Project ID>/locations/<LocationID>/agents/
<AgentID>/testCases/<TestCase ID>
.
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 .
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-05-12 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?