class Google::Apis::AppengineV1beta5::UrlDispatchRule

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

Attributes

domain[RW]

The domain name to match on. Supports '*' (glob) wildcarding on the left-hand side of a '.'. If empty, all domains will be matched (the same as '*'). Corresponds to the JSON property `domain` @return [String]

path[RW]

The pathname within the host. This must start with a '/'. A single '*' (glob) 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]

The resource id of a Service in this application that should service 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 generated/google/apis/appengine_v1beta5/classes.rb, line 306
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/appengine_v1beta5/classes.rb, line 311
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