Reference

`gog contacts update`

gog contacts update

Generated from gog schema --json. Do not edit this page by hand; run make docs-commands.

Update a contact

#Usage

gog contacts (contact) update (edit,set) <resourceName> [flags]

#Parent

#Flags

FlagTypeDefaultHelp
--access-tokenstringUse provided access token directly (bypasses stored refresh tokens; token expires in ~1h)
-a
--account
--acct
stringAccount email for API commands (gmail/calendar/chat/classroom/drive/docs/slides/contacts/tasks/people/sheets/forms/appscript/ads)
--address[]stringPostal address (can be repeated; empty clears all)
--birthdaystringBirthday in YYYY-MM-DD (empty clears)
--clientstringOAuth client name (selects stored credentials + token bucket)
--colorstringautoColor output: auto|always|never
--custom[]stringCustom field as key=value (can be repeated; empty clears all)
--disable-commandsstringComma-separated list of disabled commands; dot paths allowed
-n
--dry-run
--dryrun
--noop
--preview
boolDo not make changes; print intended actions and exit successfully
--emailstringEmail address (empty clears)
--enable-commandsstringComma-separated list of enabled commands; dot paths allowed (restricts CLI)
--familystringFamily name
-y
--force
--assume-yes
--yes
boolSkip confirmations for destructive commands
--from-filestringUpdate from contact JSON file (use - for stdin)
--genderstringGender value (empty clears)
--givenstringGiven name
--gmail-no-sendboolfalseBlock Gmail send operations (agent safety)
-h
--help
kong.helpFlagShow context-sensitive help.
--ignore-etagboolAllow updating even if the JSON etag is stale (may overwrite concurrent changes)
-j
--json
--machine
boolfalseOutput JSON to stdout (best for scripting)
--no-input
--non-interactive
--noninteractive
boolNever prompt; fail instead (useful for CI)
--notestringNote/biography (empty clears)
--notesstringNotes (stored as People API biography; empty clears)
--orgstringOrganization/company name (empty clears)
--phonestringPhone number (empty clears)
-p
--plain
--tsv
boolfalseOutput stable, parseable text to stdout (TSV; no colors)
--relation[]stringRelation as type=person (can be repeated; empty clears all)
--results-onlyboolIn JSON mode, emit only the primary result (drops envelope fields like nextPageToken)
--select
--pick
--project
stringIn JSON mode, select comma-separated fields (best-effort; supports dot paths). Desire path: use --fields for most commands.
--titlestringJob title (empty clears)
--url[]stringURL (can be repeated; empty clears all)
-v
--verbose
boolEnable verbose logging
--versionkong.VersionFlagPrint version and exit

#See Also