App Engine Admin V1 API - Class Google::Cloud::AppEngine::V1::UrlDispatchRule (v0.5.0)

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.