Lines Matching refs:methodDesc
702 def createMethod(methodName, methodDesc, rootDesc, schema): argument
714 maxSize, mediaPathUrl) = _fix_up_method_description(methodDesc, rootDesc, schema)
716 parameters = ResourceMethodParameters(methodDesc)
736 _methodProperties(methodDesc, schema, 'response')):
790 elif 'response' not in methodDesc:
883 docs = [methodDesc.get('description', DEFAULT_METHOD_DOC), '\n\n']
892 args_ordered = [key2param(s) for s in methodDesc.get('parameterOrder', [])]
912 paramdesc = methodDesc['parameters'][parameters.argmap[arg]]
929 if 'response' in methodDesc:
934 docs.append(schema.prettyPrintSchema(methodDesc['response']))
1091 for methodName, methodDesc in six.iteritems(resourceDesc['methods']):
1093 methodName, methodDesc, rootDesc, schema)
1098 if methodDesc.get('supportsMediaDownload', False):
1100 methodName + '_media', methodDesc, rootDesc, schema)
1108 def createResourceMethod(methodName, methodDesc): argument
1122 resourceDesc=methodDesc, rootDesc=rootDesc,
1130 for methodName, methodDesc in six.iteritems(resourceDesc['resources']):
1131 fixedMethodName, method = createResourceMethod(methodName, methodDesc)
1141 for methodName, methodDesc in six.iteritems(resourceDesc['methods']):
1143 _methodProperties(methodDesc, schema, 'response'))
1147 pageTokenName = _findPageTokenName(methodDesc.get('parameters', {}))
1151 _methodProperties(methodDesc, schema, 'request'))
1174 def _methodProperties(methodDesc, schema, name): argument
1188 desc = methodDesc.get(name, {})