# App Engine Admin V1 API - Class Google::Cloud::AppEngine::V1::UrlDispatchRule (v1.8.0)

1.8.0 (latest) 1.7.0 1.6.0 1.5.1 1.4.0 1.3.0 1.2.1 1.1.0 1.0.1 0.10.0 0.9.2 0.8.0 0.7.0 0.6.1 0.5.0 0.4.0 0.3.6 Reference documentation and code samples for the App Engine Admin V1 API class Google::Cloud::AppEngine::V1::UrlDispatchRule.

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

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #domain

    def domain() -> ::String

**Returns**

- (::String) --- Domain name to match against. The wildcard "`*`" is supported if specified before a period: "`*.`".


  Defaults to matching all domains: "`*`".

### #domain=

    def domain=(value) -> ::String

**Parameter**

- **value** (::String) --- 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: "`*`".

### #path

    def path() -> ::String

**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.

### #path=

    def path=(value) -> ::String

**Parameter**

- **value** (::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.
**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.

### #service

    def service() -> ::String

**Returns**

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

### #service=

    def service=(value) -> ::String

**Parameter**

- **value** (::String) --- 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`.