Class: Google::Cloud::Compute::V1::HttpHeaderOption

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/compute/v1/compute.rb

Overview

Specification determining how headers are added to requests or responses.

Instance Attribute Summary collapse

Instance Attribute Details

#header_name::String

Returns The name of the header.

Returns:

  • (::String)

    The name of the header.



12535
12536
12537
12538
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 12535

class HttpHeaderOption
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#header_value::String

Returns The value of the header to add.

Returns:

  • (::String)

    The value of the header to add.



12535
12536
12537
12538
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 12535

class HttpHeaderOption
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#replace::Boolean

Returns 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 true, unless a variable is present in headerValue, in which case 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 true, unless a variable is present in headerValue, in which case the default value is false. .



12535
12536
12537
12538
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 12535

class HttpHeaderOption
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end