- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- FavoriteRequest
- Try it!
Full name: projects.locations.instances.cases.caseWallRecords.favorite
Set a wall item as a favorite one.
HTTP request
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 the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
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. |