Skip to content

Latest commit

 

History

History
48 lines (38 loc) · 3.1 KB

File metadata and controls

48 lines (38 loc) · 3.1 KB

gog sheets conditional-format add

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

Add a conditional formatting rule

Usage

gog sheets (sheet) conditional-format (cf,conditional-formats) add (create,new) --type=STRING --format-json=STRING <spreadsheetId> <range> [flags]

Parent

Flags

Flag Type Default Help
--access-token string Use provided access token directly (bypasses stored refresh tokens; token expires in ~1h)
-a
--account
--acct
string Account email for API commands (gmail/calendar/chat/classroom/drive/drivelabels/docs/slides/contacts/tasks/people/sheets/forms/sites/appscript/analytics/searchconsole/ads/photos)
--client string OAuth client name (selects stored credentials + token bucket)
--color string auto Color output: auto|always|never
--disable-commands string Comma-separated list of disabled commands; dot paths allowed
-n
--dry-run
--dryrun
--noop
--preview
bool Do not make changes; print intended actions and exit successfully
--enable-commands string Comma-separated list of enabled commands; dot paths allowed (restricts CLI)
--expr string Expression value or custom formula (omit for blank/not-blank)
-y
--force
--assume-yes
--yes
bool Skip confirmations for destructive commands
--format-fields string Format field mask for force-sending zero/false fields (e.g. backgroundColor,textFormat.bold)
--format-json string CellFormat JSON (inline or @file)
--gmail-no-send bool false Block Gmail send operations (agent safety)
-h
--help
kong.helpFlag Show context-sensitive help.
--index int64 0 Insert rule at this priority index
-j
--json
--machine
bool false Output JSON to stdout (best for scripting)
--no-input
--non-interactive
--noninteractive
bool Never prompt; fail instead (useful for CI)
-p
--plain
--tsv
bool false Output stable, parseable text to stdout (TSV; no colors)
--results-only bool In JSON mode, emit only the primary result (drops envelope fields like nextPageToken)
--select
--pick
--project
string In JSON mode, select comma-separated fields (best-effort; supports dot paths). Desire path: use --fields for most commands.
--type string Rule type: text-eq|text-contains|text-starts-with|text-ends-with|number-eq|number-gt|number-gte|number-lt|number-lte|blank|not-blank|custom-formula
-v
--verbose
bool Enable verbose logging
--version kong.VersionFlag Print version and exit
--wrap-untrusted bool false In JSON/raw output, wrap fetched text fields in external untrusted-content markers

See Also