Lines Matching refs:methodDesc
711 def createMethod(methodName, methodDesc, rootDesc, schema): argument
729 ) = _fix_up_method_description(methodDesc, rootDesc, schema)
731 parameters = ResourceMethodParameters(methodDesc)
751 _methodProperties(methodDesc, schema, "response")
809 elif "response" not in methodDesc:
906 docs = [methodDesc.get("description", DEFAULT_METHOD_DOC), "\n\n"]
915 args_ordered = [key2param(s) for s in methodDesc.get("parameterOrder", [])]
935 paramdesc = methodDesc["parameters"][parameters.argmap[arg]]
959 if "response" in methodDesc:
964 docs.append(schema.prettyPrintSchema(methodDesc["response"]))
1137 for methodName, methodDesc in six.iteritems(resourceDesc["methods"]):
1139 methodName, methodDesc, rootDesc, schema
1146 if methodDesc.get("supportsMediaDownload", False):
1148 methodName + "_media", methodDesc, rootDesc, schema
1158 def createResourceMethod(methodName, methodDesc): argument
1175 resourceDesc=methodDesc,
1185 for methodName, methodDesc in six.iteritems(resourceDesc["resources"]):
1186 fixedMethodName, method = createResourceMethod(methodName, methodDesc)
1197 for methodName, methodDesc in six.iteritems(resourceDesc["methods"]):
1199 _methodProperties(methodDesc, schema, "response")
1204 pageTokenName = _findPageTokenName(methodDesc.get("parameters", {}))
1208 _methodProperties(methodDesc, schema, "request")
1238 def _methodProperties(methodDesc, schema, name): argument
1252 desc = methodDesc.get(name, {})