Class HttpHeaderOption (1.19.1)

HttpHeaderOption(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Specification determining how headers are added to requests or responses.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
header_name str
The name of the header. This field is a member of oneof_ _header_name.
header_value str
The value of the header to add. This field is a member of oneof_ _header_value.
replace bool
If false, headerValue is appended to any values that already exist for the header. If true, headerValue is set for the header, discarding any values that were set for that header. The default value is false. This field is a member of oneof_ _replace.