Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::HttpHeaderOption (v2.12.0)

Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::HttpHeaderOption.

Specification determining how headers are added to requests or responses.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#header_name

def header_name() -> ::String
Returns
  • (::String) — The name of the header.

#header_name=

def header_name=(value) -> ::String
Parameter
  • value (::String) — The name of the header.
Returns
  • (::String) — The name of the header.

#header_value

def header_value() -> ::String
Returns
  • (::String) — The value of the header to add.

#header_value=

def header_value=(value) -> ::String
Parameter
  • value (::String) — The value of the header to add.
Returns
  • (::String) — The value of the header to add.

#replace

def replace() -> ::Boolean
Returns
  • (::Boolean) — 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.

#replace=

def replace=(value) -> ::Boolean
Parameter
  • value (::Boolean) — 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.
Returns
  • (::Boolean) — 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.