Class: Google::Apis::AppengineV1beta4::UrlDispatchRule
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::AppengineV1beta4::UrlDispatchRule
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/appengine_v1beta4/classes.rb,
 generated/google/apis/appengine_v1beta4/representations.rb,
 generated/google/apis/appengine_v1beta4/representations.rb
Overview
Rules to match an HTTP request and dispatch that request to a module.
Instance Attribute Summary collapse
- 
  
    
      #domain  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Domain name to match against. 
- 
  
    
      #module  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Resource ID of a module in this application that should serve the matched request. 
- 
  
    
      #path  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Pathname within the host. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ UrlDispatchRule 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of UrlDispatchRule. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ UrlDispatchRule
Returns a new instance of UrlDispatchRule
| 1928 1929 1930 | # File 'generated/google/apis/appengine_v1beta4/classes.rb', line 1928 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#domain ⇒ String
Domain name to match against. The wildcard "" is supported if specified
before a period: ".".Defaults to matching all domains: "*".
Corresponds to the JSON property domain
| 1913 1914 1915 | # File 'generated/google/apis/appengine_v1beta4/classes.rb', line 1913 def domain @domain end | 
#module ⇒ String
Resource ID of a module in this application that should serve the matched
request. The module must already exist. Example: default.
Corresponds to the JSON property module
| 1919 1920 1921 | # File 'generated/google/apis/appengine_v1beta4/classes.rb', line 1919 def module @module end | 
#path ⇒ 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.
Corresponds to the JSON property path
| 1926 1927 1928 | # File 'generated/google/apis/appengine_v1beta4/classes.rb', line 1926 def path @path end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1933 1934 1935 1936 1937 | # File 'generated/google/apis/appengine_v1beta4/classes.rb', line 1933 def update!(**args) @domain = args[:domain] if args.key?(:domain) @module = args[:module] if args.key?(:module) @path = args[:path] if args.key?(:path) end |