Class: Google::Cloud::AppEngine::V1::UrlDispatchRule

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

Overview

Rules to match an HTTP request and dispatch that request to a service.

Instance Attribute Summary collapse

Instance Attribute Details

#domain::String

Returns Domain name to match against. The wildcard "*" is supported if specified before a period: "*.".

Defaults to matching all domains: "*".

Returns:

  • (::String)

    Domain name to match against. The wildcard "*" is supported if specified before a period: "*.".

    Defaults to matching all domains: "*".



190
191
192
193
# File 'proto_docs/google/appengine/v1/application.rb', line 190

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

#path::String

Returns Pathname within the host. Must start with a "/". A single "*" can be included at the end of the path.

The sum of the lengths of the domain and path may not exceed 100 characters.

Returns:

  • (::String)

    Pathname within the host. Must start with a "/". A single "*" can be included at the end of the path.

    The sum of the lengths of the domain and path may not exceed 100 characters.



190
191
192
193
# File 'proto_docs/google/appengine/v1/application.rb', line 190

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

#service::String

Returns Resource ID of a service in this application that should serve the matched request. The service must already exist. Example: default.

Returns:

  • (::String)

    Resource ID of a service in this application that should serve the matched request. The service must already exist. Example: default.



190
191
192
193
# File 'proto_docs/google/appengine/v1/application.rb', line 190

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