docs/HeaderApi.md in fastly-6.0.2 vs docs/HeaderApi.md in fastly-7.0.0
- old
+ new
@@ -33,19 +33,19 @@
service_id: 'service_id_example', # String | Alphanumeric string identifying the service.
version_id: 56, # Integer | Integer identifying a service version.
action: 'set', # String | Accepts a string value.
cache_condition: 'cache_condition_example', # String | Name of the cache condition controlling when this configuration applies.
dst: 'dst_example', # String | Header to set.
- ignore_if_set: 56, # Integer | Don't add the header if it is added already. Only applies to 'set' action.
name: 'name_example', # String | A handle to refer to this Header object.
- priority: 56, # Integer | Priority determines execution order. Lower numbers execute first.
regex: 'regex_example', # String | Regular expression to use. Only applies to `regex` and `regex_repeat` actions.
request_condition: 'request_condition_example', # String | Condition which, if met, will select this configuration during a request. Optional.
response_condition: 'response_condition_example', # String | Optional name of a response condition to apply.
src: 'src_example', # String | Variable to be used as a source for the header content. Does not apply to `delete` action.
substitution: 'substitution_example', # String | Value to substitute in place of regular expression. Only applies to `regex` and `regex_repeat` actions.
type: 'request', # String | Accepts a string value.
+ ignore_if_set: 56, # Integer | Don't add the header if it is added already. Only applies to 'set' action.
+ priority: 56, # Integer | Priority determines execution order. Lower numbers execute first.
}
begin
# Create a Header object
result = api_instance.create_header_object(opts)
@@ -62,19 +62,19 @@
| **service_id** | **String** | Alphanumeric string identifying the service. | |
| **version_id** | **Integer** | Integer identifying a service version. | |
| **action** | **String** | Accepts a string value. | [optional] |
| **cache_condition** | **String** | Name of the cache condition controlling when this configuration applies. | [optional] |
| **dst** | **String** | Header to set. | [optional] |
-| **ignore_if_set** | **Integer** | Don't add the header if it is added already. Only applies to 'set' action. | [optional] |
| **name** | **String** | A handle to refer to this Header object. | [optional] |
-| **priority** | **Integer** | Priority determines execution order. Lower numbers execute first. | [optional][default to 100] |
| **regex** | **String** | Regular expression to use. Only applies to `regex` and `regex_repeat` actions. | [optional] |
| **request_condition** | **String** | Condition which, if met, will select this configuration during a request. Optional. | [optional] |
| **response_condition** | **String** | Optional name of a response condition to apply. | [optional] |
| **src** | **String** | Variable to be used as a source for the header content. Does not apply to `delete` action. | [optional] |
| **substitution** | **String** | Value to substitute in place of regular expression. Only applies to `regex` and `regex_repeat` actions. | [optional] |
| **type** | **String** | Accepts a string value. | [optional] |
+| **ignore_if_set** | **Integer** | Don't add the header if it is added already. Only applies to 'set' action. | [optional] |
+| **priority** | **Integer** | Priority determines execution order. Lower numbers execute first. | [optional][default to 100] |
### Return type
[**HeaderResponse**](HeaderResponse.md)
@@ -218,19 +218,19 @@
version_id: 56, # Integer | Integer identifying a service version.
header_name: 'header_name_example', # String | A handle to refer to this Header object.
action: 'set', # String | Accepts a string value.
cache_condition: 'cache_condition_example', # String | Name of the cache condition controlling when this configuration applies.
dst: 'dst_example', # String | Header to set.
- ignore_if_set: 56, # Integer | Don't add the header if it is added already. Only applies to 'set' action.
name: 'name_example', # String | A handle to refer to this Header object.
- priority: 56, # Integer | Priority determines execution order. Lower numbers execute first.
regex: 'regex_example', # String | Regular expression to use. Only applies to `regex` and `regex_repeat` actions.
request_condition: 'request_condition_example', # String | Condition which, if met, will select this configuration during a request. Optional.
response_condition: 'response_condition_example', # String | Optional name of a response condition to apply.
src: 'src_example', # String | Variable to be used as a source for the header content. Does not apply to `delete` action.
substitution: 'substitution_example', # String | Value to substitute in place of regular expression. Only applies to `regex` and `regex_repeat` actions.
type: 'request', # String | Accepts a string value.
+ ignore_if_set: 56, # Integer | Don't add the header if it is added already. Only applies to 'set' action.
+ priority: 56, # Integer | Priority determines execution order. Lower numbers execute first.
}
begin
# Update a Header object
result = api_instance.update_header_object(opts)
@@ -248,18 +248,18 @@
| **version_id** | **Integer** | Integer identifying a service version. | |
| **header_name** | **String** | A handle to refer to this Header object. | |
| **action** | **String** | Accepts a string value. | [optional] |
| **cache_condition** | **String** | Name of the cache condition controlling when this configuration applies. | [optional] |
| **dst** | **String** | Header to set. | [optional] |
-| **ignore_if_set** | **Integer** | Don't add the header if it is added already. Only applies to 'set' action. | [optional] |
| **name** | **String** | A handle to refer to this Header object. | [optional] |
-| **priority** | **Integer** | Priority determines execution order. Lower numbers execute first. | [optional][default to 100] |
| **regex** | **String** | Regular expression to use. Only applies to `regex` and `regex_repeat` actions. | [optional] |
| **request_condition** | **String** | Condition which, if met, will select this configuration during a request. Optional. | [optional] |
| **response_condition** | **String** | Optional name of a response condition to apply. | [optional] |
| **src** | **String** | Variable to be used as a source for the header content. Does not apply to `delete` action. | [optional] |
| **substitution** | **String** | Value to substitute in place of regular expression. Only applies to `regex` and `regex_repeat` actions. | [optional] |
| **type** | **String** | Accepts a string value. | [optional] |
+| **ignore_if_set** | **Integer** | Don't add the header if it is added already. Only applies to 'set' action. | [optional] |
+| **priority** | **Integer** | Priority determines execution order. Lower numbers execute first. | [optional][default to 100] |
### Return type
[**HeaderResponse**](HeaderResponse.md)