class Google::Apis::AppengineV1beta5::UrlDispatchRule
Rules to match an HTTP request and dispatch that request to a service.
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]
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]
service[RW]
Resource id of a service in this application that should serve the matched request. The service must already exist. Example: default. Corresponds to the JSON property `service` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/appengine_v1beta5/classes.rb, line 1896 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_v1beta5/classes.rb, line 1901 def update!(**args) @domain = args[:domain] if args.key?(:domain) @path = args[:path] if args.key?(:path) @service = args[:service] if args.key?(:service) end