- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- FavoriteRequest
Full name: projects.locations.instances.cases.caseWallRecords.favorite
Sets or unsets (toggles) the favorite status of a wall record. Use this method to highlight or unhighlight key pieces of evidence or critical observations on the case wall.
HTTP request
PATCH https://chronicle.africa-south1.rep.googleapis.com/v1beta/{favoriteRequest.name}:favorite Path parameters
| Parameters | |
|---|---|
favoriteRequest.name |
Required. The resource name of the CaseWallRecords to retrieve. Format: projects/{project}/locations/{location}/instances/{instance}/cases/{case}/caseWallRecords/{caseActivity} |
Query parameters
| Parameters | |
|---|---|
updateMask |
Optional. The list of fields to update. If not included, all fields with default/non-default values will be overwritten. This is a comma-separated list of fully qualified names of fields. Example: |
Request body
The request body contains an instance of FavoriteRequest.
Response body
If successful, the response body contains an instance of CaseWallRecord.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platformhttps://www.googleapis.com/auth/chroniclehttps://www.googleapis.com/auth/chronicle.readonly
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the name resource:
chronicle.caseWallRecords.update
For more information, see the IAM documentation.
FavoriteRequest
Request message for caseWallRecords.favorite request.
| JSON representation |
|---|
{ "name": string, "recordId": string, "activityType": enum ( |
| Fields | |
|---|---|
name |
Required. The resource name of the CaseWallRecords to retrieve. Format: projects/{project}/locations/{location}/instances/{instance}/cases/{case}/caseWallRecords/{caseActivity} |
recordId |
Required. The ID of the wall record to set as a favorite. |
activityType |
Required. The type of the activity. |
activityKind |
Optional. The kind of the activity. |
favorite |
Required. Whether the activity is was marked as favorite. |