class Google::Apis::AppengineV1beta4::UrlDispatchRule

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

Attributes

domain[RW]

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` @return [String]

module[RW]

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` @return [String]

path[RW]

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` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/appengine_v1beta4/classes.rb, line 1937
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/appengine_v1beta4/classes.rb, line 1942
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