[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Network Services V1 Client - Class HeaderModifier (0.6.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.6.1 (latest)](/php/docs/reference/cloud-networkservices/latest/V1.HttpRoute.HeaderModifier)\n- [0.6.0](/php/docs/reference/cloud-networkservices/0.6.0/V1.HttpRoute.HeaderModifier)\n- [0.5.0](/php/docs/reference/cloud-networkservices/0.5.0/V1.HttpRoute.HeaderModifier)\n- [0.4.0](/php/docs/reference/cloud-networkservices/0.4.0/V1.HttpRoute.HeaderModifier)\n- [0.3.0](/php/docs/reference/cloud-networkservices/0.3.0/V1.HttpRoute.HeaderModifier)\n- [0.2.3](/php/docs/reference/cloud-networkservices/0.2.3/V1.HttpRoute.HeaderModifier)\n- [0.1.1](/php/docs/reference/cloud-networkservices/0.1.1/V1.HttpRoute.HeaderModifier) \nReference documentation and code samples for the Google Cloud Network Services V1 Client class HeaderModifier.\n\nThe specification for modifying HTTP header in HTTP request and HTTP\nresponse.\n\nGenerated from protobuf message `google.cloud.networkservices.v1.HttpRoute.HeaderModifier`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ NetworkServices \\\\ V1 \\\\ HttpRoute\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getSet\n\nCompletely overwrite/replace the headers with given map where key is the\nname of the header, value is the value of the header.\n\n### setSet\n\nCompletely overwrite/replace the headers with given map where key is the\nname of the header, value is the value of the header.\n\n### getAdd\n\nAdd the headers with given map where key is the name of the header, value\nis the value of the header.\n\n### setAdd\n\nAdd the headers with given map where key is the name of the header, value\nis the value of the header.\n\n### getRemove\n\nRemove headers (matching by header names) specified in the list.\n\n### setRemove\n\nRemove headers (matching by header names) specified in the list."]]