HeaderTransformationPolicy¶
-
class
oci.apigateway.models.
HeaderTransformationPolicy
(**kwargs)¶ Bases:
object
A set of transformations to apply to HTTP headers that pass through the gateway.
Methods
__init__
(**kwargs)Initializes a new HeaderTransformationPolicy object with values from keyword arguments. Attributes
filter_headers
Gets the filter_headers of this HeaderTransformationPolicy. rename_headers
Gets the rename_headers of this HeaderTransformationPolicy. set_headers
Gets the set_headers of this HeaderTransformationPolicy. -
__init__
(**kwargs)¶ Initializes a new HeaderTransformationPolicy object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - set_headers (oci.apigateway.models.SetHeaderPolicy) – The value to assign to the set_headers property of this HeaderTransformationPolicy.
- rename_headers (oci.apigateway.models.RenameHeaderPolicy) – The value to assign to the rename_headers property of this HeaderTransformationPolicy.
- filter_headers (oci.apigateway.models.FilterHeaderPolicy) – The value to assign to the filter_headers property of this HeaderTransformationPolicy.
-
filter_headers
¶ Gets the filter_headers of this HeaderTransformationPolicy.
Returns: The filter_headers of this HeaderTransformationPolicy. Return type: oci.apigateway.models.FilterHeaderPolicy
-
rename_headers
¶ Gets the rename_headers of this HeaderTransformationPolicy.
Returns: The rename_headers of this HeaderTransformationPolicy. Return type: oci.apigateway.models.RenameHeaderPolicy
-
set_headers
¶ Gets the set_headers of this HeaderTransformationPolicy.
Returns: The set_headers of this HeaderTransformationPolicy. Return type: oci.apigateway.models.SetHeaderPolicy
-