v52

latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-037389158.9 KB
ShortcutService

UpdateShortcut updates a shortcut for a user.

patch/api/v1/users/{user}/shortcuts/{shortcut}

Path parameters

userstring required

The user id.

shortcutstring required

The shortcut id.

Query parameters

updateMaskstring field-mask

Optional. The list of fields to update.

Request body

namestring

The resource name of the shortcut. Format: users/{user}/shortcuts/{shortcut}

titlestring required

The title of the shortcut.

filterstring

The CEL filter expression for the shortcut, using the same grammar as the ListMemos filter argument. Reuse it by passing this value to ListMemos.

Response

OK

namestring

The resource name of the shortcut. Format: users/{user}/shortcuts/{shortcut}

titlestring required

The title of the shortcut.

filterstring

The CEL filter expression for the shortcut, using the same grammar as the ListMemos filter argument. Reuse it by passing this value to ListMemos.