Class TelemetryDestinationUpdateParams.DestinationHeaders

  • All Implemented Interfaces:

    
    public final class TelemetryDestinationUpdateParams.DestinationHeaders
    
                        

    Headers to set or remove. The API merges them into the destination's headers by name.

    Names compare case-insensitively. A string value sets or replaces that header. A null value removes it. Headers that you omit don't change. The field itself can't be null.

    A request that sets a header value must also include endpoint_url. The current URL is accepted.

    The resulting set must stay within the same limits as on create. When the request sets a value, each stored value that it doesn't set counts as 4,096 bytes toward the 16,384-byte limit, because you can't read its real length. So to change one header of a destination that has four or more other headers, send the values of the others again in the same request.