egulu CLI reference / egulu cache-rules

egulu cache-rules update

PATCH /v1/projects/{project}/locations/{location}/cacheRules/{cacheRule}

egulu cache-rules update <NAME> [options]

API operation

CacheRules_update: PATCH /v1/projects/{project}/locations/{location}/cacheRules/{cacheRule} (media module)

Arguments

NameRequiredDescription
NAMEyesthe cacheRule

Options

OptionTakesRequiredDescription
--locationvalueyeslocation
--origin-cache-controlvaluenooriginCacheControl
--path-patternvaluenopathPattern
--priorityvaluenopriority
--projectvalueyesproject
--query-allowvaluenoqueryAllow: comma-separated, or @file with one item a line
--query-stringvaluenoqueryString
--ttl-secondsvaluenottlSeconds

The global options apply too.