Class: Google::Cloud::Compute::V1::UrlRewrite

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

Overview

The spec for modifying the path before sending the request to the matched backend service.

Instance Attribute Summary collapse

Instance Attribute Details

#host_rewrite::String

Returns Before forwarding the request to the selected service, the request's host header is replaced with contents of hostRewrite. The value must be from 1 to 255 characters.

Returns:

  • (::String)

    Before forwarding the request to the selected service, the request's host header is replaced with contents of hostRewrite. The value must be from 1 to 255 characters.



27216
27217
27218
27219
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 27216

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

#path_prefix_rewrite::String

Returns Before forwarding the request to the selected backend service, the matching portion of the request's path is replaced by pathPrefixRewrite. The value must be from 1 to 1024 characters.

Returns:

  • (::String)

    Before forwarding the request to the selected backend service, the matching portion of the request's path is replaced by pathPrefixRewrite. The value must be from 1 to 1024 characters.



27216
27217
27218
27219
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 27216

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