Lines Matching refs:methodDesc
603 def createMethod(methodName, methodDesc, rootDesc, schema): argument
615 maxSize, mediaPathUrl) = _fix_up_method_description(methodDesc, rootDesc)
617 parameters = ResourceMethodParameters(methodDesc)
686 elif 'response' not in methodDesc:
775 docs = [methodDesc.get('description', DEFAULT_METHOD_DOC), '\n\n']
784 args_ordered = [key2param(s) for s in methodDesc.get('parameterOrder', [])]
804 paramdesc = methodDesc['parameters'][parameters.argmap[arg]]
821 if 'response' in methodDesc:
826 docs.append(schema.prettyPrintSchema(methodDesc['response']))
955 for methodName, methodDesc in six.iteritems(resourceDesc['methods']):
957 methodName, methodDesc, rootDesc, schema)
962 if methodDesc.get('supportsMediaDownload', False):
964 methodName + '_media', methodDesc, rootDesc, schema)
972 def createResourceMethod(methodName, methodDesc): argument
986 resourceDesc=methodDesc, rootDesc=rootDesc,
994 for methodName, methodDesc in six.iteritems(resourceDesc['resources']):
995 fixedMethodName, method = createResourceMethod(methodName, methodDesc)
1004 for methodName, methodDesc in six.iteritems(resourceDesc['methods']):
1005 if 'response' in methodDesc:
1006 responseSchema = methodDesc['response']
1011 hasPageToken = 'pageToken' in methodDesc.get('parameters', {})