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
defdomain()->::String
Returns
(::String) — Domain name to match against. The wildcard "*" is supported if
specified before a period: "*.".
Defaults to matching all domains: "*".
#domain=
defdomain=(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
defpath()->::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=
defpath=(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
defservice()->::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=
defservice=(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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# App Engine Admin V1 API - Class Google::Cloud::AppEngine::V1::UrlDispatchRule (v1.3.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.3.0 (latest)](/ruby/docs/reference/google-cloud-app_engine-v1/latest/Google-Cloud-AppEngine-V1-UrlDispatchRule)\n- [1.2.1](/ruby/docs/reference/google-cloud-app_engine-v1/1.2.1/Google-Cloud-AppEngine-V1-UrlDispatchRule)\n- [1.1.0](/ruby/docs/reference/google-cloud-app_engine-v1/1.1.0/Google-Cloud-AppEngine-V1-UrlDispatchRule)\n- [1.0.1](/ruby/docs/reference/google-cloud-app_engine-v1/1.0.1/Google-Cloud-AppEngine-V1-UrlDispatchRule)\n- [0.10.0](/ruby/docs/reference/google-cloud-app_engine-v1/0.10.0/Google-Cloud-AppEngine-V1-UrlDispatchRule)\n- [0.9.2](/ruby/docs/reference/google-cloud-app_engine-v1/0.9.2/Google-Cloud-AppEngine-V1-UrlDispatchRule)\n- [0.8.0](/ruby/docs/reference/google-cloud-app_engine-v1/0.8.0/Google-Cloud-AppEngine-V1-UrlDispatchRule)\n- [0.7.0](/ruby/docs/reference/google-cloud-app_engine-v1/0.7.0/Google-Cloud-AppEngine-V1-UrlDispatchRule)\n- [0.6.1](/ruby/docs/reference/google-cloud-app_engine-v1/0.6.1/Google-Cloud-AppEngine-V1-UrlDispatchRule)\n- [0.5.0](/ruby/docs/reference/google-cloud-app_engine-v1/0.5.0/Google-Cloud-AppEngine-V1-UrlDispatchRule)\n- [0.4.0](/ruby/docs/reference/google-cloud-app_engine-v1/0.4.0/Google-Cloud-AppEngine-V1-UrlDispatchRule)\n- [0.3.6](/ruby/docs/reference/google-cloud-app_engine-v1/0.3.6/Google-Cloud-AppEngine-V1-UrlDispatchRule) \nReference documentation and code samples for the App Engine Admin V1 API class Google::Cloud::AppEngine::V1::UrlDispatchRule.\n\nRules to match an HTTP request and dispatch that request to a service. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #domain\n\n def domain() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Domain name to match against. The wildcard \"`*`\" is supported if specified before a period: \"`*.`\".\n\n\n Defaults to matching all domains: \"`*`\".\n\n### #domain=\n\n def domain=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Domain name to match against. The wildcard \"`*`\" is supported if specified before a period: \"`*.`\".\n\n\nDefaults to matching all domains: \"`*`\". \n**Returns**\n\n- (::String) --- Domain name to match against. The wildcard \"`*`\" is supported if specified before a period: \"`*.`\".\n\n\n Defaults to matching all domains: \"`*`\".\n\n### #path\n\n def path() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Pathname within the host. Must start with a \"`/`\". A single \"`*`\" can be included at the end of the path.\n\n\n The sum of the lengths of the domain and path may not\n exceed 100 characters.\n\n### #path=\n\n def path=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Pathname within the host. Must start with a \"`/`\". A single \"`*`\" can be included at the end of the path.\n\n\n The sum of the lengths of the domain and path may not\nexceed 100 characters. \n**Returns**\n\n- (::String) --- Pathname within the host. Must start with a \"`/`\". A single \"`*`\" can be included at the end of the path.\n\n\n The sum of the lengths of the domain and path may not\n exceed 100 characters.\n\n### #service\n\n def service() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Resource ID of a service in this application that should serve the matched request. The service must already exist. Example: `default`.\n\n### #service=\n\n def service=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Resource ID of a service in this application that should serve the matched request. The service must already exist. Example: `default`. \n**Returns**\n\n- (::String) --- Resource ID of a service in this application that should serve the matched request. The service must already exist. Example: `default`."]]