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
| Name | Required | Description |
|---|---|---|
NAME | yes | the cacheRule |
Options
| Option | Takes | Required | Description |
|---|---|---|---|
--location | value | yes | location |
--origin-cache-control | value | no | originCacheControl |
--path-pattern | value | no | pathPattern |
--priority | value | no | priority |
--project | value | yes | project |
--query-allow | value | no | queryAllow: comma-separated, or @file with one item a line |
--query-string | value | no | queryString |
--ttl-seconds | value | no | ttlSeconds |
The global options apply too.