A list of two-element tuples.
The first element is a urlmatcher predicate function that takes
a url and determines a match. The second is a function that
can retrieve result for that url. If no match is found, a url is
handled by the default _RetrieveURL function.
When more than one match is possible, the first match is used.
[[["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-06-16 UTC."],[[["\u003cp\u003e\u003ccode\u003eURLFetchServiceStub\u003c/code\u003e is a stub implementation of the urlfetch API, designed for use with \u003ccode\u003eapiproxy_stub_map\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe stub accepts a \u003ccode\u003eservice_name\u003c/code\u003e and \u003ccode\u003eurlmatchers_to_fetch_functions\u003c/code\u003e to customize URL matching and retrieval behavior.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eMakeSyncCall\u003c/code\u003e is the main entry point for RPC operations, requiring \u003ccode\u003eservice\u003c/code\u003e, \u003ccode\u003ecall\u003c/code\u003e, \u003ccode\u003erequest\u003c/code\u003e, \u003ccode\u003eresponse\u003c/code\u003e, and an optional \u003ccode\u003erequest_id\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSetError\u003c/code\u003e allows simulating error conditions for specific methods or all calls, with a configurable \u003ccode\u003eerror_rate\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eURLFetchServiceStub\u003c/code\u003e is thread-safe, indicated by the \u003ccode\u003eTHREADSAFE\u003c/code\u003e class variable being set to \u003ccode\u003eTrue\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# google.appengine.api.urlfetch_stub.URLFetchServiceStub\n\n\u003cbr /\u003e\n\nStub version of the urlfetch API to be used with apiproxy_stub_map.\n\nInherits From: [`APIProxyStub`](../../../../google/appengine/api/apiproxy_stub/APIProxyStub), [`expected_type`](../../../../google/appengine/api/validation/Validator/expected_type) \n\n google.appengine.api.urlfetch_stub.URLFetchServiceStub(\n service_name='urlfetch', urlmatchers_to_fetch_functions=None\n )\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nMethods\n-------\n\n### `CreateRPC`\n\n[View source](https://github.com/GoogleCloudPlatform/appengine-python-standard/tree/main/src/google/appengine/api/apiproxy_stub.py#L87-L93) \n\n CreateRPC()\n\nCreates RPC object instance.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n### `MakeSyncCall`\n\n[View source](https://github.com/GoogleCloudPlatform/appengine-python-standard/tree/main/src/google/appengine/api/apiproxy_stub.py#L112-L143) \n\n MakeSyncCall(\n service, call, request, response, request_id=None\n )\n\nThe main RPC entry point.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n### `SetError`\n\n[View source](https://github.com/GoogleCloudPlatform/appengine-python-standard/tree/main/src/google/appengine/api/apiproxy_stub.py#L145-L163) \n\n SetError(\n error, method=None, error_rate=1\n )\n\nSet an error condition that may be raised when calls made to stub.\n\nIf a method is specified, the error will only apply to that call.\nThe error rate is applied to the method specified or all calls if\nmethod is not set.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e"]]