gum logofield manual
ServicesChatGoogle APIs for agents and terminals

Chat

Chat has 8 operations in gum's generated catalog. Start with search when you know the task, use describe to inspect request fields and scopes, then dispatch through the command that matches the operation risk class.

Count Value
Family Workspace communication
Operations 8
Risk classes 1 destructive, 5 read, 2 write
Auth strategies 8 byo_oauth

Start here

bash
gum search "chat"
gum describe chat.spaces.get
gum read chat.spaces.get --args '{"name":"<name>"}' --output json

For write-class operations, gum requires the write command and an explicit write gate:

bash
gum describe chat.spaces.messages.create
gum write chat.spaces.messages.create --allow-write --args '{"parent":"<parent>"}'

For destructive operations, run the call once for a confirmation envelope, review the target, then retry with the returned token:

bash
gum destructive chat.spaces.messages.delete --args '{"name":"<name>"}'
gum destructive chat.spaces.messages.delete --args '{"name":"<name>"}' --confirmed --token '<confirmation_token>'

Operations

Operation Risk Auth Summary
chat.spaces.get read byo_oauth Fetch a Chat space by resource name (spaces/AAA).
chat.spaces.list read byo_oauth List the Chat spaces the caller is a member of.
chat.spaces.members.list read byo_oauth List the members of a Chat space (parent=spaces/AAA).
chat.spaces.messages.create write byo_oauth Post a message to a Chat space (parent=spaces/AAA; args.body.text).
chat.spaces.messages.delete destructive byo_oauth Delete a Chat message by resource name. Destructive — requires confirmation per §6.1.
chat.spaces.messages.get read byo_oauth Fetch a single Chat message by resource name (spaces/AAA/messages/BBB).
chat.spaces.messages.list read byo_oauth List messages in a Chat space (parent=spaces/AAA).
chat.spaces.messages.update write byo_oauth Update a Chat message's text/cards by resource name (requires updateMask).

Next